btg-1.0.0-r1 is failing in many ways with --as-needed - system plotmm is not recognized - upnp support is never enabled - compilation failures A bug is going to be open upstream and some patches will be wrote to fix it. If you see any --as-needed bug for btg, please, use this bug.
It should compile now (by: append-flags -pthread). Didn't check these other issues.
Another issue has been found with the test suite: ../daemon/.libs/libdaemon.a(libdaemon_la-sessionsaver.o): In function `btg::daemon::SessionSaver::loadSessions(btg::core::os::f stream&)': sessionsaver.cpp:(.text+0x1c4c): warning: memset used with constant zero length parameter; this could be due to transposed para meters sessionsaver.cpp:(.text+0x1c4c): undefined reference to `__warn_memset_zero_len' collect2: ld returned 1 exit status
Created attachment 237277 [details, diff] patch for asneeded To be applied after the previous patches, and this includes the one sed the current ebuild has in src_prepare so it can be dropped (I fixed the error by hand before realizing it was already fixed with sed in the ebuild)
Note that I couldn't test this patch because: a) The ebuild is missing a DEPEND for dev-cpp/asio, and asio doesn't compile with gcc-4.5 per bug 326629 b) btg doesn't support current ~arch rb_libtorrent, I'm opening a bug for that now too
(In reply to comment #4) > Note that I couldn't test this patch because: > > a) The ebuild is missing a DEPEND for dev-cpp/asio, and asio doesn't compile > with gcc-4.5 per bug 326629 sorry, typo. s/gcc-4.5/openssl-1/ and 1.4.5 builds fine now, but still doesn't work with ~ərch rb_libtorrent.
Removed from tree wrt #326645.