Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 813049 - dev-libs/boost-1.77 lack of static-libs flags
Summary: dev-libs/boost-1.77 lack of static-libs flags
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-14 15:04 UTC by Nikolay
Modified: 2022-12-11 14:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Restore static-libs (boost-1.77.0-r2-restore-static-libs.patch,1.16 KB, patch)
2021-09-16 15:04 UTC, Tee KOBAYASHI
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay 2021-09-14 15:04:29 UTC
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
Comment 1 Tee KOBAYASHI 2021-09-16 15:04:27 UTC
Created attachment 739578 [details, diff]
Restore static-libs

This may affect media-gfx/povray[static-libs], though not tested.
Comment 2 Larry the Git Cow gentoo-dev 2021-12-06 12:15:28 UTC
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(-)
Comment 3 David Seifert gentoo-dev 2021-12-06 12:16:05 UTC
Sorry, USE=static-libs for boost won't be restored.
Comment 4 Nikolay 2021-12-06 12:20:35 UTC
(In reply to David Seifert from comment #3)
> Sorry, USE=static-libs for boost won't be restored.

Why??? Can you explain your decision?
Comment 5 David Seifert gentoo-dev 2021-12-06 13:02:03 UTC
(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
Comment 6 Franz Brauße 2021-12-11 14:03:59 UTC
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.
Comment 7 Nikolay 2021-12-11 14:07:23 UTC
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.
Comment 8 Yao 2022-12-11 14:43:13 UTC
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.