Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 215557
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ali Polatel (RETIRED) <hawking@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 215557 depends on: Show dependency tree
Bug 215557 blocks: 213632
Votes: 5    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-31 11:21 0000
I patched the new version of lxml to use cython instead of own bundled version
of pyrex. I had to drop ~hppa,~ia64,~ppc and ~ppc64 keywords.
Please test and keyword as needed. Thanks :)

------- Comment #1 From Jeroen Roovers 2008-03-31 12:20:33 0000 -------
>>> Unpacking lxml-2.0.3.tgz to /dev/shm/portage/dev-python/lxml-2.0.3/work
 * Applying lxml-2.0.3-no-fake-pyrex.patch ...                            [ ok
]
>>> Source unpacked.
>>> Compiling source in /dev/shm/portage/dev-python/lxml-2.0.3/work/lxml-2.0.3 ...
Traceback (most recent call last):
  File "setup.py", line 18, in ?
    pkg_resources.require("Cython>=0.9.6.10")
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 626, in
require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 524, in
resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Cython>=0.9.6.10
 *
 * ERROR: dev-python/lxml-2.0.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2308:  Called distutils_src_compile
 *             environment, line  675:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || 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
'/keeps/gentoo/emergelogs/elmer/dev-python:lxml-2.0.3:20080331-121928.log'.
 * The ebuild environment file is located at
'/dev/shm/portage/dev-python/lxml-2.0.3/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /keeps/gentoo/cvs/gentoo-x86/eclass/distutils.eclass
 *   /keeps/gentoo/cvs/gentoo-x86/eclass/python.eclass
 *   /keeps/gentoo/cvs/gentoo-x86/eclass/alternatives.eclass
 *   /keeps/gentoo/cvs/gentoo-x86/eclass/multilib.eclass
 *   /keeps/gentoo/cvs/gentoo-x86/eclass/toolchain-funcs.eclass
 *   /keeps/gentoo/cvs/gentoo-x86/eclass/eutils.eclass
 *   /keeps/gentoo/cvs/gentoo-x86/eclass/portability.eclass
 * This ebuild is from an overlay: '/keeps/gentoo/cvs/gentoo-x86/'
 *
[...]
elmer ~ # emerge -vp --nodeps cython

These are the packages that would be merged, in order:

[ebuild   R   ] dev-python/cython-0.9.6.12  USE="examples -doc" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

------- Comment #2 From Adam Wieckowski 2008-04-03 19:34:01 0000 -------
Same here, but I used the normal portage version, not an overlay of both lxml
and cython, just ~x86.
python 'import Cython' works well. And version 0.9.6.12 is installed.

------- Comment #3 From Ali Polatel (RETIRED) 2008-04-05 15:48:56 0000 -------
weird, I can't reproduce it here on two boxes. Does
> python -c 'import pkg_resources as pr; pr.require("Cython")'
give the same error? Are you sure the python version when you
installed cython is the same as the python version you used to install lxml?
Just trying to figure out what might be the problem..

------- Comment #4 From Espen A. Kristiansen 2008-04-06 15:49:40 0000 -------
I can confirm this bug on ~amd64.

~$ python -c 'import pkg_resources as pr; pr.require("Cython")'
Traceback (most recent call last):
...
pkg_resources.DistributionNotFound: Cython

------- Comment #5 From Jeroen Roovers 2008-04-07 00:38:43 0000 -------
(In reply to comment #3)
> weird, I can't reproduce it here on two boxes. Does
> > python -c 'import pkg_resources as pr; pr.require("Cython")'
> give the same error?

elmer ~ # python -c 'import pkg_resources as pr; pr.require("Cython")'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 626, in
require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 524, in
resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Cython

> Are you sure the python version when you
> installed cython is the same as the python version you used to install lxml?

Of course.

> Just trying to figure out what might be the problem..

Mon Apr  7 02:37:21 CEST 2008


Performing Global Updates: /keeps/gentoo/portage/profiles/updates/2Q-2008
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
..
************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

Portage 2.1.5_rc2 (default-linux/hppa/2007.0, gcc-4.1.2, glibc-2.7-r2,
2.6.24-gentoo-r3-JeR parisc)
=================================================================
System uname: 2.6.24-gentoo-r3-JeR parisc PA8700 (PCX-W2)
Timestamp of tree: Sun, 06 Apr 2008 16:15:01 +0000
distcc 2.18.3 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
/var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/env.d /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/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages notitles parallel-fetch
sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en nl he"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/elmer"
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="/mnt/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads alsa amr amrnb amrwb ao aoss
apache2 ares arts asf async asyncns audiofile audit automount avfs
bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps
catalogs cblas cdb cddb cdparanoia cdr chardet cjk cli cpudetection cracklib
crypt cups curl custom-cflags dbtool dbus device-mapper dga dia directfb djbfft
domainkeys dts dv dvd dvdr dvdread dxr3 edl elf emacs enca encode esd examples
exif expat fam fame fastbuild fastcgi fbcon ffmpeg filter flac fontconfig
foomaticdb fortran ftp gadu galago gd gdbm geoip ggi gif gimp gimpprint glep
glib glut gmp gnome gnutls gphoto2 gpm gs gsl gtk gtk2 gtkhtml hal hesiod hppa
ical icecast iconv idea idn imagemagick imlib immqt-bc inquisitio ipv6 isdnlog
jack javascript jingle jpeg jpeg2k kde kerberos lapack lcms ldap leim libcaca
libnotify libsamplerate libwww live logrotate logwatch lua lzo mad matroska
memcache mhash midi mikmod mmap mng modplug motif mozbranding mp3 mssql mudflap
musepack mysql nas ncurses netpbm network-cron nfconntrack nfs nls nntp nptl
nptlonly nsplugin offensive ogg openexr opengl openmp oss ots overlays pam
pango pbs pch pcre pdf pdo-external perl php pic plotutils plugins png portage
portaudio postgres povray ppds pppd pulseaudio python pyzord qdbm qt3
qt3support quotas raw readline recode reflection rpc rrdtool rtc ruby samba
sasl scanner scim sdl seamonkey session sid slang slp sms sndfile snmp soundex
speex spell spl sqlite ssl startup-notification suhosin svg swat sysfs
talkfilters tcl tcpd test tga theora threads thunar-vfs tidy tiff timidity tk
tools truetype twolame udev unicode unzip urandom usb userlocales utempter utf
v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall winbind
wlan wma wmf xanim xattr xchattext xcomposite xface xml xml2 xmpi xorg xpm
xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib"
ALSA_CARDS="ad1889 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
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" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU"
VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #6 From Ali Polatel (RETIRED) 2008-04-07 12:18:09 0000 -------
Ok, removed the offending line from the patch. Please try again.

------- Comment #7 From Jeroen Roovers 2008-04-07 14:48:09 0000 -------
(In reply to comment #6)
> Ok, removed the offending line from the patch. Please try again.

That did it. Marked ~hppa.

------- Comment #8 From Markus Rothe 2008-04-07 15:32:59 0000 -------
added ~ppc64

------- Comment #9 From Raúl Porcel 2008-04-08 09:38:19 0000 -------
~ia64 done

------- Comment #10 From Joe Jezak 2009-02-23 16:35:01 0000 -------
ppc is already done with newer versions, but I marked lxml-2.0.3 ~ppc to be
sure. Closing since we're the last arch.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug