First issue: python-2.7.1 requires automake, but states it does not. Without any installed automake version emerge aborts like this: >>> Unpacking python-gentoo-patches-2.7.1.tar.bz2 to /var/tmp/portage/dev-lang/python-2.7.1/work >>> Source unpacked in /var/tmp/portage/dev-lang/python-2.7.1/work >>> Preparing source in /var/tmp/portage/dev-lang/python-2.7.1/work/Python-2.7.1 ... * Applying various patches (bugfixes/updates) ... * 01_all_static_library_location.patch ... [ ok ] * 02_all_disable_modules_and_ssl.patch ... [ ok ] * 03_all_add_portage_search_path.patch ... [ ok ] * 04_all_libdir.patch ... [ ok ] * 05_all_verbose_building_of_extensions.patch ... [ ok ] * 06_all_non-zero_exit_status_on_failure.patch ... [ ok ] * 07_all_loadable_sqlite_extensions.patch ... [ ok ] * 21_all_distutils_c++.patch ... [ ok ] * 22_all_turkish_locale.patch ... [ ok ] * 23_all_arm_OABI.patch ... [ ok ] * 61_all_process_data.patch ... [ ok ] * Done with patching * Running eautoreconf in '/var/tmp/portage/dev-lang/python-2.7.1/work/Python-2.7.1' ... * Running aclocal ... [ !! ] * Failed Running aclocal ! Removing the WANT_AUTOMAKE="none" line now pulls in automake-1.11. Then emerge continues until this point: >>> Preparing source in /var/tmp/portage/dev-lang/python-2.7.1/work/Python-2.7.1 ... * Applying various patches (bugfixes/updates) ... * 01_all_static_library_location.patch ... [ ok ] * 02_all_disable_modules_and_ssl.patch ... [ ok ] * 03_all_add_portage_search_path.patch ... [ ok ] * 04_all_libdir.patch ... [ ok ] * 05_all_verbose_building_of_extensions.patch ... [ ok ] * 06_all_non-zero_exit_status_on_failure.patch ... [ ok ] * 07_all_loadable_sqlite_extensions.patch ... [ ok ] * 21_all_distutils_c++.patch ... [ ok ] * 22_all_turkish_locale.patch ... [ ok ] * 23_all_arm_OABI.patch ... [ ok ] * 61_all_process_data.patch ... [ ok ] * Done with patching * Running eautoreconf in '/var/tmp/portage/dev-lang/python-2.7.1/work/Python-2.7.1' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ !! ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/python-2.7.1/work/Python-2.7.1 ... * Disabled modules: _bsddb _sqlite3 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-fpectl --enable-shared --enable-ipv6 --with-threads --enable-unicode=ucs4 --infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-dbmliborder=gdbm --with-libc= --enable-loadable-sqlite-extensions --with-system-expat --with-system-ffi checking for --enable-universalsdk... no checking for --with-universal-archs... 32-bit checking MACHDEP... linux2 checking EXTRAPLATDIR... checking machine type as reported by uname -m... x86_64 checking for --without-gcc... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for --with-cxx-main=<compiler>... no configure: error: cannot run /bin/sh ./config.sub !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/python-2.7.1/work/Python-2.7.1/config.log * ERROR: dev-lang/python-2.7.1 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 5752: Called econf '--with-fpectl' '--enable-shared' '--enable-ipv6' '--with-threads' '--enable-unicode=ucs4' '--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man' '--with-dbmliborder=gdbm' '--with-libc=' '--enable-loadable-sqlite-extensions' '--with-system-expat' '--with-system-ffi' * ebuild.sh, line 557: Called die * The specific snippet of code: * die "econf failed" I tried various combinations of autoconf and automake. - latest ~arch: autoconf-2.68 and automake-1.11 fails - autoconf-2.68 and automake-1.10 fails - autoconf-2.68 and automake-1.9 fails - autoconf-2.68 and automake-1.8 works - autoconf-2.67 and automake-1.11 fails - autoconf-2.67 and automake-1.10 fails - autoconf-2.67 and automake-1.9 fails - autoconf-2.67 and automake-1.8 works - autoconf-2.65-r1 and automake-1.9 fails - autoconf-2.65-r1 and automake-1.8 works So setting WANT_AUTOMAKE="1.8" should be fine to make it work. # emerge --info Portage 2.1.9.40 (default/linux/amd64/10.0/developer, gcc-4.4.5, glibc-2.13-r1, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-2.0.1 Timestamp of tree: Sun, 20 Feb 2011 11:45:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.63-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.3.5, 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /lib64/udev/rules.d /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/my-distfiles" FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS="rsync://mirror.neolabs.kz/gentoo http://ftp.cc.uoc.gr/mirrors/linux/gentoo/" LANG="de_DE.utf8" LC_ALL="C" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed" LINGUAS="de en en_GB" MAKEOPTS="-j3" PKGDIR="/usr/my-packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/zzam /usr/local/overlays/vdr/vdr-xine-overlay /usr/local/overlays/vdr/vdr-devel /usr/local/overlays/vdr/testing /usr/local/overlays/layman/sunrise /usr/local/overlays/layman/mozilla /usr/local/overlays/dev-overlay" SYNC="cvs://zzam@cvs.gentoo.org:/var/cvsroot" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cairo cdr chm cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvb dvd dvdr ebook emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gphoto2 gpm gtk iconv id3tag ipv6 jpeg kde lcms ldap libnotify lzma lzo mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline samba sdl semantic-desktop session slp smp snmp spell sse sse2 ssl startup-notification subversion svg sysfs tcpd tiff truetype udev unicode usb v4l v4l2 vorbis wifi x264 xcb xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="ttpci usb-wt220u dibusb-usb2 usb-dib0700" ELIBC="glibc" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text xosd" LINGUAS="de en en_GB" LIRC_DEVICES="serial" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vesa vbdev nv nouveau" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 347095 ***
Unmerging autogen does it. For the "configure: error: cannot run /bin/sh ./config.sub" part this is a duplicate of Bug #347095. BUT: It still needs an installed automake, else it fails with "Failed Running aclocal". But now automake-1.11 also works, so I request removing the WANT_AUTOMAKE="none" line.
This bug affects not only python-2.7, but all versions I tried. These are: 2.6.6-r2, 2.7.1-r1 and 3.1.3-r1
Upgrading to the last autogen version resolve the same proble for me.
This happens with dev-lang/python-2.7.2-r2 too.
Created attachment 283011 [details] build.log
Created attachment 283013 [details] aclocal.out
What version of sys-devel/autogen do you have installed?
Fixed in Progress Overlay in r974.
*** Bug 388943 has been marked as a duplicate of this bug. ***
Fixed in 2.7.2-r3, 3.1.4-r3 and 3.2.2.