Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85679 - sys-libs/pam-0.78-r2 has dependencies in /usr
Summary: sys-libs/pam-0.78-r2 has dependencies in /usr
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 92761 100658 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-17 13:52 UTC by Ulrich Plate (RETIRED)
Modified: 2006-09-05 09:13 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Plate (RETIRED) gentoo-dev 2005-03-17 13:52:44 UTC
Not a duplicate of #84836 (applied the patch, synced and retried with the new version), and not solved by #85069 (I don't actually have a /usr/lib/libdl.so.2). This one doesn't die on pam_unix (as in 84836) or pam_access (85069), it chokes on pam_cracklib. Output of `ldd pam_cracklib.so` in /var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_cracklib looks like this:

        linux-gate.so.1 =>  (0xffffe000)
        libcrack.so.2 => /usr/lib/libcrack.so.2 (0xb7fd2000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7fa3000)
        libc.so.6 => /lib/libc.so.6 (0xb7e75000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7e6d000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e69000)

And indeed, I seem to have two of those:

# ls -l `locate libcrack.so.2`
lrwxrwxrwx  1 root root    17 Mar 17 21:20 /lib/libcrack.so.2 -> libcrack.so.2.8.0
-rwxr-xr-x  1 root root 27208 Mar 17 21:19 /lib/libcrack.so.2.8.0
lrwxrwxrwx  1 root root    15 Nov 11  2003 /usr/lib/libcrack.so.2 -> libcrack.so.2.7
-rwxr-xr-x  1 root root 32321 Nov 11  2003 /usr/lib/libcrack.so.2.7

