Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401215 - sys-apps/paludis fails with boost-1.48.0, because of boost.python
Summary: sys-apps/paludis fails with boost-1.48.0, because of boost.python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robert Piasek (RETIRED)
URL: http://archives.gentoo.org/gentoo-dev...
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: 399901
  Show dependency tree
 
Reported: 2012-01-28 19:07 UTC by Franz Trischberger
Modified: 2012-02-19 01:09 UTC (History)
2 users (show)

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


Attachments
build.log (1327777472-install-sys-apps_paludis-0.70.2:0::local.out,13.81 KB, text/plain)
2012-01-28 19:09 UTC, Franz Trischberger
Details
Patch that adds $PATHON_VERSION to boost_python in configure (paludis-0.70.1-boost-1.48_python_compytibility.patch,1.18 KB, text/plain)
2012-01-29 12:27 UTC, Franz Trischberger
Details
0001-Support-new-Gentoo-boost.python-library-names.patch (0001-Support-new-Gentoo-boost.python-library-names.patch,1.98 KB, patch)
2012-01-29 22:12 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2012-01-28 19:07:19 UTC
boost.python from boost-1.48 breaks compilation of paludis.

Reproducible: Always
Comment 1 Franz Trischberger 2012-01-28 19:09:37 UTC
Created attachment 300189 [details]
build.log

This is the log for paludis-0.70.2. I copied the ebuild from 0.70.1, as I thought 0.70.2 (not yet in portage) could fix this issue, but it failed with exactly the same error as 0.70.1 did.
Comment 2 Franz Trischberger 2012-01-29 12:27:52 UTC
Created attachment 300247 [details]
Patch that adds $PATHON_VERSION to boost_python in configure

I know, this is not that great - a patch that needs to be applied occasionally. But I don't have the skills/time to modify configure so that it takes the boost-version from boost/version.hpp and sets boost_python-name as needed. I just wanted to get paludis build with python-bindings and boost-1.48...
Comment 3 Arfrever Frehtes Taifersar Arahesis 2012-01-29 19:47:52 UTC
I suggest to implement --with-boost-python=argument option, which would be passed by ebuild.
Comment 4 David Leverton 2012-01-29 22:12:59 UTC
Created attachment 300319 [details, diff]
0001-Support-new-Gentoo-boost.python-library-names.patch

(In reply to comment #3)
> I suggest to implement --with-boost-python=argument option, which would be
> passed by ebuild.

The attached patch makes configure support the new naming scheme directly.  I didn't use an option because doing it this way 1) guarantees that configure will look for a boost.python library matching the same version of Python that it found, which might not necessarily be the same as what the ebuild thinks it'll be, and 2) means I won't have to worry about this for my own development builds.  I can add the option as well though, if there's still a use for it.

This will be pushed upstream if no-one asks for the configure option soon (it can still be added later if necessary of course), and can probably be applied to previous versions as well if required.
Comment 5 Arfrever Frehtes Taifersar Arahesis 2012-02-17 19:31:10 UTC
sys-apps/paludis-0.72.0 is now gentoo-x86 and is supposed to contain the fix.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2012-02-19 01:09:01 UTC
This is now fixed in 0.72.0