Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114201 - emerge =dev-lang/perl-5.8.7-r2 success, but other packages fails because of that
Summary: emerge =dev-lang/perl-5.8.7-r2 success, but other packages fails because of that
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Low major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 15:01 UTC by David Watzke
Modified: 2005-12-05 06:46 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 David Watzke 2005-12-01 15:01:49 UTC
This version on Perl is broken. When I tryin' to compile gaim w/ perl flag, or 
gnumeric, I see this error: 
*** Warning: Linking the shared library perl_loader.la against the 
*** static 
library /usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a is not 
portable! 
x86_64-pc-linux-gnu-gcc 
-shared  .libs/boot.o .libs/perl-loader.o .libs/perl-gnumeric.o .libs/xsinit.o  /usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.7/x86_64-linux/CORE -lperl -lpthread -lnsl -ldl -lcrypt 
-lutil -lc -lm  -march=athlon64 -Wl,-soname -Wl,perl_loader.so 
-o .libs/perl_loader.so 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC 
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a: could not read 
symbols: Bad value 
collect2: ld returned 1 exit status 
Same library.. DynaLoader.a. 
Please check it, thanks. 

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-lang/perl-5.8.7-r2 
2. USE=perl emerge =gaim-1.5.0 
Actual Results:  
Error... 

Expected Results:  
Successfully emerge it... 

I've got Perl w/ this flags: +berkdb -build -debug -doc +gdbm -ithreads 
-minimal -perlsuid 
 
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.6-r1, 
2.6.14-gentoo-r3-david x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r3-david x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.12.0_pre11 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.15 
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-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp.du.se/pub/os/gentoo 
http://gentoo.osuosl.org/" 
LANG="cs_CZ.UTF-8" 
LC_ALL="cs_CZ.UTF-8" 
LINGUAS="cs" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aac aalib acpi adns alsa apache2 apm audiofile avi 
bash-completion berkdb bitmap-fonts bonobo bzip2 caps cdparanoia cdr cups curl 
curlwrappers dbus dga dio directfb divx4linux dts dvd dvdr dvdread emboss 
emul-linux-86 encode exif fam fbcon ffmpeg flac flash foomaticdb fortran ftp 
gd gdbm ggi gif gpm gstreamer gtk gtk2 hal icq id3 id3v2 imagemagick imlib 
innodb ipv6 jabber javascript jpeg kde kdeenablefinal lcms ldap libcaca libwww 
lm_sensors lzw lzw-tiff mad matroska mbox mhash mikmod mime ming mng mp3 mpeg 
mplayer mysql mysqli ncurses nis nls nptl nptlonly nvidia ogg oggvorbis openal 
opengl osc oscar pam pcntl pcre pdflib perl php pic png posix ppds python qt 
quicktime readline real recode sdl session skey slang slp sockets socks5 sox 
speex sqlite ssl svg symlink tcpd theora threads tiff truetype truetype-fonts 
type1-fonts udev unicode usb userlocales utf8 v4l vcd vorbis wmf xine xml xml2 
xpm xv xvid zlib linguas_cs userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 David Watzke 2005-12-02 05:09:38 UTC
And by the way.. If I emerge -r1 Perl, then 
>>> app-office/gnumeric-1.6.0 merged. :-) 
Comment 2 Jeremy Drake 2005-12-03 11:38:12 UTC
I had the same issues with the new version of the perl ebuild, when I was trying
to install mod_perl

It appears that between 5.8.7-r1 and -r2 a patch to solve this very problem was
commented out in the ebuild.  I copied the ebuild to my portage overlay dir,
uncommented the patch, remerged perl, and then everything worked again.

This is the line (line 94 of perl-5.8.7-r2.ebuild):
cd ${S}; epatch ${FILESDIR}/${PN}-picdl.patch
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-12-05 06:46:56 UTC
that was a mistake on my part mixing a test environment with a commit
environment. if you emerge sync the patch is uncommented again.