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

MacPorts noreply at macports.org
Thu Oct 28 05:35:48 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   |
------------------------+-------------------------------
Changes (by imgx64):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I'm still unable to build libgcc11 on macOS 12. But now the error is
 different.

 Note that I'm on M1 Mac Mini and don't have Rosetta installed.


 {{{
 :info:build checking whether we are cross compiling... configure: error:
 in `/opt/local/var/macports/build/_opt_local_macports-
 ports_lang_gcc11/libgcc11/work/build/arm64-apple-darwin21/libgomp':
 :info:build configure: error: cannot run C compiled programs.
 :info:build If you meant to cross compile, use `--host'.
 :info:build See `config.log' for more details
 :info:build make[2]: *** [configure-stage1-target-libgomp] Error 1
 :info:build make[2]: Leaving directory `/opt/local/var/macports/build
 /_opt_local_macports-ports_lang_gcc11/libgcc11/work/build'
 :info:build make[1]: *** [stage1-bubble] Error 2
 :info:build make[1]: Leaving directory `/opt/local/var/macports/build
 /_opt_local_macports-ports_lang_gcc11/libgcc11/work/build'
 :info:build make: *** [bootstrap-lean] Error 2
 :info:build make: Leaving directory `/opt/local/var/macports/build
 /_opt_local_macports-ports_lang_gcc11/libgcc11/work/build'
 :info:build Command failed:  cd "/opt/local/var/macports/build
 /_opt_local_macports-ports_lang_gcc11/libgcc11/work/build" &&
 /usr/bin/make -j8 -w bootstrap-lean
 :info:build Exit code: 2
 :error:build Failed to build libgcc11: command execution failed
 :debug:build Error code: CHILDSTATUS 92846 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See /opt/local/var/macports/logs/_opt_local_macports-
 ports_lang_gcc11/libgcc11/main.log for details.

 }}}

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


More information about the macports-tickets mailing list