Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 176901
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Schweizer <genstef@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chí-Thanh Christopher Nguyễn <chithanh@cs.tu-berlin.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnash-0.7.2_p20099999.ebuild gnash-0.7.2_p20099999.ebuild text/plain Chí-Thanh Christopher Nguyễn 2007-05-03 10:23 0000 3.42 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 176901 depends on: Show dependency tree
Bug 176901 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-03 09:25 0000
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 From Chí-Thanh Christopher Nguyễn 2007-05-03 10:23:14 0000 -------
Created an attachment (id=118030) [details]
gnash-0.7.2_p20099999.ebuild

------- Comment #2 From Stefan Schweizer 2007-05-03 19:57:18 0000 -------
thanks, I added this to the ebuild with a little extra fix :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug