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

Filename Description Type Creator Created Size Actions
lxml-1.3.2.ebuild fixed ebuild text/plain Torsten Rehn 2007-07-07 22:44 0000 1.38 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 184549 depends on: Show dependency tree
Bug 184549 blocks:
Votes: 0    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: 2007-07-07 22:44 0000
The problem with this ebuild is an incorrect dependency on
"dev-python/setuptools" rather than "<=dev-python/setuptools-0.6_rc5" (current
stable is rc3).

The error about use_setuptools() taking no arguments is caused by the dummy
function the distutils.eclass puts into ez_setup.py. 

I will attach an ebuild that replaces this function with one that conforms to
upstreams usage and corrects the dependency issue.


Reproducible: Always

Steps to Reproduce:
1. echo "<=dev-python/lxml-1.3.2 ~ARCH" >> /usr/portage/package.keywords
2. emerge lxml

Actual Results:  
Traceback (most recent call last):
  File "setup.py", line 9, in ?
    use_setuptools(version="0.6c5")
TypeError: use_setuptools() takes no arguments (1 given)

!!! ERROR: dev-python/lxml-1.3.2 failed.


Expected Results:  
>>> dev-python/lxml-1.3.2 merged.

Portage 2.1.2.9 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0,
2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Turion(tm) 64 X2 Mobile Technology
TL-50
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 07 Jul 2007 22:00:10 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict
sandbox sfperms sign strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 arts bash-completion bitmap-fonts
bzip2 cdda cdparanoia cdr cli cracklib crypt cups dbus directfb divx dri dts
dvd dvdnav dvdr dvdread emerald encode evolution exif fbcon ffmpeg firefox ftp
gdbm gif glitz glut gmail gnutls gpm gstreamer gtk gtk2 hal history httpd iconv
icq imagemagick imap isdnlog jabber jack jpeg jpeg2k kde keyring ldap libg++
lirc lm_sensors maildir mbox midi mime mod mp3 mpeg mplayer mudflap musepack
mysql mysqli ncurses network nntp nptl nptlonly nsplugin nvidia ogg opengl
openmp oscar pam pcmcia pcre pdf perl php png pop ppds pppd python qt3 qt4
readline reflection rtsp sdl sdl-image session shout skins smp spl ssl
statistics stream svg symlink tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode usb v4l vcd vlm vorbis widescreen wifi wxwindows x264
xinerama xml xorg xosd xscreensaver xvid zip zlib" ALSA_CARDS="hda-intel"
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" 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="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Torsten Rehn 2007-07-07 22:44:59 0000 -------
Created an attachment (id=124191) [details]
fixed ebuild

------- Comment #2 From Ali Polatel (RETIRED) 2007-07-08 01:34:39 0000 -------
  I've modified the dummy use_setuptools() function in distutils.eclass to
ignore function arguments.
  Thanks for reporting ;)

------- Comment #3 From Torsten Rehn 2007-07-08 06:47:19 0000 -------
Great, but what about the dependency? Upstream explicitly asks for
setuptools-0.6_rc5. Dummyfying the fetching function only kills lxml's ability
to install setuptools itself - which is good, because we have dependencies for
that. But these dependencies should be accurate, shouldn't they? I don't know
if using rc3 instead really breaks anything, but if upstream says rc5, we
should provide it.

Sorry for reopening, but adapting the dummy function just cures the symptoms,
not the actual problem. =)

------- Comment #4 From Ali Polatel (RETIRED) 2007-07-08 07:41:50 0000 -------
  My apologies, I forgot about it. The fix is in CVS. Thanks again.

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