Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35468 - circular dependency between pam and xfree when using USE="X pam"
Summary: circular dependency between pam and xfree when using USE="X pam"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://www.mail-archive.com/gentoo-us...
Whiteboard:
Keywords:
: 39433 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-09 12:39 UTC by E. Papegaaij
Modified: 2006-04-11 20:01 UTC (History)
3 users (show)

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


Attachments
xfree-4.3.0-r5.ebuild.pam-fix.diff (xfree-4.3.0-r5.ebuild.pam-fix.diff,1.59 KB, patch)
2004-02-15 19:03 UTC, Donnie Berkholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description E. Papegaaij 2003-12-09 12:39:12 UTC
When USE contains both X and pam, they will both depend on eachother. On a normal installation, this shouldn't matter much, but during 'emerge system', it will fail (see URL). You can work arround this, by emerging xfree with 'USE=-pam emerge xfree', restart 'emerge system' and 'emerge xfree' after that.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-18 19:18:36 UTC
Any ideas here?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-18 19:41:42 UTC
the source of pam depending on xfree goes down to python depending on 'tk' when USE=tcltk
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-20 04:10:09 UTC
Anyone see an option besides disabling xfree's USE=pam?
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-26 09:15:22 UTC
*** Bug 39433 has been marked as a duplicate of this bug. ***
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-01-26 09:19:09 UTC
OK, our options here seem to be this:

1) Disable xfree's PAM -- this means PAM-based XDM authentication won't work, although the "standard" way will.

2) Disable python's tk interface.

3) Figure out some way to force people to disable USE=pam on first xfree merge but not latter ones, using has_version and re-exporting USE with a warning or similar. Since pam is in "system," we shouldn't need to list a dependency on it, AFAICT.

Even though 3) is hackish, it's the best thing I can think of.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-15 19:03:03 UTC
Created attachment 25697 [details, diff]
xfree-4.3.0-r5.ebuild.pam-fix.diff

OK I don't like this but it's the best I can think of.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-17 11:33:10 UTC
Fixed in 4.3.0-r6.
Comment 8 Luke-Jr 2004-10-22 15:59:41 UTC
PAM doesn't depend on Python anyway... at least not according to DEPEND.
If it does, but this is a bug, can this be changed to somehow have PAM require recompilation instead of X?
Comment 9 Fabricio 2006-04-09 20:39:21 UTC
I am having the same bug with my xorgs libraryes, and cant solve trought that fix package.
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2006-04-11 20:01:24 UTC
You won't be able to, considering the fix is for a package 2 years old :P

If you're having a problem now it's likely a different problem altogether.  Please file a new bug.