Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293449 - dev-python/lxml-2.2.3 - Cannot be compiled with Setuptool 0.6.4
Summary: dev-python/lxml-2.2.3 - Cannot be compiled with Setuptool 0.6.4
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 02:30 UTC by Hung Nguyen
Modified: 2009-11-18 02:09 UTC (History)
0 users

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 Hung Nguyen 2009-11-17 02:30:19 UTC
Emerge automatic downloaded lxml to distfiles, then unpack and cannot compile, after applied the patch Applying lxml-2.0.3-no-fake-pyrex.patch, it always showed me the error (will attach bellow).


Reproducible: Always

Steps to Reproduce:
1.Update python using python-updater
2.emerge --sync
3.update system with emerge -uNav world
4.rebuild library to fix any bug if it has : revdep-rebuild -i
5.remove and re-install setuptools 0.6.4
6.remove and re-install python 2.6.2-r2

Actual Results:  
Error: 
1.
cat /var/tmp/portage/dev-python/lxml-2.2.3/temp/build.log
>>> Unpacking source...
>>> Unpacking lxml-2.2.3.tgz to /var/tmp/portage/dev-python/lxml-2.2.3/work
>>> Source unpacked in /var/tmp/portage/dev-python/lxml-2.2.3/work
>>> Preparing source in /var/tmp/portage/dev-python/lxml-2.2.3/work/lxml-2.2.3 ...
 * Applying lxml-2.0.3-no-fake-pyrex.patch ...                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/lxml-2.2.3/work/lxml-2.2.3 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/lxml-2.2.3/work/lxml-2.2.3 ...
 * Building of dev-python/lxml-2.2.3 with Python 2.6...
python2.6 setup.py build -b build-2.6
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    pkg_resources.require("setuptools>=0.6c5")
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 621, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/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.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3396:  Called distutils_src_compile
 *             environment, line  823:  Called python_execute_function 'building'
 *             environment, line 2978:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *  The die message:
 *   Building failed with Python 2.6 in building() function
 * 
 * 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.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/lxml-2.2.3/temp/environment'.

System information: 
uname -a
Linux lunix 2.6.31-gentoo-r5osvn #3 SMP Mon Nov 9 10:32:38 ICT 2009 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux
Portage 2.1.6




Expected Results:  
Someone here can help me install lxml?
Comment 1 Hung Nguyen 2009-11-17 02:36:36 UTC
emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r5osvn i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r5osvn-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 13 Nov 2009 16:20:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
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"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa aspell bash-completion berkdb bluetooth bzip2 cdda cddb cdio chdir cli cracklib crypt cups dbus dhcp dri dvd emerald encode evo exif extra-tools faac faad fbcon ffmpeg fortran ftp fuse gdbm gif git gnome-keyring gnuplot gpm gs gtk hal iconv id3tag ipv6 ithreads java jbig jpeg jpeg2k lame mad mmx mng modules mp3 mpeg mudflap multiuser ncurses network network-cron networking nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php plotutils png ppds pppd ps python readline reflection ruby samba sdl server session slang slim slp smp spell spl sqlite sse sse2 ssl ssse3 stream subversion svg swat symlink sysfs syslog t1lib tcpd theora threads tiff tools truetype twolame unicode unsupported vcdinfo vim-pager vim-syntax vim-with-x vlm vorbis webkit wma-fixed wmf x86 xattr xcb xfce4 xml xmp xorg xv xvid zip zlib zsh-completion" 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse linuxinput ps2mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa nvidia nv fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Patrick Lauer gentoo-dev 2009-11-17 17:31:05 UTC
Try re-emerging setuptools and resuming the lxml update then.
Comment 3 Hung Nguyen 2009-11-18 02:09:51 UTC
I did, I already posted this info inside the bug.