[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
Tue Feb 1 20:53:49 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 kencu):

 {{{
 :info:build ld: in '/opt/local/lib/libpcap.A.dylib', file was built for
 x86_64 which is not the architecture being linked (i386):
 /opt/local/lib/libpcap.A.dylib for architecture i386
 :info:build ld: in '/opt/local/lib/libpcap.A.dylib', file was built for
 x86_64 which is not the architecture being linked (i386):
 /opt/local/lib/libpcap.A.dylib for architecture i386
 }}}

 Looks like it wants to link against {{{libpcap.A.dylib}}} but is not
 finding it universal.

 I didn't know it used that library, off the top of my head.

 Either deactivate the port that provides it (found like this):
 {{{
 port provides /opt/local/lib/libpcap.A.dylib
 }}}

 or reinstall that port +universal to make the build happy.

 In cases like this, it should either be forced to be skipped if present by
 the build, or specifically required for the build (and then will be
 subject to the usual +universal testing mechanisms).

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


More information about the macports-tickets mailing list