[MacPorts] #54327: Error: Failed to build libgcc: command execution failed

MacPorts noreply at macports.org
Tue Jun 20 20:00:53 UTC 2017


#54327: Error: Failed to build libgcc: command execution failed
--------------------------+-------------------
  Reporter:  pedrotildes  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:
      Port:  libgcc       |
--------------------------+-------------------

Comment (by pedrotildes):

 Yes I see some things quiet different. Here's the code:

 {{{
 iMac-de-Pedro:~ pedrotildes$ sudo port rev-upgrade
 Password:
 --->  Scanning binaries for linking errors
 --->  Found 103 broken files, matching files to ports
 --->  Found 23 broken ports, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt:
  pkgconfig @0.29.2
  gettext @0.19.8.1+universal
  python27 @2.7.13+universal
  py27-libxml2 @2.9.4
  xar @1.5.2
  libxslt @1.1.29
  boost @1.59.0+no_single+no_static+python27
  netcdf @4.4.1+dap+netcdf4
  p5.24-xml-parser @2.440.0
  py27-matplotlib @1.5.1+cairo
  gcc47 @4.7.4
  gcc49 @4.9.3
  gcc5 @5.3.0
  fontconfig @2.12.3
  ghostscript @9.21+x11
  glib2 @2.50.3
  shared-mime-info @1.7
  libcroco @0.6.12
  librsvg @2.40.16
  xz @5.2.3+universal
  libarchive @3.3.1
  cmake @3.8.2
  GraphicsMagick @1.3.25+q8
 Continue? [Y/n]: y
 --->  Computing dependencies for pkgconfig
 --->  Cleaning pkgconfig
 --->  Computing dependencies for gettext
 --->  Cleaning gettext
 --->  Computing dependencies for python27
 --->  Cleaning python27
 --->  Computing dependencies for py27-libxml2
 --->  Cleaning py27-libxml2
 --->  Computing dependencies for xar
 --->  Cleaning xar
 --->  Computing dependencies for libxslt
 --->  Cleaning libxslt
 --->  Computing dependencies for boost
 --->  Cleaning boost
 --->  Computing dependencies for netcdf
 --->  Cleaning netcdf
 --->  Computing dependencies for p5.24-xml-parser
 --->  Cleaning p5.24-xml-parser
 --->  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: rev-upgrade failed: Error rebuilding py27-matplotlib
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 iMac-de-Pedro:~ pedrotildes$ port -v installed xar
 The following ports are currently installed:
   xar @1.5.2_2 (active) platform='darwin 16' archs='x86_64'
 date='2017-06-11T17:35:05+0100'
 iMac-de-Pedro:~ pedrotildes$ port -v installed libxml2
 The following ports are currently installed:
   libxml2 @2.9.2_2 platform='darwin 15' archs='x86_64'
 date='2016-01-10T16:09:07+0000'
   libxml2 @2.9.4_1 (active) platform='darwin 16' archs='x86_64'
 date='2017-06-11T17:34:45+0100'
 iMac-de-Pedro:~ pedrotildes$ port -v contents xar
 Port xar contains:
   /opt/local/bin/xar
   /opt/local/include/xar/xar.h
   /opt/local/lib/libxar.1.dylib
   /opt/local/lib/libxar.a
   /opt/local/lib/libxar.dylib
   /opt/local/share/man/man1/xar.1.gz
 iMac-de-Pedro:~ pedrotildes$ otool -L /opt/local/lib/libxar.1.dylib
 dyld: Library not loaded: /opt/local/lib/libxml2.2.dylib
   Referenced from: /opt/local/lib/libxar.1.dylib
   Reason: Incompatible library version: libxar.1.dylib requires version
 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
 fatal error: otool: fatal error in /opt/local/bin/llvm-objdump-mp-3.9
 }}}
 Thanks again for your attention!!
 Pedro

--
Ticket URL: <https://trac.macports.org/ticket/54327#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list