[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 03:12:45 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):

 As an aside, sometimes when you are upgrading like this, you need to look
 through the ports in "myports.txt" and do some culling.

 Things advance, what is used on one system version as a compiler is not
 used on a newer system version, things that build on an older system might
 not build on a newer system, or might be quite inappropriate.


 I would say remove anything in myports.txt that looks like it is related
 to a compiler or toolchain element. Like anything that has clang or gcc or
 ld64 or cctools in the name or in the variant.

 Then your myports.txt will just have the actual software you want, and not
 the (likely out-of-date) toolchain elements. When you run the restore
 script, any needed toolchain items will be automatically (and correctly!)
 added, updating your toolchain to what it needs to be now to support your
 currently requested ports.

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


More information about the macports-tickets mailing list