Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 447556

Summary: dev-python/virtualenv-1.8.4 emerge failed with error virtualenv-3.3 already exists
Product: Gentoo/Alt Reporter: Wang Bin <wangbin.zibo>
Component: Mac OSXAssignee: Gentoo Prefix <prefix>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jlec, paczesiowa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Wang Bin 2012-12-17 04:42:55 UTC
Created attachment 332544 [details]
build.log

emerge dev-python/virtualenv-1.8.4 failed with following error messages:

 * ERROR: dev-python/virtualenv-1.8.4 failed (install phase): *   python_merge_intermediate_installation_images(): '/Users/wangbin/Gentoo/usr/bin/virtualenv-3.3' already exists *  * Call stack: *     ebuild.sh, line   93:  Called call-ebuildshell 'src_install' *   environment, line 1044:  Called src_install
 *   environment, line 5113:  Called distutils_src_install *   environment, line 1234:  Called python_merge_intermediate_installation_images '/Users/wangbin/Gentoo/var/tmp/portage/dev-python/virtualenv-1.8.4/temp/images'
 *   environment, line 4517:  Called die
 * The specific snippet of code:
 *                   die "${FUNCNAME}(): '${EPREFIX}/${file}-${PYTHON_ABI}' already exists";

the output of `emerge -pqv '=dev-python/virtualenv-1.8.4'`:

[ebuild   R   ] dev-python/virtualenv-1.8.4 [1.8.4] USE="-doc {-test}" 

the output of `emerge --info '=dev-python/virtualenv-1.8.4'`:

