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

Bug 490252

Summary: python-exec is duplicated in dev-lang and dev-python with blocker dependencies
Product: Gentoo Linux Reporter: Alexey Skobkin <skobkin-ru>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: krinpaus
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Emerge without unmasking dev-python/python-exec

Description Alexey Skobkin 2013-11-03 11:27:59 UTC
Yesterday I tried to update my system since a ~3 months without updates and got a blocker packages:
dev-lang/python-exec - already installed (0.3.1 before system update)
dev-python/python-exec - candidate to install which blocked many python packages because of conflict with dev-lang/python-exec

I masked second package and updated system successfully. But when I tried to update world, it caused new blocks and require dev-python/python-exec unmasking.

Emerge world with unmask seems to be ready for emerge. But I think this is NOT normal situation with duplicate packages and I still waiting for right decision.

Reproducible: Always

Steps to Reproduce:
1. Try to update system
2. Mask dev-python/python-exec
3. Update system
4. Try to update world
Actual Results:  
Update not starts.

Expected Results:  
Update of world.

# eix python-exec
[I] dev-lang/python-exec
     Available versions:
     (0)    0.3.1 **0.9999
     (2)    (~)2.0 **2.9999
       {PYTHON_TARGETS="jython2_5 jython2_7 pypy2_0 python2_6 python2_7 python3_2 python3_3"}
     Installed versions:  2.0(2)(08:49:58 PM 11/02/2013)(PYTHON_TARGETS="jython2_5 jython2_7 pypy2_0 python2_6 python2_7 python3_2 python3_3")
     Homepage:            https://bitbucket.org/mgorny/python-exec/
     Description:         Python script wrapper

* dev-python/python-exec
     Available versions:
     (0)    [m]10000.1
     (2)    [m](~)10000.2
       {PYTHON_TARGETS="jython2_5 jython2_7 pypy2_0 python2_6 python2_7 python3_2 python3_3"}
     Homepage:            https://bitbucket.org/mgorny/python-exec/
     Description:         Compatibility package for dev-lang/python-exec

===========================================================================

# emerge --info
!!! Repository 'x-nodejs-service' is missing masters attribute in '/usr/local/portage/nodejs-service/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/nodejs-service/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.6.8-gentoo x86_64)
=================================================================
System uname: Linux-3.6.8-gentoo-x86_64-Common_KVM_processor-with-gentoo-2.2
KiB Mem:     2054068 total,    250284 free
KiB Swap:    1572860 total,   1562124 free
Timestamp of tree: Sun, 03 Nov 2013 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3, 4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo mva sunrise x-nodejs-service
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.gentoo.bg/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/mva /var/lib/layman/sunrise /usr/local/portage/nodejs-service"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bash-completion berkdb bzip2 cli cracklib crypt curl cxx dri fortran ftp gd gdbm gnutls gzip iconv imagemagick innodb ipv6 jabber jingle jpeg lzma mime mmx modules mudflap multilib mysql mysqli ncurses nls nptl odbc openmp pam pcre php png readline sasl session simplexml sockets sqlite sqlite3 sse sse2 ssl subversion tcpd unicode vhosts xml xmlrpc xmpp zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 author" CAMERAS="ptp2" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

===============================================================================

# cat /etc/portage/package.mask
=net-im/prosody-9999
dev-python/python-exec
=dev-python/python-exec-10000.1

# cat /etc/portage/package.use
dev-lang/php mysqlnd suhosin xmlreader xmlwriter zip exif fpm
app-portage/layman git bazaar mercurial
net-im/prosody libevent -luajit -sqlite
media-gfx/imagemagick djvu raw svg tiff
gnome-base/librsvg -gtk
dev-libs/libxslt python
dev-vcs/subversion -perl
dev-vcs/git -subversion
# php for lighttpd
dev-lang/php cgi -odbc pdo
# lighttpd
www-servers/lighttpd fam memcache
# for munin
net-analyzer/rrdtool perl
# etckeeper
sys-apps/etckeeper portage
# nginx
www-servers/nginx stub_status
# tinyproxy
net-proxy/tinyproxy -filter-proxy -xtinyproxy-header
# ffmpeg
media-video/ffmpeg 3dnow 3dnowext aac aacplus amr ass avx faac gsm libv41 mmxext mp3 network openssl pic rtmp speex ssse3 theora threads vpx x264 xvid

# openssl exit problem
mail-mta/exim -ssl -mysql -sqlite

# uwcgi for bobrynya
www-servers/uwsgi -php -nagios -apache2 python

# portage
#required by dev-libs/libxslt-1.1.28-r1[python], required by sys-apps/kmod-12-r1, required by sys-fs/udev-197-r5[kmod], required by virtual/udev-197, required by sys-fs/udev-init-scripts-22
>=dev-libs/libxml2-2.9.0-r1 python
# required by dev-libs/openssl-1.0.1e[static-libs,zlib]
# required by dev-lang/python-2.7.5[ssl,-build]
# required by dev-libs/libxslt-1.1.28-r1[python,python_targets_python2_7]
# required by sys-apps/kmod-13-r1
# required by sys-fs/udev-204[kmod]
# required by virtual/udev-197-r3
# required by sys-fs/udev-init-scripts-26
>=sys-libs/zlib-1.2.8 static-libs
# required by dev-lang/php-5.3.25
# required by dev-php/pecl-imagick-3.1.0_rc2[php_targets_php5-3]
# required by @selected
# required by @world (argument)
>=app-admin/eselect-php-0.7.1 fpm

#ejabberd
net-im/ejabberd -mod_pubsub -ldap -mod_irc mod_muc -mod_pubsub mod_proxy65 odbc ssl web zlib

=========================================================================================

Emerge world without unmasking is in attachment.
Comment 1 Alexey Skobkin 2013-11-03 11:28:49 UTC
Created attachment 362480 [details]
Emerge without unmasking dev-python/python-exec
Comment 2 Mike Gilbert gentoo-dev 2013-11-03 16:34:02 UTC
If you don't want dev-python/python-exec, you'll have do some cleanup in /var/db/pkg.

grep -RlF dev-python/python-exec /var/db/pkg/*/*/{DEPEND,RDEPEND}

Re-install any packages that finds. You should then be able to eliminate dev-python/python-exec from your system.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-11-03 16:40:33 UTC
Also, you don't want to mask it. You want to install dev-python/python-exec-10000.1 which is a virtual package that pulls in dev-lang/python-exec. Afterwards, you may use 'emerge --depclean -v dev-python/python-exec' to see what needs to be rebuilt. After you rebuild all the deps, you can depclean it.