When emerging pam-0.77-r2 I got the following error: make[1]: Leaving directory `/var/tmp/portage/pam-0.77-r2/work/Linux-PAM-0.77/modules' * Checking if all modules were built... berkdb * ERROR: pam_access module did not build. Grepping through the log for pam_access or access shows up nothing except for the last error message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041102-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.5 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r6 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local /home/richard/kde-cvs/portage-overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aalib alsa apm arts artswrappersuid avi berkdb bindist bitmap-fonts cdr crypt cups encode esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg nas ncurses network nls nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real ruby samba sdl slang spell sse ssl svga tcltk tcpd tetex theora truetype wxwindows x86 xml xml2 xmms xv xvid zlib"
*** Bug 70485 has been marked as a duplicate of this bug. ***
could you please include all output from 'emerge -u pam' (attach it).
Created attachment 43574 [details] stderr from emerge -u pam stderr will post stdou in seperate attachment
Created attachment 43575 [details] stdout from emerge -u pam
The new 0.77-r3 that hit the rsyncs today still fails line 209
just looking at the stderr output, this may solve it: emerge glib but I can't be 100% certain. please provide it as a properly merged output - it's impossible to match them up like this. either turn on portage logging and get the logfile or collate logs via: emerge -u pam 2>&1 | tee logfile
Created attachment 43599 [details] Build log Build-log is attached. For some reason none of the modules get built, it's just that pam_access is the first one that is checked, but none of the others is built either. Going to the build-directory and running make after the emerge failed builds the modules, even though the command is the same (just "make").
Oh, and bug #70485 probably isn't a dup of this one, I don't get any compile errors at all.
I guess this is the line where it goes wrong: "modules sources available are: . :--------" For some reason in modules/Makefile, MODDIRS is empty.
Created attachment 43604 [details] emerge output during building pam-0.77-r1, fails in module pam_console I think I have a related problem with pam-0.77-r1 but it fails in module pam_console and is therefore quite the same as in bug #70485, but as you closed that as dup of this one, I report here. Please find my build log attached. # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27-hardened-r2 i686) ================================================================= System uname: 2.4.27-hardened-r2 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe -Wall" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/postfix/sample /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage" USE="3dnow X acpi acpi4linux alsa apache2 arts avi berkdb bitmap-fonts cdr crypt cups dga divx4linux dlloader dri dvd dvdr dvdread encode f77 fbcon flac foomaticdb fortran gd gdbm gif glx gtk gtk2 hardened imagemagick imap imlib java jpeg kde lcms ldap libg++ libwww mad matrox mikmod mmx motif mozcalendar mozsvg mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png python qt qtmt quicktime readline samba sdl slang speex spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv zlib video_cards_matrox"
I had also compile problems with pam. Reemerging glib-1.2.10-r5 helped.
Yes, that solved the problem here too. I don't have a clue why, but anyway. Thank you! I reemerged glib before I attached my report here, but I overlooked the version of glib and accidentally reemerged glib-2.4.6. :-(
pam-0.77-r4 built fine for me today, no idea why it didn't work before.
I had the same problem # export LANG=C LC_ALL=C # emerge pam had success
i can confirm that reemerging glib-1.2.10-r5 does not help with pam building successfully, but setting LANG=C and/or LC_ALL=C does.
Forced locales to C in pam-0.78.