Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85294 - -fPIC error during compile of kdebase 3.4.0
Summary: -fPIC error during compile of kdebase 3.4.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 19:23 UTC by Jeff Norman
Modified: 2005-03-15 10:38 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 Jeff Norman 2005-03-14 19:23:32 UTC
Attempting compile of final (post-RC1) kde 3.4.0.  Note that rc1 compiled without any problem on my system.  Also, note that since the tarballs are not yet on the main mirrors (but the 3.4.0 ebuild is made available and unmasked from emerge sync) I did have to modify the ebuild SRC_URI to point to the tarballs but this did not present any problems once I modified all the KDE 3.4.0 ebuilds.

Reproducible: Always
Steps to Reproduce:
1. Modify ebuilds to point SRC_URI to the right location to get the tarballs (used debian site)
2. emerge kdebase
3.

Actual Results:  
... 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/kde/3.4/lib/libkdefakes_nonpic.a(fakes_nonpic.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC 
/usr/kde/3.4/lib/libkdefakes_nonpic.a: could not read symbols: Bad value 
collect2: ld returned 1 exit status 
make[4]: *** [ksysguardd] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/kdebase-3.4.0/work/kdebase-3.4.0/ksysguard/ksysguardd' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/kdebase-3.4.0/work/kdebase-3.4.0/ksysguard/ksysguardd' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdebase-3.4.0/work/kdebase-3.4.0/ksysguard' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.4.0/work/kdebase-3.4.0' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdebase-3.4.0 failed. 
!!! Function kde_src_compile, Line 166, Exitcode 2 
!!! died running emake, kde_src_compile:make       

Expected Results:  
Finished compilation 

pteron ~ # emerge info 
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, 
glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 x86_64) 
================================================================= 
System uname: 2.6.11-gentoo-r2 x86_64 AMD Opteron(tm) Processor 240 
Gentoo Base System version 1.6.10 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  1 2005, 03:07:41)] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r6 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.8.1-r3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=opteron -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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=opteron -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" 
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo 
http://gentoo.chem.wisc.edu/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
USE="X aac acpi aim alsa amd64 arts audiofile avantgo avi bash-completion 
berkdb bitmap-fonts cdparanoia cdr crypt cups dcop directfb doc dvd dvdr 
dvdread esd fam fbcon font-server fortran gif gnome gpm gstreamer gtk gtk2 
hardened ieee1394 imagemagick imlib ipv6 java javascript jce jp2 jpeg kde 
kdeenablefinal kdepim lzw lzw-tiff mime mozilla mp3 mpeg multilib ncurses nls 
nptl ogg oggvorbis openal opengl opie oss pam pdflib perl png ppds prelude 
python qt readline samba sox ssl tcltk tcpd threads tiff truetype 
truetype-fonts type1-fonts usb userlocales v4l2 wifi xine xinerama xml2 xpm 
xrandr xscreensaver xv xvid zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-15 10:38:17 UTC
The kde-3.4 ebuilds are not ready to be used yet, please reopen if this problem persist after the official tarballs are released.