I had installed dev-libs/libassuan-1.0.2-r1. During emerge of ### I got the following error: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=athlon64 -mfpmath=sse -mmmx -msse -msse2 -m3dnow -ggdb -o gnupg-pkcs11-scd scdaemon.o common.o command.o encoding.o keyutil.o dconfig.o -lpthread -ldl -L/usr/lib64 -lgpg-error -L/usr/lib64 -lassuan -L/usr/lib64 -lgcrypt -lgpg-error -lpkcs11-helper -lpthread -lcrypto -ldl -lcrypto -ldl scdaemon.o: In function `server_socket_close': /var/tmp/portage/app-crypt/gnupg-pkcs11-scd-0.06/work/gnupg-pkcs11-scd-0.06/scdaemon.c:207: undefined reference to `assuan_sock_close' scdaemon.o: In function `server_socket_create': /var/tmp/portage/app-crypt/gnupg-pkcs11-scd-0.06/work/gnupg-pkcs11-scd-0.06/scdaemon.c:253: undefined reference to `assuan_sock_new' /var/tmp/portage/app-crypt/gnupg-pkcs11-scd-0.06/work/gnupg-pkcs11-scd-0.06/scdaemon.c:258: undefined reference to `assuan_sock_bind' collect2: ld returned 1 exit status make[1]: *** [gnupg-pkcs11-scd] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-crypt/gnupg-pkcs11-scd-0.06/work/gnupg-pkcs11-scd-0.06' make: *** [install-recursive] Error 1 >>> Completed installing gnupg-pkcs11-scd-0.06 into /var/tmp/portage/app-crypt/gnupg-pkcs11-scd-0.06/image/ <snip> Despite the link error the emerge succeeds but no files were installed. Reproducible: Always Portage 2.1.4.4 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo x86_64) ================================================================= System uname: 2.6.24-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Timestamp of tree: Tue, 25 Mar 2008 20:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -mfpmath=sse -mmmx -msse -msse2 -m3dnow -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=athlon64 -mfpmath=sse -mmmx -msse -msse2 -m3dnow -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="de us" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/raikel/own/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 bash-completion berkdb cdr cli cracklib crypt cups dri dvd dvdr fam gdbm gif gpm iconv isdnlog jpeg kde kdehiddenvisibility lirc mad midi mp3 mudflap ncurses nls nptl nptlonly ogg openmp pam pcre png ppds pppd qt qt4 quicktime readline reflection session smartcard spl ssl tcpd tiff unicode usb vorbis xinerama xorg zlib" 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" 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" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de us" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 147468 [details, diff] Fixes the libassuan version and dies when build is not successful
*** Bug 215104 has been marked as a duplicate of this bug. ***
Thanks!