Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107868 - pam_cracklib have dependencies in /usr
Summary: pam_cracklib have dependencies in /usr
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 04:13 UTC by Matze Braun
Modified: 2005-10-02 08:46 UTC (History)
0 users

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 Matze Braun 2005-10-02 04:13:44 UTC
(This bug seems to be the same as #98386 and #85069, but I'm not allowed to
reopen them.)

I have the problem with pam_cracklib depending on libs in /usr. When emering
pam-0.78-r2 I get the following messages at the end:

 * Checking if all modules were built...

 * ERROR: pam_cracklib have dependencies in /usr.

This is because there is indeed a dependency to cracklib in /usr/lib:
   taylor ~ # ldd
/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_cracklib/pam_cracklib.so
        linux-gate.so.1 =>  (0xffffe000)
        libcrack.so.2 => /usr/lib/libcrack.so.2 (0xb7f79000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f4b000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e31000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7e29000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e25000)

Reemerging cracklib didn't help it was still installing cracklib into /usr/lib
and therefore emerging pam still didn't work.

emerge --info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.12
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]ccache version 2.3 [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5-r2
sys-apps/sandbox:    1.2.10
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
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 alsa apache2 avi bash-completion berkdb bitmap-fonts cdr crypt
cscope cups curl doc dvd eds emboss encode examples fam flac foomaticdb fortran
gd gdbm gif gnome gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 jack
jpeg junit libg++ libwww lirc mad maildir mikmod mozilla mp3 mpeg mysql ncurses
nls nptl offensive ogg oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline ruby samba sdl slang speex spell sqlite ssl tcltk tcpd tetex
tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Matze Braun 2005-10-02 08:46:01 UTC
Hmm it turned out that I had /usr/lib/libcrack.so.2 and /usr/lib/libcrack.so.2.7
on my box. The 2 files were not listed as contents of the cracklib package. I
don't really know why I had them. Anyway removing them and reemerging cracklib
and pam after that worked.