apple-gcc42 fails to build
Thomas Ruedas
trg818 at gmail.com
Sun Aug 16 06:14:22 PDT 2015
Hi,
in the process of trying to upgrade Gnuplot via Macports (v.2.3.3), a
long, long list of other packages needed to be (re)built as well, among
them apple-gcc42. That build fails after some time; the last part of the
logfile, which seems to contain the information pertaining to the
problem is included below. The system is a MacBook Pro (Intel) running
10.5.8, and I do have the Xcode version recommended for my system
(v.3.1) installed.
It seems that build problems with apple-gcc42 have arisen before, but
what I found on the web was old and related to outdated versions of
Macports, so I couldn't find something that seems to apply to this. Any
ideas?
Thanks,
Thomas
From the logfile:
:info:build + cp -p /usr/lib/libstdc++.6.dylib
./opt/local/lib/apple-gcc42/gcc/i686-apple-darwin9/4.2.1/libstdc++.dylib
:info:build + /opt/local/bin/strip -x -c
./opt/local/lib/apple-gcc42/gcc/i686-apple-darwin9/4.2.1/libstdc++.dylib
:info:build /opt/local/bin/strip: the __LINKEDIT segment does not cover
the end of the file (can't be processed) in:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/apple-gcc42/work/destroot/opt/local/lib/apple-gcc42/gcc/i686-apple-darwin9/4.2.1/libstdc++.
dylib (for architecture ppc64)
:info:build + exit 1
:info:build make: *** [install] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
&& /usr/bin/make -w install CC="/usr/bin/gcc-4.2 -pipe -std=gnu89"
PREFIX="/opt/local"
SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/apple-gcc42/work/objroot"
SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/apple-gcc42/work/symroot"
DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/apple-gcc42/work/destroot"
RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="i386"
RC_ProjectSourceVersion="5666" RC_ProjectSourceSubversion="3"
TARGETS="i386 ppc"
:info:build Exit code: 2
:error:build org.macports.build for port apple-gcc42 returned: command
execution failed
:debug:build Error code: CHILDSTATUS 14516 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"portbuild::build_main org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for apple-gcc42:
org.macports.activate
org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port apple-gcc42 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.
org_release_ports_lang_apple-gcc42/apple-gcc42/main.log
More information about the macports-users
mailing list