Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758707 - targets/systemd: unmask static USE flags
Summary: targets/systemd: unmask static USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-05 20:40 UTC by David Michael
Modified: 2020-12-06 17:23 UTC (History)
0 users

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 David Michael 2020-12-05 20:40:08 UTC
The systemd profiles have static/static-libs in package.use.mask for many packages, claiming that systemd does not support USE=static-libs.  All systemd ebuilds define static-libs, and they seem to work.

I've tried to build a few of the packages listed in package.use.mask with systemd and udev set everywhere, and they mostly worked.  The flashrom package failed to test libusb, and lvm2 seems to be missing -lcap when device-mapper-only is unset. I think it would be preferable to have something like REQUIRED_USE="systemd? ( static? ( device-mapper-only ) )" in that case rather than mask things, since dmsetup.static is what I actually need anyway.

It looks like the entire package.use.mask file could be deleted since its stated reason for existence was the lack of systemd[static-libs].  Remaining build issues in the listed packages could probably be handled individually as they are reported.
Comment 1 Larry the Git Cow gentoo-dev 2020-12-06 17:23:52 UTC
The bug has been closed via the following commit(s):

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

commit fe21321acbb25da213b14b304bd02178bcf4fd16
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-12-06 06:26:25 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-12-06 17:23:32 +0000

    profiles: remove static-libs masks from systemd target
    
    Closes: https://bugs.gentoo.org/758707
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/targets/systemd/package.use.mask | 23 -----------------------
 1 file changed, 23 deletions(-)