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' ?
I'd suggest we add a USE flag for it and mask it on non-supported archs (non-x86 that is).
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.
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.
+ 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.
(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! :)
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?
(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.
Boost 1.55 was unmasked long time ago, issue has been fixed