Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270067 - net-p2p/deluge-1.1.7 build fails without python flag set for dev-libs/boost
Summary: net-p2p/deluge-1.1.7 build fails without python flag set for dev-libs/boost
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 14:56 UTC by Eric Smith
Modified: 2009-05-20 02:29 UTC (History)
1 user (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 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).