Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70471 - pam-0.77-2 fails, "pam_access module did not build"
Summary: pam-0.77-2 fails, "pam_access module did not build"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 70485 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-08 09:01 UTC by Richard Lärkäng
Modified: 2005-02-25 12:31 UTC (History)
4 users (show)

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


Attachments
stderr from emerge -u pam (stderr.txt,54.87 KB, text/plain)
2004-11-08 20:16 UTC, JM Imbrescia
Details
stdout from emerge -u pam (stdout.txt,121.14 KB, text/plain)
2004-11-08 20:20 UTC, JM Imbrescia
Details
Build log (pam-log.txt,157.43 KB, text/plain)
2004-11-09 04:31 UTC, Richard Lärkäng
Details
emerge output during building pam-0.77-r1, fails in module pam_console (pam_compile_log,186.58 KB, text/plain)
2004-11-09 06:20 UTC, schaedpq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Lärkäng 2004-11-08 09:01:14 UTC
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"
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2004-11-08 17:37:03 UTC
*** Bug 70485 has been marked as a duplicate of this bug. ***
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-08 19:25:18 UTC
could you please include all output from 'emerge -u pam'  (attach it).
Comment 3 JM Imbrescia 2004-11-08 20:16:48 UTC
Created attachment 43574 [details]
stderr from emerge -u pam

stderr will post stdou in seperate attachment
Comment 4 JM Imbrescia 2004-11-08 20:20:04 UTC
Created attachment 43575 [details]
stdout from emerge -u pam
Comment 5 JM Imbrescia 2004-11-08 20:22:28 UTC
The new 0.77-r3 that hit the rsyncs today still fails line 209
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-08 23:05:01 UTC
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
Comment 7 Richard Lärkäng 2004-11-09 04:31:01 UTC
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").
Comment 8 Richard Lärkäng 2004-11-09 04:34:08 UTC
Oh, and bug #70485 probably isn't a dup of this one, I don't get any compile errors at all.
Comment 9 Richard Lärkäng 2004-11-09 05:33:30 UTC
I guess this is the line where it goes wrong:
"modules sources available are:
.
:--------"

For some reason in modules/Makefile, MODDIRS is empty.
Comment 10 schaedpq 2004-11-09 06:20:27 UTC
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"
Comment 11 Matthias Muthmann 2004-11-11 07:50:31 UTC
I had also compile problems with pam.
Reemerging glib-1.2.10-r5 helped.
Comment 12 schaedpq 2004-11-11 11:04:44 UTC
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. :-(
Comment 13 Richard Lärkäng 2004-12-30 14:26:33 UTC
pam-0.77-r4 built fine for me today, no idea why it didn't work before.
Comment 14 Alessandro Guido 2005-01-06 04:54:09 UTC
I had the same problem

# export LANG=C LC_ALL=C
# emerge pam

had success
Comment 15 Ziga Boehm 2005-01-08 13:55:14 UTC
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.
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2005-02-25 12:31:15 UTC
Forced locales to C in pam-0.78.