This issue seems to be similar to the following tickets. http://bugs.gentoo.org/show_bug.cgi?id=316377 http://bugs.gentoo.org/show_bug.cgi?id=317073 None of the resolutions work and what causes the error seems be related to another dependancy. >>> Failed to emerge dev-libs/libxml2-2.7.7, Log file: >>> '/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/build.log' * Messages for package dev-libs/libxml2-2.7.7: * ERROR: dev-libs/libxml2-2.7.7 failed: * Building failed with CPython 2.6 in building() function * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5146: Called python_execute_function '-s' '--source-dir' 'python' 'building' * environment, line 3823: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-libs/libxml2-2.7.7', * the complete build log and the output of 'emerge -pqv =dev-libs/libxml2-2.7.7'. * The complete build log is located at '/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libxml2-2.7.7/temp/environment'. * S: '/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7' ======================= Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.18.8-x86_64-linode10 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.18.8-x86_64-linode10-x86_64-Intel-R-_Xeon-R-_CPU_L5520_@_2.27GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 21 Jun 2010 07:00:01 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.4.6, 2.5.2-r7, 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.1.2, 4.3.4, 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/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/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit a52 aac adns alsa amd64 async bash-completion bzip2 cgi chroot ck-server cli command-args cracklib crypt ctype curl cxx dedicated diskio dri dts dynamicplugin encode enscript epoll extensions faac faad fasttrack ffmpeg flac fontconfig gd gdbm geoip gif glibc-omitfp gnutella gnutls hardcoded-tables hash hpn iconv imap inline iproute2 ithreads jpeg kerberos logrotate lzo magic matroska mmx mmxext modules mp3 mp4 mpeg mpm-worker mudflap multilib mysql nagios-dns nagios-ping nagios-ssh ncurses network no-old-linux nonfsv4 nptl nptlonly odbc offensive ogg ogm openmp pam pcre perl php png pppd python readline reflection rrdtool samba session silvercity slang smi smtp snmp snortsam sockets spl sqlite sse sse2 sse3 ssl ssse3 subversion svg sysfs syslog theora threads tidy tiff truetype unicode urandom userlocales vim-syntax vorbis x264 xml xorg xvid zero-penalty-hit zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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
Waiting for the build log
Created attachment 236185 [details] build.log
What useflags was python 2.6 emerged with ?
(In reply to comment #3) > What useflags was python 2.6 emerged with ? > dev-lang/python-2.6.5-r2 USE="build gdbm ncurses readline sqlite ssl threads (wide-unicode) xml -berkdb -doc -examples -ipv6 -tk -wininst"
(In reply to comment #4) > dev-lang/python-2.6.5-r2 USE="build gdbm ncurses readline sqlite ssl threads > (wide-unicode) xml -berkdb -doc -examples -ipv6 -tk -wininst" Disable "build" USE flag for all packages.
(In reply to comment #5) > (In reply to comment #4) > > dev-lang/python-2.6.5-r2 USE="build gdbm ncurses readline sqlite ssl threads > > (wide-unicode) xml -berkdb -doc -examples -ipv6 -tk -wininst" > > Disable "build" USE flag for all packages. > This did the trick after setting it globally and emerging everything. Not sure why it was enable by default.
*** Bug 330167 has been marked as a duplicate of this bug. ***
So it wasn't invalid after all.
Description of "build" USE flag is "!!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]". stage3 tarballs contain dev-lang/python installed with USE="-build", so this bug is still invalid.
Sorry, but I do not agree. I was building stage3, having already built stages 1 & 2 and libxml2 was being built Before python. The timestamps of usr/bin/python2.6 in the stage 1 and stage 3 build directories match. So the python which was being used to build libxml2 during stage 3 was the one built in stage1. Here is the genlop -l output for the (failed) stage 3 build, which shows that python had not been built before catalyst aborted. using logfile /var/tmp/catalyst/tmp/hardened/stage3-pentium4-26072010/var/log/emerge.log * virtual/libintl Mon Jul 26 15:22:27 2010 >>> virtual/libintl-0 Mon Jul 26 15:22:52 2010 >>> sys-libs/zlib-1.2.3-r1 Mon Jul 26 15:23:02 2010 >>> sys-devel/gnuconfig-20100122 Mon Jul 26 15:23:24 2010 >>> app-misc/pax-utils-0.1.19 Mon Jul 26 15:23:32 2010 >>> virtual/libiconv-0 Mon Jul 26 15:27:56 2010 >>> dev-libs/gmp-4.3.2 Mon Jul 26 15:28:10 2010 >>> sys-devel/gcc-config-1.4.1 Mon Jul 26 15:28:52 2010 >>> dev-libs/expat-2.0.1-r3 Mon Jul 26 15:29:20 2010 >>> app-arch/bzip2-1.0.5-r1 Mon Jul 26 15:29:27 2010 >>> app-misc/mime-types-8 Mon Jul 26 15:29:36 2010 >>> sys-devel/autoconf-wrapper-8 Mon Jul 26 15:29:51 2010 >>> sys-apps/tcp-wrappers-7.6-r8 Mon Jul 26 15:30:00 2010 >>> sys-devel/automake-wrapper-4 Mon Jul 26 15:30:25 2010 >>> sys-libs/timezone-data-2010i Mon Jul 26 15:30:50 2010 >>> dev-libs/libffi-3.0.9 Mon Jul 26 15:31:22 2010 >>> sys-devel/patch-2.5.9 Mon Jul 26 15:33:04 2010 >>> app-arch/cpio-2.11 Mon Jul 26 15:33:22 2010 >>> sys-apps/which-2.20 Mon Jul 26 15:34:45 2010 >>> dev-util/pkgconfig-0.23 Mon Jul 26 15:35:41 2010 >>> app-arch/xz-utils-4.999.9_beta Mon Jul 26 15:36:01 2010 >>> app-portage/portage-utils-0.3.1 Mon Jul 26 15:37:02 2010 >>> sys-devel/m4-1.4.12 Mon Jul 26 15:37:36 2010 >>> sys-kernel/linux-headers-2.6.30-r1 Mon Jul 26 15:38:31 2010 >>> sys-apps/sandbox-1.6-r2 Mon Jul 26 15:40:34 2010 >>> dev-libs/mpfr-2.4.2_p3 Mon Jul 26 15:40:42 2010 >>> virtual/libffi-0 Mon Jul 26 15:41:02 2010 >>> sys-apps/sysvinit-2.87-r3 Mon Jul 26 15:41:17 2010 >>> net-misc/iputils-20071127 Mon Jul 26 15:41:25 2010 >>> virtual/init-0 Mon Jul 26 15:41:41 2010 >>> sys-apps/debianutils-3.1.3 Mon Jul 26 15:41:49 2010 >>> app-admin/python-updater-0.8 Mon Jul 26 15:41:57 2010 >>> sys-devel/binutils-config-1.9-r4 Mon Jul 26 15:42:16 2010 >>> sys-devel/autoconf-2.65 Mon Jul 26 15:43:24 2010 >>> sys-devel/libtool-2.2.10 Mon Jul 26 15:50:10 2010 >>> sys-devel/binutils-2.20.1-r1 Mon Jul 26 15:50:26 2010 >>> app-admin/eselect-python-20100321 Mon Jul 26 15:50:43 2010 >>> x11-proto/xproto-7.0.17 Mon Jul 26 15:51:58 2010 >>> sys-apps/texinfo-4.13 Mon Jul 26 15:52:43 2010 >>> sys-devel/flex-2.5.35 Mon Jul 26 16:38:25 2010 >>> sys-libs/glibc-2.11.2 Mon Jul 26 16:39:32 2010 >>> sys-libs/readline-6.1 Mon Jul 26 16:41:56 2010 >>> app-shells/bash-4.0_p37 Mon Jul 26 16:42:05 2010 >>> app-admin/perl-cleaner-1.05 Mon Jul 26 16:45:24 2010 >>> sys-apps/util-linux-2.18-r1 Mon Jul 26 16:46:47 2010 >>> sys-apps/findutils-4.4.2