Last step of bootstrapping my OS X prefix is emerge -e system. Ran emerge -eD system and python refused to build. Reproducible: Always Steps to Reproduce: 1. Bootstrap new prefix 2. emerge -eD system as the last step Actual Results: * Messages for package dev-lang/python-2.6.5-r1: * ERROR: dev-lang/python-2.6.5-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called call-ebuildshell 'src_compile' * environment, line 984: Called src_compile * environment, line 5129: Called die * The specific snippet of code: * emake EXTRA_CFLAGS="${CFLAGS}" || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-lang/python-2.6.5-r1', * the complete build log and the output of 'emerge -pqv =dev-lang/python-2.6.5-r1'. * The complete build log is located at '/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.6.5-r1/temp/build.log'. * The ebuild environment file is located at '/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.6.5-r1/temp/environment'. * S: '/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.6.5-r1/work/Python-2.6.5' Portage 2.2.00.15842-prefix (prefix/darwin/macos/10.5/ppc, gcc-4.2.1, unavailable, 9.8.0 Power Macintosh) ================================================================= System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit Timestamp of tree: Fri, 30 Apr 2010 15:37:45 +0000 distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r1 sys-devel/autoconf: 2.65 sys-devel/automake: 1.11.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6b ACCEPT_KEYWORDS="~ppc-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-apple-darwin9" CFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -fomit-frame-pointer -fno-strict-aliasing" CHOST="powerpc-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -fomit-frame-pointer -fno-strict-aliasing" DISTDIR="/Volumes/Gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/Volumes/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Volumes/Gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Volumes/Gentoo/var/tmp" PORTDIR="/Volumes/Gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib cxx lzma modules ncurses nls objc objc++ ppc-macos prefix readline sqlite ssl unicode zlib" APACHE2_MODULES="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 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" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 229953 [details] python build log
Created attachment 229955 [details] ebuild environment file
what step is this? We've seen this before and found that -O3 did the trick. As bug #302137
The last step, emerge -e system. This is, in fact, a dupe of bug #302137. changing -O2 to -O3 allows python to build properly. Apologies.
No problem, I committed a fix in -r2 to also trigger the replacement on -mcpu as in the case with your CFLAGS. I'm in the emerge -e system step of a bootstrap myself, so I expect to be able to have a new working snapshot/configuration again tomorrow. Thanks for your input! *** This bug has been marked as a duplicate of bug 302137 ***