Opened 23 months ago

Closed 23 months ago

Last modified 23 months ago

#66569 closed defect (duplicate)

libgcc11 @11.3.0 failed to install on MacOs Ventura

Reported by: djmagma Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libgcc11

Description

Hello everybody, since I installed MacOS Ventura, I also updated/upgraded MacPorts.

After successfully installing many ports, when updating libgcc I get the following error:

:info:build xgcc: warning: could not understand version '13.0'
:info:build lipo -output libgcc_s.1.1.dylib \
:info:build       -create libgcc_s.1.1.dylib_T*
:info:build rm libgcc_s.1.1.dylib_T*
:info:build MLIBS=`/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-darwin22/bin/ -B/opt/local/x86_64-apple-darwin22/lib/ -isystem /opt/local/x86_64-apple-darwin22/include -isystem /opt/local/x86_64-apple-darwin22/sys-include   -fno-checking --print-multi-lib | sed -e 's/;.*$//'` ; \
:info:build     for mlib in $MLIBS ; do \
:info:build       cp ../${mlib}/libgcc/${mlib}/libgcc_s.dylib  \
:info:build         ./libgcc_s.1.1.dylib_T_${mlib} || exit 1 ; \
:info:build       arch=`lipo -info libgcc_s.1.1.dylib_T_${mlib} | sed -e 's/.*:\ //'` ; \
:info:build       /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-darwin22/bin/ -B/opt/local/x86_64-apple-darwin22/lib/ -isystem /opt/local/x86_64-apple-darwin22/include -isystem /opt/local/x86_64-apple-darwin22/sys-include   -fno-checking -arch ${arch} -nodefaultlibs -dynamiclib -nodefaultrpaths \
:info:build         -o libgcc_s.1.dylib_T_${mlib} \
:info:build         -Wl,-reexport_library,libgcc_s.1.1.dylib_T_${mlib} \
:info:build         -lSystem \
:info:build         -Wl,-reexported_symbols_list,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/gcc-11.3.0/libgcc/config/darwin-unwind.ver \
:info:build         -install_name @rpath/libgcc_s.1.dylib \
:info:build         -compatibility_version 1 -current_version 1.1 ; \
:info:build     done
:info:build xgcc: warning: could not understand version '13.0'
:info:build xgcc: warning: could not understand version '13.0'
:info:build ld: targeted OS version does not support -reexported_symbols_list
:info:build collect2: error: ld returned 1 exit status
:info:build make[3]: *** [libgcc_s.1.dylib] Error 1
: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-darwin22/libgcc'
:info:build make[2]: *** [all-stage1-target-libgcc] Error 2
: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]: *** [stage1-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 -j8 -w bootstrap-lean
:info:build Exit code: 2
:error:build Failed to build libgcc11: command execution failed
:debug:build Error code: CHILDSTATUS 27680 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.

Am I missing something?

Thanks in advance for any suggestions.

Daniele

Change History (3)

comment:1 Changed 23 months ago by kencu (Ken)

Resolution: duplicate
Status: newclosed

Hi, thanks for the report.

this issue is being tracked here #66398

comment:2 Changed 23 months ago by djmagma

Thanks a lot, that resolved. Daniele

comment:3 Changed 23 months ago by jmroot (Joshua Root)

Port: libgcc11 added; libgcc 11.3.0 removed
Summary: libgcc11 failed to install on MacOs Venturalibgcc11 @11.3.0 failed to install on MacOs Ventura
Note: See TracTickets for help on using tickets.