Opened 7 years ago

Closed 7 years ago

#54330 closed defect (duplicate)

Error: Failed to build libgcc: command execution failed

Reported by: pedrotildes Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: pedrotildes
Port: libgcc

Description

Hi There: I was trying to install Magicspp and the instalation fails when building libgcc

iMac-de-Pedro:dados pedrotildes$ sudo port install magicspp
Password:
--->  Computing dependencies for flex
--->  Fetching archive for flex
--->  Attempting to fetch flex-2.6.1_0.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/flex
--->  Attempting to fetch flex-2.6.1_0.darwin_16.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/flex
--->  Installing flex @2.6.1_0
--->  Cleaning flex
--->  Computing dependencies for flex
--->  Deactivating flex @2.6.0_0
--->  Cleaning flex
--->  Activating flex @2.6.1_0
--->  Cleaning flex
--->  Computing dependencies for swig
--->  Fetching archive for swig
--->  Attempting to fetch swig-3.0.12_0.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/swig
--->  Attempting to fetch swig-3.0.12_0.darwin_16.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/swig
--->  Installing swig @3.0.12_0
--->  Cleaning swig
--->  Computing dependencies for swig
--->  Deactivating swig @3.0.8_0
--->  Cleaning swig
--->  Activating swig @3.0.12_0
--->  Cleaning swig
--->  Computing dependencies for swig-python
--->  Fetching archive for swig-python
--->  Attempting to fetch swig-python-3.0.12_0.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/swig-python
--->  Attempting to fetch swig-python-3.0.12_0.darwin_16.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/swig-python
--->  Installing swig-python @3.0.12_0
--->  Cleaning swig-python
--->  Computing dependencies for swig-python
--->  Deactivating swig-python @3.0.8_0
--->  Cleaning swig-python
--->  Activating swig-python @3.0.12_0
--->  Cleaning swig-python
--->  Computing dependencies for boost
--->  Fetching archive for boost
--->  Attempting to fetch boost-1.59.0_3+no_single+no_static+python27.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/boost
--->  Attempting to fetch boost-1.59.0_3+no_single+no_static+python27.darwin_16.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/boost
--->  Installing boost @1.59.0_3+no_single+no_static+python27
--->  Cleaning boost
--->  Computing dependencies for boost
--->  Deactivating boost @1.59.0_2+no_single+no_static+python27
--->  Cleaning boost
--->  Activating boost @1.59.0_3+no_single+no_static+python27
--->  Cleaning boost
--->  Computing dependencies for libgcc
--->  Building libgcc
Error: Failed to build libgcc: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc/main.log for details.
Error: Unable to execute port: upgrade libgcc failed
iMac-de-Pedro:dados pedrotildes$ 

Is there a way to solve this? I can't attached the log file because is to big. I'm going to copy/paste the end of the log file.

:info:build collect2: fatal error: ld terminated with signal 6 [Abort trap: 6]
:info:build compilation terminated.
:info:build dyld: Library not loaded: /opt/local/lib/libxml2.2.dylib
:info:build   Referenced from: /opt/local/lib/libxar.1.dylib
:info:build   Reason: Incompatible library version: libxar.1.dylib requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
:info:build make[5]: *** [libgcc_s.dylib] Error 1
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc/work/build/x86_64-apple-darwin16/i386/libgcc'
:info:build make[4]: *** [multi-do] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc/work/build/x86_64-apple-darwin16/libgcc'
:info:build make[3]: *** [all-multi] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc/work/build/x86_64-apple-darwin16/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_gcc6/libgcc/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_gcc6/libgcc/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_gcc6/libgcc/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc6/libgcc/work/build" && /usr/bin/make -j4 -w bootstrap-lean 
:info:build Exit code: 2
:error:build Failed to build libgcc: command execution failed
:debug:build Error code: CHILDSTATUS 90222 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec 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_gcc6/libgcc/main.log for details.

Thanks in advance

Pedro Tildes Gomes

Change History (7)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: MAGICS removed
Port: libgcc added; magicspp removed
Resolution: duplicate
Status: newclosed

Duplicate of #54327.

comment:2 Changed 7 years ago by pedrotildes

Cc: pedrotildes added

comment:3 Changed 7 years ago by pedrotildes

Cc: pedrotildes removed

comment:4 Changed 7 years ago by pedrotildes

Cc: pedrotildes added

comment:5 Changed 7 years ago by pedrotildes

Resolution: duplicate
Status: closedreopened

comment:6 Changed 7 years ago by Schamschula (Marius Schamschula)

Why do you insist on having two open tickets for the same issue?

You can always add additional information to the original ticket.

Last edited 7 years ago by Schamschula (Marius Schamschula) (previous) (diff)

comment:7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: reopenedclosed
Note: See TracTickets for help on using tickets.