When emerging bfilter compilation fails complaining about missing libboost_regex-mt. The problem is that dev-libs/boost needs to be compiled with the threads use flag enabled. Enabling threads and reemerging boost fixes the problem. The bfilter ebuild should check if boost is compiled with threads enabled and tell the user what to do if it isn't. Reproducible: Always Steps to Reproduce: 1. emerge bfilter Actual Results: /bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ -O2 -march=athlon -fomit-frame-pointer -pipe -pthread -o bfilter Alarm.o Daemon.o ../libmain.la ../../foundation/libfoundation.la ../../reactor/libreactor.la ../../binreloc/libbinreloc.la -lboost_regex-mt -lboost_program_options-mt -lsigc-2.0 -lACE -lz -ldl -lrt mkdir .libs i686-pc-linux-gnu-g++ -O2 -march=athlon -fomit-frame-pointer -pipe -pthread -o bfilter Alarm.o Daemon.o ../.libs/libmain.a ../../foundation/.libs/libfoundation.a ../../reactor/.libs/libreactor.a ../../binreloc/.libs/libbinreloc.a -lboost_regex-mt -lboost_program_options-mt /usr/lib/libsigc-2.0.so /usr/lib/libACE.so -lz -ldl -lrt /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lboost_regex-mt collect2: ld returned 1 exit status make[4]: *** [bfilter] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-proxy/bfilter-1.1/work/bfilter-1.1/main/daemon' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-proxy/bfilter-1.1/work/bfilter-1.1/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-proxy/bfilter-1.1/work/bfilter-1.1/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-proxy/bfilter-1.1/work/bfilter-1.1' make: *** [all] Error 2 !!! ERROR: net-proxy/bfilter-1.1 failed. Call stack: ebuild.sh, line 1638: Called dyn_compile ebuild.sh, line 985: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile bfilter-1.1.ebuild, line 41: Called die !!! emake 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/net-proxy/bfilter-1.1/temp/build.log'. emerge info: *** Deprecated use of action 'info', use '--info' instead Portage 2.1.2.12 (default-linux/x86/2006.1/server, gcc-4.1.2, glibc-2.5-r4, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) processor Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 26 Aug 2007 01:20:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 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 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.esoft.dk/gentoo" PKGDIR="/usr/portage/packages" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.esoft.dk/gentoo-portage" USE="apache2 bcmath berkdb bitmap-fonts bzip2 calendar cdb cli cracklib crypt ctype cups curl dba dri exif fasttrack flash fortran fpx ftp gd gdbm gif gmp gnutella gs hash iconv idn imagemagick imap innodb ipv6 isdnlog java jbig jpeg jpeg2k lcms ldap libclamav lm_sensors magic mcal mhash midi ming mmx mpeg mudflap mysql mysqli ncurses netpbm network nls nptl nptlonly odbc openmp pam pcntl pcre perl php png posix postgres ppds pppd python qmail readline reflection rrdcgi ruby samba session sharedmem simplexml slang snmp soap sockets socks5 spamassassin spell spl ssl sysvipc tcpd theora tiff tokenizer tools truetype truetype-fonts type1-fonts unicode unzip virus-scan wddx wmf x86 xml xml2 xmlreader xmlwriter xorg xsl 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 mulaw multi null plug rate route share shm softvol" 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
--- bfilter-1.1.ebuild 2007-08-18 15:27:09.000000000 +0200 +++ bfilter-1.1.ebuild 2007-08-26 18:41:04.000000000 +0200 @@ -18,11 +18,18 @@ RDEPEND="sys-libs/zlib >=dev-libs/ace-5.4.6 =dev-libs/libsigc++-2.0* - X? ( >=dev-cpp/gtkmm-2.4 )" + X? ( >=dev-cpp/gtkmm-2.4 ) + dev-libs/boost" DEPEND="${RDEPEND} dev-util/scons - dev-util/pkgconfig - dev-libs/boost" + dev-util/pkgconfig" + + +pkg_setup() { + if ! built_with_use --missing true dev-libs/boost threads ; then + ewarn "${PN} needs dev-libs/boost with threads support." + die "Re-compile dev-libs/boost with USE=threads." +} src_unpack() { unpack ${A}
Damn! Guess I was tired by the 4+ hours effort to make bfilter work with the external boost library :( Fixed in cvs, without revision bumping. Thanks!