Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293065 - =app-misc/gpsdrive-2.10_pre7 missing dependency on dev-libs/boost with some unknown use flag combination
Summary: =app-misc/gpsdrive-2.10_pre7 missing dependency on dev-libs/boost with some u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 293036
  Show dependency tree
 
Reported: 2009-11-13 17:32 UTC by Sebastian Luther (few)
Modified: 2009-11-17 05:40 UTC (History)
1 user (show)

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


Attachments
build.log with USE="speech" (build.log,12.40 KB, text/plain)
2009-11-16 12:24 UTC, Sebastian Luther (few)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Luther (few) 2009-11-13 17:32:14 UTC
This package was found to have dev-libs/boost in RDEPEND, but doesn't install either any binary that links against boost libs nor any files that include boost headers. That means it uses boost header-only libraries at compile time only. The tracker bug contains the emerge --info of the test system.
Comment 1 Steve Arnold archtester gentoo-dev 2009-11-16 09:30:45 UTC
Your emerge --info doesn't say what version(s) of boost you have installed, so there may be something awry in your build config - which USE flags did you enable?.  I'm not sure about _pre5, but the newer version definitely links against libboost:

$ ldd -r /usr/bin/gpsdrive |grep boost
        libboost_filesystem-mt-1_39.so.1.39.0 => /usr/lib/libboost_filesystem-mt-1_39.so.1.39.0 (0x00007f01f7606000)
        libboost_system-mt-1_39.so.1.39.0 => /usr/lib/libboost_system-mt-1_39.so.1.39.0 (0x00007f01f566d000)
        libboost_thread-mt-1_39.so.1.39.0 => /usr/lib/libboost_thread-mt-1_39.so.1.39.0 (0x00007f01f5456000)
        libboost_regex-mt-1_39.so.1.39.0 => /usr/lib/libboost_regex-mt-1_39.so.1.39.0 (0x00007f01eb5e6000)

Lastly, it's cmake, so I can't claim to be any kind of expert, but it clearly looks for it (using FindBoost.cmake) so I'd say it's more likely _pre5 wasn't correctly linked.  Anyway, it's gone now...
Comment 2 Sebastian Luther (few) 2009-11-16 10:18:56 UTC
$ cat /usr/portage/app-misc/gpsdrive/gpsdrive-2.10_pre7.ebuild |grep boost
$ 

You said it links against boost, if this is the case you need it in DEPEND and RDEPEND.

Anyways, the boost dependency seems to be triggered by some use flag. With USE="dbus -debug -gdal -libgda -mapnik -scripts -speech", I get:

$ ldd -r /usr/bin/gpsdrive |grep boost
$

I' try to find out which one it is.

Btw, the boost version is 1.40, but that shouldn't matter.
Comment 3 Sebastian Luther (few) 2009-11-16 12:24:38 UTC
Created attachment 210390 [details]
build.log with USE="speech"

a) with USE="dbus debug gdal libgda scripts -mapnik -speech"
boost isn't needed at all.

b) with USE="mapnik -dbus -debug -gdal -libgda -scripts -speech"
boost is needed in DEPEND and RDEPEND

I couldn't test with USE="speech" because it dind't compile. See attached build.log.
Comment 4 Steve Arnold archtester gentoo-dev 2009-11-17 05:40:44 UTC
Okay, looks like speech needs the latest ~arch version of speech-dispatcher available in portage, but with that, it seems to build and run fine (though I couldn't find any config options for speech in the Prefs GUI).  I also moved the boost depend to go with the mapnik USE flag.