Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76716 - dev-games/crystalspace-0.98.4 emerge failed with "...failed updating 1 target(s)..."
Summary: dev-games/crystalspace-0.98.4 emerge failed with "...failed updating 1 target...
Status: VERIFIED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 19:50 UTC by Rick
Modified: 2005-05-19 09:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output from emerge crystalspace (log,185.76 KB, text/plain)
2005-01-06 04:23 UTC, Rick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick 2005-01-04 19:50:17 UTC
As sort of an FYI (I don't think it's related to the following problem): when I first tried to emerge crystal space a compilation error was output asking me to add -fPIC to my gcc flags. So I did.  I don't know if it's only a x86_64 thing or not, but is possable to make sure it's in the cflags? 

Now however, it fails with a different error.


Reproducible: Always
Steps to Reproduce:
1.emerge crystalspace
2.
3.

Actual Results:  
MkDir1 ./out/linux/optimize/plugins/video/renderer/software
C++ ./out/linux/optimize/plugins/video/renderer/software/scan.o
C++ ./out/linux/optimize/plugins/video/renderer/software/scan16.o
In file included from plugins/video/renderer/software/scan16.cpp:370:
plugins/video/renderer/software/scanln.inc: In function `void
csScan_16_scan_map_filt_zfil(int, unsigned char*, uint32*, float, float, float)':
plugins/video/renderer/software/scanln.inc:182: warning: cast from pointer to
integer of different sizeC++
./out/linux/optimize/plugins/video/renderer/software/scan32.o
C++ ./out/linux/optimize/plugins/video/renderer/software/halo.o
C++ ./out/linux/optimize/plugins/video/renderer/software/soft_txt.o
C++ ./out/linux/optimize/plugins/video/renderer/software/sft3dcom.o
C++ ./out/linux/optimize/plugins/video/renderer/software/soft_g3d.o
C++ ./out/linux/optimize/plugins/video/renderer/software/tcache.o
C++ ./out/linux/optimize/plugins/video/renderer/software/drawpmap.o
LinkPlugin soft3d.so
Copy soft3d.csplugin
...failed updating 1 target(s)...
...updated 1085 target(s)...

!!! ERROR: dev-games/crystalspace-0.98.4 failed.
!!! Function src_compile, Line 47, Exitcode 1
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.

It seems to be a build script error instead of actual compilation error, and it
doesn't give a whole lot of information to go on.

Expected Results:  
emerge successfully completed.

# emerge info
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64 x86"
AUTOCLEAN="yes"
CFLAGS=" -O3 -pipe -march=athlon64 -ftracer -fPIC "
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=" -O3 -pipe -march=athlon64 -ftracer -fPIC "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
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 aalib acpi aim alsa apach2 audiofile avi berkdb bitmap-fonts bonobo
bzlib cddb cdparanoia cdr crypt cscope cups curl curlwrappers dedicated dga dio
directfb divx4linux doc dvd dvdr dvdread encode escreen esd ethereal etwin evo
exif f77 fam fbcon flac flash foomaticdb fortran ftp gb gd gdbm ggi gif gnutils
gpm graphviz gstreamer gtk gtk2 gtkhtml guile hbci icq imagemagick imlib innodb
ipv6 irmc jabber jack java javascript jikes joystick jp2 jpeg ladcca lcms
libcaca libedit libgda libwww lirc lzw lzw-tiff mad matroska mcal mikmod mime
ming mmap mng mozdevelop moznoirc moznomail mozsvg mpeg msn multilib mysql
mythtv nas ncurses network nls nocd nowin nvidia odbc offensive ofx oggvorbis
openal opengl opie oscar pam pda pdflib perl php plotutils png portaudio ppds
python qt quicktime readline rtc ruby samba sdl shared sharedmem simplexml slang
slp sndfile snmp soap sockets speex spell ssl szip tcltk tcpd tetex theora
threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb
userlocales v4l2 videos wmf wxwindows xanim xface xine xinerama xml xml2 xmlrpc
xmms xosd xpm xprint xrandr xsl xv xvid xvmc yahoo yaz zlib zvbi"
Comment 1 SpanKY gentoo-dev 2005-01-05 18:50:14 UTC
you posted a warning, not an error

`emerge crystalspace >& log` and post log as an attachment please
Comment 2 Rick 2005-01-06 04:23:21 UTC
Created attachment 47756 [details]
output from emerge crystalspace

here is the output
Comment 3 SpanKY gentoo-dev 2005-01-06 18:07:37 UTC
C++ ./out/linux/optimize/plugins/physics/odedynam/odedynam.o 
LinkPlugin odedynam.so 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libode.a(ode.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libode.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

    g++ -o odedynam.so ./out/linux/optimize/plugins/physics/odedynam/odedynam.o  ./out/linux/optimize/libs/csgeom/libcsgeom.a ./out/linux/optimize/libs/csutil/libcsutil.a -lm -ldl -lnsl -L/usr/local/lib -shared -lpthread -lz -lode \
      -Wl,-soname,odedynam.so
  
...failed LinkPlugin odedynam.so ...
Comment 4 Rick 2005-01-07 03:39:43 UTC
thanks, I didn't go back far enough in the build output. I posted bug #77004 based on this information.  Once I got ode to merge properly, crystalspace successfully merged. 
Comment 5 SpanKY gentoo-dev 2005-01-07 11:11:48 UTC
sounds good

*** This bug has been marked as a duplicate of 77004 ***
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:07:02 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.