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

Bug 270067

Summary: net-p2p/deluge-1.1.7 build fails without python flag set for dev-libs/boost
Product: Gentoo Linux Reporter: Eric Smith <eric225125>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: SebastianLuther
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric Smith 2009-05-16 14:56:05 UTC
If I build boost-1.37.0-r1 without the python flag enabled I get this error when trying to build deluge:

./libtorrent/bindings/python/src/alert.cpp:7:28: error: boost/python.hpp: No such file or directory
./libtorrent/bindings/python/src/alert.cpp:9: error: 'python' is not a namespace-name
./libtorrent/bindings/python/src/alert.cpp:9: error: expected namespace-name before ';' token
./libtorrent/bindings/python/src/alert.cpp: In function 'void bind_alert()':
./libtorrent/bindings/python/src/alert.cpp:55: error: 'scope' was not declared in this scope
./libtorrent/bindings/python/src/alert.cpp:55: error: expected `;' before 'alert_scope'
./libtorrent/bindings/python/src/alert.cpp:65: error: 'enum_' was not declared in this scope
./libtorrent/bindings/python/src/alert.cpp:65: error: expected primary-expression before '>' token
...

Reproducible: Always

Steps to Reproduce:
1. Build boost with -python.
2. Build deluge.




The python flag for boost-build does NOT need to be enabled.  Deluge should simply have a dependency on dev-libs/boost[python].
Comment 1 Sebastian Luther (few) 2009-05-16 17:45:58 UTC
emerge --info, the build.log and emerge -pvq boost please.
Comment 2 Rafał Mużyło 2009-05-17 00:35:16 UTC
My bug 266682 may be of interest here.
Comment 3 Sebastian Luther (few) 2009-05-19 21:03:26 UTC
Reopen when the requested information is present.
Comment 4 Rafał Mużyło 2009-05-20 02:29:34 UTC
The problem here seems to be that boost recently
gained python useflag and current deluge ebuild needs it.
But the real problem is (as I stated in bug 266682),
that deluge should follow general policy and depend on
rb_libtorrent (and this problem should be fixed there).