Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294745 - media-gfx/inkscape-0.46-r5 fails to compile due to missing boost (but boost is installed)
Summary: media-gfx/inkscape-0.46-r5 fails to compile due to missing boost (but boost i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-26 19:30 UTC by Michael Pyne
Modified: 2009-11-27 06:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Pyne 2009-11-26 19:30:17 UTC
The media-gfx/inkscape package fails to compile on my system, complaining of a missing boost/concept_check.hpp header file.

I checked and boost is installed (of course, since it's also in the DEPEND in the ebuild). I have two boost versions installed, boost-1.37.0-r1 and 1.39.0. Their actual headers are located in /usr/include/boost-1_{37,39}/boost/*, but neither boost folder is included in the default include path (nor should they be I guess :)

I can compile by manually adding the appropriate -I flag to the CXXFLAGS for inkscape but this is a bad long-term solution.

The inkscape configure script just checks for the header in the default gcc include paths, no extra help is provided in the ebuild from what I can tell, and I see no pkg-config magic for boost.

Let me know if there's anything else you need.

Reproducible: Always

Steps to Reproduce:
1. emerge media-gfx/inkscape (technically I use paludis but I see nothing special about any of the ebuilds that would make this paludis-specific).
2. ????
3. Wait for the configure error. :(

Actual Results:  
A configure error was produced. I forgot to save the exact error message unfortunately before I implemented the CXXFLAGS workaround I discussed earlier.

Expected Results:  
Expected behavior is that the ebuild uses the latest installed boost and adds its include magic to the CXXFLAGS when compiling inkscape (I'm guessing Gentoo installs boost to a non-standard location, which is why I filed the bug under the Gentoo bugzilla).

I can attach an emerge --info if you guys want but it's not going to be super-relevant since I'm using paludis. (I'm guessing paludis --report is approximately equivalent though if you want that)
Comment 1 Rafał Mużyło 2009-11-27 04:01:07 UTC
'eselect boost list'
'eselect boost set <chosen number>'
Comment 2 Michael Pyne 2009-11-27 06:05:37 UTC
Thanks.

I just ran it and (of course) it failed because one of the symlinks it wanted to install already existed as a file. So I deleted it, eselect continued to completion and the appropriate include symlink exists now.

So I'm going to chalk this up as a mea culpa.