Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250501 - x11-libs/libxcb-1.1.90.1 requires dev-lang/python with USE=xml
Summary: x11-libs/libxcb-1.1.90.1 requires dev-lang/python with USE=xml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 253929 263733 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-10 10:46 UTC by Francesco Riosa
Modified: 2009-06-16 11:43 UTC (History)
6 users (show)

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


Attachments
x11-libs/libxcb-1.1.90.1 build.log (x11-libs_libxcb-1.1.90.1_build.log,11.21 KB, text/plain)
2009-01-19 12:59 UTC, Philipp Psurek
Details
emerge --info output (emergeinfo,3.52 KB, text/plain)
2009-01-19 13:00 UTC, Philipp Psurek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2008-12-10 10:46:58 UTC
otherwise it fail during make phase, other versions not tested.

Making all in src
make[1]: Entering directory `/home/vivo/tmp/libxcb-1.1.90.1/src'
/usr/bin/python ./c_client.py -p /usr/lib64/python2.5/site-packages /usr/share/xcb/xproto.xml
Traceback (most recent call last):
  File "./c_client.py", line 2, in <module>
    from xml.etree.cElementTree import *
  File "/usr/lib64/python2.5/xml/etree/cElementTree.py", line 3, in <module>
    from _elementtree import *
ImportError: No module named _elementtree
make[1]: *** [xproto.c] Error 1
make[1]: Leaving directory `/home/vivo/tmp/libxcb-1.1.90.1/src'
make: *** [all-recursive] Error 1

the package compile fine after emerging again, the change that triggered the problem is visible from the dev-lang/python ChangeLog:

  08 Dec 2008; Mike Frysinger <vapier@gentoo.org> python-2.5.2-r8.ebuild,
  python-2.6-r5.ebuild:
  Make dev-libs/expat optional via USE=expat.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-11 18:08:21 UTC
Please post your `emerge --info' too.
Comment 2 Francesco Riosa 2008-12-12 10:27:44 UTC
This is an emerge --info for the system, where x11-libs/libxcb compile correctly

emerge --info
 * Overlay eclasses override eclasses from PORTDIR:
 *
 *   '/g/ovl/kde-crazy/eclass/kde4-base.eclass'
 *   '/g/ovl/kde-crazy/eclass/kde4-functions.eclass'
 *   '/g/ovl/kde-crazy/eclass/kde4-meta.eclass'
 *   '/g/ovl/kde-crazy/eclass/qt4-build.eclass'
 *
 * It is best to avoid overriding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
 * run `emerge --regen` after each time that you run `emerge --sync`. Set
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
 * disable this warning.
Portage 2.2_rc17 (selinux/2007.0/amd64, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.26.6 x86_64)
=================================================================
System uname: Linux-2.6.26.6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-glibc2.2.5
Timestamp of tree: Thu, 11 Dec 2008 02:15:03 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.0
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -ggdb"
DISTDIR="/srv/distfiles"
FEATURES="distlocks fixpackages installsources loadpolicy metadata-transfer parallel-fetch protect-owned sandbox selinux sesandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.datapipe.net/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ http://128.213.5.34/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://gentoo.inode.at/"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,--hash-style=both"
LINGUAS="it"
MAKEOPTS="-j12"
PKGDIR="/g/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/g/tmp"
PORTDIR="/home/portage/portage"
PORTDIR_OVERLAY="/g/ovl/mysql /g/ovl/tmp /g/ovl/kde-crazy"
SYNC="rsync://sources.pnpitalia.it/gentoo-portage"
USE="3dnow X a52 aac alsa amd64 amr apache2 apm asf automount avahi avi bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo caps captury cdda cddb chm cjk cli compositor cracklib crypt cups curl dbus debug decibel dedicated device-mapper djvu dri dvdread emboss encode engines erandom exif exiv2 extrafilters fam fame ffmpeg firefox flac foomaticdb fortran gdbm geos gif glitz gpm gstreamer gtk2 hal hdf hdf5 hpn htmlhandbook iconv idn imagemagick imlib iproute2 ipv6 isdnlog ithreads jack java jingle jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kdepim kdeprefix kontact latex libg++ libwww lua lzo mad messenger midi mikmod mjpeg mmx mng motif mp3 mpeg mplayer mudflap multilib mysql ncurses nepomuk newxkb nls nptl nptlonly odbc ogdi ogg openexr opengl openmp pam pam_chroot pcre perl plasma plugins png pppd pulseaudio python qt qt3 qt3support qt4 quicktime rdesktop readline reflection reiserfs samba sasl schroedinger screen sdl selinux server session skey slang spell spl sqlite3 sse sse2 ssl svg taglib tcltk tcpd telepathy theora threads tiff tls truetype truetype-fonts ucs2 udev unicode urandom usb userlocales utempter utils vnc vorbis xcb xcomposite xine xinerama xml xorg xv xvid 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CAMERAS="directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-06 11:44:49 UTC
*** Bug 253929 has been marked as a duplicate of this bug. ***
Comment 4 Philipp Psurek 2009-01-19 12:59:41 UTC
Created attachment 178977 [details]
x11-libs/libxcb-1.1.90.1 build.log

I've the same problem on ~x86
Comment 5 Philipp Psurek 2009-01-19 13:00:39 UTC
Created attachment 178978 [details]
emerge --info output

my emerge --info
Comment 6 Philipp Psurek 2009-01-19 13:53:49 UTC
It was an stage 2 installation (creating stage 3) where python is compiled only with the build USE-flag. It should work with this ebuild patch:

22c22,23
< 	>=x11-proto/xcb-proto-1.2"
---
> 	>=x11-proto/xcb-proto-1.2
> 	dev-lang/python[expat]"

where python should be compiled fix and ready. After this x11-libs/libxcb will be compiled as expected.

The patch doesn't care about circular dependencies, but IMHO they are normal if the user has to much USE-flags activated ;-)
Comment 7 Bartek 'Paczesiowa' Cwiklowski 2009-02-02 12:26:58 UTC
>=python-2.5.4 has xml flag instead of expat, <python-2.5.4 has neither
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-03-09 13:31:25 UTC
Donnie, what do you think about this one?

Thanks
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2009-03-09 16:58:11 UTC
Python ebuilds now universally have IUSE="... +xml ..." -- let's go EAPI=2 on libxcb and do python[xml]
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2009-03-10 22:23:21 UTC
Did so in the x11 overlay.
Comment 11 Aelia 2009-03-26 06:17:17 UTC
*** Bug 263733 has been marked as a duplicate of this bug. ***
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-06-16 11:43:47 UTC
libxcb-1.3 in portage also has the fix.

Closing