Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176901 - net-www/gnash-0.7.2_p20099999 fails configure when boost is compiled without threads
Summary: net-www/gnash-0.7.2_p20099999 fails configure when boost is compiled without ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 09:25 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2007-05-03 19:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gnash-0.7.2_p20099999.ebuild (gnash-0.7.2_p20099999.ebuild,3.42 KB, text/plain)
2007-05-03 10:23 UTC, Chí-Thanh Christopher Nguyễn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2007-05-03 09:25:51 UTC
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
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2007-05-03 10:23:14 UTC
Created attachment 118030 [details]
gnash-0.7.2_p20099999.ebuild
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-03 19:57:18 UTC
thanks, I added this to the ebuild with a little extra fix :)