Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124358 - dev-libs/check-0.9.3 causes media-libs/gstreamer-0.10.3 compile to fail
Summary: dev-libs/check-0.9.3 causes media-libs/gstreamer-0.10.3 compile to fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 133101 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-27 22:23 UTC by Paul Taylor
Modified: 2006-06-22 13:21 UTC (History)
2 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 Paul Taylor 2006-02-27 22:23:53 UTC
# emerge -u gstreamer
[snip]
generating symbol list for `libgstcheck-0.10.la'
/usr/bin/nm -B  .libs/libgstcheck_0.10_la-gstcheck.o  | sed -n -e 's/^.*[      ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[  ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libgstcheck-0.10.exp
grep -E -e "_*(gst_|Gst|GST_).*" ".libs/libgstcheck-0.10.exp" > ".libs/libgstcheck-0.10.expT"
mv -f ".libs/libgstcheck-0.10.expT" ".libs/libgstcheck-0.10.exp"
echo "{ global:" > .libs/libgstcheck-0.10.ver
 cat .libs/libgstcheck-0.10.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libgstcheck-0.10.ver
 echo "local: *; };" >> .libs/libgstcheck-0.10.ver
 x86_64-pc-linux-gnu-gcc -shared  .libs/libgstcheck_0.10_la-gstcheck.o  -Wl,--rpath -Wl,/var/tmp/portage/gstreamer-0.10.3/work/gstreamer-0.10.3/gst/.libs /usr/lib64/libgobject-2.0.so /usr/lib64/libgthread-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lcheck ../../../gst/.libs/libgstreamer-0.10.so  -march=athlon64 -pthread -Wl,--export-dynamic -Wl,-soname -Wl,libgstcheck-0.10.so.0 -Wl,-version-script -Wl,.libs/libgstcheck-0.10.ver -o .libs/libgstcheck-0.10.so.0.3.0
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libcheck.a(check.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libcheck.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libgstcheck-0.10.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gstreamer-0.10.3/work/gstreamer-0.10.3/libs/gst/check'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gstreamer-0.10.3/work/gstreamer-0.10.3/libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gstreamer-0.10.3/work/gstreamer-0.10.3/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gstreamer-0.10.3/work/gstreamer-0.10.3'
make: *** [all] Error 2

!!! ERROR: media-libs/gstreamer-0.10.3 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Recompiling dev-libs/check-0.9.3 didn't help, and gstreamer-0.10.0 through 0.10.3 all fail with the same error.  gstreamer-0.8.12 doesn't have this problem.


Output of "emerge info":

Portage 2.1_pre5-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -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/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nostrip sfperms strict"
GENTOO_MIRRORS="http://bower/gentoo ftp://ftp.iinet.com.au/pub/Gentoo ftp://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org/"
LANG="en_AU"
LC_ALL="en_AU"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://bower/gentoo-portage"
USE="amd64 X a52 aac alsa arts audiofile bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr cdrom chroot crypt cups curl dpms dts dv dvb dvd dvdr dvdread eds emboss encode exif expat fame fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint gpm gps gstreamer gtk gtk2 hal idn ieee1394 imagemagick imap imlib ipv6 jack java jpeg jpeg2k junit kde lcms lirc lm_sensors lzo lzw lzw-tiff mad mmap mng mp3 mpeg mpeg4 musepack musicbrainz ncurses nls nptl nptlonly nvidia ogg oggvorbis openal opengl pam pda pdflib perl pic png ppds python qt quicktime readline real sdk sdl slang sndfile speex spell sqlite ssl svg tcpd test theora threads tiff truetype truetype-fonts type1-fonts usb userlocales vcd vorbis wmf xcomposite xml xml2 xpm xprint xscreensaver xv xvid xvmc yv12 zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-02-28 04:36:40 UTC
The issue is libcheck, its buggered up for amd64 using the standard ebuild...I have made an ebuild myself for it that works better, I'll try and dig it up.
Comment 2 Paul Taylor 2006-02-28 05:22:51 UTC
(Summary changed.)
Comment 3 Paul Taylor 2006-03-01 11:58:42 UTC
Fixed by dev-libs/check-0.9.3-r1 - thanks.
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-06-22 13:21:33 UTC
*** Bug 133101 has been marked as a duplicate of this bug. ***