Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728664 - sys-libs/pam-1.4.0: circular dependency, needs IDEPEND
Summary: sys-libs/pam-1.4.0: circular dependency, needs IDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-18 14:04 UTC by David Michael
Modified: 2020-06-18 15:02 UTC (History)
1 user (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 David Michael 2020-06-18 14:04:53 UTC
The new PAM 1.4.0 version uses tmpfiles.eclass, which creates a dependency loop:

pam -> tmpfiles -> systemd -> pam

The RDEPEND="virtual/tmpfiles" in tmpfiles.eclass is only for the tmpfiles_process function, which should be switched to IDEPEND for EAPI 8 (and probably RDEPEND+BDEPEND for EAPI 7).  That will fix the loop when building a sysroot and PAM is migrated to EAPI 8.

Reproducible: Always

Steps to Reproduce:
1. emerge -v '>=sys-libs/pam-1.4.0'  # in a new sysroot

Actual Results:  
It won't build due to the above dependency loop.

Expected Results:  
It should build and install.
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-18 14:59:03 UTC
Surely we can not wait until EAPI=8
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-18 15:02:48 UTC
I went back to the manual creation, thank you!.