Portage 2.2.01.21418-prefix (prefix/darwin/macos/10.8/x64, gcc-4.2.1, unavailable, 12.2.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-12.2.0-x86_64-i386-64bit
Timestamp of tree: Mon, 17 Dec 2012 01:37:22 +0000
app-shells/bash:      4.2_p37::gentoo_prefix
dev-lang/python:      2.7.3-r2::gentoo_prefix, 3.3.0::gentoo_prefix
dev-util/pkgconfig:   0.27.1::gentoo_prefix
sys-devel/autoconf:   2.69::gentoo_prefix
sys-devel/automake:   1.12.4::gentoo_prefix
sys-devel/gcc-config: 1.5-r2::gentoo_prefix
sys-devel/libtool:    2.4.2::gentoo_prefix
sys-devel/make:       3.82-r4::gentoo_prefix
Repositories: gentoo_prefix wangbin
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin12"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-apple-darwin12"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/Users/wangbin/Gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
PKGDIR="/Users/wangbin/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/wangbin/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/wangbin/Gentoo/var/tmp"
PORTDIR="/Users/wangbin/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/wangbin/Gentoo/var/lib/layman/wangbin"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="bash-completion berkdb coreaudio cracklib cxx emacs ipv6 mmx mmxext modules ncurses nls objc objc++ prefix readline sqlite sse sse2 ssl unicode x64-macos zlib zsh-completion" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-python/virtualenv-1.8.4 was built with the following:
USE="(prefix) -doc -test"
Comment 1 Jeff Kowalczyk 2013-03-19 02:15:34 UTC
I also see this with dev-python/virtualenv-1.9.1.

% grep PYTHON /etc/make.conf                                                                      
USE_PYTHON="2.7 3.3"
PYTHON_TARGETS="python2_7 python3_3"

copying build-3.3/lib/virtualenv.py -> /var/tmp/portage/dev-python/virtualenv-1.9.1/temp/images/3.3/usr/lib64/pytho
n3.3/site-packages
warning: install_lib: byte-compiling is disabled, skipping.

running install_scripts
creating /var/tmp/portage/dev-python/virtualenv-1.9.1/temp/images/3.3/usr/bin
copying build-3.3/scripts-3.3/virtualenv-3.3 -> /var/tmp/portage/dev-python/virtualenv-1.9.1/temp/images/3.3/usr/bi
n
copying build-3.3/scripts-3.3/virtualenv -> /var/tmp/portage/dev-python/virtualenv-1.9.1/temp/images/3.3/usr/bin
changing mode of /var/tmp/portage/dev-python/virtualenv-1.9.1/temp/images/3.3/usr/bin/virtualenv-3.3 to 755
changing mode of /var/tmp/portage/dev-python/virtualenv-1.9.1/temp/images/3.3/usr/bin/virtualenv to 755
running install_egg_info
Writing /var/tmp/portage/dev-python/virtualenv-1.9.1/temp/images/3.3/usr/lib64/python3.3/site-packages/virtualenv-1
.9.1-py3.3.egg-info
 * ERROR: dev-python/virtualenv-1.9.1 failed (install phase):
 *   python_merge_intermediate_installation_images(): '/usr/bin/virtualenv-3.3' already exists
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 5046:  Called distutils_src_install
 *   environment, line 1232:  Called python_merge_intermediate_installation_images '/var/tmp/portage/dev-python/vir
tualenv-1.9.1/temp/images'
 *   environment, line 4462:  Called die
 * The specific snippet of code:
 *                   die "${FUNCNAME}(): '${EPREFIX}/${file}-${PYTHON_ABI}' already exists";
 * 

% emerge --info '=dev-python/virtualenv-1.9.1'          
Portage 2.1.11.55 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.16.0, 3.8.3-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.3-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5_CPU_M_540_@_2.53GHz-with-gentoo-2.2
KiB Mem:     7980136 total,   5831832 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Tue, 19 Mar 2013 01:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0::java-overlay
dev-lang/python:          2.7.3-r3, 3.3.0-r1
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mozilla dalton arduino kozea sunrise emacs java-overlay jfkw
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.hoobly.com/ http://gentoo.llarian.net/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mozilla /var/lib/layman/daltonmatos /var/lib/layman/luksans-arduino /var/lib/layman/kozea /var/lib/layman/sunrise /var/lib/layman/emacs /var/lib/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi aiglx aim alsa amd64 apache2 apng applet ares autotrace avahi bash-completion bbdb bonobo bzip2 cairo caps cddb cdr cdrkit chroot cli cracklib crypt cups curl cxx dbus device-mapper djvu dmx dri dv dvd dvdr dvi emf encode exif expat fam fastcgi ffmpeg fftw firefox flac flash fontconfig fortran freetds freetype fuse g3dvl galago gcj gd gdbm gdu geoip gflags gif gimp glib gmp gnutls gphoto2 gpm gps graphviz grass gstreamer gtk gtk3 gudev h323 helpers highlight hwdb iconv icq icu idn ieee1394 imagemagick imap imlib2 innodb introspection ipv6 jabber jack jemalloc jpeg jpeg2k juju kpathsea kvm lapack laptop latex lcms libclamav libg++ libnotify libxml2 logrotate lua lzma maildir maildrop mailwrapper mbox md5sum mdb mikmod minizip mmx mng modules mozdevelop mp3 mp4 mpeg mpeg4 msn mudflap multilib mysql ncurses newspr nls nptl nptlonly numeric oav odbc ogg openal openexr opengl openmp oscar pam pango pch pcmcia pcre pdf pdflib perl plotutils png postgis postgres ppds pulseaudio python qemu readline remote rrdtool sasl scanner schroedinger sdl session sip sound soup speex spell sqlite sqlite3 sse sse2 ssl svg syslog t1lib tcpd tftp theora tiff tracker transcode truetype udev unicode usb v4l v4l2 v8 vda virt-network virus-scan vorbis wav webdav webgl webkit webkit2 wmf wnck x264 xattr xcb xcomposite xetex xft xine xinerama xml xterm-color xulrunner xv xvid xvmc yahoo zlib" ABI_X86="64" 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 cgi 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 proxy proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="casio" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys plustek" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-07-29 06:42:09 UTC
Please reopen if still exists with latest versions