dev-libs/boost-1.77 lack of static-libs flags so it not compile static libraries required for static build with boost Reproducible: Always Steps to Reproduce: 1. Install boost-1.77 2. Try to link application with -Wl,-Bstatic boost_system boost_thread boost_iostreams Actual Results: ld: cannot find -lboost_system Expected Results: Successefull linking
Created attachment 739578 [details, diff] Restore static-libs This may affect media-gfx/povray[static-libs], though not tested.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a3f1b71c33030356a10320181b8be41a44b836 commit f5a3f1b71c33030356a10320181b8be41a44b836 Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-12-06 12:15:21 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-12-06 12:15:21 +0000 media-gfx/povray: remove USE=static-libs Bug: https://bugs.gentoo.org/813049 Signed-off-by: David Seifert <soap@gentoo.org> media-gfx/povray/povray-3.7.0.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Sorry, USE=static-libs for boost won't be restored.
(In reply to David Seifert from comment #3) > Sorry, USE=static-libs for boost won't be restored. Why??? Can you explain your decision?
(In reply to Nikolay from comment #4) > (In reply to David Seifert from comment #3) > > Sorry, USE=static-libs for boost won't be restored. > > Why??? Can you explain your decision? https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302
Gentoo is about choice. The link you mentioned neither precludes the existence of USE=static-libs for boost at all, nor does it justify its removal. I require its static-libs as well for software development I do on Gentoo.
I need it too, because our software must run without boost installed on the system and not depend on boost version. I agree with previous commenter about Gentoo.
I need it, too. For boost, there are strong reasons to use static libs. Boost is extremely ABI sensitive, and many software developers would use static libs. If you are to distribute a binary software that depends on boost, you can't expect that users have boost matching your ABI in their OS.