Here is the full log, and an emerge info in case that's helpful. tara dspam # ACCEPT_KEYWORDS=~x86 emerge dspam Calculating dependencies ...done! >>> emerge (1 of 1) mail-filter/dspam-3.2_rc3 to / >>> md5 src_uri ;-) dspam-3.2.pr1.tar.gz uid=65532(dspam) gid=65532(dspam) groups=65532(dspam) uid=65532(dspam) gid=65532(dspam) groups=65532(dspam) >>> Unpacking source... >>> Unpacking dspam-3.2.pr1.tar.gz to /var/tmp/portage/dspam-3.2_rc3/work >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-signature-life=14 --enable-broken-return-codes --enable-preferences-extension --enable-experimental --enable-long-username --enable-robinson --enable-robinson-pvalues --enable-large-scale --with-dspam-mode=4755 --with-dspam-owner=dspam --with-dspam-group=dspam --enable-homedir --with-dspam-home=/etc/mail/dspam --sysconfdir=/etc/mail/dspam --with-logdir=/var/log/dspam --with-storage-driver=libdb4_drv --with-db4-includes=/usr/include --with-db4-libraries=/usr/lib --with-delivery-agent= configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/i386-pc-linux-gnu/bin/ld checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i386-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-f95... no checking for i686-pc-linux-gnu-fort... no checking for i686-pc-linux-gnu-xlf95... no checking for i686-pc-linux-gnu-ifc... no checking for i686-pc-linux-gnu-efc... no checking for i686-pc-linux-gnu-pgf95... no checking for i686-pc-linux-gnu-lf95... no checking for i686-pc-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... no checking for ar... ar checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i386-pc-linux-gnu/bin/ld checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking whether make sets $(MAKE)... (cached) yes checking for inline... inline checking for ISO C99 varargs macros in C... yes checking for string.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for strlcpy... no checking for strsep... yes checking for strtok_r... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for memcpy... yes checking for memset... yes checking for localtime_r... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for library containing inet_ntoa... none required checking for library containing socket... none required checking for dspam_home... /etc/mail/dspam checking which delivery agent to activate in dspam.conf... /usr/bin/procmail checking whether to enable trusted user security... yes checking whether to enable debug output... no checking whether to enable home directory support... yes checking whether to enable neural-networking... no checking whether to enable preferences-extension... yes checking whether to enable experimental functions... yes checking whether to enable verbose debug output... no checking whether to enable long usernames... no checking whether to enable Graham-Bayesian calculations... yes checking whether to enable Burton Bayesian calculations... yes checking whether to enable Robinson's Geometric Mean calculations... yes checking whether to enable Chi-Square calculations... no checking whether to enable Robinson's technique... yes checking whether to enable test-conditional training... yes checking whether to enable bias calculations... yes checking whether to enable large scale implementation... yes checking whether to enable domain structure implementation... no checking for logdir... /var/log/dspam checking for storage driver... libdb4_drv checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking Berkeley DB header version... 4.1.25 checking how to link Berkeley DB libraries... -ldb-4.1 checking whether to enable profiling output... no configure: creating ./config.status config.status: creating Makefile config.status: creating tools/Makefile config.status: creating cgi/Makefile config.status: creating m4/Makefile config.status: creating tools.libdb4_drv/Makefile config.status: creating tools.libdb3_drv/Makefile config.status: creating tools.mysql_drv/Makefile config.status: creating tools.ora_drv/Makefile config.status: creating txt/Makefile config.status: creating tools.pgsql_drv/Makefile config.status: creating cgi/templates/Makefile config.status: creating tools.sqlite_drv/Makefile config.status: creating dspam.pc config.status: creating dspam-uninstalled.pc config.status: creating win32/Makefile config.status: creating auto-config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/dspam-3.2_rc3/work/dspam-3.2.pr1' Making all in . make[2]: Entering directory `/var/tmp/portage/dspam-3.2_rc3/work/dspam-3.2.pr1' if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdspam.lo -MD -MP -MF ".deps/libdspam.Tpo" \ -c -o libdspam.lo `test -f 'libdspam.c' || echo './'`libdspam.c; \ then mv -f ".deps/libdspam.Tpo" ".deps/libdspam.Plo"; \ else rm -f ".deps/libdspam.Tpo"; exit 1; \ fi if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT tbt.lo -MD -MP -MF ".deps/tbt.Tpo" \ -c -o tbt.lo `test -f 'tbt.c' || echo './'`tbt.c; \ then mv -f ".deps/tbt.Tpo" ".deps/tbt.Plo"; \ else rm -f ".deps/tbt.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT tbt.lo -MD -MP -MF .deps/tbt.Tpo -c tbt.c -fPIC -DPIC -o .libs/tbt.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdspam.lo -MD -MP -MF .deps/libdspam.Tpo -c libdspam.c -fPIC -DPIC -o .libs/libdspam.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT tbt.lo -MD -MP -MF .deps/tbt.Tpo -c tbt.c -o tbt.o >/dev/null 2>&1 if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT lht.lo -MD -MP -MF ".deps/lht.Tpo" \ -c -o lht.lo `test -f 'lht.c' || echo './'`lht.c; \ then mv -f ".deps/lht.Tpo" ".deps/lht.Plo"; \ else rm -f ".deps/lht.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT lht.lo -MD -MP -MF .deps/lht.Tpo -c lht.c -fPIC -DPIC -o .libs/lht.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT lht.lo -MD -MP -MF .deps/lht.Tpo -c lht.c -o lht.o >/dev/null 2>&1 if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT base64.lo -MD -MP -MF ".deps/base64.Tpo" \ -c -o base64.lo `test -f 'base64.c' || echo './'`base64.c; \ then mv -f ".deps/base64.Tpo" ".deps/base64.Plo"; \ else rm -f ".deps/base64.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdspam.lo -MD -MP -MF .deps/libdspam.Tpo -c libdspam.c -o libdspam.o >/dev/null 2>&1 gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -fPIC -DPIC -o .libs/base64.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -o base64.o >/dev/null 2>&1 if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT buffer.lo -MD -MP -MF ".deps/buffer.Tpo" \ -c -o buffer.lo `test -f 'buffer.c' || echo './'`buffer.c; \ then mv -f ".deps/buffer.Tpo" ".deps/buffer.Plo"; \ else rm -f ".deps/buffer.Tpo"; exit 1; \ fi if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT util.lo -MD -MP -MF ".deps/util.Tpo" \ -c -o util.lo `test -f 'util.c' || echo './'`util.c; \ then mv -f ".deps/util.Tpo" ".deps/util.Plo"; \ else rm -f ".deps/util.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT buffer.lo -MD -MP -MF .deps/buffer.Tpo -c buffer.c -fPIC -DPIC -o .libs/buffer.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT buffer.lo -MD -MP -MF .deps/buffer.Tpo -c buffer.c -o buffer.o >/dev/null 2>&1 if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT nodetree.lo -MD -MP -MF ".deps/nodetree.Tpo" \ -c -o nodetree.lo `test -f 'nodetree.c' || echo './'`nodetree.c; \ then mv -f ".deps/nodetree.Tpo" ".deps/nodetree.Plo"; \ else rm -f ".deps/nodetree.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT nodetree.lo -MD -MP -MF .deps/nodetree.Tpo -c nodetree.c -fPIC -DPIC -o .libs/nodetree.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1 gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT nodetree.lo -MD -MP -MF .deps/nodetree.Tpo -c nodetree.c -o nodetree.o >/dev/null 2>&1 if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT error.lo -MD -MP -MF ".deps/error.Tpo" \ -c -o error.lo `test -f 'error.c' || echo './'`error.c; \ then mv -f ".deps/error.Tpo" ".deps/error.Plo"; \ else rm -f ".deps/error.Tpo"; exit 1; \ fi if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT decode.lo -MD -MP -MF ".deps/decode.Tpo" \ -c -o decode.lo `test -f 'decode.c' || echo './'`decode.c; \ then mv -f ".deps/decode.Tpo" ".deps/decode.Plo"; \ else rm -f ".deps/decode.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1 gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT decode.lo -MD -MP -MF .deps/decode.Tpo -c decode.c -fPIC -DPIC -o .libs/decode.o if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT pref.lo -MD -MP -MF ".deps/pref.Tpo" \ -c -o pref.lo `test -f 'pref.c' || echo './'`pref.c; \ then mv -f ".deps/pref.Tpo" ".deps/pref.Plo"; \ else rm -f ".deps/pref.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT pref.lo -MD -MP -MF .deps/pref.Tpo -c pref.c -fPIC -DPIC -o .libs/pref.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT decode.lo -MD -MP -MF .deps/decode.Tpo -c decode.c -o decode.o >/dev/null 2>&1 gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT pref.lo -MD -MP -MF .deps/pref.Tpo -c pref.c -o pref.o >/dev/null 2>&1 if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT bnr.lo -MD -MP -MF ".deps/bnr.Tpo" \ -c -o bnr.lo `test -f 'bnr.c' || echo './'`bnr.c; \ then mv -f ".deps/bnr.Tpo" ".deps/bnr.Plo"; \ else rm -f ".deps/bnr.Tpo"; exit 1; \ fi if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT config_shared.lo -MD -MP -MF ".deps/config_shared.Tpo" \ -c -o config_shared.lo `test -f 'config_shared.c' || echo './'`config_shared.c; \ then mv -f ".deps/config_shared.Tpo" ".deps/config_shared.Plo"; \ else rm -f ".deps/config_shared.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT bnr.lo -MD -MP -MF .deps/bnr.Tpo -c bnr.c -fPIC -DPIC -o .libs/bnr.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT bnr.lo -MD -MP -MF .deps/bnr.Tpo -c bnr.c -o bnr.o >/dev/null 2>&1 gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT config_shared.lo -MD -MP -MF .deps/config_shared.Tpo -c config_shared.c -fPIC -DPIC -o .libs/config_shared.o if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdb4_drv.lo -MD -MP -MF ".deps/libdb4_drv.Tpo" \ -c -o libdb4_drv.lo `test -f 'libdb4_drv.c' || echo './'`libdb4_drv.c; \ then mv -f ".deps/libdb4_drv.Tpo" ".deps/libdb4_drv.Plo"; \ else rm -f ".deps/libdb4_drv.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT config_shared.lo -MD -MP -MF .deps/config_shared.Tpo -c config_shared.c -o config_shared.o >/dev/null 2>&1 if gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT dspam.o -MD -MP -MF ".deps/dspam.Tpo" \ -c -o dspam.o `test -f 'dspam.c' || echo './'`dspam.c; \ then mv -f ".deps/dspam.Tpo" ".deps/dspam.Po"; \ else rm -f ".deps/dspam.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdb4_drv.lo -MD -MP -MF .deps/libdb4_drv.Tpo -c libdb4_drv.c -fPIC -DPIC -o .libs/libdb4_drv.o gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdb4_drv.lo -MD -MP -MF .deps/libdb4_drv.Tpo -c libdb4_drv.c -o libdb4_drv.o >/dev/null 2>&1 if gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT md5.o -MD -MP -MF ".deps/md5.Tpo" \ -c -o md5.o `test -f 'md5.c' || echo './'`md5.c; \ then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; \ else rm -f ".deps/md5.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/mail/dspam/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. -I. -I. -I/usr/include -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MT read_config.o -MD -MP -MF ".deps/read_config.Tpo" \ -c -o read_config.o `test -f 'read_config.c' || echo './'`read_config.c; \ then mv -f ".deps/read_config.Tpo" ".deps/read_config.Po"; \ else rm -f ".deps/read_config.Tpo"; exit 1; \ fi dspam_transformed=`echo dspam | sed 's,x,x,'`; sed -e 's,@dspam_home\@,/etc/mail/dspam,g' -e 's,@delivery_agent\@,/usr/bin/procmail,g' < ./dspam.conf.in > dspam.conf /bin/sh ./libtool --mode=link gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -L/usr/lib -o libdspam.la -rpath /usr/lib -version-info 6:0:0 libdspam.lo tbt.lo lht.lo base64.lo buffer.lo util.lo nodetree.lo error.lo decode.lo pref.lo bnr.lo config_shared.lo libdb4_drv.lo -lm -ldb-4.1 gcc -shared .libs/libdspam.o .libs/tbt.o .libs/lht.o .libs/base64.o .libs/buffer.o .libs/util.o .libs/nodetree.o .libs/error.o .libs/decode.o .libs/pref.o .libs/bnr.o .libs/config_shared.o .libs/libdb4_drv.o -L/usr/lib -lm /usr/lib/libdb-4.1.so -march=pentium3 -Wl,-soname -Wl,libdspam.so.6 -o .libs/libdspam.so.6.0.0 (cd .libs && rm -f libdspam.so.6 && ln -s libdspam.so.6.0.0 libdspam.so.6) (cd .libs && rm -f libdspam.so && ln -s libdspam.so.6.0.0 libdspam.so) ar cru .libs/libdspam.a libdspam.o tbt.o lht.o base64.o buffer.o util.o nodetree.o error.o decode.o pref.o bnr.o config_shared.o libdb4_drv.o ranlib .libs/libdspam.a creating libdspam.la (cd .libs && rm -f libdspam.la && ln -s ../libdspam.la libdspam.la) /bin/sh ./libtool --mode=link gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -L/usr/lib -o dspam -static dspam.o md5.o read_config.o libdspam.la -ldb-4.1 gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -o dspam dspam.o md5.o read_config.o -L/usr/lib ./.libs/libdspam.a -lm /usr/lib/libdb-4.1.a dspam.o(.text+0x7d6): In function `main': : undefined reference to `_ds_pref_load' collect2: ld returned 1 exit status make[2]: *** [dspam] Error 1 make[2]: Leaving directory `/var/tmp/portage/dspam-3.2_rc3/work/dspam-3.2.pr1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dspam-3.2_rc3/work/dspam-3.2.pr1' make: *** [all] Error 2 !!! ERROR: mail-filter/dspam-3.2_rc3 failed. !!! Function src_compile, Line 135, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. tara dspam # Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS=~x86 emerge dspam 2. 3. Actual Results: The emerge fails with a compilation failure - I don't know why. The earlier version of dspam (3.2_beta1) compiled ok on my system. Expected Results: emerge successfully compiles dspam, and installs it on the system. I did just did an emerge sync, and then emerge metadata before I attempted doing this - I doubt it's related. tara dspam # emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.8-gentoo-r3 i686) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/mail/dspam/config /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://glory.griffous.net/gentoo-portage" USE="apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb gdbm gif gpm gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib" tara dspam #
Cannot fix this, since I cannot replicate this. But I'm sending an email to the upstream to check if there is any reason for this. dspam-3.2x has been giving quite a bit of problems.
Hi, Any follow up? I'm interested to know if dspam-3.2.0 has fixed this problem. I've yet to post this on the dspam mailing list, but if this problem persists in 3.2.0, I really should post it there since I do not know why this problem occurred. Regards Lim Swee Tat
I have to say that I have this same problem on a production debian woody with dspam 3.2.0 although it seems to have to do with the configure options you choose. When just running "./configure --with-storage-driver=libdb4_drv" everything compiles fine, with the configure options the ebuild uses, I still get taht ": undefined reference to `_ds_pref_load'" (I used the same configure options on our debian system)
Hi, I just noticed that your configure has a "--with-delivery-agent=" setting which gives nothing. Can you try to disable the "--with-delivery-agent=" line? Regards Lim Swee Tat
Try removing the section on : myconf="${myconf} --with-db4-includes=/usr/include" myconf="${myconf} --with-db4-libraries=/usr/lib" And also remove the "--enable-experimental". Regards Lim Swee Tat
Removing the libdb and experimental configure options does not help (in any combination). Also, the agent variable is probably empty because it is never set anywhere, like it was done in previous versions of teh ebuild (3.0.0). It does also not help to remove (or correctly set) the delivery agent option.
Hi, So if you reenable the experimental, but disable the "--enable-preferences-extension", does that help? I need you to help me on this, because I can't seem to simulate your problem on my machine. Thanx in advance.
I think dspam is having problem with linking to db4. Could you try with any of the "mysql", "postgres", "sqlite"?
Disabling the pref extension helped! I got a dspam package woohoo :)
Oh I forgot, using mysql instead of db4 works too.
Hi, I did send an email on this but it appears to have dissapeared on me. I'm in the same position as the other folk with this issue. When I use mysql both rc3 and 2 final compile ok, but if I try to use the standard db4 it fails with the errors I first posted. Thanks, Jonathan.
Hi, So is it reasonable that I close this now? I have fixed it in CVS, so that mysql, postgres can have preferences-extensions. Thanx fellas for the heads up. :) Regards Lim Swee Tat
I'm not quite following guys, do we have 2 seperate issues? I'm not able to compile using db4 support - which doesn't use preference extensions from what I can see. Jonathan
I have the same problem with dspam-3.2.1 trying to use sqlite as a backend.
Hi Jonathan, I'm not sure what you are talking about in your last post. Are you saying that you still cannot compile even with the latest ebuild which no longer includes the --preferences-extension? I've just made a modification to remove preferences-extension from sqlite? Ciao ST Lim
Actually I'll have to take that back, 3.2.1 does work correctly for me, even using db4 :) Good work Lim! Jonathan.