Removing the one in /usr does the trick, but I suppose it would be helpful to know where this came from. By the way, this happens on only one of my three ~x86 hosts, I suppose something's gone wrong at some point with this one. Any additional info you'd like to see?
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-17 14:28:59 UTC
$ grep SLOT sys-libs/cracklib/*.ebuild
sys-libs/cracklib/cracklib-2.7-r10.ebuild:SLOT="0"
sys-libs/cracklib/cracklib-2.8.1.ebuild:SLOT="0"


You have AUTO_CLEAN on ?
Comment 2 Ulrich Plate (RETIRED) gentoo-dev 2005-03-17 16:33:58 UTC
That grep looks identical here. And yes, "AUTOCLEAN=yes" is in /etc/make.conf. Always has been.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-17 18:17:55 UTC
 # equery b /usr/lib/libcrack.so.2.7

Also, you only have 2.8 installed, or 2.7 still as well?
Comment 4 Ulrich Plate (RETIRED) gentoo-dev 2005-03-18 00:56:43 UTC
As there's only one slot, I don't think I could have them both installed. But I don't know how to check for that besides `etcat -v` which tells me I only have 2.8.1, and `qpkg -d` has lots of things, but not cracklib. `equery b /usr/lib/libcrack.so.2.7` returns empty, hope that's not just because I had to delete the libcrack.so.2 symlink to make the pam emerge work?
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-18 06:21:44 UTC
Nah - guess its leftover for some reason.  Just remove it.
Comment 6 Axel Reimann 2005-03-20 01:31:00 UTC
Looks like there's a bug in the upgrade path somewhere as I've the same
problem. There are zombie libraries (libcrack.so.2.7) around that seemingly
do not belong to any package:
> file /usr/lib/libcrack.so.2.7
/usr/lib/libcrack.so.2.7: ELF 32-bit LSB shared object, Intel 80386, version 1(SYSV), not stripped
> qpkg -f /usr/lib/libcrack.so.2.7
>

also:
> qpkg --dups | grep libcrack
>

Comment 7 FieldySnuts 2005-06-03 06:11:32 UTC
I am seeing the same issue whilst trying to upgrade to kde-3.4.1.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041006-r0,
2.6.11.10 i686)
=================================================================
System uname: 2.6.11.10 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.8p1
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Feb  9 2005, 09:29:29)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r1, 2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks notitles sandbox
sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X apache2 apm avi berkdb bitmap-fonts cdr chroot crypt cscope cups curl
dvdr eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 imagemagick imlib java jpeg kde kerberos ldap libg++ libwww
mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline samba sdl slang snmp spell sse
ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 8 David Guembel (RETIRED) gentoo-dev 2005-06-06 13:00:06 UTC
I had the exactg same problem, and doing what is described in the original bug
report dolved it for me. I'm running on x86 (no ~x86 except for some
package.keywords), so I attach emerge info and /etc/portage/package.keywords in
the hope that this might be useful.

emerge info
-----------

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-ck8-r1 i686)
=================================================================
System uname: 2.6.11-ck8-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Apr 30 2005, 16:36:44)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /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/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/
ftp://mirror.nutsmaas.nl/gentoo/"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apm arts artswrappersuid avi berkdb bitmap-fonts
bluetooth bonobo cdparanoia cdr crypt cups curl dga divx4linux dvd emboss encode
esd fam fbcon flac foomaticdb fortran gd gdbm gif gnokii gphoto2 gpm gtk gtk2
gtkhtml ieee1394 imagemagick imlib ipv6 irda jabber java jpeg jpeg2k junit kde
kdeenablefinal kqemu ldap libg++ libwww live lm_sensors mad maildir mikmod mmx
motif mozilla mp3 mpeg mysql ncurses nptl nptlonly ogg oggvorbis opengl oss pam
pcmcia pda pdflib perforce perl png pnp povray python qt qtmt quicktime rdesktop
readline real rtc samba sdl slang sms speex spell sse sse2 ssl subversion svga
tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts usb v4l
v4l2 vim-with-x vorbis wifi win32codecs xface xine xml xml2 xmms xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS



/etc/portage/package.keywords:
------------------------------
sys-kernel/ck-sources ~x86
net-wireless/kdebluetooth ~x86
media-tv/kdetv ~x86
sys-fs/udev ~x86
net-misc/rsync ~x86
net-wireless/bluez-libs ~x86
app-text/acroread ~x86
app-pda/pilot-link ~x86
dev-libs/libgcrypt ~x86
net-dns/libidn ~x86
dev-util/kdevelop ~x86
dev-util/eclipse-ve-bin ~x86
dev-util/eclipse-gef-bin ~x86
dev-util/eclipse-emf-bin ~x86
kde-base/kdeutils ~x86
kde-base/kdebase-pam ~x86
kde-base/kde ~x86
kde-base/kdeadmin ~x86
kde-base/kdegraphics ~x86
kde-base/kdetoys ~x86
kde-base/kdegames ~x86
kde-base/kdemultimedia ~x86
kde-base/kdeartwork ~x86
kde-base/kde-i18n ~x86
kde-base/kdeedu ~x86
kde-base/kdewebdev ~x86
kde-base/kdeaddons ~x86
kde-base/kdepim ~x86
kde-base/kdenetwork ~x86
kde-base/kde-i18n ~x86
kde-base/kde-env ~x86
kde-base/kdelibs ~x86
kde-base/kdebase ~x86
kde-base/kdebluetooth ~x86
kde-base/arts ~x86
sys-libs/db ~x86

app-emulation/qemu ~x86
app-admin/eclectic ~x86

sys-libs/pam ~x86
app-shells/bash ~x86
media-plugins/xine-vcdx ~x86



Comment 9 Alexander Skwar 2005-06-10 04:25:25 UTC
Happening for me as well.

/bin/install -c -m 755 pam_xauth.so /var/tmp/portage/pam-0.78-r2/image//lib/security
test -d /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8 || mkdir -p
/var/tmp/portage/pam-0.7
2/image//usr/share/man/man8
/bin/install -c -m 644 pam_xauth.8
/var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8/
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
make[1]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules'
 * Checking if all modules were built...

 * ERROR: pam_access have dependencies in /usr.


!!! ERROR: sys-libs/pam-0.78-r2 failed.


[13:24:37 alexander@server:~] $ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-ck8-r1.ASN.003.reiser4.module i686)
=================================================================
System uname: 2.6.11-ck8-r1.ASN.003.reiser4.module i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl alsa apache2 apm async avi bash-completion
bluetooth bzlib cairo calendar caps cdda cddb cdparanoia cdr cdrom codecs crypt
cscope css cups dga divx4linux dvdread eds encode esd ethereal exif faad fam
fbcon fbdev ffmpeg fftw firefox flash foomaticdb ftp fwdzone gd gdbm gif gimp
gimpprint gmail gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 guile hal iconv
idn imagemagick imap imlib java javascript jpeg kde kdeenablefinal kdexdeltas
libedit libwww logitech-mouse logrotate lufsusermount lzo lzw lzw-tiff mad
maildir matroska matrox mbox mime mmap mmx mng mozdevelop mozilla moznocompose
moznoirc mozp3p mozsvg mp3 mpeg mplayer ncurses network nls no-old-linux
no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet
nojdepend nojsch nojython nolog4j nooro nopop3d noregexp norhino noxalan
noxerces offensive ofx ogg oggvorbis opengl oss pam parse-clocks pcntl pcre pda
pdflib perl pic pie png posix ppds python qt quicktime quotes rdesktop readline
real recode samba sasl shared slang sockets speex spell sse ssl svg symlink
sysvipc tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode
usb usepackagedmakefiles vcd videos vim vim-pager vim-with-x vorbis wmf
wsconvert x11vnc xchattext xfs xine xml2 xmms xv xvid zlib video_cards_matrox
linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
Comment 10 Alexander Skwar 2005-06-10 04:27:55 UTC
Isn't bug #92761 a dupe of this bug?
Comment 11 Benjamin Molitor 2005-06-17 04:15:51 UTC
Worked for me after updating sys-libs/cracklib from 2.7-r11 to 2.8.3-r1 (which
cleanly removed the 2.7 version). Is this a version dependency issue?
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2005-06-27 08:53:26 UTC
*** Bug 92761 has been marked as a duplicate of this bug. ***
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2005-06-27 08:58:53 UTC
Updated pam cracklib deps.
Comment 14 Russell Dwiggins 2005-07-05 20:12:48 UTC
Still happening.  Even after removing and re-emerging cracklib (after a sync 
too).
Comment 15 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-06 03:33:43 UTC
Did you: rm -f /usr/lib/libcrack.so.* ?
Comment 16 Russell Dwiggins 2005-07-06 12:11:36 UTC
Yes I did.
Comment 17 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-07 10:06:07 UTC
Can you provide more info on what exactly its complaining about (ldd
/var/tmp/portage/pam-0.78-r2/image/lib/security/blah.so) .. ?
Comment 18 Russell Dwiggins 2005-07-07 21:10:52 UTC
OK...: 
ldd /var/tmp/portage/pam-0.78-r2/image/lib/security/pam_access.so 
        linux-gate.so.1 =>  (0xffffe000) 
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7fc6000) 
        libc.so.6 => /usr/lib/libc.so.6 (0xb7ead000) 
        libpam.so.0 => /lib/libpam.so.0 (0xb7ea5000) 
        /lib/ld-linux.so.2 (0x80000000) 
        libdl.so.2 => /usr/lib/tls/i686/libdl.so.2 (0xb7ea1000) 
 
I wonder if that last one is the problem? 
Comment 19 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-08 01:54:03 UTC
Yup .. where did you get that from?  Even if its a tls version, it should still
be in /lib/ ... emerge info please.
Comment 20 Russell Dwiggins 2005-07-08 08:29:07 UTC
emerge info:

Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, 
glibc-2.3.5-r0, 2.6.11-gentoo-r3 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(TM) XP 1600+ 
Gentoo Base System version 1.6.10 
ccache version 2.4 [disabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.3 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r8 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.11 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /etc/* /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl 
divx4linux eds emboss encode esd fam flac foomaticdb fortran freetts gdbm gif 
gimpprint gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 jack java joystick jpeg 
junit kde libg++ libwww mad mikmod mmx motif mp3 mpeg nas ncurses nls nptl 
nptlonly nvidia ogg oggvorbis ooo-kde opengl opie oss pda pdflib perl pic png 
python qt quicktime readline real samba scanner sdl spell ssl svga tcpd tiff 
truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis x86 xine xml xml2 xmms 
xv zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Comment 21 Lubos Dolezel 2005-07-08 15:41:49 UTC
I also had to add /lib to /etc/ld.so.conf and ldconfig because pam_access.so was 
using /usr/lib/libc.so.6 instead of /lib/libc.so.6.
Comment 22 Russell Dwiggins 2005-07-16 01:01:55 UTC
Still having troubles building pam-0.78-r2. Same error, same system. 
Comment 23 FieldySnuts 2005-07-16 07:17:24 UTC
Same. But it's "FIXED", shrug...
Comment 24 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-16 12:00:48 UTC
It will help if you post your failure (if even related).
Comment 25 Russell Dwiggins 2005-07-16 23:54:19 UTC
*** Building pam-unix module of the framework... 
 
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security 
install -m 755 pam_unix.so /var/tmp/portage/pam-0.78-r2/image//lib/security 
for x in pam_unix_auth pam_unix_acct pam_unix_passwd pam_unix_session;\ 
        do ln -sf 
pam_unix.so /var/tmp/portage/pam-0.78-r2/image//lib/security/$x.so ; done 
mkdir -p /var/tmp/portage/pam-0.78-r2/image//usr/sbin 
install -m 4555 unix_chkpwd /var/tmp/portage/pam-0.78-r2/image//usr/sbin 
make[2]: Leaving directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_unix' 
make[2]: Entering directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_userdb' 
mkdir -p ./dynamic 
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security 
/bin/install -c -m 755 
pam_userdb.so /var/tmp/portage/pam-0.78-r2/image//lib/security 
make[2]: Leaving directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_userdb' 
make[2]: Entering directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_warn' 
mkdir -p ./dynamic 
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security 
/bin/install -c -m 755 
pam_warn.so /var/tmp/portage/pam-0.78-r2/image//lib/security 
make[2]: Leaving directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_warn' 
make[2]: Entering directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel' 
mkdir -p ./dynamic 
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security 
/bin/install -c -m 755 
pam_wheel.so /var/tmp/portage/pam-0.78-r2/image//lib/security 
make[2]: Leaving directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel' 
make[2]: Entering directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth' 
mkdir -p ./dynamic 
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security 
/bin/install -c -m 755 
pam_xauth.so /var/tmp/portage/pam-0.78-r2/image//lib/security 
test -d /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8 || mkdir 
-p /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8 
/bin/install -c -m 644 
pam_xauth.8 /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8/ 
make[2]: Leaving directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth' 
make[1]: Leaving directory 
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules' 
 * Checking if all modules were built... 
 
 * ERROR: pam_access have dependencies in /usr. 
 
 
!!! ERROR: sys-libs/pam-0.78-r2 failed. 
!!! Function src_install, Line 307, Exitcode 0 
!!! pam_access have dependencies in /usr. 
!!! If you need support, post the topmost build error, NOT this status message. 
 
Comment 26 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-17 07:18:10 UTC
Please provide the output of:

  # ldd
/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_access/pam_access.so
Comment 27 Russell Dwiggins 2005-07-17 14:34:26 UTC
ldd /var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_access/pam_access.so 
        linux-gate.so.1 =>  (0xffffe000) 
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7fc6000) 
        libc.so.6 => /usr/lib/libc.so.6 (0xb7ead000) 
        libpam.so.0 => /lib/libpam.so.0 (0xb7ea5000) 
        /lib/ld-linux.so.2 (0x80000000) 
        libdl.so.2 => /usr/lib/tls/i686/libdl.so.2 (0xb7ea1000) 
 
Comment 28 Mason Mouse 2005-07-17 14:57:05 UTC
I'm getting the exact same error except I'm not seeing the /tls directory like
others. This is my result:

ldd
/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_access/pam_access.so
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /usr/lib/libnsl.so.1 (0xb7fd3000)
        libc.so.6 => /lib/libc.so.6 (0xb7ebb000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7eb3000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0xb7eaf000)
Comment 29 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-20 00:59:14 UTC
Ok, stupid question .. where does the /usr/lib/libdl.so.6 and
/usr/lib/libnsl.so.1 come from ?  And Russel ... /usr/lib/libc.so.6?  I am
pretty sure we never had any of those in /usr/lib ...  Can you guys merge epm
and do:

  # epm -qf <file>

for each of those ?
Comment 30 Russell Dwiggins 2005-07-20 20:38:36 UTC
epm -qf /usr/lib/libc.so.6     
file /usr/lib/libc.so.6 is not owned by any package     
     
epm -qf /lib/libnsl.so.1    
glibc-2.3.5    
    
epm -qf /lib/libpam.so.0   
pam-0.77   
  
epm -qf /lib/ld-linux.so.2  
glibc-2.3.5  
  
epm -qf /usr/lib/tls/i686/libdl.so.2 
file /usr/lib/tls/i686/libdl.so.2 is not owned by any package 
 
If anything, I'm learning about some cool new tools.  So libc.so.6 (this 
reminds me of redhat...is this an rpm dep?) and libdl.so2 are not owned by any 
packages...would these stop a pam build? 
   
Comment 31 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-20 23:59:24 UTC
I'm not sure where they come from (ie, was hoping you could tell me) ;)

Basically you want all the lib*.so.*'s of glibc in /lib, and the .a's in /usr/lib.

NOTE: You must however _NOT_ delete /usr/lib/libc.so, /usr/lib/libdl.so, etc!!!!
 They are needed, else everything links to the static version of the libraries.
 Ask if you are not sure which ones to remove, or if you already removed some,
how to get them back.
Comment 32 Russell Dwiggins 2005-07-21 16:15:09 UTC
Based on what you've said here, at least in my situation, all the files seem to 
be in the appropriate location(s). 
 
I'm really not sure what those files are (or where they came from) that are not 
owned by any package, but even after moving them away, pam will still not 
build. 
 
If you see something I'm not, please help out! ;) 
Comment 33 Russell Dwiggins 2005-07-21 16:40:29 UTC
Well...I got pam emerged.  It seems I did not completely move the unsed files 
mentioned above. 
 
Martin, thanks so much for your help. 
Comment 34 julakali 2005-07-27 15:57:50 UTC
so... I tried to remove that cracklib files in /usr , tried to deinstall and to
reinstall it, i just don't get pam emerged...
same error always.
don't know what to do know, why is the bug marked as resolved when it still exists??
Comment 35 julakali 2005-07-27 23:44:20 UTC
I'm very sorry, it works now.
Seems that I forgot a file, too..
Comment 36 Jakub Moc (RETIRED) gentoo-dev 2005-07-28 18:52:34 UTC
*** Bug 100658 has been marked as a duplicate of this bug. ***
Comment 37 Volker Hemmann 2005-07-28 18:55:11 UTC
oh, 
sorry 
 
when I searched for 'pam-0.78-r2' it showed 'zarro bugs found'. 
Comment 38 Martin Schlemmer (RETIRED) gentoo-dev 2005-08-01 07:43:44 UTC
Ok, Ill reopen it for now.  If you still have this issue, please do:

  # ldd
/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/<module_with_issues>/<module_with_issues>.so

and post that here as first thing _before_ complaining.

Please note that this is most likely _NOT_ a pam issue, but:
1) Most probably due to the use of prelink, and then 'emerge -C prelink'.  I
think we should really start to think about adding a bug about removing prelink
to the guide if not there.
2) Some other reason that keeps old libraries around.
Comment 39 Volker Hemmann 2005-08-01 09:16:23 UTC
Hi, 
 
ok, I solved it for me last night: 
 
/usr/lib/libdl.so.2 was a broken symlink. 
 
Instead to /lib/libdl.so.2 it pointed to ../../libdl.so.2 
 
After removing it and linking to /lib/libdl.so.2 pam emerged fine. 
 
 
BUT and this is a big but, I never touched libdl* before, so something broke the 
symlink. 
Comment 40 Lance Spaulding 2005-08-08 11:42:01 UTC
I'm having the same problem also (on multiple machines).  Here's the last part
of my 'emerge pam':

make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_warn'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_wheel.so /var/tmp/portage/pam-0.78-r2/image//lib/security
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_xauth.so /var/tmp/portage/pam-0.78-r2/image//lib/security
test -d /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8 || mkdir -p
/var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8
/bin/install -c -m 644 pam_xauth.8
/var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8/
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
make[1]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules'
 * Checking if all modules were built...

 * ERROR: pam_access have dependencies in /usr.


!!! ERROR: sys-libs/pam-0.78-r2 failed.
!!! Function src_install, Line 306, Exitcode 0
!!! pam_access have dependencies in /usr.
!!! If you need support, post the topmost build error, NOT this status message.


Here's the ldd output:
ldd /var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth/pam_xauth.so
        libc.so.6 => /lib/libc.so.6 (0x40023000)
        libpam.so.0 => /lib/libpam.so.0 (0x40156000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0x4015e000)

All 4 of these libraries exist.  What am I missing?

Thanks,
Lance
Comment 41 A J 2005-10-08 16:28:12 UTC
I'm having the same problem when trying to do an emerge world:

*** Building pam-unix module of the framework...

mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
install -m 755 pam_unix.so /var/tmp/portage/pam-0.78-r2/image//lib/security
for x in pam_unix_auth pam_unix_acct pam_unix_passwd pam_unix_session;\
        do ln -sf pam_unix.so
/var/tmp/portage/pam-0.78-r2/image//lib/security/$x.so ; done
mkdir -p /var/tmp/portage/pam-0.78-r2/image//usr/sbin
install -m 4555 unix_chkpwd /var/tmp/portage/pam-0.78-r2/image//usr/sbin
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_unix'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_warn'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_warn.so /var/tmp/portage/pam-0.78-r2/image//lib/security
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_warn'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_wheel.so /var/tmp/portage/pam-0.78-r2/image//lib/security
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_xauth.so /var/tmp/portage/pam-0.78-r2/image//lib/security
test -d /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8 || mkdir -p
/var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8
/bin/install -c -m 644 pam_xauth.8
/var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8/
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
make[1]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules'
 * Checking if all modules were built...

 * ERROR: pam_access have dependencies in /usr.


!!! ERROR: sys-libs/pam-0.78-r2 failed.
!!! Function src_install, Line 306, Exitcode 0
!!! pam_access have dependencies in /usr.
!!! If you need support, post the topmost build error, NOT this status message.

And emerge --info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5
(#1,May 11 2005, 23:18:36)]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.5, 1.4_p6, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/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/lib/X11/xkb
/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=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi acpi4linux alsa arts bash-completion cdr chroot crypt curl dga
gif gpgme gtk2 imap java javascript jpeg kde libwww mozilla mozsvg mozxmlterm
mp3 ncurses nogcj nptl ofx opengl pam perl png pnp postgres pwdb qt radeon
readline sasl sse ssl svga tcpd threads truetype truetype-fonts type1-fonts usb
vim-with-x xemacs xgetdefault xml xml2 xmms zlib video_cards_radeon userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 42 A J 2005-10-08 16:29:18 UTC
and here is the output of ldd
/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_access/pam_access.so

        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /usr/lib/libnsl.so.1 (0xb7fc5000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7eb2000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7eaa000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0xb7ea6000)
Comment 43 Andreas Raster 2005-10-18 11:05:48 UTC
I've got that pam-does-not-emerge Problem. Here is the output of ldd:
 
ldd 
/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_access/pam_access.so
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7fbc000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7ea4000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7e9c000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0xb7e98000)
Comment 44 Andreas Raster 2005-10-18 11:17:10 UTC
Ok, the solution was quite easy for me.

Examined the files mentioned by ldd with epm -qf. Found out that
/usr/lib/libdl.so.2 wasn't owned by glibc-2.3.5, found /lib/libdl.so.2 to be the
one pam SHOULD link to, removed /usr/lib/libdl.so.2, added /lib to
/etc/ld.so.conf, emerge -d pam ...

>>> sys-libs/pam-0.78-r2 merged.
>>> Recording sys-libs/pam in "world" favorites file...
Comment 45 Brandon Low (RETIRED) gentoo-dev 2005-11-20 07:20:05 UTC
It looks to me like this bug is not a bug, but reveals other files which have
somehow been left behind by bad unmerges or similar in the past.
Comment 46 Aaron Peterson 2005-11-27 23:23:03 UTC
I'm trying to figure out exactly what to do... If this is a problem with prelink
(which I have done.. then prelink -amfR should fix it??! )


escargot ~ # ldd
/mnt/sata2/portage_tempdir/portage/pam-0.78-r3/work/Linux-PAM-0.78/modules/pam_access/p
am_access.so
        linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7eb5000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7d9e000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7d96000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d92000)

Comment 47 Brian Nickel 2006-03-29 22:36:26 UTC
139) /usr/portage # equery belongs /lib/libdl.so.2
[ Searching for file(s) /lib/libdl.so.2 in *... ]
sys-libs/glibc-2.4-r1 (/lib/libdl.so.2 -> libdl-2.4.so)

This just recropped up for me.
Comment 48 Jason McIntosh 2006-04-13 07:42:07 UTC
(In reply to comment #47)
> 139) /usr/portage # equery belongs /lib/libdl.so.2
> [ Searching for file(s) /lib/libdl.so.2 in *... ]
> sys-libs/glibc-2.4-r1 (/lib/libdl.so.2 -> libdl-2.4.so)
> 
> This just recropped up for me.
> 
Just hit this too.  I DID get around it though.  First, in /usr/lib I had a link to ../../libdl.so.2 that I had to remove (you need libdl.so.2, just not that exact link name in /usr/lib).  Second, and I'm not sure if this was the same issue, but I had a libcwait.so file that is for installing Oracle.  I had to temporarily move this library to /tmp, and then was able to get pam to install fine.
Comment 49 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-21 08:49:25 UTC
In all cases this seems to be caused by local problems, 0.78-r{3,5} work just fine in a clean system.
Anyway this will be worked around someway in 0.99 to avoid this kind of problem, I hope.
Comment 50 Tim Ryan 2006-09-05 09:13:03 UTC
I have this problem after upgrading gcc to 4.1.1 and glibc to 2.4. This was a clean install the day before these were made stable. I have switched to the 2006.1/desktop profile and followed the gcc upgrade guide. This is the only package that will not compile. Everyyhing else is running fine.

isisdvp1 etc # equery b /usr/lib/libdl.so
[ Searching for file(s) /usr/lib/libdl.so in *... ]
sys-libs/glibc-2.4-r3 (/usr/lib/libdl.so -> ../../lib/libdl.so.2)

It looks like glibc is putting this link in /usr and pam does not like it.