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 446364 446752 460114 487640 561898 672920 705330 723200 724080 724292 724426 724906 725136 725138 725142 725144 725534 725538 725686 725700 726326 726394 726502 726576 726738 726866 726918 726922 726934 726968 726970 726992 726996 727984 728054 733216 745096 793809 377539 378207 378311 401935 458474 465686 474768 485552 694124 694128 694130 694132 695418 697716 723166 723170 723172 723176 723180 723184 723202 723206 723218 723220 723424 723426 723532 723534 724082 724084 724290 724294 724296 724298 724300 724302 724428 724430 724432 724542 724544 724546 724548 724550 724592 724594 724596 724598 724600 724602 724604 724606 724652 724654 724798 724896 724898 724900 724902 724904 724908 725014 725016 725140 725146 725420 725422 725524 725526 725528 725530 725532 725536 725566 725568 725570 725684 725688 725690 725692 725694 725696 725698 725876 725958 725960 725964 725966 725968 725970 725972 725974 726058 726090 726142 726144 726146 726148 726150 726294 726390 726392 726396 726398 726434 726436 726486 726488 726490 726492 726494 726496 726498 726500 726572 726574 726578 726638 726640 726672 726702 726706 726708 726732 726734 726868 726870 726872 726874 726876 726916 726920 726930 726932 726936 726938 726964 726966 726972 726974 726976 726978 726980 726982 726984 726986 726988 726990 726998 727050 727054 727208 727246 727388 727502 727792 727794 727796 727798 727836 727986 728086 728088 728168 728170 728172 729812 730526 730716 731052 732220 732476 732612 733008 733270 733732 734282 735740 737184 737380 739396 739708 739710 740150 740490 740670 740856 741578 742656 742659 742665 742923 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 794451 812347 814434
Blocks:
  Show dependency tree
 
Reported: 2019-09-29 18:44 UTC by Alessandro Barbieri
Modified: 2021-09-23 06:22 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-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-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(-)