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

Bug 171154

Summary: [fPIC] app-pda/synce-kde-0.9.1 fails on amd64
Product: Gentoo Linux Reporter: Txukie <albertodetena>
Component: [OLD] KDEAssignee: AMD64 Project <amd64>
Status: RESOLVED NEEDINFO    
Severity: normal CC: iaindb, pacho
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 178807    
Bug Blocks:    

Description Txukie 2007-03-16 11:37:38 UTC
I'm trying to compile the package synce-kde on EM64T.
I've read the info found here http://www.gentoo.org/proj/en/base/...hap=3#doc_chap7
But still can't resolve my problem as I'm not sure what to do. I'm quite a rookie gentoo user!
I tried compiling rsync with a static USE but still that didn't solve my problem.

This is the error whilst compiling:

.........
PORT  -D_REENTRANT -I/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files -I/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/client  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o agsyncconfigimpl.moc.lo agsyncconfigimpl.moc.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common    -o rakiagsync.la -rpath /usr/lib64/kde3 -avoid-version -module -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -L/usr/kde/3.5/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64  --whole_archive -rdynamic agsync.lo agsyncfactory.lo syncstream.lo agsyncconfigimpl.lo serverconfigimpl.lo avantgoclientinstallationdialogimpl.lo agsyncconfig.lo serverconfig.lo avantgoclientinstallationdialog.lo agsync.moc.lo agsyncfactory.moc.lo agsyncconfigimpl.moc.lo  /var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a

*** Warning: Linking the shared library rakiagsync.la against the
*** static library /var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a is not portable!
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a(AGUserConfig.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [rakiagsync.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/raki/plugins/agsync'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/raki/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/raki'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1'
make: *** [all] Error 2

!!! ERROR: app-pda/synce-kde-0.9.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4740:   Called src_compile
  synce-kde-0.9.1.ebuild, line 43:   Called kde_src_compile
  kde.eclass, line 171:   Called kde_src_compile 'all'
  kde.eclass, line 341:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 337:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-pda/synce-kde-0.9.1/temp/build.log'.


And this is my emerge info:

$ emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 15 Mar 2007 08:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LINGUAS="es"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac alsa amd64 arts automount avahi berkdb bitmap-fonts blender-game bzip2 cairo cdda cddb cdparanoia cdr cli connectionstatus contactnotes cracklib crypt cups dbus divx dri dts dv dvb dvd dvdr dvdread eds emboss encode esd examples exif extrafilters fam fame ffmpeg firefox flac foomaticdb fortran fuse gdbm gif gmedia gnokii gpm groupwise gs gstreamer gtk2 hal highlight history iconv imagemagick ipod ipv6 irc isdnlog java javascript jbig jingle joystick jpeg jpeg2k kde kerberos lame latex ldap lesstif libg++ libnotify lirc live mad matroska midi mikmod motif mozdevelop mp3 mp3rtp mpeg mtp musepack musicbrainz ncurses neXt netmeeting new-login njb nls nowlistening nptl nptlonly nsplugin offensive ogg openal opengl oss pam pcre pda perl png ppds pppd python qt3 qt4 quicktime rdesktop readline realmedia reflection rtsp samba sametime scanner sdl sdl-image session sms spell spl ssl statistics stream svg tcl tcpd tetex texteffect tga theora threads tiff tk translator truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd visualization vlm vorbis webpresence winpopup wmp wxwindows x264 xanim xforms xml xorg xprint xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
1.revdep-rebuild
2.emerge synce-kde

Actual Results:  
Compilation error

Expected Results:  
Succesfull compilation
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-05-27 12:40:39 UTC
I'm trying to reproduce this bug so I can make a patch.I haven't had much success in getting the error, but could be much more successful if I had some more information. Would you post the *entire* log of the build?

/var/tmp/portage/app-pda/synce-kde-0.9.1/temp/build.log ought to be the file you want. Thanks.
Comment 2 Pacho Ramos gentoo-dev 2007-11-24 20:25:39 UTC
Seems fixed for me now:
app-pda/synce-kde-0.9.1  USE="-arts -avantgo -debug -xinerama" 

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sat, 24 Nov 2007 18:30:07 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 asf audiofile avahi bash-completion beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cpdflib cpudetection cracklib cross crypt cups curl daap dbus dga divx4linux djvu dlloader dri dts dvb dvd dvdr dvdread eds encode erandom escreen evo evolution exif fam fbcon ffmpeg flac foomaticdb fortran ftp galago gb gcj gd ggi gif gimp gimpprint glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp iconv idn imagemagick imlib isdnlog ithreads jabber java jpeg kde kdeenablefinal kdehiddenvisibility latex lcms libnotify lm_sensors logrotate mad madwifi midi mikmod mime mmx mmxext mng mono motif mp3 mpeg mpi mplayer mudflap musepack musicbrainz nas nautilus ncurses nethack network networkmanager nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl openmp pam pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection remote rtc scanner sdl seamonkey session slang slp sockets spell spl sse sse2 sse3 ssl startup-notification svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xattr xcomposite xine xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-10-02 11:17:32 UTC
Please reopen once you have attached the full build log.