Your message dated Mon, 15 Nov 2010 00:02:09 +0000
with message-id <e1phmwp-0005jn...@franck.debian.org>
and subject line Bug#603500: fixed in libinstpatch 1.0.0-2
has caused the Debian Bug report #603500,
regarding libinstpatch: FTBFS with binutils-gold when linking example, with 
undefined referenced symbol
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
603500: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603500
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libinstpatch
Version: 1.0.0-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

Hi,

libinstpatch FTBFS when linking the examples with --as-needed, default in 
binutils-gold.
Here is the relevant part of the build log:
...
Making all in examples
make[3]: Entering directory 
`/build/fabrice-libinstpatch_1.0.0-1ubuntu1-i386-Ux73Pd/libinstpatch-1.0.0/examples'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include      -g -O0 -Wall -c create_sf2.c
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O0 -Wall  
-Wl,-Bsymbolic-functions -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o 
create_sf2 create_sf2.o ../libinstpatch/libinstpatch-1.0.la -lgobject-2.0 
libtool: link: gcc -g -O0 -Wall -Wl,-Bsymbolic-functions -Wl,-O1 
-Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o .libs/create_sf2 create_sf2.o  
../libinstpatch/.libs/libinstpatch-1.0.so /usr/lib/libgobject-2.0.so -pthread
/usr/bin/ld: create_sf2.o: undefined reference to symbol 'g_clear_error'
/usr/bin/ld: note: 'g_clear_error' is defined in DSO /lib/libglib-2.0.so.0 so 
try adding it to the linker command line
/lib/libglib-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [create_sf2] Error 1

*** /tmp/tmp_cikdp
In Ubuntu, we've applied the attached patch to fix the FTBFS.

We thought you might be interested in doing the same. 

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
diff -Nru libinstpatch-1.0.0/debian/patches/06-fix-for-binutils-gold.patch libinstpatch-1.0.0/debian/patches/06-fix-for-binutils-gold.patch
--- libinstpatch-1.0.0/debian/patches/06-fix-for-binutils-gold.patch	1970-01-01 01:00:00.000000000 +0100
+++ libinstpatch-1.0.0/debian/patches/06-fix-for-binutils-gold.patch	2010-11-14 16:10:32.000000000 +0100
@@ -0,0 +1,15 @@
+Description: Fix Makefile.am in examples to avoid a FTBFS with binutils-gold, by
+ adding libgobject-2.0 and libglib-2.0 to libraries used to link sf2.
+Author: Fabrice Coutadeur <fabric...@ubuntu.com>
+
+--- libinstpatch-1.0.0.orig/examples/Makefile.am
++++ libinstpatch-1.0.0/examples/Makefile.am
+@@ -4,7 +4,7 @@ EXTRA_DIST = create_sf2.py
+ noinst_PROGRAMS = create_sf2
+ 
+ create_sf2_SOURCES = create_sf2.c
+-create_sf2_LDADD = $(top_srcdir)/libinstpatch/libinstpatch-1.0.la
++create_sf2_LDADD = $(top_srcdir)/libinstpatch/libinstpatch-1.0.la -lgobject-2.0 -lglib-2.0
+ 
+ INCLUDES = -I$(top_srcdir) @GOBJECT_CFLAGS@
+ 
diff -Nru libinstpatch-1.0.0/debian/patches/series libinstpatch-1.0.0/debian/patches/series
--- libinstpatch-1.0.0/debian/patches/series	2010-11-02 00:04:54.000000000 +0100
+++ libinstpatch-1.0.0/debian/patches/series	2010-11-14 16:09:03.000000000 +0100
@@ -3,3 +3,4 @@
 03-pkgconfig.patch
 04-fix_tests.patch
 05-with_math_lib.patch
+06-fix-for-binutils-gold.patch

--- End Message ---
--- Begin Message ---
Source: libinstpatch
Source-Version: 1.0.0-2

We believe that the bug you reported is fixed in the latest version of
libinstpatch, which is due to be installed in the Debian FTP archive:

libinstpatch-1.0-0-dbg_1.0.0-2_amd64.deb
  to main/libi/libinstpatch/libinstpatch-1.0-0-dbg_1.0.0-2_amd64.deb
libinstpatch-1.0-0_1.0.0-2_amd64.deb
  to main/libi/libinstpatch/libinstpatch-1.0-0_1.0.0-2_amd64.deb
libinstpatch-dev_1.0.0-2_all.deb
  to main/libi/libinstpatch/libinstpatch-dev_1.0.0-2_all.deb
libinstpatch-doc_1.0.0-2_all.deb
  to main/libi/libinstpatch/libinstpatch-doc_1.0.0-2_all.deb
libinstpatch_1.0.0-2.debian.tar.gz
  to main/libi/libinstpatch/libinstpatch_1.0.0-2.debian.tar.gz
libinstpatch_1.0.0-2.dsc
  to main/libi/libinstpatch/libinstpatch_1.0.0-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 603...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alessio Treglia <ales...@debian.org> (supplier of updated libinstpatch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 15 Nov 2010 00:43:12 +0100
Source: libinstpatch
Binary: libinstpatch-1.0-0 libinstpatch-dev libinstpatch-doc 
libinstpatch-1.0-0-dbg
Architecture: source amd64 all
Version: 1.0.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Alessio Treglia <ales...@debian.org>
Description: 
 libinstpatch-1.0-0 - MIDI instrument editing library
 libinstpatch-1.0-0-dbg - MIDI instrument editing library - debugging symbols
 libinstpatch-dev - MIDI instrument editing library development files
 libinstpatch-doc - MIDI instrument editing library documentation
Closes: 603500
Changes: 
 libinstpatch (1.0.0-2) unstable; urgency=low
 .
   [ Jaromír Mikeš ]
   * Fixed description.
 .
   [ Alessio Treglia ]
   * ./examples/create_fs.{c,h}, ./utils/riff_dump.c are "public domain";
     thanks to Luca Falavigna for reporting this!
   * Add patch to fix build failure with binutils-gold (Closes: #603500);
     thanks to Fabrice Coutadeur for the patch.
   * Fix watch file to properly handle {pre,beta}-releases.
Checksums-Sha1: 
 0dead4e827d5e0476ef94f6af7c738f9d5131b9c 1553 libinstpatch_1.0.0-2.dsc
 aa1e67639ad6dcbba19bd59624d03149cd1b0698 16205 
libinstpatch_1.0.0-2.debian.tar.gz
 4c8b45600cde2c9862dfc3cf017c427c619661e2 285318 
libinstpatch-1.0-0_1.0.0-2_amd64.deb
 6d0b5f8a6c3e3d2bfc6a9f57d50e873291f42b28 85854 libinstpatch-dev_1.0.0-2_all.deb
 53ac1e2e37e725c495bc85ec4b1f7f5026adbae8 350096 
libinstpatch-doc_1.0.0-2_all.deb
 eaad80f83f43a7544ef07c08d39015c1718cf9e2 409770 
libinstpatch-1.0-0-dbg_1.0.0-2_amd64.deb
Checksums-Sha256: 
 194198d2dd7395cdcc1ee09be5c79ad8f2c2287595fbecc2879c218871a829d0 1553 
libinstpatch_1.0.0-2.dsc
 c26a52a5f36cfa657e72407339566e13af97f76c3d30ad9cff9150dc256fc045 16205 
libinstpatch_1.0.0-2.debian.tar.gz
 9b05809d55ada4cbb29db993f9d5ee82fe0936d82dba8a1d8a1cfd2c4f006c0c 285318 
libinstpatch-1.0-0_1.0.0-2_amd64.deb
 8771382c0c279275e5bd588a51dd4a1f6180b3fd23071a3e0cd4f0af86d583fa 85854 
libinstpatch-dev_1.0.0-2_all.deb
 3c34f4965200a049ff8ef52c0c270df384ae2f81fc6b20b2602167ac6f4e5b82 350096 
libinstpatch-doc_1.0.0-2_all.deb
 a9d00749848a4750f8575b875f8dc7efcf86aecc4336ee28a08199ab767d9d73 409770 
libinstpatch-1.0-0-dbg_1.0.0-2_amd64.deb
Files: 
 7d437a4d37d0dffad009298492d74f10 1553 sound optional libinstpatch_1.0.0-2.dsc
 5dd8c253fd533d758bc1862d94006549 16205 sound optional 
libinstpatch_1.0.0-2.debian.tar.gz
 3ad44e9e714850d1a9f73bd5b82b148a 285318 libs optional 
libinstpatch-1.0-0_1.0.0-2_amd64.deb
 b15c512fc30153743f15c81190a36d81 85854 libdevel optional 
libinstpatch-dev_1.0.0-2_all.deb
 7373715778b6a042e370828ebc35f91c 350096 doc optional 
libinstpatch-doc_1.0.0-2_all.deb
 2d25b04c675c707b653ae98b5430be3b 409770 debug extra 
libinstpatch-1.0-0-dbg_1.0.0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzgdlYACgkQRdSMfNz8P9B0vACeJqGpL4iqYb7APe3sGz+xcOKQ
Xy0AnAx8rraHeGUVHIAs/D+T6DZyVqQL
=+Wkz
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to