Bug#604759: gst-entrans: FTBFS with binutils-gold because of missing symbols

Fabrice Coutadeur fabricesp at ubuntu.com
Wed Nov 24 05:51:34 UTC 2010


Package: gst-entrans
Version: 0.10.2-2
Severity: wishlist
Tags: patch

Hi,

Your package FTBFS when linking with binutils-gold or using --as-needed and not
linking to indirect libraries.
The relevant part of the FTBFS is:
...
libtool: link: gcc -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions -o elements/fields fields.o -pthread  /usr/lib/libgstcheck-0.10.so -lm /usr/lib/libgstreamer-0.10.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libxml2.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -lcheck_pic elements/libvideofilter.a -pthread
/usr/bin/ld: elements/libvideofilter.a(videofilter.o): undefined reference to symbol 'g_object_set_valist'
/usr/bin/ld: note: 'g_object_set_valist' is defined in DSO /usr/lib/libgobject-2.0.so so try adding it to the linker command line
/usr/lib/libgobject-2.0.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

The following patch allows the package to build:
--- gst-entrans-0.10.2.orig/tests/check/Makefile.in
+++ gst-entrans-0.10.2/tests/check/Makefile.in
@@ -406,7 +406,7 @@ TESTS = $(check_PROGRAMS)
 
 # these tests don't even pass
 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
-LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) elements/libvideofilter.a
+LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) elements/libvideofilter.a -lgobject-2.0 -lglib-2.0
 noinst_LIBRARIES = elements/libvideofilter.a
 elements_libvideofilter_a_SOURCES = elements/videofilter.c elements/videofilter.h
 
If you aren't able to apply it soon, just tell it to me, and I'll upload the fix
 to Ubuntu and we will sync later.

Thanks,
Fabrice



-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-23-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-gstreamer-maintainers mailing list