Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102072 - ERROR: app-misc/vlock-1.3-r2 failed. (I do not have pam in my system)
Summary: ERROR: app-misc/vlock-1.3-r2 failed. (I do not have pam in my system)
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Shell Tools Herd Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 20:51 UTC by Alexey Maximov
Modified: 2005-08-11 02:28 UTC (History)
1 user (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 Alexey Maximov 2005-08-10 20:51:47 UTC
gcc -ldl -lpam -lpam_misc  vlock.o signals.o help.o terminal.o input.o   -o vlock
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
make: *** [vlock] Error 1

!!! ERROR: app-misc/vlock-1.3-r2 failed.
!!! Function src_compile, Line 19, Exitcode 2




localhost ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5.20050722-r0, 2.6.12-gentoo-r7 i686)
=================================================================
System uname: 2.6.12-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
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.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.91.0.2
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frename-registers"
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/texmf/web2c /etc/env.d"
CXXFLAGS="  -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/media/hda8/gentoo/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks prelink sandbox sfperms strict strip"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags "
LINGUAS="ru"
MAKEOPTS="-j1"
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 acl acpi alsa apache2 bash-completion bzip2 crypt cups curl dbus dvdr exif firefox gif gnome gpm gsm gtk2 hal javascript jpeg logrotate mad mailwrapper mmx moznocompose moznoirc moznomail mp3 ncurses nls nptl oggvorbis opengl oss pic png readline samba slang socks5 sse ssl svg tiff truetype unicode xprint xv zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-08-10 23:51:11 UTC
vlock-1.3-r2.ebuild:

...
DEPEND="sys-libs/pam"
...

vlock depends on pam so it wouldn't compile without it. Did you emerge it with
--nodeps?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 00:15:13 UTC
This depends on pam, so please clarify what you did.
Comment 3 Alexey Maximov 2005-08-11 01:11:06 UTC
localhost ~ # emerge -pv vlock

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-misc/vlock-1.3-r2  0 kB

Total size of downloads: 0 kB
localhost ~ # emerge vlock
Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/vlock-1.3-r2 to /
>>> md5 files   ;-) vlock-1.3-r1.ebuild
>>> md5 files   ;-) vlock-1.3-r2.ebuild
>>> md5 files   ;-) files/digest-vlock-1.3-r1
>>> md5 files   ;-) files/digest-vlock-1.3-r2
>>> md5 files   ;-) files/vlock.pamd
>>> md5 src_uri ;-) vlock-1.3.tar.gz
>>> Unpacking source...
>>> Unpacking vlock-1.3.tar.gz to /var/tmp/portage/vlock-1.3-r2/work
>>> Source unpacked.
gcc -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frena
me-registers -DUSE_PAM   -c -o vlock.o vlock.c
gcc -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frena
me-registers -DUSE_PAM   -c -o signals.o signals.c
gcc -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frena
me-registers -DUSE_PAM   -c -o help.o help.c
gcc -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frena
me-registers -DUSE_PAM   -c -o terminal.o terminal.c
gcc -march=i686 -pipe -fomit-frame-pointer -O2 -ftracer -ffast-math -fweb -frena
me-registers -DUSE_PAM   -c -o input.o input.c
gcc -ldl -lpam -lpam_misc  vlock.o signals.o help.o terminal.o input.o   -o vloc k
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: canno
t find -lpam
collect2: ld returned 1 exit status
make: *** [vlock] Error 1

!!! ERROR: app-misc/vlock-1.3-r2 failed.
!!! Function src_compile, Line 19, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

localhost ~ #




localhost / # emerge -pv pam

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-libs/pam-0.78-r2  -berkdb -nis -pam_chroot -pam_console
-pam_timestamp -pwdb (-selinux) 0 kB

Total size of downloads: 0 kB
localhost / #


NO PAM.

:)



Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 02:16:42 UTC
If you don't have pam, this ebuild won't work for you so you can safely forget
that it exists. Nevertheless, I have no idea why the depend does not work. 
Comment 5 Alexey Maximov 2005-08-11 02:23:53 UTC
I know :)

b/c I have 

in /etc/portage/profile/package.provided 

string

sys-libs/pam-99.99

;-))

the configure script should check the libs like a pam and fail if something wrong
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 02:27:39 UTC
(In reply to comment #5)
> in /etc/portage/profile/package.provided 
> 
> string
> 
> sys-libs/pam-99.99

Reopening to mark as invalid, shell-tools herd, sorry for the noise. 

> the configure script should check the libs like a pam and fail if something wrong
> 

The above quoted package.provided entry is seriously a stupid thing to do for
USE="-pam" system. 
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 02:28:06 UTC
INVALID.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 02:28:39 UTC
.