Summary: | Portage screws up DEPEND order: pam had DEPEND on cracklib, but cracklib is not installed before pam. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pablo Yanez Trujillo <shaoran> |
Component: | New packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pam-bugs+disabled |
Priority: | High | Keywords: | Bug |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 33440 | ||
Bug Blocks: |
Description
Pablo Yanez Trujillo
2004-09-22 14:03:07 UTC
That's an error in emerge then. cracklib is definetly specified under the DEPEND system and therefore should be put in before pam. Could you include emerge -p output that shows it wanting to install pam before cracklib? sys-libs/pam: RDEPEND="sys-libs/cracklib" sys-libs/cracklib: DEPEND="sys-apps/miscfiles" sys-apps/miscfiles: DEPEND="sys-libs/glibc" sys-libs/glibc: RDEPEND="sys-apps/baselayout" sys-apps/baselayout: RDEPEND="sys-apps/util-linux" sys-apps/util-linux: DEPEND="sys-apps/pam-login" sys-apps/pam-login: DEPEND="sys-libs/pam" I haven't included versions and have resolved virtuals, but this is essentially the "cause". Portage doesn't not differentiate between DEPEND and RDEPEND, and also ignores any deps as soon as a circular dependency is found. Circular dependency resolution will be supported portage 2.0.51. jstubbs: I don't see any reason that miscfiles needs glibc, so this could be cut off right there. That won't be enough to solve this bug. For example, there is also sys-libs/cracklib -> sys-apps/portage -> sys-apps/sed -> sys-libs/glibc. The inter-dependencies within system are very intricate and there's many unlisted ones as well. If you want to remove some deps until portage supports the complexity, I'm fine with that. I've removed the libc dep for now, after talking to the embedded folk that added it. Pablo: emerge sync and it should work for you, but to cut down on errors in general, go with the .51 series of portage. I've merged cracklib yesterday before installing pam, and it worked (after having the problem, of course), that's why I made this bug report. Err.. I somehow missed a word which changed the meaning. Circular dependency resolution will be supported AFTER portage 2.0.51. I have the code already but it's to late in the game to add it in for 2.0.51. |