Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270447 - net-libs/rb_libtorrent-0.13 build fails with dev-libs/boost-1.37.0-r1
Summary: net-libs/rb_libtorrent-0.13 build fails with dev-libs/boost-1.37.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 2 votes (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 15:41 UTC by tom
Modified: 2009-06-28 00:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the include (boost-1.37-fix.patch,519 bytes, patch)
2009-05-27 10:03 UTC, Sander Sweers
Details | Diff
rb_libtorrent 0.13.ebuild patch (rb_libtorrent-0.13.ebuild.patch,461 bytes, patch)
2009-05-27 10:05 UTC, Sander Sweers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!