Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292197 - dev-python/setuptools-0.6.4 build fails: cannot import name _before_install
Summary: dev-python/setuptools-0.6.4 build fails: cannot import name _before_install
Status: RESOLVED DUPLICATE of bug 292095
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-06 23:35 UTC by Carlos Konstanski
Modified: 2009-11-07 00:06 UTC (History)
0 users

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


Attachments
build.log (build.log,5.38 KB, text/plain)
2009-11-06 23:35 UTC, Carlos Konstanski
Details
environment (environment,122.53 KB, text/plain)
2009-11-06 23:36 UTC, Carlos Konstanski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Konstanski 2009-11-06 23:35:23 UTC
>>> Install setuptools-0.6.4 into /var/tmp/portage/dev-python/setuptools-0.6.4/image/ category dev-python
 * Installation of dev-python/setuptools-0.6.4 with Python 2.6...
python2.6 setup.py build -b build-2.6 install --root=/var/tmp/portage/dev-python/setuptools-0.6.4/image/ --no-compile
/usr/lib/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
Traceback (most recent call last):
  File "setup.py", line 56, in <module>
    from distribute_setup import _before_install
ImportError: cannot import name _before_install

This system has only python-2-6 installed. python-updater has been run.

Reproducible: Always

Steps to Reproduce:




root@hly21756vm2:/usr/lib/python2.6/site-packages# emerge --info =dev-python/setuptools-0.6.4
Portage 2.1.7.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30.9 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.30.9-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 06 Nov 2009 10:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j2"
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/portage/local/layman/lisp /usr/portage/local/layman/java-overlay"
SYNC="rsync://devmysql.powereng.com/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb bitmap-fonts bluetooth branding browserplugin bzip2 cairo cdr cli consolekit cracklib crypt cups curl dbus dri dts dvd dvdr eds emacs emboss encode evo fam ffmpeg firefox flac fortran gd gdbm gif gnutls gpm gstreamer gtk gtkhtml guile h323 hal iconv imagemagick imap ipv6 jack java java6 jbig jpeg jpeg2k kerberos krb krb5 latex ldap libnotify libwww mad maildir mikmod mmx mng modules motif mozilla mp3 mp4 mpeg mudflap ncurses networking nls nptl nptlonly nsplugin odbc ogg opengl openmp oss pam pcre pdf perl pic png pni policykit postgres ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sasl sdl session sip source spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcltk tcpd tetex threads thunar tiff truetype truetype-fonts type1-fonts unicode urandom usb v4l v4l2 vim vorbis wav webkit win32codecs x86 xft xinerama xml xmms xorg 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 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 speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

root@hly21756vm2:/usr/lib/python2.6/site-packages# emerge -pqv =dev-python/setuptools-0.6.4
[ebuild  N    ] dev-python/setuptools-0.6.4 

(I uninstalled setuptools-0-6-r1 in the hopes that I could mask it)
Comment 1 Carlos Konstanski 2009-11-06 23:35:44 UTC
Created attachment 209485 [details]
build.log
Comment 2 Carlos Konstanski 2009-11-06 23:36:04 UTC
Created attachment 209487 [details]
environment
Comment 3 Rafał Mużyło 2009-11-07 00:06:57 UTC

*** This bug has been marked as a duplicate of bug 292095 ***