Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47270 - sys-libs/pam-0.77-r1 failed
Summary: sys-libs/pam-0.77-r1 failed
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 14:22 UTC by Duncan Folkes
Modified: 2004-11-13 14:39 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 Duncan Folkes 2004-04-08 14:22:27 UTC
When I try to emerge PAM the ebuild fails with the above error:

config.y:327: warning: `set_permissions_single' defined but not used
config.y:367: warning: `reset_permissions_single' defined but not used
config.lex.c:1432: warning: `_pc_yy_delete_buffer' defined but not used
config.lex.c:1549: warning: `_pc_yy_scan_string' defined but not used
config.lex.c:1227: warning: `yyunput' defined but not used
config.y:467: warning: `do_yyerror' defined but not used
gcc -shared -L/var/tmp/portage/pam-0.77-r1/work/Linux-PAM-0.77/lib -o pam_console.so dynamic/pam_console.o //usr/lib/libglib.a -L../pammodutil -lpammodutil -lc
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: //usr/lib/libglib.a(ghash.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
//usr/lib/libglib.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [pam_console.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/pam-0.77-r1/work/Linux-PAM-0.77/modules/pam_console'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/pam-0.77-r1/work/Linux-PAM-0.77/modules'
make: *** [modules] Error 2

!!! ERROR: sys-libs/pam-0.77-r1 failed.
!!! Function src_compile, Line 214, Exitcode 2
!!! PAM build failed


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. ACCEPT_KEYWORDS="~amd64" emerge pam

Actual Results:  
Ebuild fails 

Expected Results:  
I expected that the Ebuild would succeed 

Portage 2.0.50-r3 (default-amd64-2004.0, gcc-3.3.3, 
glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1) 
================================================================= 
System uname: 2.6.4-gentoo-r1 x86_64 4 
Gentoo Base System version 1.4.3.13p1 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O3" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif 
gnome gphoto2 gpm gtk gtk2 guile imlib jpeg libg++ libwww mikmod motif mozilla 
mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres 
python quicktime readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv 
zlib"
Comment 1 Kris Kersey (RETIRED) gentoo-dev 2004-04-15 11:25:28 UTC
I currently have the package emerged without issue.  WORKS FOR ME.
Comment 2 Henri 2004-11-09 04:22:45 UTC
Me too!

Maybe my mistake...
Anyway the second try of merging did all well. 
Sorry for bothering.
Comment 3 Qubax 2004-11-13 14:39:12 UTC
what did you do? several tries, no go