Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438918 - sys-apps/paludis: fails to find boost without (deprecated) eselect-boost
Summary: sys-apps/paludis: fails to find boost without (deprecated) eselect-boost
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Robert Piasek (RETIRED)
Depends on:
Reported: 2012-10-19 12:29 UTC by Michał Górny
Modified: 2012-12-08 08:44 UTC (History)
0 users

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

A simple work-around for the build system (paludis-boost-utils.diff,967 bytes, patch)
2012-10-19 12:29 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-10-19 12:29:44 UTC
Created attachment 326928 [details, diff]
A simple work-around for the build system

Nowadays eselect-boost symlinks are deprecated and packages are supposed to be able to find out the newest boost themselves (like boost.m4 does). For those unable of achieving that themselves or requiring older boost version (than the newest one), there's boost-utils.eclass.

Sadly, paludis does use really poor custom code which neither is capable of finding boost nor accepting an include path and library suffix from user. Thus, it all falls back to pushing compatibility -I & -L flags. I'm attaching a simple patch which does exactly that.

The proper fix would be probably to use the macros from sys-devel/boost-m4 which are able to correctly both detect the newest boost and accept an older version (through BOOST_ROOT).