Summary: | net-p2p/btg fails with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mounir Lamouri (volkmar) (RETIRED) <volkmar> |
Component: | Current packages | Assignee: | Mounir Lamouri (volkmar) (RETIRED) <volkmar> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | esigra, net-p2p |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 326645 | ||
Bug Blocks: | 129413 | ||
Attachments: | patch for asneeded |
Description
Mounir Lamouri (volkmar) (RETIRED)
![]() 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. |