Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493116 - dev-libs/boost: --without-context doesn't disable context code
Summary: dev-libs/boost: --without-context doesn't disable context code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL: https://svn.boost.org/trac/boost/tick...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-02 09:26 UTC by SpanKY
Modified: 2013-12-27 17:09 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 SpanKY gentoo-dev 2013-12-02 09:26:57 UTC
the current ebuild passes --without-context to the build (presumably because it's been ported to very few arches).  but that doesn't actually disable building of the code because the coroutines module also uses the context module.  it does mean the headers don't get installed, but that's it.

i guess the ebuild should also pass along --without-coroutines

see upstream URL for more details
Comment 1 Sergey Popov gentoo-dev 2013-12-27 17:09:04 UTC
Well, some things.

1) --without-context does not disable headers installing, they are removed later in src_install in ebuild;
2) fixes for different boost version(from 1.53 to 1.55) that i have implemented are differs, because of differencies in buildsystem. Quick testing reveals no breakages, but some deeper shit can be possible, so, sorry about that - and file a bug if this will happen.

+  27 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> -boost-1.53.0.ebuild,
+  +boost-1.53.0-r1.ebuild, -boost-1.54.0.ebuild, +boost-1.54.0-r1.ebuild:
+  Properly disable all code, which depends on Boost.Context and remove all
+  redundant headers, wrt bug #493116. Thanks to Mike Frysinger for discovering
+  this issue. Drop old revisions

+  27 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> -boost-1.55.0.ebuild,
+  +boost-1.55.0-r1.ebuild, metadata.xml:
+  Revision bump: implement conditional building of Boost.Context library via
+  'context' USE-flag. Drop old revision