Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67656 - gnupg-1.9.10 fails to compile
Summary: gnupg-1.9.10 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
: 95938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-15 06:19 UTC by Felix Kurth
Modified: 2005-08-05 20:43 UTC (History)
4 users (show)

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 Felix Kurth 2004-10-15 06:19:02 UTC
gcc     -I/usr/include -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall   -o sc-investigate  sc-investigate.o apdu.o ccid-driver.o iso7816.o tlv.o atr.o app.o app-help.o app-openpgp.o app-nks.o app-dinsig.o ../jnlib/libjnlib.a ../common/libcommon.a -lgcrypt -lgpg-error  -lksba -lgpg-error  -L/usr/lib -lopensc -lpcsclite -lpthread -lgpg-error -ldl -lz
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpcsclite
collect2: ld returned 1 exit status
make[2]: *** [sc-investigate] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpcsclite
collect2: ld returned 1 exit status
make[2]: *** [scdaemon] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnupg-1.9.10/work/gnupg-1.9.10/scd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnupg-1.9.10/work/gnupg-1.9.10'
make: *** [all] Error 2

!!! ERROR: app-crypt/gnupg-1.9.10 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! (no error message)

Having sys-apps/pcsc-lite-1.2.0
merged it works. So this looks like a dependency or configure error.
(I have the smartcard useflag set)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r11 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 
2.6.8-gentoo-r7-rei4-gcc34) 
================================================================= 
System uname: 2.6.8-gentoo-r7-rei4-gcc34 i686 AMD Athlon(TM) XP 2100+ 
Gentoo Base System version 1.4.16 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache fixpackages prelink userpriv" 
GENTOO_MIRRORS="http://gentoo.inode.at/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dfx 3dnow 3dnowex X X509 aac acpi acpi4linux alsa amd apache2 apm arts 
artswrappersuid avi berkdb bitmap-fonts bluetooth bzlib cddb cdr cdrom chroot 
codecs composite crypt cscope cups dga dio divx divx4linux dmx dri dv dvd dvdr 
dvdreadencode exif faac faad fam fbcon ffmpeg flac foomaticdb ftp gd gif gimp 
gimpprint gphoto2 gpm graphviz gs gtk gtk2 hbci imap imlib imlib2 ipv6 irda 
irmc java jit jpeg jpeg2k kde libg++ libwww linguas_de lirc lm_sensors 
lufsusermount lzo lzw lzw-tiff mad maildir mcal mikmod mime mmx mmx2 mng 
monkey motif moznocompose moznoirc mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer 
ncurses nls nntp no-old-linux nptl nvidia odbc oggvorbis ooo-kde openal opengl 
pam pcre pda pdf pdflib pear-db pic png ppds procmail python qt quicktime 
readline samba scanner sdl session skey slang slp smartcard smime spamassassin 
spellsse sse2 ssl svg svga tcltk tcpd tetex tga theora threads tiff transcode 
truetype usb userlocales v4l v4l2 vim-with-x wmf x86 xine xinerama xml xml2 
xmms xosd xpm xprint xv xvid xvmc yv12 zlib"
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-12-07 04:51:01 UTC
I'd try adding sys-apps/pcsc-lite and see if that works.
Comment 2 Esben Mose Hansen 2004-12-13 13:26:50 UTC
I can confirm that >=gnupg-1.9 needs pcsc-lite to compile.
Comment 3 Michael Helmling 2005-03-24 03:11:13 UTC
Only if you set USE=smartcard, then it should depend on pcsc-lite
Comment 4 Stian Skjelstad 2005-06-27 05:11:01 UTC
Isn't it enough as it currently is, depending on opensc ?

(1.9.10 is no longer in portage, so I can check the old dep-tree)

This bug-entry has been here for a long time now
Comment 6 Rouslan Solomakhin 2005-07-01 23:19:14 UTC
(In reply to comment #5)
> http://bugs.gentoo.org/attachment.cgi?id=61145&action=view

If this is a proposed patch, please attach a new one by doing "diff -u oldfile
newfile". The option "-u" ensures that output of diff is compatible with input
of patch.
Comment 7 Stian Skjelstad 2005-07-02 03:39:10 UTC
Please mark Bug 95938 as a dupe of this.

The patch should also be broken down a bit more (it is for 1.9.15-r1 ebuild)

PIC should always be fixed

./configure should be fixed to detect whether to use pcsclite or opensc if told
to support smartcard.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2005-08-05 20:43:06 UTC
*** Bug 95938 has been marked as a duplicate of this bug. ***
Comment 9 Daniel Black (RETIRED) gentoo-dev 2005-08-05 20:43:45 UTC
applying patch in gnupg-1.9.18