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

Bug 182482

Summary: app-crypt/gnupg is self-blocking when using binary packages
Product: Gentoo Linux Reporter: Joshua Pettett <bugs.gentoo.devel>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joshua Pettett 2007-06-18 16:41:25 UTC
When attempting to install gnupg-1.9.21, which is dependent upon gnupg-1.4.x, from binary packages, portage says that it's blocked by gnupg, presumably referring to the lower version.  However, this problem does not exist when compiling from source:


ngh2 ~ # emerge -pv gnupg

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-crypt/gnupg-1.4.7-r1  USE="bzip2 curl ldap nls readline zlib -bindist -ecc -idea (-selinux) -smartcard -static -usb" LINGUAS="-ru" 0 kB
[ebuild  N    ] app-crypt/gnupg-1.9.21  USE="ldap nls -X -gpg2-experimental (-selinux) -smartcard" 0 kB

Total: 2 packages (2 new), Size of downloads: 0 kB
ngh2 ~ # emerge -pvK gnupg

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary  N    ] app-crypt/gnupg-1.4.7-r1  USE="bzip2 curl ldap nls readline zlib -bindist -ecc -idea -selinux -smartcard -static -usb" LINGUAS="-ru"
[binary  N    ] app-crypt/gnupg-1.9.21  USE="ldap nls -X -gpg2-experimental -selinux -smartcard"
[blocks B     ] app-crypt/gnupg (is blocking app-crypt/gnupg-1.9.21)

Total: 2 packages (2 new, 1 block), Size of downloads: 0 kB
ngh2 ~ # emerge --info
Portage 2.1.2.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r3, 2.6.18-hardened-configuration2 i686)
=================================================================
System uname: 2.6.18-hardened-configuration2 i686 Pentium III (Katmai)
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 15 Jun 2007 09:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://netserver/gentoo-portage"
USE="acl apache2 berkdb bzip2 caps cracklib crypt curl doc fam ftp gd gdbm gmp gnutls hardened imap innodb ipv6 java jpeg ldap logrotate maildir mhash midi mysql ncurses nls nocd nptl pam pcre perl php pic png posix prelude readline sasl session sockets spell spl sqlite sse ssl sysvipc tcpd test unicode urandom vhosts x86 xml xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-18 20:11:25 UTC
Maybe you should re-emerge the binary packages. reopen if it doesn't work then.
Comment 2 Joshua Pettett 2007-06-19 16:45:50 UTC
(In reply to comment #1)
> Maybe you should re-emerge the binary packages. 

I assume you meant re-emerge from source, which I had already done once.  But this time I had unmerged both packages first, and that seems to have fixed the problem.

Still seems more complicated than it should have been though.