Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 270447

Summary: net-libs/rb_libtorrent-0.13 build fails with dev-libs/boost-1.37.0-r1
Product: Gentoo Linux Reporter: tom <tom>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: normal CC: samuel.lethiec, sysrqalt
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for the include
rb_libtorrent 0.13.ebuild patch

Description tom 2009-05-19 15:41:24 UTC
both were dependencies of net-p2p/qbittorrent-1.0.0
build error:
../include/libtorrent/disk_io_thread.hpp:135: error: 'condition' in namespace 'boost' does not name a type

according to http://wiki.freebsd.org/BoostPortingProject/1.34-to-1.37
"In newer boost, `condition' ... resides in the same include as before (boost/thread/condition.hpp), but it's no more included from other boost includes, so it's to be included explicitly"

applying this to libtorrent-0.13/include/libtorrent/disk_io_thread.hpp:

41a42
> #include <boost/thread/condition.hpp>

fixed the build for me.

Reproducible: Always
Comment 1 Nico R. Wohlgemuth 2009-05-26 10:51:29 UTC
Ugh, thats bad :(
All torrent clients depending on rb_libtorrent will break now for ~arch users.
Comment 2 Sander Sweers 2009-05-27 10:03:35 UTC
Created attachment 192562 [details, diff]
Patch for the include

This is a patch to add the include.
Comment 3 Sander Sweers 2009-05-27 10:05:57 UTC
Created attachment 192564 [details, diff]
rb_libtorrent 0.13.ebuild patch

patch for the ebuild.
Comment 4 DaggyStyle 2009-06-04 21:21:53 UTC
any news on fix for this?
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2009-06-28 00:35:00 UTC
Fixed in 0.13-r1, thanks for your contributions!