Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264462 - dev-python/envisagecore-3.1.0 fails to emerge
Summary: dev-python/envisagecore-3.1.0 fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 04:21 UTC by Collin Day
Modified: 2009-04-05 00:11 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 Collin Day 2009-04-01 04:21:36 UTC
Tried to emerge envisagecore-3.1.0 as part of update to mayavi-3.2.0

Reproducible: Always

Steps to Reproduce:
1.emerge -uavDN world (is part of upgrade)
2.
3.

Actual Results:  
>>> Compiling source in /var/tmp/portage/dev-python/envisagecore-3.1.0/work/EnvisageCore-3.1.0 ...
QA: Static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
QA: Static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
Traceback (most recent call last):
  File "setup.py", line 45, in <module>
    from setuptools import setup, find_packages
  File "/usr/lib/python2.5/site-packages/setuptools/__init__.py", line 2, in <module>
    from setuptools.extension import Extension, Library
.....

Expected Results:  
emerge continues

Portage 2.2_rc28 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-glibc2.0
Timestamp of tree: Tue, 31 Mar 2009 00:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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/eselect/postgresql /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/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=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi alsa ao audiofile avahi bash-completion berkdb bidi blas bzip2 cairo caps cddb cdparanoia cdr cgi clamav cli cracklib crypt css cups curl cxx dbus djvu doc dri dv dvd dvdr dvdread emacs encode examples exif expat extra fam fastcgi ffmpeg fftw firefox flac fltk fontconfig fortran ftp gd gdbm ggi gif gimp git gmp gnuplot gnutls gphoto2 gpm graphviz gsl gstreamer gtk gtkhtml guile gutenprint hal hbci hyperwav-api iconv ieee1394 imagemagick imap imlib ipv6 isdnlog java javascript jbig joystick jpeg jpeg2k kpathsea lame lapack latex lcms libcaca libedit libnotify libsamplerate libwww lm_sensors lua lzo mad mbox midi mikmod mime mmap mmx mng modplug motif mp3 mpeg mpi mplayer mudflap musepack mysql nas ncurses nis nls nntp nptl nptlonly nsplugin odbc offensive ofx ogg openal openexr opengl openmp oss pam pcre pdf perl php plotutils png ppds pppd pulseaudio python raw readline reflection rss samba sasl scanner sdl session slang smp sndfile snmp sockets speex spell spl ssl startup-notification subversion svg svga sysfs syslog szip tcl tcpd theora threads tiff tk truetype unicode v4l v4l2 vcd vhosts videos vnc vorbis wavpack win32codecs wmf wxwindows x86 xemeacs xine xinetd xml xmlrpc xorg xpm xprint xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="maestro3 ymfpci emu10k1 emu10k1x hdsp hdspm" 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2009-04-01 07:05:10 UTC
Please provide the full build.log
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-04-01 10:39:16 UTC
Hi Collin,

I can't reproduce.
Which python do you have selected? Did you run the python-updater properly?

Thanks.
Comment 3 Collin Day 2009-04-02 00:48:45 UTC
(In reply to comment #2)
> Hi Collin,
> 
> I can't reproduce.
> Which python do you have selected? Did you run the python-updater properly?
> 
> Thanks.
> 
I am using Python 2.5.4.  I believe I ran python-updater correctly.

emerge envisagecore

Build log----
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking EnvisageCore-3.1.0.tar.gz to /var/tmp/portage/dev-python/envisagecore-3.1.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/envisagecore-3.1.0/work
>>> Preparing source in /var/tmp/portage/dev-python/envisagecore-3.1.0/work/EnvisageCore-3.1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/envisagecore-3.1.0/work/EnvisageCore-3.1.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/envisagecore-3.1.0/work/EnvisageCore-3.1.0 ...
Traceback (most recent call last):
  File "setup.py", line 45, in <module>
    from setuptools import setup, find_packages
  File "/usr/lib/python2.5/site-packages/setuptools/__init__.py", line 2, in <module>
    from setuptools.extension import Extension, Library
  File "/usr/lib/python2.5/site-packages/setuptools/extension.py", line 2, in <module>
    from dist import _get_unpatched
  File "/usr/lib/python2.5/site-packages/setuptools/dist.py", line 6, in <module>
    from setuptools.command.sdist import sdist
  File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 4, in <module>
    import os, re, sys, pkg_resources
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2582, in <module>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 640, in subscribe
    callback(dist)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2582, in <lambda>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2131, in activate
    map(declare_namespace, self._get_metadata('namespace_packages.txt'))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1749, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1720, in _handle_ns
    loader.load_module(packageName); module.__path__ = path
  File "/usr/lib/python2.5/pkgutil.py", line 238, in load_module
    mod = imp.load_module(fullname, self.file, self.filename, self.etc)
  File "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/__init__.py", line 7, in <module>
    from core.application import Application
  File "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py", line 23, in <module>
    from enthought.logger.api import CONFIG_FILE_EXISTS
ImportError: cannot import name CONFIG_FILE_EXISTS
 * 
 * ERROR: dev-python/envisagecore-3.1.0 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2475:  Called distutils_src_compile
 *             environment, line  724:  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 '/var/tmp/portage/dev-python/envisagecore-3.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/envisagecore-3.1.0/temp/environment'.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2009-04-03 08:38:09 UTC

>   File
> "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py",
> line 23, in <module>
>     from enthought.logger.api import CONFIG_FILE_EXISTS
> ImportError: cannot import name CONFIG_FILE_EXISTS


What is this file doing in here? Seems you have some old left over python egg that causes you this trouble.
Comment 5 Collin Day 2009-04-05 00:06:46 UTC
(In reply to comment #4)
> 
> >   File
> > "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py",
> > line 23, in <module>
> >     from enthought.logger.api import CONFIG_FILE_EXISTS
> > ImportError: cannot import name CONFIG_FILE_EXISTS
> 
> 
> What is this file doing in here? Seems you have some old left over python egg
> that causes you this trouble.
> 

Ill be honset with you - I don't know.  I just emerge *app* and let it go.  I wouldn't know enough to look for this.  Since emerge is tellin g me it isn't installed, could I just wip the current evisage directory and everything in it?
Comment 6 Collin Day 2009-04-05 00:11:04 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > 
> > >   File
> > > "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py",
> > > line 23, in <module>
> > >     from enthought.logger.api import CONFIG_FILE_EXISTS
> > > ImportError: cannot import name CONFIG_FILE_EXISTS
> > 
> > 
> > What is this file doing in here? Seems you have some old left over python egg
> > that causes you this trouble.
> > 
> 
> Ill be honset with you - I don't know.  I just emerge *app* and let it go.  I
> wouldn't know enough to look for this.  Since emerge is tellin g me it isn't
> installed, could I just wip the current evisage directory and everything in it?
> 
That did it - I just wiped the old envisage stuff from /usr/lib/python2.5/site-packages and everything worked.  Thank you for your time looking into this.  I would have never found it.