Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344887 - x11-proto/xcb-proto-1.6 installation failed
Summary: x11-proto/xcb-proto-1.6 installation failed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Blocks: 341999
  Show dependency tree
Reported: 2010-11-10 06:24 UTC by Anton Bolshakov
Modified: 2010-11-11 02:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2010-11-10 06:24:06 UTC

I can't re-emerge the package. The installation fails with the following message:

 * Messages for package x11-proto/xcb-proto-1.6:

 * Deleting byte-compiled Python modules needlessly generated by build system:
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/__init__.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/error.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/expr.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/matcher.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/state.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/xtypes.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/__init__.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/error.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/expr.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/matcher.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/state.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/xtypes.pyo
 * ERROR: x11-proto/xcb-proto-1.6 failed:
 *   python_mod_optimize(): Paths of directories / files in site-packages directories must be relative to site-packages directories
 * Call stack:
 *, line   54:  Called pkg_postinst
 *   environment, line 3577:  Called python_mod_optimize '/usr/lib/python2.6/site-packages/xcbgen'
 *   environment, line 4892:  Called die
 * The specific snippet of code:
 *                       die "${FUNCNAME}(): Paths of directories / files in site-packages directories must be relative to site-packages directories";
 * If you need support, post the output of 'emerge --info =x11-proto/xcb-proto-1.6',
 * the complete build log and the output of 'emerge -pqv =x11-proto/xcb-proto-1.6'.
 * The complete build log is located at '/var/tmp/portage/x11-proto/xcb-proto-1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-proto/xcb-proto-1.6/temp/environment'.
 * S: '/var/tmp/portage/x11-proto/xcb-proto-1.6/work/xcb-proto-1.6'
>>> Auto-cleaning packages...

emerge --info
Portage (default/linux/x86/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12 i686)
System uname: Linux-2.6.35-gentoo-r12-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 06 Nov 2010 04:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
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.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_LICENSE="* -@EULA PUEL skype-eula AdobeFlash-10.1 @FSF-APPROVED"
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
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"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /usr/local/portage/pentoo /usr/local/portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvdr eds emboss encode evo exif fam firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gstreamer gtk hal iconv ipv6 jpeg lcms libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline samba sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CAMERAS="canon 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 ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon" 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" 
Comment 1 Anton Bolshakov 2010-11-10 06:27:01 UTC
It blocks the bug #341999 because I can't apply the patch.

ps. It's mostly stable system except x11-base/xorg-server-1.9.2
Comment 2 Rafał Mużyło 2010-11-10 13:32:43 UTC
Entry in ChangeLog suggests it's been fixed shortly after
you've sync the last time.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-10 15:56:05 UTC
# ChangeLog for x11-proto/xcb-proto
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v 1.53 2010/11/06 14:42:30 scarabeus Exp $

  06 Nov 2010; Tomáš Chvátal <> xcb-proto-1.6.ebuild:
  Make the python generating work again

Please reopen if this persists.
Comment 4 Anton Bolshakov 2010-11-11 02:29:15 UTC
Yes, it's fixed. Thank you for pointing out.

I mark it closed then.