Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105711 - emerge of courier-authlib fails with linking of libauthpam.la recompile with -fPIC
Summary: emerge of courier-authlib fails with linking of libauthpam.la recompile with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Scott Taylor (RETIRED)
URL:
Whiteboard:
Keywords:
: 107368 108087 111493 119066 123592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-12 10:15 UTC by Hans Ahlén
Modified: 2006-02-21 03:29 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 Hans Ahlén 2005-09-12 10:15:14 UTC
Linking libauthpam.la
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../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

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

Actual Results:  
The ebuild faild to build


Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.11-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 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.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/
http://ftp.du.se/pub/os/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.du.se/pub/os/gentoo"
LINGUAS="sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 apache2 authdaemond avi berkdb bidi bitmap-fonts cdr
crypt cups curl dba dts dvd eds emboss encode faad fam foomaticdb fortran gd
gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg kde libwww lzw
lzw-tiff mad matroska mp3 mpeg mysql ncurses nls oav ogg oggvorbis opengl pam
pdflib perl php png python qt quicktime readline samba sdl ssl tcltk tcpd tiff
truetype-fonts truetypevhosts type1-fonts usb userlocales vorbis wxgtk1
wxwindows xml2 xpm xv zlib linguas_sv userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Adam Sacarny 2005-09-13 18:07:07 UTC
I can confirm this problem on my system as well. Any suggestions?

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 x86_64)
Comment 2 Richard Freeman gentoo-dev 2005-09-22 18:24:43 UTC
I also am having this issue.  

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo
-r9-rf36 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9-rf36 x86_64 AMD Athlon(tm) 64 Processor 3000+
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
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
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="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb
-fstack-protecto
r"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home /opt/zetagrid /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/kd
e/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib
64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/tex
mf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/freenet /var/qmail/control /var/www"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer -frename-registers -fweb
-fstack-protec
tor"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks multilib-strict nostrip sandbox
sfperms str
ict userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo
http://ge
ntoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 4kstacks X aac aalib aim alsa apache2 arts avi bash-completion berkdb
bitmap-fo
nts bonobo canna cdparanoia cdr crypt css cups curl dba dts dv dvd eds emboss
encode esd e
thereal fam fbcon firefox flac foomaticdb fortran freetype gd gdbm gif gimpprint
glut gmai
l gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv imagemagick imap
imlib innodb j
abber jack java jpeg junit kde kerberos ldap libwww lm_sensors lzw lzw-tiff mad
maildir me
mlimit mikmod motif mozilla mozsvg mp3 mpeg mpeg4 mplayer msn mysql ncurses nls
nptl ntlm
oav ogg oggvorbis opengl pam pda pdflib perl php png python qt quicktime
readline ruby sam
ba sasl sdl session slang smime speex spell ssl svg tcltk tcpd tetex theora tiff
timidity
truetype truetype-fonts type1-fonts usb userlocales vorbis wmf xine xml xml2
xmms xpm xv x
vid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Richard Freeman gentoo-dev 2005-09-22 18:48:21 UTC
Ok, emerge shadow, then emerge courier-authlib.  That should work.

Somebody fixed a bug in shadow on Jul 20th and decided that it would be a good
idea not to bump the version on the ebuild - that way anybody who already had it
installed would still be susceptible to the bug.  A recompiled shadow will not
install /usr/lib64/libshadow.a - eliminating the compile error (apparently it
builds fine without it).  My guess is they didn't figure that leaving the extra
library in the filesystem was a big deal.  (Sorry - modifying ebuilds without
bumping their revision is one of those pet peeves - what is the point of testing
them and marking them stable if we then change them?)
Comment 4 Pat Erley 2005-09-23 17:46:52 UTC
why not rev bump shadow now to force fix all these people?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-10-04 09:21:57 UTC
*** Bug 108087 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-10-04 09:28:15 UTC
Can we mark sys-apps/shadow-4.0.7-r4 stable?
Comment 7 SpanKY gentoo-dev 2005-10-04 16:43:03 UTC
shadow-4.0.7-r4 now in stable
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-10-05 03:35:04 UTC
*** Bug 107368 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-11-04 09:45:21 UTC
*** Bug 111493 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 03:15:35 UTC
*** Bug 119066 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-02-21 03:29:58 UTC
*** Bug 123592 has been marked as a duplicate of this bug. ***