Summary: | dev-libs/boost: our python-buildid incompatible with the rest of the world (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | [OLD] Library | Assignee: | David Seifert <soap> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | cpp+disabled, dschridde+gentoobugs, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
2012-12-14 19:25:55 UTC
This also causes media-libs/openimageio-1.7.13 to not find boost_python, as it uses a custom logic [1] to deduce the name of the boost_python library (in order to make boost_python support optional, while all other Boost components are required): ``` -- BOOST_ROOT -- Boost version: 1.63.0 -- Found the following Boost libraries: -- filesystem -- regex -- system -- thread -- chrono -- date_time -- atomic -- BOOST_ROOT -- Boost found 1 -- Boost version 106300 -- Boost include dirs /usr/include -- Boost library dirs /usr/lib -- Boost libraries /usr/lib/libboost_filesystem-mt.so;/usr/lib/libboost_regex-mt.so;/usr/lib/libboost_system-mt.so;/usr/lib/libboost_thread-mt.so;/usr/lib/libboost_chrono-mt.so;/usr/lib/libboost_date_time-mt.so;/usr/lib/libboost_atomic-mt.so;rt -- Boost python found OFF -- Boost python support not found -- will not build python components! ``` In the version bump to media-libs/openimageio-1.7.13 proposed in bug #596268 I fixed this by overruling OpenImageIO's custom logic and instead relying on Gentoo's patched FindBoost.cmake and FindPythonLibs.cmake. [1]: https://github.com/OpenImageIO/oiio/blob/6acdba29fc80774c39e3c7b982d8f2e20beda280/src/cmake/externalpackages.cmake#L113 Obsolete, with boost 1.70 we will 1) be using vanilla upstream Boost::Python and its buildsystem without downstream patches 2) which is fully py2/py3-multi-impl now (see commit https://github.com/boostorg/python/commit/d4d41d94aecc9f8098aabd3587fcb95458451f71) hence, this bug will be obsolete once boost 1.70 is stable and all older versions are removed. |