[MacPorts] #63677: libgcc11 11.2.0_1 fails to build on Monterey
MacPorts
noreply at macports.org
Fri Nov 5 02:06:24 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 manuelmenzella):
I can't get this to work for arm64, unfortunately. I'm getting the same
error as above.
{{{
:info:build checking whether we are cross compiling... configure: error:
in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_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_var_macports_sources_rsync.macports.org_macports_release_tarballs_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_var_macports_sources_rsync.macports.org_macports_release_tarballs_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_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/work/build'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_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 98007 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_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/main.log
for details.
}}}
Is there any information I can provide to help debug this?
--
Ticket URL: <https://trac.macports.org/ticket/63677#comment:41>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list