[MacPorts] #63677: libgcc11 11.2.0_1 fails to build on Monterey

MacPorts noreply at macports.org
Wed Nov 10 07:16:49 UTC 2021


#63677: libgcc11 11.2.0_1 fails to build on Monterey
------------------------+-------------------------------
  Reporter:  jwhowarth  |      Owner:  Knapoc <Knapoc@…>
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.99
Resolution:             |   Keywords:
      Port:  libgcc11   |
------------------------+-------------------------------

Comment (by astroboylrx):

 Replying to [comment:40 Sebastian-Maier]:
 > I have no idea why it worked for me on ARM64 but not others.
 >
 > Maybe because I was pretty aggressive when deleting leftover files from
 previous build attempts as I used a variation of (1):
 >
 > {{{
 > sudo rm -rf /opt/local/var/macports/build/*
 > sudo rm -rf /opt/local/var/macports/distfiles/*
 > sudo rm -rf /opt/local/var/macports/packages/*
 > }}}
 >

 This doesn't work for me. The error log complains about `cannot run C
 compiled programs.` and says `If you meant to cross compile, use '--
 host'.`

 I think it may worth trying to add `--host=arm` or `--host=arm64` to the
 configure step. But I'm not familiar with Portfile. Is there a quick way
 to do that?

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


More information about the macports-tickets mailing list