[MacPorts] #65573: Error: Failed to build libgcc12: command execution failed

MacPorts noreply at macports.org
Fri Jul 29 22:31:21 UTC 2022


#65573: Error: Failed to build libgcc12: command execution failed
-------------------------+----------------------
 Reporter:  adamgao1996  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  High         |  Milestone:
Component:  ports        |    Version:
 Keywords:  uhd libgcc   |       Port:  libgcc12
-------------------------+----------------------
 0  0x1010a01a0  __assert_rtn + 140
 1  0x100f27a8c
 mach_o::relocatable::Parser<arm64>::parse(mach_o::relocatable::ParserOptions
 const&) + 4536
 2  0x100ef9d38  mach_o::relocatable::Parser<arm64>::parse(unsigned char
 const*, unsigned long long, char const*, long, ld::File::Ordinal,
 mach_o::relocatable::ParserOptions const&) + 148
 3  0x100f624ac  ld::tool::InputFiles::makeFile(Options::FileInfo const&,
 bool) + 1468
 4  0x100f65360  ___ZN2ld4tool10InputFilesC2ER7Options_block_invoke + 56
 5  0x193537674  _dispatch_client_callout2 + 20
 6  0x19354b0e8  _dispatch_apply_invoke + 224
 7  0x193537634  _dispatch_client_callout + 20
 8  0x193549184  _dispatch_root_queue_drain + 684
 9  0x193549884  _dispatch_worker_thread2 + 164
 10  0x1936ba0c4  _pthread_wqthread + 228
 A linker snapshot was created at:
         /tmp/libstdc++.6.dylib-2022-07-29-182559.ld-snapshot
 ld: Assertion failed: (_file->_atomsArrayCount == computedAtomCount &&
 "more atoms allocated than expected"), function parse, file
 macho_relocatable_file.cpp, line 2061.
 collect2: error: ld returned 1 exit status
 make[6]: *** [libstdc++.la] Error 1
 make[6]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build/arm64
 -apple-darwin22/libstdc++-v3/src'
 make[5]: *** [all-recursive] Error 1
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build/arm64
 -apple-darwin22/libstdc++-v3/src'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build/arm64
 -apple-darwin22/libstdc++-v3'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build/arm64
 -apple-darwin22/libstdc++-v3'
 make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build'
 make[1]: *** [stage1-bubble] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build'
 make: *** [bootstrap-lean] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build"
 && /usr/bin/make -j10 -w bootstrap-lean
 Exit code: 2
 Error: Failed to build libgcc12: command execution failed
 DEBUG: Error code: CHILDSTATUS 93705 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port libgcc12 failed

-- 
Ticket URL: <https://trac.macports.org/ticket/65573>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list