[MacPorts] #64327: clang-9.0 @9.0.1_4+analyzer+libstdcxx+universal Failed to build on macOS Sierra 10.12.6 (16G2136) with Xcode 9.2 (9C40b)

MacPorts noreply at macports.org
Thu Feb 3 00:30:38 UTC 2022


#64327: clang-9.0 @9.0.1_4+analyzer+libstdcxx+universal Failed to build on macOS
Sierra 10.12.6 (16G2136) with Xcode 9.2 (9C40b)
------------------------+----------------------
  Reporter:  TallTed    |      Owner:  jeremyhu
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.1
Resolution:             |   Keywords:  sierra
      Port:  clang-9.0  |
------------------------+----------------------

Comment (by TallTed):

 Thanks for the suggestion, kencu ... but no joy.

 {{{/opt/local/lib/libpcap.A.dylib is provided by: libpcap}}} so {{{port
 install libpcap +universal}}}

 The {{{./restore_ports.tcl myports.txt}}} still fails on {{{clang-9.0}}}.

 Apparently the `restore_ports.tcl` installs the 64-bit libpcap even though
 the fat binary is already present, apparently because {{{nmap}}} requires
 it --
 {{{
 $ sudo port uninstall libpcap
 The following versions of libpcap are currently installed:
  1) libpcap @1.10.1_0 (active)
  2) libpcap @1.10.1_0+universal
 Enter option(s) [1-2/all]: all
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break: nmap @7.92_3
 Continue? [y/N]: y
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Deactivating libpcap @1.10.1_0
 --->  Cleaning libpcap
 --->  Uninstalling libpcap @1.10.1_0
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break: nmap @7.92_3
 Continue? [y/N]: y
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Uninstalling libpcap @1.10.1_0+universal
 $ sudo port install libpcap +universal
 --->  Fetching archive for libpcap
 --->  Attempting to fetch
 libpcap-1.10.1_0+universal.darwin_16.i386-x86_64.tbz2 from
 https://packages.macports.org/libpcap
 --->  Attempting to fetch
 libpcap-1.10.1_0+universal.darwin_16.i386-x86_64.tbz2.rmd160 from
 https://packages.macports.org/libpcap
 --->  Installing libpcap @1.10.1_0+universal
 --->  Activating libpcap @1.10.1_0+universal
 --->  Cleaning libpcap
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 ...
 $ file /opt/local/lib/libpcap.A.dylib
 /opt/local/lib/libpcap.A.dylib: Mach-O universal binary with 2
 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library
 x86_64] [i386:Mach-O dynamically linked shared library i386]
 /opt/local/lib/libpcap.A.dylib (for architecture x86_64):       Mach-O
 64-bit dynamically linked shared library x86_64
 /opt/local/lib/libpcap.A.dylib (for architecture i386): Mach-O dynamically
 linked shared library i386
 $ sudo ./restore_ports.tcl myports.txt
 ...
 --->  Fetching archive for libpcap
 --->  Attempting to fetch libpcap-1.10.1_0.darwin_16.x86_64.tbz2 from
 https://packages.macports.org/libpcap
 --->  Attempting to fetch libpcap-1.10.1_0.darwin_16.x86_64.tbz2.rmd160
 from https://packages.macports.org/libpcap
 --->  Installing libpcap @1.10.1_0
 --->  Deactivating libpcap @1.10.1_0+universal
 --->  Cleaning libpcap
 --->  Activating libpcap @1.10.1_0
 --->  Cleaning libpcap
 ...
 --->  Computing dependencies for clang-9.0
 --->  Fetching archive for clang-9.0
 --->  Attempting to fetch
 clang-9.0-9.0.1_4+analyzer+libstdcxx+universal.darwin_16.i386-x86_64.tbz2
 from https://packages.macports.org/clang-9.0
 --->  Attempting to fetch
 clang-9.0-9.0.1_4+analyzer+libstdcxx+universal.darwin_16.i386-x86_64.tbz2
 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/clang-9.0
 --->  Attempting to fetch
 clang-9.0-9.0.1_4+analyzer+libstdcxx+universal.darwin_16.i386-x86_64.tbz2
 from https://mse.uk.packages.macports.org/clang-9.0
 --->  Building clang-9.0
 Error: Failed to build clang-9.0: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-9.0/clang-9.0/main.log
 for details.
 ...
 $ file /opt/local/lib/libpcap.A.dylib
 /opt/local/lib/libpcap.A.dylib: Mach-O 64-bit dynamically linked shared
 library x86_64
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64327#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list