[MacPorts] #63327: Unable to Upgrade libgcc11
MacPorts
noreply at macports.org
Sat Jul 31 17:11:25 UTC 2021
#63327: Unable to Upgrade libgcc11
--------------------+----------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: lion | Port: libgcc11
--------------------+----------------------
I am unable to upgrade libgcc11 on my Mac running Lion. The port fails at
the build stage.
{{{
bash-3.2$ port outdated
The following installed ports are outdated:
gcc11 11.1.0_2 < 11.2.0_0
libgcc11 11.1.0_2 < 11.2.0_0
bash-3.2$
bash-3.2$ sudo port upgrade outdated
---> Computing dependencies for libgcc11
---> Configuring libgcc11
---> Building libgcc11
Error: Failed to build libgcc11: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
}}}
Here is the relevant section of main.log.
{{{
:info:build :
:info:build mv -f .deps/target.Tpo .deps/target.Plo
:info:build /bin/sh ./libtool --tag CC --mode=link
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/
-B/opt/local/x86_64-apple-darwin11/bin/ -B/opt/local/x86_64-apple-
darwin11/lib/ -isystem /opt/local/x86_64-apple-darwin11/include -isystem
/opt/local/x86_64-apple-darwin11/sys-include -fno-checking -Wall -Werror
-Wc,-pthread -g -O2 -pipe -Os -o libgomp.la -version-info 1:0:0
-rpath /opt/local/lib/libgcc alloc.lo atomic.lo barrier.lo critical.lo
env.lo error.lo icv.lo icv-device.lo iter.lo iter_ull.lo loop.lo
loop_ull.lo ordered.lo parallel.lo sections.lo single.lo task.lo team.lo
work.lo lock.lo mutex.lo proc.lo sem.lo bar.lo ptrlock.lo time.lo
fortran.lo affinity.lo target.lo splay-tree.lo libgomp-plugin.lo oacc-
parallel.lo oacc-host.lo oacc-init.lo oacc-mem.lo oacc-async.lo oacc-
plugin.lo oacc-cuda.lo priority_queue.lo affinity-fmt.lo teams.lo
allocator.lo oacc-profiling.lo oacc-target.lo openacc.lo -ldl
:info:build libtool: link:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/
-B/opt/local/x86_64-apple-darwin11/bin/ -B/opt/local/x86_64-apple-
darwin11/lib/ -isystem /opt/local/x86_64-apple-darwin11/include -isystem
/opt/local/x86_64-apple-darwin11/sys-include -fno-checking -dynamiclib
-o .libs/libgomp.1.dylib .libs/alloc.o .libs/atomic.o .libs/barrier.o
.libs/critical.o .libs/env.o .libs/error.o .libs/icv.o .libs/icv-device.o
.libs/iter.o .libs/iter_ull.o .libs/loop.o .libs/loop_ull.o
.libs/ordered.o .libs/parallel.o .libs/sections.o .libs/single.o
.libs/task.o .libs/team.o .libs/work.o .libs/lock.o .libs/mutex.o
.libs/proc.o .libs/sem.o .libs/bar.o .libs/ptrlock.o .libs/time.o
.libs/fortran.o .libs/affinity.o .libs/target.o .libs/splay-tree.o .libs
/libgomp-plugin.o .libs/oacc-parallel.o .libs/oacc-host.o .libs/oacc-
init.o .libs/oacc-mem.o .libs/oacc-async.o .libs/oacc-plugin.o .libs/oacc-
cuda.o .libs/priority_queue.o .libs/affinity-fmt.o .libs/teams.o
.libs/allocator.o .libs/oacc-profiling.o .libs/oacc-target.o
.libs/openacc.o -ldl -pthread -install_name
/opt/local/lib/libgcc/libgomp.1.dylib -compatibility_version 2
-current_version 2.0 -Wl,-single_module
:info:build libtool: link: (cd ".libs" && rm -f "libgomp.dylib" && ln -s
"libgomp.1.dylib" "libgomp.dylib")
:info:build libtool: link: /opt/local/bin/ar rc .libs/libgomp.a alloc.o
atomic.o barrier.o critical.o env.o error.o icv.o icv-device.o iter.o
iter_ull.o loop.o loop_ull.o ordered.o parallel.o sections.o single.o
task.o team.o work.o lock.o mutex.o proc.o sem.o bar.o ptrlock.o time.o
fortran.o affinity.o target.o splay-tree.o libgomp-plugin.o oacc-
parallel.o oacc-host.o oacc-init.o oacc-mem.o oacc-async.o oacc-plugin.o
oacc-cuda.o priority_queue.o affinity-fmt.o teams.o allocator.o oacc-
profiling.o oacc-target.o openacc.o
:info:build /opt/local/bin/ranlib: file: .libs/libgomp.a(mutex.o) has no
symbols
:info:build /opt/local/bin/ranlib: file: .libs/libgomp.a(ptrlock.o) has no
symbols
:info:build /opt/local/bin/ranlib: file: .libs/libgomp.a(oacc-target.o)
has no symbols
:info:build libtool: link: /opt/local/bin/ranlib .libs/libgomp.a
:info:build /opt/local/bin/ranlib: file: .libs/libgomp.a(mutex.o) has no
symbols
:info:build /opt/local/bin/ranlib: file: .libs/libgomp.a(ptrlock.o) has no
symbols
:info:build /opt/local/bin/ranlib: file: .libs/libgomp.a(oacc-target.o)
has no symbols
:info:build libtool: link: ( cd ".libs" && rm -f "libgomp.la" && ln -s
"../libgomp.la" "libgomp.la" )
:info:build make[5]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build/x86_64
-apple-darwin11/libgomp'
:info:build make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build/x86_64
-apple-darwin11/libgomp'
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build/x86_64
-apple-darwin11/libgomp'
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/build'
:info:build make[1]: *** [stage2-bubble] Error 2
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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_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_release_tarballs_ports_lang_gcc11/libgcc11/work/build"
&& /usr/bin/make -j4 -w bootstrap-lean
:info:build Exit code: 2
:error:build Failed to build libgcc11: command execution failed
:debug:build Error code: CHILDSTATUS 56966 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_release_tarballs_ports_lang_gcc11/libgcc11/main.log
for details.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63327>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list