Python related obviously. Reproducible: Always Actual Results: >>> Compiling source in /var/tmp/portage/x11-libs/libxcb-1.7/work/libxcb-1.7 ... make -j5 Making all in src make[1]: Entering directory `/var/tmp/portage/x11-libs/libxcb-1.7/work/libxcb-1.7/src' /usr/bin/python ./c_client.py -p /usr/lib64/python2.6/site-packages /usr/share/xcb/xproto.xml /usr/bin/python ./c_client.py -p /usr/lib64/python2.6/site-packages /usr/share/xcb/bigreq.xml /usr/bin/python ./c_client.py -p /usr/lib64/python2.6/site-packages /usr/share/xcb/xc_misc.xml /usr/bin/python ./c_client.py -p /usr/lib64/python2.6/site-packages /usr/share/xcb/composite.xml /usr/bin/python ./c_client.py -p /usr/lib64/python2.6/site-packages /usr/share/xcb/damage.xml Traceback (most recent call last): File "./c_client.py", line 2, in <module> from xml.etree.cElementTree import * File "/usr/lib64/python2.6/xml/etree/cElementTree.py", line 3, in <module> from _elementtree import * ImportError: No module named _elementtree make[1]: *** [xproto.c] Error 1 make[1]: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "./c_client.py", line 2, in <module> from xml.etree.cElementTree import * File "/usr/lib64/python2.6/xml/etree/cElementTree.py", line 3, in <module> from _elementtree import * ImportError: No module named _elementtree Traceback (most recent call last): File "./c_client.py", line 2, in <module> from xml.etree.cElementTree import * File "/usr/lib64/python2.6/xml/etree/cElementTree.py", line 3, in <module> from _elementtree import * ImportError: No module named _elementtree make[1]: *** [xc_misc.c] Error 1 make[1]: *** [composite.c] Error 1 Traceback (most recent call last): File "./c_client.py", line 2, in <module> from xml.etree.cElementTree import * File "/usr/lib64/python2.6/xml/etree/cElementTree.py", line 3, in <module> from _elementtree import * ImportError: No module named _elementtree make[1]: *** [bigreq.c] Error 1 Traceback (most recent call last): File "./c_client.py", line 2, in <module> from xml.etree.cElementTree import * File "/usr/lib64/python2.6/xml/etree/cElementTree.py", line 3, in <module> from _elementtree import * ImportError: No module named _elementtree make[1]: *** [damage.c] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/libxcb-1.7/work/libxcb-1.7/src' make: *** [all-recursive] Error 1 emake failed * ERROR: x11-libs/libxcb-1.7 failed: * died running emake, base_src_make * * Call stack: * ebuild.sh, line 47: Called src_compile * environment, line 5503: Called xorg-2_src_compile * environment, line 6299: Called base_src_compile * environment, line 1180: Called base_src_make * environment, line 1218: Called die * The specific snippet of code: * emake "$@" || die "died running emake, $FUNCNAME"; * * If you need support, post the output of 'emerge --info =x11-libs/libxcb-1.7', * the complete build log and the output of 'emerge -pqv =x11-libs/libxcb-1.7'. * The complete build log is located at '/var/log/portage/x11-libs:libxcb-1.7:20100829-142138.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxcb-1.7/temp/environment'. * S: '/var/tmp/portage/x11-libs/libxcb-1.7/work/libxcb-1.7' >>> Failed to emerge x11-libs/libxcb-1.7, Log file: >>> '/var/log/portage/x11-libs:libxcb-1.7:20100829-142138.log' * Messages for package x11-libs/libxcb-1.7: * ERROR: x11-libs/libxcb-1.7 failed: * died running emake, base_src_make * * Call stack: * ebuild.sh, line 47: Called src_compile * environment, line 5503: Called xorg-2_src_compile * environment, line 6299: Called base_src_compile * environment, line 1180: Called base_src_make * environment, line 1218: Called die * The specific snippet of code: * emake "$@" || die "died running emake, $FUNCNAME"; * * If you need support, post the output of 'emerge --info =x11-libs/libxcb-1.7', * the complete build log and the output of 'emerge -pqv =x11-libs/libxcb-1.7'. * The complete build log is located at '/var/log/portage/x11-libs:libxcb-1.7:20100829-142138.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxcb-1.7/temp/environment'. * S: '/var/tmp/portage/x11-libs/libxcb-1.7/work/libxcb-1.7' Portage 2.2_rc71 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.34-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_X3220_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 28 Aug 2010 09:45:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.5.4-r4, 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.2 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="sv_FI@euro" LDFLAGS="-Wl,--as-needed -Wl,-O1 -s" MAKEOPTS="-j5" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding build bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dlloader dri dts dvb dvd dvdr dvdread emboss enblend encode exif fam firefox flac fortran gdbm gif gimp gpm gtk gtk2 hal iconv java jp2 jpeg jpeg2k kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pango pcre pdf perl pic png ppds pppd python qt3support qt4 readline reflection sdl session sift spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l vorbis x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc 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 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" 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="nv nvidia vesa fbdev v4l" 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, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Which version of xcb-proto do you have installed? Thanks
(In reply to comment #1) > Which version of xcb-proto do you have installed? > > Thanks > 1.6
This looks like python bug to me. Check if your python has xml useflag enabled.
(In reply to comment #3) > This looks like python bug to me. > Check if your python has xml useflag enabled. > According my USE flags, xml is enabled.
Definitely not an xcb bug, the backtrace originates in one of python's own modules. Thanks
Globally disable "build" USE flag.