Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281011 - lxml-2.2.2 fails to emerge with setuptools-0.6
Summary: lxml-2.2.2 fails to emerge with setuptools-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 15:50 UTC by hirakendu
Modified: 2009-11-13 23:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hirakendu 2009-08-10 15:50:09 UTC
lxml-2.2.2 emerges fine with setuptools-0.6_rc9-r1 but not with setuptools-0.6. The check for setuptools>=0.6c5 fails, although 0.6 > 0.6c5. Could be a bug with either lxml or setuptools package. More build messages :

---
>>> Compiling source in /var/tmp/portage/dev-python/lxml-2.2.2/work/lxml-2.2.2 ...
Traceback (most recent call last):
  File "setup.py", line 14, in <module>
    pkg_resources.require("setuptools>=0.6c5")
  File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 621, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 519, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: setuptools>=0.6c5
 * 
 * ERROR: dev-python/lxml-2.2.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3335:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build ${myconf} || die "compilation failed"
 *  The die message:
 *   compilation failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/lxml-2.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/lxml-2.2.2/temp/environment'.
 * 
---

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-11 22:53:38 UTC
This bug should be fixed in dev-python/setuptools-0.6-r1.
Comment 2 Judson 2009-11-11 18:56:24 UTC
I have the same problem with setuptools-0-6.4

emerge -qvp setuptools
[ebuild   R   ] dev-python/setuptools-0.6.4 

emerge --info
Portage 2.1.7.4 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r4-aufs i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r4-aufs-i686-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 09 Nov 2009 18:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
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.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
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://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/etc/portage/local/layman/judson"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 aspell audacious bash-completion berkdb bluetooth bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cscope css cups curl dbus dell dirac dri dvd dvdr dvdread eds emboss encode esd evo fam fastcgi ffmpeg firefox firefox3 flac fortran gdbm gif gimp gnome gnome-keyring gpm grub gstreamer gtk hal hybrid-auth iconv ipod ipv6 java java5 java6 jpeg kerberos ldap libnotify lua mad mikmod modules mp3 mpeg mudflap multiuser music musicbrainz mysql ncurses nethack new-login nls nptl nptlonly nsplugin ogg opengl openmp openssl pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection resolvconf ruby sasl schroedinger sdl session spell spl sqlite sqlite3 sse ssl startup-notification stream svg svga sysfs tagwriting tcpd theora threads tiff truetype unicode upnp usb v4l v4l2 vim vim-syntax vim-with-x vorbis webdav win32codecs x264 x86 xml xorg xrandr xulrunner 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 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Michiel 2009-11-13 11:00:35 UTC
I ran into the same problem. I emerged setuptools-0.6.8 and lxml compiles fine.
Comment 4 Judson 2009-11-13 23:59:13 UTC
Which is fine, apart from 0.6.8 being masked and lxml-2.2.2 not being.