[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 16:08:22 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):

 Ahhhh, got it. Edited {{{myports.txt}}} from --
 {{{
   libpcap @1.10.1_0 (active) requested_variants='' platform='darwin 15'
 archs='x86_64' date='2021-06-10T09:46:26-0400'
 }}}
 -- to --
 {{{
   libpcap @1.10.1_0 (active) requested_variants='+universal'
 platform='darwin 15' archs='i386 x86_64' date='2021-06-10T09:46:26-0400'
 }}}

 Manually uninstalled {{{libpcap}}} and {{{clang-9.0}}}, and then reran the
 {{{sudo ./restore_ports.tcl myports.txt}}}.

 Not only did it succeed, but it finished MUCH more quickly than the
 previous failures.

 Regarding your suggestion to cull what's in {{{myports.txt}}}... I'm a
 dumb user, and only installed a few ports with intent (the one that gets
 most use is {{{mtr}}}).  So I've really very little clue about what's
 "related to a compiler or toolchain element".

 I *do* periodically run {{{sudo port selfupdate}}}, {{{sudo port upgrade
 outdated}}}, and {{{sudo port reclaim}}}, but I guess these don't quite do
 what they say on the tin?

 At any rate...  Hopefully this sequence provides enough clues to the
 relevant port manager(s) that they can fix the bit(s) that build(s)
 {{{requested_variants='' platform='darwin 15' archs='x86_64'}}} instead of
 {{{requested_variants='+universal' platform='darwin 15' archs='i386
 x86_64'}}}, and this won't bite anyone else in future.

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


More information about the macports-tickets mailing list