Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge system failure (sys-libs/pam-0.77)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Mr.Pop-N-Fresh
n00b
n00b


Joined: 14 Jun 2004
Posts: 37

PostPosted: Fri Oct 15, 2004 12:58 am    Post subject: emerge system failure (sys-libs/pam-0.77) Reply with quote

I'm reinstalling gentoo on a Bonzai Blue G3 233 MHz iMac, and can't get past emerge system. The first time I ran it, it ended with
Code:
checking path to cracklib dictionary... configure: error: none found
 
 !!! ERROR: sys-libs/pam-0.77 failed.
 !!! Function src_compile, Line 173, Exitcode 1
 !!! (no error message)

So I manually emerged cracklib, now it makes it past that point, but errors again later with.
Code:
pam_console.c:55: warning: `consoleperms' defined but not used
make[2]: *** [dynamic/pam_console.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules/pam_console'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/modules'
make: *** [modules] Error 2

!!! ERROR: sys-libs/pam-0.77 failed.
!!! Function src_compile, Line 198, Exitcode 2
!!! PAM build failed

There is a whole lot of strange lines above that, (ie "config.y:440: `FALSE' undeclared (first use in this function)") so I'm not sure if I've captured enough info. Also, right near the begining there is a couple screens worth of
Code:
/usr/sbin/ebuild.sh: line 407: eend: command not found
/usr/sbin/ebuild.sh: line 318: einfo: command not found
/usr/sbin/ebuild.sh: line 407: eend: command not found
/usr/sbin/ebuild.sh: line 318: einfo: command not found

which I don't think happened before I emerged cracklib (which doesn't show up as a dependancy with "emerge -p pam").

As I said, I'm reinstalling and I didn't have these problems the first time. I did wipe the HDD and am installing 2004.1 using stage2 from the internet. I'm using essentially the same make.conf as my first install. Let me know if it necessary to post it or the complete output from the emerge. Thanks
Back to top
View user's profile Send private message
Al Dimond
n00b
n00b


Joined: 19 Oct 2004
Posts: 1

PostPosted: Tue Oct 19, 2004 5:33 pm    Post subject: Reply with quote

Well, I had the exact same problem trying to emerge system on an Athlon XP system.

Same exact cracklib problem, I emerged cracklib, I also had that problem with autoconf, so I emerged autoconf. Then I got to your "config.y" difficulties.

What I did to fix it was to emerge an old version of pam (.75), which worked fine. I did an "emerge -p system" and noted that at the end of the build it would try to update pam to 0.77, but until then everything else would work fine with .75 installed. Then I did the actual "emerge system", then I went to bed. When I woke up, everything was fine including pam .77.

Hopefully this works on PPC as well. I'm a Gentoo n00b on my first try installing Gentoo, so hopefully it works on my computer too ;)
Back to top
View user's profile Send private message
Mr.Pop-N-Fresh
n00b
n00b


Joined: 14 Jun 2004
Posts: 37

PostPosted: Thu Oct 21, 2004 2:12 pm    Post subject: Reply with quote

Thanks for the suggestion, I thought I had tried pam-0.75-r11 too, but I guess not. I had tried some other more complicated stuff, so I started over again and paid closer attention. I noticed that emerge -p system listed pam-0.77 ahead of cracklib
Code:
[...]
[ebuild  N    ] sys-libs/pam-0.77
[ebuild  N    ] sys-apps/miscfiles-1.3-r1
[ebuild  N    ] sys-libs/cracklib-2.7-r8
[ebuild  N    ] sys-apps/shadow-4.0.4.1-r4
[ebuild  N    ] sys-apps/pam-login-3.14
[ebuild     U ] sys-apps/portage-2.0.50-r11 [2.0.50-r5]
[...]

Seeing how we know cracklib is necessary (and miscfiles is actual a dependancy for cracklib) I thought maybe shadow was a dependancy too (since it's before pam-login) emerged all that, still no luck.
I then tried emerge -p =pam-0.75-r11 which listed pwdb-0.62 & glib-1.2.10-r5 as dependancies. I emerged them, but choose the newest stable version of glib (2.4.4, which also puts in pkgconfig-0.15). Still no luck emerging pam-0.77.
I then emerged pam-0.75-r11 (which still needed glib-1.2.10-r5), which was successful. Immediately afterwards I was able to update to pam-0.77. The iMac is currently working on the rest of emerge system as we speak (It can't quite do it in one night :) ). So from what I can tell, pam-0.77 requires, but doesn't list, some of the following packages (I'm sure there are some in here that it doesn't require, plus ones that were already in and not listed)
Code:
sys-apps/miscfiles-1.3-r1
sys-libs/cracklib-2.7-r8
sys-apps/shadow-4.0.4.1-r4
sys-libs/pwdb-0.62
dev-util/pkgconfig-0.15
dev-libs/glib-2.4.4
dev-libs/glib-1.2.10-r5

Is there anything I can do to help this get fixed? I'd hate for someone else to be scared away because of all this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum