I tried installing dspam, which failed with ld complaining about "cannot find -ldspam". First I thought the error was related to distcc, then i tried rebuilding sqlite. Finally i switched off all useflags and figured out it only works with either sqlite OR mysql enabled - not both. Solution: disable the use-flag in question via package.use Reproducible: Always Steps to Reproduce: 1. enable both sqlite and mysql useflags 2. emerge dspam Actual Results: emerge failed with the linker Expected Results: complete the merge >>> Source compiled. >>> Test phase [not enabled]: mail-filter/dspam-3.8.0-r15 >>> Install dspam-3.8.0-r15 into /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image/ category mail-filter make -j4 --load-average=1 DESTDIR=/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image/ install Making install in . make[1]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0' make[2]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0' make[2]: F��r das Ziel ��install-exec-am�� ist nichts zu tun. make[2]: F��r das Ziel ��install-data-am�� ist nichts zu tun. make[2]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0' make[1]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0' Making install in webui make[1]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui' Making install in cgi-bin make[2]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin' Making install in templates make[3]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin/templates' make[4]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin/templates' make[4]: F��r das Ziel ��install-exec-am�� ist nichts zu tun. make[4]: F��r das Ziel ��install-data-am�� ist nichts zu tun. make[4]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin/templates' make[3]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin/templates' make[3]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin' dspam_transformed=`echo dspam | sed 's,x,x,'`; sed -e 's,@dspam_home\@,/var/spool/dspam,g' -e 's,@bindir\@,/usr/bin,g' < ./configure.pl.in > configure.pl make[4]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin' dspam_transformed=`echo dspam | sed 's,x,x,'`; sed -e 's,@dspam_home\@,/var/spool/dspam,g' -e 's,@bindir\@,/usr/bin,g' < ./configure.pl.in > configure.pl make[4]: F��r das Ziel ��install-data-am�� ist nichts zu tun. test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/bin" make[4]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin' make[3]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin' make[2]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/cgi-bin' Making install in htdocs make[2]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/htdocs' make[3]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/htdocs' make[3]: F��r das Ziel ��install-exec-am�� ist nichts zu tun. make[3]: F��r das Ziel ��install-data-am�� ist nichts zu tun. make[3]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/htdocs' make[2]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui/htdocs' make[2]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui' make[3]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui' make[3]: F��r das Ziel ��install-exec-am�� ist nichts zu tun. make[3]: F��r das Ziel ��install-data-am�� ist nichts zu tun. make[3]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui' make[2]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui' make[1]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/webui' Making install in m4 make[1]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/m4' make[2]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/m4' make[2]: F��r das Ziel ��install-exec-am�� ist nichts zu tun. make[2]: F��r das Ziel ��install-data-am�� ist nichts zu tun. make[2]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/m4' make[1]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/m4' Making install in man make[1]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' Making install in . make[2]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' make[3]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' make[3]: F��r das Ziel ��install-exec-am�� ist nichts zu tun. test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man1" /usr/bin/install -c -m 644 'dspam.1' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man1/dspam.1' /usr/bin/install -c -m 644 'dspam_stats.1' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man1/dspam_stats.1' /usr/bin/install -c -m 644 'dspam_train.1' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man1/dspam_train.1' /usr/bin/install -c -m 644 'dspam_clean.1' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man1/dspam_clean.1' /usr/bin/install -c -m 644 'dspam_dump.1' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man1/dspam_dump.1' /usr/bin/install -c -m 644 'dspam_merge.1' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man1/dspam_merge.1' test -z "/usr/share/man/man3" || /bin/mkdir -p "/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3" /usr/bin/install -c -m 644 'libdspam.3' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/libdspam.3' make install-data-hook make[4]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_init.3 rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_create.3 rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_addattribute.3 rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_attach.3 rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_process.3 rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_getsource.3 rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_destroy.3 rm -f /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_detach.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_init.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_create.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_addattribute.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_attach.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_process.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_getsource.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_destroy.3 ln -s /usr/share/man/man3/libdspam.3 /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/share/man/man3/dspam_detach.3 make[4]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' make[3]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' make[2]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' make[1]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/man' Making install in src make[1]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src' Making install in . make[2]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src' dspam_transformed=`echo dspam | sed 's,x,x,'`; sed -e 's,@dspam_home\@,/var/spool/dspam,g' -e 's,@delivery_agent\@,/usr/bin/procmail,g' -e 's,@storage_driver\@,libhash_drv.so,g' -e 's,@libdir\@,/usr/lib,g' < ./dspam.conf.in > dspam.conf make[3]: Entering directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src' dspam_transformed=`echo dspam | sed 's,x,x,'`; sed -e 's,@dspam_home\@,/var/spool/dspam,g' -e 's,@delivery_agent\@,/usr/bin/procmail,g' -e 's,@storage_driver\@,libhash_drv.so,g' -e 's,@libdir\@,/usr/lib,g' < ./dspam.conf.in > dspam.conf test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib/pkgconfig" /usr/bin/install -c -m 644 'dspam.pc' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib/pkgconfig/dspam.pc' test -z "/usr/lib/dspam" || /bin/mkdir -p "/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib/dspam" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libhash_drv.la' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib/dspam/libhash_drv.la' libtool: install: warning: relinking `libhash_drv.la' (cd /var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src; /bin/sh ../libtool --tag=CC --mode=relink i686-pc-linux-gnu-gcc -march=pentium2 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -Wmissing-declarations -rpath /usr/lib/dspam -version-info 7:0:0 -Wl,-O1 -rdynamic -o libhash_drv.la -rpath /usr/lib/dspam hash_drv.lo ./libdspam.la -lm -pthread -ldl -inst-prefix-dir /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image/) i686-pc-linux-gnu-gcc -shared .libs/hash_drv.o -L/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib -L/usr/lib -ldspam -lm -ldl -march=pentium2 -Wl,-O1 -pthread -Wl,-soname -Wl,libhash_drv.so.7 -o .libs/libhash_drv.so.7.0.0 /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldspam collect2: ld returned 1 exit status libtool: install: error: relink `libhash_drv.la' with the above command before installing it /bin/sh ../libtool --mode=install /usr/bin/install -c 'libmysql_drv.la' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib/dspam/libmysql_drv.la' libtool: install: warning: relinking `libmysql_drv.la' (cd /var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src; /bin/sh ../libtool --tag=CC --mode=relink i686-pc-linux-gnu-gcc -march=pentium2 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -Wmissing-declarations -L/usr/lib/mysql -Wl,-O1 -rdynamic -rpath /usr/lib/dspam -version-info 7:0:0 -Wl,-O1 -rdynamic -o libmysql_drv.la -rpath /usr/lib/dspam libmysql_drv_la-mysql_drv.lo -lmysqlclient -lm -lz -lm -pthread -ldl ./libdspam.la -lm -pthread -ldl -inst-prefix-dir /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image/) i686-pc-linux-gnu-gcc -shared .libs/libmysql_drv_la-mysql_drv.o -Wl,--rpath -Wl,/usr/lib/mysql -L/usr/lib/mysql -L/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib/mysql -lmysqlclient -L/usr/lib -lz -L/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib -ldspam -lm -ldl -march=pentium2 -Wl,-O1 -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,libmysql_drv.so.7 -o .libs/libmysql_drv.so.7.0.0 /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldspam collect2: ld returned 1 exit status libtool: install: error: relink `libmysql_drv.la' with the above command before installing it /bin/sh ../libtool --mode=install /usr/bin/install -c 'libsqlite3_drv.la' '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib/dspam/libsqlite3_drv.la' libtool: install: warning: relinking `libsqlite3_drv.la' (cd /var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src; /bin/sh ../libtool --tag=CC --mode=relink i686-pc-linux-gnu-gcc -march=pentium2 -O2 -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -Wmissing-declarations -Wl,-O1 -rdynamic -rpath /usr/lib/dspam -version-info 7:0:0 -Wl,-O1 -rdynamic -o libsqlite3_drv.la -rpath /usr/lib/dspam libsqlite3_drv_la-sqlite3_drv.lo -lsqlite3 -lm -pthread -ldl ./libdspam.la -lm -pthread -ldl -inst-prefix-dir /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image/) i686-pc-linux-gnu-gcc -shared .libs/libsqlite3_drv_la-sqlite3_drv.o -L/var/tmp/portage/mail-filter/dspam-3.8.0-r15/image//usr/lib -L/usr/lib -lsqlite3 -ldspam -lm -ldl -march=pentium2 -Wl,-O1 -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,libsqlite3_drv.so.7 -o .libs/libsqlite3_drv.so.7.0.0 /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldspam collect2: ld returned 1 exit status libtool: install: error: relink `libsqlite3_drv.la' with the above command before installing it make[3]: *** [install-pkglibLTLIBRARIES] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src' make[2]: *** [install-am] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src' make[1]: *** [install-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/mail-filter/dspam-3.8.0-r15/work/dspam-3.8.0/src' make: *** [install-recursive] Fehler 1 make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4! * * ERROR: mail-filter/dspam-3.8.0-r15 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2817: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die "emake install failed"; * The die message: * emake install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-filter/dspam-3.8.0-r15/temp/environment'. *
penelope ~ # emerge --info Portage 2.2_rc23 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.26-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.26-gentoo-r4-i686-Pentium_II_-Deschutes-with-glibc2.0 Timestamp of tree: Tue, 17 Feb 2009 08:45:02 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=1" FEATURES="distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch webrsync-gpg" GENTOO_MIRRORS="http://213.186.33.37/gentoo-distfiles/ ftp://ftp.twaren.net/Linux/Gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4 --load-average=1" 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="/usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/sunrise /usr/portage/local/mine" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl authdaemond automount bash-completion berkdb bzip2 calendar caps cgi cli cracklib crypt ctype cups curl daemon dbus dbx dri dynamicplugin encode expat fam fastcgi force-cgi-redirect fortran ftp gallery gd gdbm gif glibc-omitfp gnutls gpm hash icalsrv iconv icu idn imap inline ipv6 isdnlog jpeg jpeg2k jpgraph logwatch madwifi magic masquerade midi mudflap mydms mysql mysqli ncurses nls nptl nptlonly oav offensive openmp pam passwordsave pcre pdo perl php png pop3d pppd python readline reflection resolvconf session sieve slp sockets spl sqlite sqlite3 ssl symlink sysfs syslog tcpd threads tidy tiff tokenizer truetype unicode upnp urandom wifi x86 xml xmlrpc xorg xsl zero-penalty-hit zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for reporting this conflict, assigning to maintainers.
I cannot reproduce it on my box. I think there is something wrong with make dependencies, because libdspam.so should be copied into /var/tmp/portage/mail-filter/dspam-3.8.0-r15/image/usr/lib before database drivers. Please try to install it with MAKEOPTS="-j1" and tell me if it worked.
I forgot to tell you to remove dspam before running this test. Please do that, otherwise you could compromise the test result (ld will find the dspam library in /usr/lib).
The reporter vanished into thin air. Closed as INVALID.