Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726394 - sys-libs/libsepol-3.7 misses USE=static-libs and installs '.a' files
Summary: sys-libs/libsepol-3.7 misses USE=static-libs and installs '.a' files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: static-libs
  Show dependency tree
 
Reported: 2020-05-31 08:36 UTC by Agostino Sarubbo
Modified: 2024-07-19 13:30 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 Agostino Sarubbo gentoo-dev 2020-05-31 08:36:07 UTC
This is an auto-filed bug because sys-libs/libsepol misses USE=static-libs and installs '.a' files.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
The issue was discovered on the version reported in the summary but it may be reproducible on other versions as well. The best solution is avoid to build the '.a' files by touching the configure. In case the buildsystem makes your life hard, a good compromise would be just remove the files.
See also:https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302

NOTE: If you want to change the summary, to avoid auto-filed duplicates, please at least keep the word 'static-libs'
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-15 21:10:45 UTC
dash_tinderbox has reproduced this issue with version 3.4 - Updating summary.
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-30 06:20:03 UTC
ci has reproduced this issue with version 3.5 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-27 16:33:30 UTC
tinderbox_arm64 has reproduced this issue with version 3.6 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-06-30 06:27:50 UTC
ci has reproduced this issue with version 3.7 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2024-07-19 09:57:21 UTC
The bug has been closed via the following commit(s):

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

commit 34b7dc479b4ba76ae16b5173b87d3648ae8f4566
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-07-19 09:39:32 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-07-19 09:57:01 +0000

    sys-libs/libsepol: Add static-libs USE flag for 3.7
    
    It would be better to avoid building the static libs in the first place, but
    this is more involved.
    
    Closes: https://bugs.gentoo.org/726394
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 sys-libs/libsepol/libsepol-3.7.ebuild  | 2 ++
 sys-libs/libsepol/libsepol-9999.ebuild | 2 ++
 2 files changed, 4 insertions(+)
Comment 6 Jakov Smolić archtester gentoo-dev 2024-07-19 13:30:52 UTC
This causes checkpolicy fail to build due to the missing library, see bug 936306