[MacPorts] #64997: Cannot build libgcc9 under Monterey

MacPorts noreply at macports.org
Mon Apr 18 16:13:32 UTC 2022


#64997: Cannot build libgcc9 under Monterey
---------------------------+--------------------
  Reporter:  keldhelsgaun  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------

Comment (by kencu):

 so this issue seems to be this:
 {{{
 OpenBLAS @0.3.20_0+gcc9+lapack (active) requested_variants='+gcc9+lapack'
 platform='darwin 18' archs='x86_64' date='2022-03-17T13:15:41+0100'
 }}}
 when you originally installed OpenBLAS back in 2019, the default gcc
 version in use at that time apparently was gcc9.

 MacPorts has been dutifully holding to that gcc9 variant ever since,
 updating as per your listed variants. This is not really what you want,
 though. You want OpenBLAS with whatever the default gcc variant is NOW.

 MacPorts I believe has squeezed most of these errors out of the variants
 by now (they recognized this was a problem), but there may still be some
 in the ports tree, and there are still some in people's older installs.

 So clean out OpenBLAS to start fresh, and install OpenBLAS without any
 specific variants, and you should get a clean install against the current
 gcc version.

 I would do something like this, myself:

 {{{
 sudo port -f uninstall OpenBLAS
 sudo port -f uninstall libgcc8
 sudo port -f uninstall libgcc10
 }}}
 and then once your have all that old stuff cleaned out, install OpenBLAS:
 {{{
 sudo port -v install OpenBLAS
 }}}
 and you should be back in the game.

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


More information about the macports-tickets mailing list