Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
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: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL: https://projects.gentoo.org/qa/policy...
Whiteboard:
Keywords:
Depends on: 378289 446752 487640 561898 672920 723200 724292 725136 725138 725144 726738 726866 726918 726934 726992 728054 890461 890463 890489 890788 890905 890943 890997 891049 891299 891341 891345 891375 891377 891453 891479 891567 891743 891751 891765 891769 891815 891897 893470 898144 907940 908858 908859 922703 925184 928310 933586 935819 941558 943640 377539 378207 378311 401935 446364 458474 460114 465686 474768 485552 694124 694128 694130 694132 695418 697716 705330 723166 723170 723172 723176 723180 723184 723202 723206 723218 723220 723424 723426 723532 723534 724080 724082 724084 724290 724294 724296 724298 724300 724302 724426 724428 724430 724432 724542 724544 724546 724548 724550 724592 724594 724596 724598 724600 724602 724604 724606 724652 724654 724798 724896 724898 724900 724902 724904 724906 724908 725014 725016 725140 725142 725146 725420 725422 725524 725526 725528 725530 725532 725534 725536 725538 725566 725568 725570 725684 725686 725688 725690 725692 725694 725696 725698 725700 725876 725958 725960 725964 725966 725968 725970 725972 725974 726058 726090 726142 726144 726146 726148 726150 726294 726326 726390 726392 726394 726396 726398 726434 726436 726486 726488 726490 726492 726494 726496 726498 726500 726502 726572 726574 726576 726578 726638 726640 726672 726702 726706 726708 726732 726734 726868 726870 726872 726874 726876 726916 726920 726922 726930 726932 726936 726938 726964 726966 726968 726970 726972 726974 726976 726978 726980 726982 726984 726986 726988 726990 726996 726998 727050 727054 727208 727246 727388 727502 727792 727794 727796 727798 727836 727984 727986 728086 728088 728168 728170 728172 729812 730526 730716 731052 732220 732476 732612 733008 733216 733270 733732 734282 735740 737184 737380 739396 739708 739710 740150 740490 740670 740856 741578 742656 742659 742665 742923 745096 750806 750809 751853 756274 757831 764668 764671 764674 764677 764680 764683 764686 764689 764692 764695 764698 764701 764704 764722 764725 764728 764731 764734 764737 764740 766075 771990 771993 772944 773121 773232 773235 773238 775788 776256 779367 781890 783801 786558 791400 792603 793809 794451 812347 814434 815679 820812 822816 825774 828534 829686 829960 832787 835458 890668 890698 890700 890724 890758 890820 890875 890877 890879 890941 891301 891343 891457 891481 891627 891689 891759 891767 892734 895354 898826 900364 902535 902539 902541 905648 908301 911480 911548 922950 924960 925899 926211
Blocks:
  Show dependency tree
 
Reported: 2019-09-29 18:44 UTC by Alessandro Barbieri
Modified: 2024-11-16 16:17 UTC (History)
3 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 (RETIRED) gentoo-dev 2020-05-20 17:29:04 UTC
This bug lacks a link to rationale.
Comment 3 Sam James archtester Gentoo Infrastructure 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 archtester Gentoo Infrastructure 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(-)