Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570788 - sys-fs/lvm2[systemd] should depend on sys-apps/systemd - configure: error: bailing out... systemd >= 205 is required
Summary: sys-fs/lvm2[systemd] should depend on sys-apps/systemd - configure: error: ba...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-03 20:27 UTC by Ben Kohler
Modified: 2017-09-11 19:54 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,18.09 KB, text/plain)
2016-01-03 20:28 UTC, Ben Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2016-01-03 20:27:46 UTC
When a user tries to switch to systemd by setting a profile or global USE=systemd then "emerge -uDNav world", lvm2 may be pulled into the dep graph too early and attempt to build with systemd features before systemd is installed.

Adding a proper dep in lvm2 ebuilds would help order the builds properly.

Thanks!
Comment 1 Ben Kohler gentoo-dev 2016-01-03 20:28:25 UTC
Created attachment 421810 [details]
build.log

Attaching build.log for good measure but I think this one's pretty straightforward =)
Comment 2 Mike Gilbert gentoo-dev 2016-01-04 03:09:21 UTC
Add the following to [R]DEPEND.

>=sys-apps/systemd-205:0=
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2016-03-15 04:07:16 UTC
Thanks for the report. Fixed in http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a5f34ba6ccfa8a798369f936585aa7bb9e2ed5
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2016-07-04 18:55:07 UTC
(In reply to Doug Goldstein from comment #3)
> Thanks for the report. Fixed in
> http://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=06a5f34ba6ccfa8a798369f936585aa7bb9e2ed5

I just hit this issue on amd64 stable.

Above commit only fixes lvm2-2.02.136-r2 and higher, while latest stable is lvm2-2.02.116-r4 .

Could you either stabilize newer lvm2, or also apply the fix to stable ebuilds?
Comment 5 Mike Gilbert gentoo-dev 2016-07-13 00:28:44 UTC
@phajdan.jr: Please be careful not to reset the assignee to default when changing the component on an existing bug report.
Comment 6 Ben Kohler gentoo-dev 2017-09-11 19:54:51 UTC
This has been in stable for a while now