Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462374 - dev-libs/boost - readd context library
Summary: dev-libs/boost - readd context library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 20:39 UTC by Yura
Modified: 2014-08-12 17:17 UTC (History)
3 users (show)

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 Yura 2013-03-19 20:39:12 UTC
with boost 1.53 new Coroutine library was added. It can't be used with gentoo's boost by reason it depends on boost::context library which it seems was intentionally excluded:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/boost/ChangeLog?revision=1.283&view=markup :

13 	18 Nov 2012; Diego E. Pettenò <flameeyes@gentoo.org> +boost-1.52.0-r3.ebuild,
14 	-boost-1.52.0-r2.ebuild:
15 	Disable the context library, which is currently not used by anything in tree
16 	and only works on a subset of architectures (bug #443012) and has problem with
17 	multilib builds (bug #441588). Make sure to remove the headers as well, for
18 	both context and locale.

comments in bug #441588 say: Actually, scratch that, this will likely be bundled with bug #443012 — I'll just disable context until somebody _really_ needs it.


Is it possible to return it now ? Probably some problems were fixed. Or at least is it possible to provide USE flag like 'boost_context' ?
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2013-04-09 15:59:00 UTC
I'd suggest we add a USE flag for it and mask it on non-supported archs (non-x86 that is).
Comment 2 microcai 2013-07-17 01:56:43 UTC
I really need this feature. not used by anything in tree does not mean developers such as me will not use it. And I like to use boost in tree, not manully install it.
Comment 3 Holger Hoffstätte 2013-08-24 14:12:47 UTC
WTF?! I just spent 3 hours trying to figure out how to use the context lib.. :(
The platform argument is obsolete as more platforms have been added a long time ago, including obscure fringe arches like SPARC and ARM.
Please re-add this for >=1.53.
Comment 4 Sergey Popov (RETIRED) gentoo-dev 2013-12-27 17:13:33 UTC
+  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

Changes are implemented in currently masked Boost 1.55. Context library can be build on amd64 and x86 via 'context' USE-flag. Please test and post feedback. If everything will be fine, i am planning to close this when fix will hit at least unstable branch.
Comment 5 Holger Hoffstätte 2014-01-03 14:53:32 UTC
(In reply to Sergey Popov from comment #4)

I've built 1.55 with +context on ~amd64 with no problem. Also building and running the boost coroutine example (which links against context) works fine. YAY! :)
Comment 6 Holger Hoffstätte 2014-01-03 22:18:15 UTC
Might as well add here as I couldn't find a bug specifically for 1.55: rebuilding any affected reverse dependencies after going from 1.53 -> 1.55 also worked fine, including parts of KDE and LibreOffice. Everything still works.
Maybe time to unmask?
Comment 7 Sergey Popov (RETIRED) gentoo-dev 2014-01-06 12:34:22 UTC
(In reply to Holger Hoffstätte from comment #6)
> Might as well add here as I couldn't find a bug specifically for 1.55:
> rebuilding any affected reverse dependencies after going from 1.53 -> 1.55
> also worked fine, including parts of KDE and LibreOffice. Everything still
> works.
> Maybe time to unmask?

I am building ALL unstable revdeps against Boost 1.55 in chroot for some time(there quite big count of packages, ~1200). When it will be finished i will report bugs for failed packages and if there will be small count of them - unmask it after announce in gentoo-dev maillist.
Comment 8 Sergey Popov (RETIRED) gentoo-dev 2014-08-12 17:17:28 UTC
Boost 1.55 was unmasked long time ago, issue has been fixed