Well sorta solved, so I figured out that cracklib wasn't being built with libcrack.a because of my "-pam" in $USE. But for some dumb reason pam was still trying to build itself. So I reset use to include pam (actually removed "-pam") and then re-emerged cracklib and then emerged sys-libs/pam-0.77. Unfortunate that Gentoo requires pam to work. /djb > -----Original Message----- > From: David Busby [mailto:busby@edoceo.com] > Sent: Tuesday, October 26, 2004 12:58 PM > To: gentoo-user@lists.gentoo.org > Subject: RE: [gentoo-user] emerge system error > > > Here's more of my error message > > gcc: //usr/lib/libcrack.a No such file or directory > pam_cracklib.so error 1 > > sys-libs/pam-0.77 failed > function src_compile line 198 exitcode 2 > pam build failed > > So firstly why does emerge system want to install pam when I > said "-pam" in $USE? Secondly where is my missing libcrack.a > file coming from? And why is it missing, shouldn't portage > know I need libcrack.a around before trying to merge the unwanted pam? > > If someone has _any_ idea I would appreciate any response or > clue however small. This is the second experience with Linux > for one of my bank customers and I'd like it to go smooth as > they are a strict MS shop at this time. > > /djb > > > > > -----Original Message----- > > From: David Busby [mailto:busby@edoceo.com] > > Sent: Tuesday, October 26, 2004 11:31 AM > > To: gentoo-user@lists.gentoo.org > > Subject: [gentoo-user] emerge system error > > > > > > I'm trying to `emerge system` and my use flags have "-pam" in > > them. emerge system is trying to install sys-libs/pam-0.77 or > > some such. To top it all off when installing pam it chokes > > and I get a build error on line 198 error 2. I don't have > > ssh to the machine so I can't grab the text at this moment. > > Why is it trying to install pam? I said "-pam" in my use > > flags. How can I make this thing skip pam, I don't want it I > > just want plain login functionality or do I _need_ pam like I > > _need_ bash > > > > /djb > > > > > > -- > > gentoo-user@gentoo.org mailing list > > > > > > > -- > gentoo-user@gentoo.org mailing list > > Reproducible: Always Steps to Reproduce: 1. Starting from LiveCD stage1 or 2 set USE to include "-pam" then try emerge system Actual Results: It failed looking for /usr/lib/libcrack.a when building pam cause cracklib didn't build libcrack.a when there was "-pam" Expected Results: Not built pam!
shadow is in the system target so i've updated it to require pam / pam-login if the user has USE=pam this means i've also updated the base profile to not include pam and pam-login anymore