Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 695878 (static-libs) - [TRACKER] packages that unconditionally install static libraries
Summary: [TRACKER] packages that unconditionally install static libraries
Status: UNCONFIRMED
Alias: static-libs
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL: https://projects.gentoo.org/qa/policy...
Whiteboard:
Keywords:
Depends on: 378289 446364 446752 458474 460114 487640 561898 672920 705330 723170 723172 723176 723180 723200 723202 723206 723220 723534 724080 724292 724298 724426 724428 724430 724544 724546 724592 724594 724596 724600 724604 724606 724652 724798 724900 724902 724906 724908 725016 725136 725138 725142 725144 725146 725420 725422 725532 725534 725538 725684 725686 725688 725690 725692 725696 725698 725700 725958 725960 725964 725966 725968 725970 725972 726090 726142 726148 726150 726294 726326 726390 726392 726394 726396 726398 726434 726436 726492 726496 726498 726500 726502 726574 726576 726638 726640 726672 726734 726738 726866 726868 726874 726876 726916 726918 726922 726930 726934 726936 726938 726964 726968 726970 726972 726974 726982 726984 726986 726992 726996 726998 727050 727208 727246 727502 727792 727794 727836 727984 727986 728054 728086 728168 728170 728172 730526 731052 732220 732476 733008 733216 734282 735740 740150 740490 740670 740856 741578 742923 745096 377539 378207 378311 401935 465686 474768 485552 694124 694128 694130 694132 695418 697716 723166 723184 723218 723424 723426 723532 724082 724084 724290 724294 724296 724300 724302 724432 724542 724548 724550 724598 724602 724654 724896 724898 724904 725014 725140 725524 725526 725528 725530 725536 725566 725568 725570 725694 725876 725974 726058 726144 726146 726486 726488 726490 726494 726572 726578 726702 726706 726708 726732 726870 726872 726920 726932 726966 726976 726978 726980 726988 726990 727054 727388 727796 727798 728088 729812 730716 732612 733270 733732 737184 737380 739396 739708 739710 742656 742659 742665
Blocks:
  Show dependency tree
 
Reported: 2019-09-29 18:44 UTC by Alessandro Barbieri
Modified: 2020-09-28 11:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-09-29 18:44:02 UTC
Packages installing static libraries without the static-libs useflags
Comment 1 Mike Gilbert gentoo-dev 2019-09-29 21:31:57 UTC
If the build system offers no way to disable them, installing static libs unconditionally is acceptable.

Please do not encourage people to add a USE flag just to remove the libs in src_install.
Comment 2 Sergei Trofimovich gentoo-dev 2020-05-20 17:29:04 UTC
This bug lacks a link to rationale.
Comment 3 Sam James gentoo-dev Security 2020-06-11 16:37:43 UTC
Please note that the preferred solution here is to remove the static libs, unless you *know* they are needed (see bug URL), in which case consider a static-libs USE flag. But ideally just remove them.
Comment 4 Sam James gentoo-dev Security 2020-06-11 16:38:33 UTC
(In reply to Sam James (sec padawan) from comment #3)
> Please note that the preferred solution here is to remove the static libs,
> unless you *know* they are needed (see bug URL), in which case consider a
> static-libs USE flag. But ideally just remove them.

(remove as in 'don't build', but as last resort, remove in install phase)
Comment 5 Larry the Git Cow gentoo-dev 2020-08-19 19:55:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f59be307fbc5ef4d693ebde8cbcce6b63cb6304f

commit f59be307fbc5ef4d693ebde8cbcce6b63cb6304f
Author:     Adam Feldman <NP-Hardass@gentoo.org>
AuthorDate: 2020-08-01 18:27:17 +0000
Commit:     Adam Feldman <NP-Hardass@gentoo.org>
CommitDate: 2020-08-19 19:54:38 +0000

    mate.eclass: drop static-libs whenever possible
    
    Whenever package doesn't have static-libs available and selected,
    if configure script has static-libs selectable, explicitly disable
    
    Bug: https://bugs.gentoo.org/695878
    Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>

 eclass/mate.eclass | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)