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
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].
emerge --info, the build.log and emerge -pvq boost please.
My bug 266682 may be of interest here.
Reopen when the requested information is present.
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).