Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 101748

Summary: courier-authlib
Product: Gentoo Linux Reporter: Tom Ribbens <tom2020>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Ribbens 2005-08-08 07:09:23 UTC
Courier-authlib fails to build. I've tried all versions in portage (.55 first,
as it's marked stable, but also .57 by unmasking). They always give about the
same error.

I also put vpopmail in my package.keywords, because i read that it could have
something to do with that, but that didn't help either.


[snip]
Linking libauthuserdb.la
Compiling authpam.c
Compiling preauthpam.c
Linking libauthpam.la
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib64/libshadow.a(commonio.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libshadow.a(commonio.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthpam.la] Error 1
make[2]: Leaving directory
`/var/tmp/portage/courier-authlib-0.57/work/courier-authlib-0.57'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/courier-authlib-0.57/work/courier-authlib-0.57'
make: *** [all] Error 2




Reproducible: Always
Steps to Reproduce:
1. emerge courier-authlib
2.
3.




Here is emerge info:
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
PKGDIR="/usr/portage/packages/x86_64-pc-linux-gnu/k8"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 acl alsa apache2 avi bash-completion bashlogger berkdb bitmap-fonts
crypt cscope cups eds encode foomaticdb fortran gif gpm gstreamer gtk2 imap
imlib ipv6 java jpeg ldap lzw lzw-tiff maildir mp3 mpeg mysql ncurses nls opengl
pam pdflib perl png python quicktime readline samba sdl sftplogging spell ssl
tcpd tiff truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-08 07:15:24 UTC
Remove -fPIC from your CFLAGS and re-emerge/upgrade shadow.

*** This bug has been marked as a duplicate of 99467 ***