* ERROR: sys-devel/gcc-apple-4.2.1_p5666-r1 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 93: Called call-ebuildshell 'src_compile' * environment, line 827: Called src_compile * environment, line 4571: Called die * The specific snippet of code: * emake bootstrap || die "emake failed" * * If you need support, post the output of `emerge --info '=sys-devel/gcc-apple-4.2.1_p5666-r1'`, * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-apple-4.2.1_p5666-r1'`. * * Please include /Users/millerti/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/work/build/gcc-build-logs.tar.bz2 in your bug report * * The complete build log is located at '/Users/millerti/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/temp/build.log'. * The ebuild environment file is located at '/Users/millerti/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/temp/environment'. * Working directory: '/Users/millerti/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/work/build' * S: '/Users/millerti/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/work/gcc-5666.3' ... config.status: executing default commands make[2]: Leaving directory `/Users/millerti/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/Users/millerti/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r1/work/build' make: *** [bootstrap] Error 2 emake failed ...
Created attachment 337046 [details] gcc build logs
Created attachment 337048 [details] build log
Created attachment 337050 [details] environment
[ebuild R ] sys-devel/gcc-apple-4.2.1_p5666-r1 [4.2.1_p5666-r1] USE="cxx nls objc objc++ openmp -fortran -multislot -nptl {-test} -vanilla (-build%)" Portage 2.2.01.21313-prefix (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 12.2.0 x86_64) ================================================================= System Settings ================================================================= System uname: Darwin-12.2.0-x86_64-i386-64bit Timestamp of tree: Sun, 27 Jan 2013 17:39:26 +0000 app-shells/bash: 4.2_p39-r1::gentoo_prefix dev-lang/python: 2.7.3-r2::gentoo_prefix dev-util/cmake: 2.8.9::gentoo_prefix dev-util/pkgconfig: 0.28::gentoo_prefix sys-devel/autoconf: 2.69::gentoo_prefix sys-devel/automake: 1.11.5::gentoo_prefix, 1.12.4::gentoo_prefix sys-devel/gcc-config: 1.8-r00.1::gentoo_prefix sys-devel/libtool: 2.4.2::gentoo_prefix sys-devel/make: 3.82-r4::gentoo_prefix Repositories: gentoo_prefix ACCEPT_KEYWORDS="~x64-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-apple-darwin10" CFLAGS="-O2 -pipe -ggdb -march=core2" CHOST="x86_64-apple-darwin10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -ggdb -march=core2" DISTDIR="/Users/millerti/Gentoo/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=2" FCFLAGS="" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-dead_strip_dylibs" MAKEOPTS="--jobs=8" PKGDIR="/Users/millerti/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/millerti/Gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Users/millerti/Gentoo/var/tmp" PORTDIR="/Users/millerti/Gentoo/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib cxx ipv6 jpeg latex mmx mmxext modules ncurses nls objc objc++ png prefix readline sse sse2 ssl threads unicode x64-macos zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= sys-devel/gcc-apple-4.2.1_p5666-r1 was built with the following: USE="cxx nls objc objc++ openmp (prefix) -build -fortran -multislot -nptl -test -vanilla" CHOST="x86_64-apple-darwin11" CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe"
configure: error: cannot execute: /Users/millerti/Gentoo/usr/bin/x86_64-apple-darwin10-ld: check --with-ld or env. var. DEFAULT_LINKER please check binutils-config -l
binutils-config exists, but "binutils-config -l" produces no output.
then most likely no binutils-apple was installed
$ /Users/millerti/Gentoo/usr/bin/x86_64-apple-darwin10-ld -bash: /Users/millerti/Gentoo/usr/bin/x86_64-apple-darwin10-ld: No such file or directory Instead, I have these: x86_64-apple-darwin11-ld x86_64-apple-darwin11-ld64 Also note: CHOST="x86_64-apple-darwin11" Because of Gentoo's awkward transition from darwin10 to darwin11, I had to do a fresh reinstall of Gentoo Prefix. In fact, this is a relatively new installation.
binutils-apple is already there. $ emerge -pv binutils-apple These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/binutils-apple-4.3:4::gentoo [4.3:4::gentoo_prefix] USE="-lto {-test}" 0 kB
Now, that's very interesting. Something is overriding my CHOST. My make.conf has darwin11, while emerge --info says it's darwin10. What's changing my CHOST behind my back?
Aha. CHOST was being set in my ".bash_profile". I seem to recall having to set this once to investigate a past build failure, but I forgot to remove it. I'll let you know how the compile goes. If this fixes things, then the bug is invalid.
That fixed it. Sorry about the invalid bug report.