x11-proto/xcb-proto-1.10 fails to compile on fresh installed system. It seems there is a problem with the detection of multilib-ABI On old system the log contains following line: '* amd64: running multilib-minimal_abi_src_compile' On new system the line is following: '* abi_x86_64.amd64: running multilib-minimal_abi_src_configure' Reproducible: Always Actual Results: >>> Emerging (1 of 1) x11-proto/xcb-proto-1.10 * xcb-proto-1.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking xcb-proto-1.10.tar.bz2 to /var/tmp/portage/x11-proto/xcb-proto-1.10/work >>> Source unpacked in /var/tmp/portage/x11-proto/xcb-proto-1.10/work >>> Preparing source in /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10 ... * Running elibtoolize in: xcb-proto-1.10/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Working in BUILD_DIR: "/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-abi_x86_64.amd64" /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/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 --disable-silent-rules --docdir=/usr/share/doc/xcb-proto-1.10 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for xmllint... /usr/bin/xmllint checking whether /usr/bin/python2.7 version is >= 2.5... yes checking for /usr/bin/python2.7 version... 2.7 checking for /usr/bin/python2.7 platform... linux2 checking for /usr/bin/python2.7 script directory... ${prefix}/lib64/python2.7/site-packages checking for /usr/bin/python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating xcbgen/Makefile config.status: creating xcb-proto.pc * python3_3: running autotools-utils_src_configure * python2_7: running autotools-utils_src_configure >>> Working in BUILD_DIR: "/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python2_7" >>> Working in BUILD_DIR: "/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3" /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/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 --disable-silent-rules --docdir=/usr/share/doc/xcb-proto-1.10 /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/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 --disable-silent-rules --docdir=/usr/share/doc/xcb-proto-1.10 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... checking for a BSD-compatible install... yes checking whether make supports nested variables... /usr/bin/install -c checking whether build environment is sane... yes yes checking for xmllint... /usr/bin/xmllint checking whether /usr/bin/python2.7 version is >= 2.5... checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes yes checking for /usr/bin/python2.7 version... checking whether make supports nested variables... yes checking for xmllint... 2.7 checking for /usr/bin/python2.7 platform... /usr/bin/xmllint checking whether /usr/bin/python3.3 version is >= 2.5... linux2 checking for /usr/bin/python2.7 script directory... yes checking for /usr/bin/python3.3 version... ${prefix}/lib64/python2.7/site-packages checking for /usr/bin/python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages 3.3 checking for /usr/bin/python3.3 platform... checking that generated files are newer than configure... linux checking for /usr/bin/python3.3 script directory... ${prefix}/lib64/python3.3/site-packages checking for /usr/bin/python3.3 extension module directory... ${exec_prefix}/lib64/python3.3/site-packages checking that generated files are newer than configure... done configure: creating ./config.status done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: creating xcbgen/Makefile config.status: creating src/Makefile config.status: creating xcb-proto.pc config.status: creating xcbgen/Makefile config.status: creating xcb-proto.pc >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j9 Making all in src make[1]: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-abi_x86_64.amd64/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-abi_x86_64.amd64/src' Making all in xcbgen make[1]: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-abi_x86_64.amd64/xcbgen' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-abi_x86_64.amd64/xcbgen' make[1]: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-abi_x86_64.amd64' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-abi_x86_64.amd64' * python3_3: running autotools-utils_src_compile -C xcbgen top_builddir=/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-amd64 >>> Working in BUILD_DIR: "/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3" make -j9 -C xcbgen top_builddir=/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-amd64 make: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3/xcbgen' cd /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-amd64 && make am--refresh /bin/sh: line 0: cd: /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-amd64: No such file or directory make: *** [/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-amd64/config.status] Error 1 make: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3/xcbgen' * ERROR: x11-proto/xcb-proto-1.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-proto/xcb-proto-1.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-proto/xcb-proto-1.10::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-proto/xcb-proto-1.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-proto/xcb-proto-1.10/temp/environment'. * Working directory: '/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3' * S: '/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10' >>> Failed to emerge x11-proto/xcb-proto-1.10, Log file: >>> '/var/tmp/portage/x11-proto/xcb-proto-1.10/temp/build.log' * Messages for package x11-proto/xcb-proto-1.10: * ERROR: x11-proto/xcb-proto-1.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-proto/xcb-proto-1.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-proto/xcb-proto-1.10::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-proto/xcb-proto-1.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-proto/xcb-proto-1.10/temp/environment'. * Working directory: '/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3' * S: '/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10' Expected Results: build log on running (older) system: 1.10/work/xcb-proto-1.10/xcbgen/state.py /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/xcbgen/xtypes.py '/var/tmp/portage/x11-proto/xcb-proto-1.10/image//usr/lib64/python3.3/site-packages/xcbgen' Byte-compiling python modules... __init__.pyerror.pyexpr.pymatcher.pystate.pyxtypes.py Byte-compiling python modules (optimized versions) ... __init__.pyerror.pyexpr.pymatcher.pystate.pyxtypes.py make[1]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3/xcbgen' make: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python3_3/xcbgen' * python2_7: running autotools-utils_src_install -C xcbgen top_builddir=/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-amd64 >>> Working in BUILD_DIR: "/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python2_7" make -j9 DESTDIR=/var/tmp/portage/x11-proto/xcb-proto-1.10/image/ -C xcbgen top_builddir=/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-amd64 install make: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python2_7/xcbgen' make[1]: Entering directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python2_7/xcbgen' make[1]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/var/tmp/portage/x11-proto/xcb-proto-1.10/image//usr/lib64/python2.7/site-packages/xcbgen' /usr/bin/install -c -m 644 /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/xcbgen/__init__.py /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/xcbgen/error.py /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/xcbgen/expr.py /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/xcbgen/matcher.py /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/xcbgen/state.py /var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10/xcbgen/xtypes.py '/var/tmp/portage/x11-proto/xcb-proto-1.10/image//usr/lib64/python2.7/site-packages/xcbgen' Byte-compiling python modules... __init__.pyerror.pyexpr.pymatcher.pystate.pyxtypes.py Byte-compiling python modules (optimized versions) ... __init__.pyerror.pyexpr.pymatcher.pystate.pyxtypes.py make[1]: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python2_7/xcbgen' make: Leaving directory `/var/tmp/portage/x11-proto/xcb-proto-1.10/work/xcb-proto-1.10-python2_7/xcbgen' >>> Completed installing xcb-proto-1.10 into /var/tmp/portage/x11-proto/xcb-proto-1.10/image/ ecompressdir: bzip2 -9 /usr/share/doc >>> Installing (1 of 1) x11-proto/xcb-proto-1.10 Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.10.35-std420-amd64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.10.35-std420-amd64-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.2 KiB Mem: 32871828 total, 28753964 free KiB Swap: 2097148 total, 2097148 free Timestamp of tree: Fri, 23 May 2014 20:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.3.3 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo portage_local ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://de-mirror.org/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="acl amd64 bash-completion berkdb bzip2 cli corefonts cracklib crypt cryptsetup cxx device-mapper dhcpd dri fortran gdb gdbm git gtk3 iconv ipv6 lm_sensors mmx modules multilib ncurses networkmanager nls nptl ntpl openmp pam pcre plymouth readline resolvconf session shared-dricore sse sse2 sse3 sse4 ssl subversion tcpd threads truetype type3 unicode valgrind wifi xinerama zlib" ABI_X86="64" 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" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Other potentially affected ebuilds: - app-emulation/wine, - dev-libs/libRocket.
+ 23 May 2014; Michał Górny <mgorny@gentoo.org> xcb-proto-1.10.ebuild, + xcb-proto-1.8-r3.ebuild, xcb-proto-1.9-r1.ebuild: + Fix inlining multilib BUILD_DIR logic, use sub-phase functions instead. Fixes + bug #511142.
*** Bug 511164 has been marked as a duplicate of this bug. ***