When upgrading dev-python/setuptools-0.6_rc9-r1 to version 0.6-r1 the installation fails with this error: ImportError: No module named core.utils.dist I'm using Python 2.6. I attach the build.log with the more complete traceback Reproducible: Always Steps to Reproduce: Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 16 Aug 2009 10:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 1.3.7-r1, 2.1.8-r1 dev-lang/python: 2.4.4-r15, 2.5.4-r2, 2.6.2-r1, 3.1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -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/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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS=" ftp://ftp.unina.it/pub/linux/distributions/gentoo http://distfiles.gentoo.org/" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LDFLAGS="-s" LINGUAS="it en" MAKEOPTS="-j5" 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="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/desktop-effects /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 apache2 apm avahi bash-completion bluetooth bzip2 cairo cdr cli cracklib crypt css cups cvs cxx dbus dnd dri dvd dvdr encode examples exif ffmpeg firefox ftp gdbm geoip gif gimp gnome gnome-keyring gnutls gpm graphviz gstreamer gtk hal iconv id3tag ieee1394 imagemagick imap ipod isdnlog jabber jack java javascript jingle jpeg jpeg2k kvm lame libnotify libproxy libwww lm_sensors mad mime mmx mozilla mp3 mpeg msn mtp mudflap multilib mysql mysqli nautilus ncurses nforce2 nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf perl php pmu png posix pppd python qt3support qt4 readline reflection rss session simplexml spell spl sqlite sqlite3 sse sse2 sse3 sse4_1 ssl subversion svg sysfs tagwriting tcpd theora threads truetype unicode usb v4l v4l2 vcd vdpau vnc vorbis webkit wxwindows x264 xcomposite xinerama xml xorg xulrunner xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias authz_host dav davfs dav_lock dir headers include mime mime_magic rewrite" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia nv v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 201404 [details] build.log
Please try with dev-python/setuptools-0.6.1.
the bug is still present in 0.6.1. I'll attach the build log and the environment file. The emerge --info is already present in the first comment The error is this: ImportError: No module named core.utils.dist so it could maybe related to a missing python module that I have removed even if I don't remember to have ever removed any python modules. Maybe it could be related to Python 2.6, since the die message is "Installation failed with Python 2.6 in installation() function"
Created attachment 203735 [details] The build.log of version 0.6.1
Created attachment 203736 [details] The environment file of version 0.6.1
(In reply to comment #3) > Maybe it could be related to Python 2.6, since the die message is > "Installation failed with Python 2.6 in installation() function" It's only a standard message which informs which Python version was currently used.
Please try: emerge -C setuptools emerge -1 setuptools
It still fails with the same error. Shall I attach the build.log of this build?
Please try with dev-python/setuptools-0.6.2.
setuptools-0.6.2 installs without any problem. I think the bug is resolved
Thanks for testing.