When emerging net-www/gnash-0.7.2_p20099999, configure fails to detect boost libraries when they are built without the 'threads' USE flag. Reproducible: Always Steps to Reproduce: 1. USE="-threads" emerge boost 2. emerge gnash Actual Results: ERROR: No BOOST development package installed! You need to have the BOOST development package installed to compile, or install libboost-thread-dev and libboost-date-time-dev (using apt-get) or boost-devel (using yum). Warning: You need to have the Ming development and utilities packages installed to run most of the tests in Gnash testsuite. Some of the tests will be run anyway. Warning: You need to have the MTASC compiler packages installed to run some of the tests in Gnash testsuite. Z flags are: default include path Z libs are: -L/lib -lz configure: error: Please install required packages !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/net-www/gnash-0.7.2_p20099999/work/gnash/config.log !!! ERROR: net-www/gnash-0.7.2_p20099999 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile gnash-0.7.2_p20099999.ebuild, line 108: Called econf '--enable-plugin' '--enable-xml' '--disable-i810-lod-bias' '--without-gcc-arch' '--with-plugindir=/opt/netscape/plugins' '--enable-sound=gst' '--with-mp3-decoder=ffmpeg' '--enable-klash' '--with-qt-incl=/usr/qt/3/include' '--with-qt-lib=/usr/qt/3/lib64' ebuild.sh, line 577: Called die !!! econf 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-www/gnash-0.7.2_p20099999/temp/build.log'. Expected Results: ebuild pkg_setup() should check if boost was compiled with threads support. Suggestion: if ! built_with_use -a dev-libs/boost threads; then eerror "dev-libst/boost has to be built with the 'threads' USE flag die "dev-libs/boost not built with threads" fi
Created attachment 118030 [details] gnash-0.7.2_p20099999.ebuild
thanks, I added this to the ebuild with a little extra fix :)