Changes between Initial Version and Version 2 of Ticket #62548


Ignore:
Timestamp:
Mar 24, 2021, 10:57:04 PM (3 years ago)
Author:
jmroot (Joshua Root)
Comment:

The technical details are that icu apparently needs to run executables that are built during the build process, and also can't be built with multiple -arch flags at once, but needs to build each arch separately and lipo them together. This means that it can be built +universal on Big Sur on arm64 hardware but not on x86_64.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62548

    • Property Summary changed from Universal variant for icu, which many ports depend on, doesn't work to icu +universal does not work on Big Sur x86_64
    • Property Port icu added
  • Ticket #62548 – Description

    initial v2  
    33When trying to build a dependent port:
    44
    5 ```
     5{{{
    66$ sudo port install gnutls +universal 
    77Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
     
    1212Error: Follow https://guide.macports.org/#project.tickets to report a bug.
    1313Error: Processing of port gnutls failed
    14 ```
     14}}}
    1515
    1616But:
    1717
    18 ```
     18{{{
    1919$ port variants icu
    2020icu has the variants:
    2121   universal: Build for multiple architectures
    22 ```
     22}}}
    2323
    2424And yet:
    25 ```
     25{{{
    2626$ sudo port install icu +universal
    2727--->  Fetching archive for icu
     
    3838$ file /opt/local/lib/libicudata.dylib
    3939/opt/local/lib/libicudata.dylib: Mach-O 64-bit dynamically linked shared library x86_64
    40 ```
     40}}}