Summary: | media-gfx/povray-3.7.0_beta35 fails to properly detect dev-libs/boost | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yörn Jünger <greggel> |
Component: | Current packages | Assignee: | Joe Peterson (RETIRED) <lavajoe> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | joakim, SebastianLuther, tetromino |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
povray-3.7.0_beta38 buld.log
emerge --info diff taken from local overlay |
Description
Yörn Jünger
2010-08-13 23:45:48 UTC
Same here. media-gfx/povray-3.7.0_beta38 fails with the same error also. BTW: # emerge -v povray These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-gfx/povray-3.7.0_beta38 [3.6.1-r4] USE="X tiff -debug% -mkl% -openexr% (-svga%)" 0 kB and: # equery uses boost [ Searching for packages matching boost... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for dev-libs/boost-1.35.0-r5 ] U I - - doc : Adds extra documentation (API, Javadoc, etc) - + eselect : Run "eselect boost update" even if version is already selected - - expat : Enable the use of dev-libs/expat for XML parsing - - icu : Enable ICU (Internationalization Components for Unicode) support, using dev-libs/icu - - mpi : Adds MPI (Message Passing Interface) layer to the apps that support it + + python : Adds support/bindings for the Python language - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore - - tools : Build and install the boost tools (bcp, quickbook, inspect, wave) [ Found these USE variables for dev-libs/boost-1.41.0-r3 ] U I - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - doc : Adds extra documentation (API, Javadoc, etc) - + eselect : Run "eselect boost update" even if version is already selected - - expat : Enable the use of dev-libs/expat for XML parsing - - icu : Enable ICU (Internationalization Components for Unicode) support, using dev-libs/icu - - mpi : Adds MPI (Message Passing Interface) layer to the apps that support it + + python : Adds support/bindings for the Python language - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore - - tools : Build and install the boost tools (bcp, quickbook, inspect, wave) Please attach the full build log. Thank you. Created attachment 243689 [details]
povray-3.7.0_beta38 buld.log
This works for me with boost-1.42.0-r2. Can you try this and report back? I'll back a dependency on this version if this is the problem. (In reply to comment #5) > This works for me with boost-1.42.0-r2. Can you try this and report back? > I'll back a dependency on this version if this is the problem. > Nope, same result as described above. I tried to merge with the same USE-Flags. What did you do? Created attachment 245497 [details]
emerge --info
Compiled fine from source with: ./configure COMPILED_BY="your name <email@address>" --with-boost=/usr/lib/boost-1_42 --with-boost-thread=boost_thread-mt Maybe there is a problem with a multi-slot boost installation. After purging dev-libs/boost-1.35.0-r5 and dev-libs/boost-1.42.0-r2 everything went fine using emerge. I suggest there is a problem with eselect-boost, because boost::thread was IMHO introduced with >=boost-1.39. Hi again. If you believe this is still an eselect boost issue, could you open a bug against that that this bug depends on? Then, perhaps, we can resolve it or at least find out if it is related. Cool - thanks! Can you set this bug to depend on that new one? Or post here its bug number... As the build log shows, the build system tries to link against -lboost_thread-1_35. The ./configure output shows this too. It's up to the configure script to detect the latest boost version it can work with. It seems to get it right for the headers, but not for the lib. So obviously! Do you think this is a upstream issue, also? Well, that's not easy to tell. Detecting boost is not as easy as it should be and boost supports quite some naming schemes for it's libs, which makes it easy to miss some cases. I took a look at the configure script and I think you should just tell it where boost is located on gentoo. The configure script has some switches for this. Take a look at dev-python/visual-5.3.2 ebuild. It shows how to get the needed paths, but don't use the append-*flags hack, but use the configure options. Yörn, I'll be on travel next week, so I'll have little time to experiment with the configure script, but if you manage to figure out a patch that works, please post it, and that will help this bug get fixed faster. :) I'm just working on your dev-python/visual hint. See configure script on line 7349. Created attachment 252585 [details, diff]
diff taken from local overlay
This works for me. Please check if this can be called a fix :)
(In reply to comment #17) > I'm just working on your dev-python/visual hint. See configure script on line > 7349. > setting BOOST_ROOT in the ebuild didn't work. (In reply to comment #18) > Created an attachment (id=252585) [details] > diff taken from local overlay > > This works for me. Please check if this can be called a fix :) > I think it needs to be --with-boost=$BOOST_INC (not LIB) and you need to pass BOOST_LIB with another switch. (In reply to comment #20) > (In reply to comment #18) > > Created an attachment (id=252585) [details] [details] > > diff taken from local overlay > > > > This works for me. Please check if this can be called a fix :) > > > > I think it needs to be --with-boost=$BOOST_INC (not LIB) and you need to pass > BOOST_LIB with another switch. > As you see in comment #8, we have to give $BOOST_LIB. 3.7.0_beta35 is no longer in the tree. |