Bug 165922 - gnupg-2.0.2 uses curl but doesn't depend on it
Bug#: 165922 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: crypto@gentoo.org Reported By: truedfx@gentoo.org
Component: Applications
URL: 
Summary: gnupg-2.0.2 uses curl but doesn't depend on it
Keywords:  
Status Whiteboard: 
Opened: 2007-02-08 15:08 0000
Description:   Opened: 2007-02-08 15:08 0000
(Note: this looks like a dupe of #135157, but I don't think it is. I have no
gnupg-1.4 installed, and a grep through the 2.0.2 source clearly shows curl is
being used.)

$ ldd /usr/libexec/gpg2keys_hkp /usr/libexec/gpg2keys_curl
/usr/libexec/gpg2keys_hkp:
        linux-gate.so.1 =>  (0xb7f56000)
        libcurl.so.3 => not found
        libc.so.6 => /lib/libc.so.6 (0xb7e20000)
        /lib/ld-linux.so.2 (0xb7f57000)
/usr/libexec/gpg2keys_curl:
        linux-gate.so.1 =>  (0xb7f53000)
        libcurl.so.3 => not found
        libc.so.6 => /lib/libc.so.6 (0xb7e1d000)
        /lib/ld-linux.so.2 (0xb7f54000)

$ emerge -pv gnupg

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

Calculating dependencies... done!
[ebuild   R   ] app-crypt/gnupg-2.0.2  USE="bzip2 nls -X -doc -ldap -openct
-pcsc-lite (-selinux) -smartcard" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
$ emerge -pv curl

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

Calculating dependencies... done!
[ebuild  N    ] net-misc/curl-7.15.5  USE="idn ipv6 ssl -ares -gnutls -kerberos
-krb4 -ldap -test" 1,507 kB

Total: 1 package (1 new), Size of downloads: 1,507 kB
$ emerge --info
Portage 2.1.2-r8 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0,
2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.9
Timestamp of tree: Thu, 08 Feb 2007 14:20:01 +0000
dev-lang/python:     2.5-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon-tbird -O2 -fomit-frame-pointer"
DISTDIR="/var/dist"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests autoconfig autopatch collision-protect cvs distlocks
metadata-transfer notitles sandbox sfperms sign strict"
GENTOO_MIRRORS="        /var/dist/unofficial   
http://ftp.easynet.nl/mirror/gentoo     http://distfiles.gentoo.org 
http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="en_GB.UTF-8"
LDFLAGS="-Xlinker --as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j2"
PKGDIR="/var/pkg"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/cvs/gentoo-x86 /etc/portage/overlay
/etc/portage/overlay/enlightenment"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl akode alsa apache2 bidi bindist bitmap-fonts
bzip2 cairo cdparanoia cgi cjk cli cracklib crypt ctype cups dlloader dri dvd
dvdread fastbuild fbcon filepicker flac gif iconv idn immqt inifile ipv6
isdnlog jit jpeg kde kdeenablefinal kdehiddenvisibility lesstif libg++ mbox
midi mmx mmxext mozdevelop mpeg mplayer mudflap mysql ncurses nls nntp nocxx
nptl nptlonly objc objc++ objc-gc offensive ogg opengl pango pascal pcre pdf
perl php pic png posix ppds pppd readline reflection restrict-javascript
rt2500pci rtc scim sdl session source spell spl sql ssl symlink tetex threads
truetype truetype-fonts type1-fonts udev unicode usb utempter vim-with-x vorbis
wacom x86 xcomposite xim xml xmlreader xmlwriter xorg xv xvid zlib"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux"
LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Alon Bar-Lev (RETIRED) 2007-02-08 15:25:44 0000 -------
Thanks!
Added, although gpg can manage without it... But it is better to use the formal
one than the fake internal one.