Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630880

Summary: Using systemd profile in crossdev creates circular dependency systemd -> procps -> util-linux -> systemd
Product: Gentoo Linux Reporter: Andrej Rode <mail>
Component: ProfilesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrej Rode 2017-09-13 11:58:34 UTC
When setting up a crossdev environment and then selecting a systemd profile I have  put this in package.use and run `$crossdev-emerge systemd` first.

sys-process/procps -systemd
sys-apps/util-linux -systemd -udev

Afterwards I remove the package.use entry and and run `$crossdev-emerge @system`. Otherwise emerge stops resolving the circular dependency.

It seems closely related to bug 575910 and maybe there is something which can be done to allow `emerge @system` with as systemd profile without being required to set workaround useflags and run `emerge systemd`.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-09-19 10:40:29 UTC
Please post the `emerge` output showing the circular block and reopen.
Comment 2 Mike Gilbert gentoo-dev 2017-09-19 21:55:01 UTC
I don't see any way to make this work without changing the way portage works significantly.
Comment 3 Andrej Rode 2017-09-20 09:20:45 UTC
I agree, this would require some effort to work around the issue (not sure if that exists for other profile+crossdev combinations). Probably I will create some scripts which will do necessary USE modifications and build my crossdev root unattended.