Your message dated Sat, 30 Jan 2010 16:32:31 +0000
with message-id <e1nbgfl-0004nd...@ries.debian.org>
and subject line Bug#559794: fixed in libfvm 0.15.0-1
has caused the Debian Bug report #559794,
regarding libfvm-dev: *LOTS* of undefined references
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.)


-- 
559794: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559794
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libfvm-dev
Version: 0.14.0-2
Severity: serious
Tags: patch
Justification: Broken shared objects

Hi,

as discussed quickly in #557020, libfvm might have some undefined
references. So I added -Wl,-z,defs to CFLAGS, and then noticed 900+
undefined references.

Please find attached a patch to fix those. I didn't use the .la's since
they're Evil©®™, but more importantly since not all libraries you're
using provide one. (Of course, automake helps getting src/Makefile.in in
line.)

I'll be checking code-saturne in a moment and update the other report
accordingly.

Mraw,
KiBi.
diff -u libfvm-0.14.0/debian/rules libfvm-0.14.0/debian/rules
--- libfvm-0.14.0/debian/rules
+++ libfvm-0.14.0/debian/rules
@@ -5,6 +5,8 @@
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
+CFLAGS += "-Wl,-z,defs"
+
 debian/stamp-autotools-files:
 	autoreconf
 	touch $@
diff -u libfvm-0.14.0/debian/patches/series libfvm-0.14.0/debian/patches/series
--- libfvm-0.14.0/debian/patches/series
+++ libfvm-0.14.0/debian/patches/series
@@ -3 +3 @@
-
+fix-undefined-references.diff
--- libfvm-0.14.0.orig/debian/patches/fix-undefined-references.diff
+++ libfvm-0.14.0/debian/patches/fix-undefined-references.diff
@@ -0,0 +1,19 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -102,7 +102,15 @@ fvm_writer_priv.h
+ 
+ lib_LTLIBRARIES = libfvm.la
+ noinst_LTLIBRARIES =
+-libfvm_la_LIBADD =
++libfvm_la_LIBADD = -lbft -lm
++
++if HAVE_MED
++libfvm_la_LIBADD += -lmedC
++endif
++
++if HAVE_CGNS
++libfvm_la_LIBADD += -lcgns
++endif
+ 
+ libfvm_la_SOURCES = \
+ fvm_block_dist.c \

--- End Message ---
--- Begin Message ---
Source: libfvm
Source-Version: 0.15.0-1

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

libfvm-dev_0.15.0-1_i386.deb
  to main/libf/libfvm/libfvm-dev_0.15.0-1_i386.deb
libfvm0-dbg_0.15.0-1_i386.deb
  to main/libf/libfvm/libfvm0-dbg_0.15.0-1_i386.deb
libfvm0_0.15.0-1_i386.deb
  to main/libf/libfvm/libfvm0_0.15.0-1_i386.deb
libfvm_0.15.0-1.diff.gz
  to main/libf/libfvm/libfvm_0.15.0-1.diff.gz
libfvm_0.15.0-1.dsc
  to main/libf/libfvm/libfvm_0.15.0-1.dsc
libfvm_0.15.0.orig.tar.gz
  to main/libf/libfvm/libfvm_0.15.0.orig.tar.gz



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 559...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <sylves...@debian.org> (supplier of updated libfvm 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: Sat, 30 Jan 2010 17:03:00 +0100
Source: libfvm
Binary: libfvm-dev libfvm0 libfvm0-dbg
Architecture: source i386
Version: 0.15.0-1
Distribution: experimental
Urgency: low
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylves...@debian.org>
Description: 
 libfvm-dev - Code_Saturne Finite Volume Mesh
 libfvm0    - Code_Saturne Finite Volume Mesh
 libfvm0-dbg - Code_Saturne Finite Volume Mesh
Closes: 559794
Changes: 
 libfvm (0.15.0-1) experimental; urgency=low
 .
   * New upstream release
   * Fix undefined references - thanks Cyril Brulebois for the patch
     (Closes: #559794)
Checksums-Sha1: 
 6f8a3410095e70c49f04a1307072e5583156b078 1381 libfvm_0.15.0-1.dsc
 b0d2b43e476ed53bc8b2fe3fd2491de8359b7670 785283 libfvm_0.15.0.orig.tar.gz
 afb956fd37ecc525f79b153953580d625d8a6ce6 3178 libfvm_0.15.0-1.diff.gz
 c5145497e6256106fcd14d1bcf389a16bcb14fc5 204522 libfvm-dev_0.15.0-1_i386.deb
 b294a15ab6177f9d2d8ec90a52afa5f8db4e94d7 161276 libfvm0_0.15.0-1_i386.deb
 f3efc2cb27b6e16628e2a6d52a0388aadfcf3fe1 216080 libfvm0-dbg_0.15.0-1_i386.deb
Checksums-Sha256: 
 8049302a7e44d56baa1548d1965088597c4e63ed8deafdb905ae559026d25a54 1381 
libfvm_0.15.0-1.dsc
 840a7196a273a2d96e8a80f6011066b3f9283240ab9b0280d267099b5dcaa387 785283 
libfvm_0.15.0.orig.tar.gz
 256bc079db87b2743a0390935927f88cb3b8db0f4db84ed7888e7216aff50dbd 3178 
libfvm_0.15.0-1.diff.gz
 b2e477d081f63d7643b44f75f199195a2d0c9ab24e8d7b1596ca28d1dd6bd81f 204522 
libfvm-dev_0.15.0-1_i386.deb
 f2e32093917c20c8c0fb7411bf9a4221a7e04ae08a4f3d542a7b749596cbb475 161276 
libfvm0_0.15.0-1_i386.deb
 e4a39addb9593f7b4d5bd8629e5b826ded7678ff7399b986bca649028bd40edb 216080 
libfvm0-dbg_0.15.0-1_i386.deb
Files: 
 cb1c429ee62425c855fe9086b7bcab5d 1381 libs optional libfvm_0.15.0-1.dsc
 66b0870758e060887a4e23a6732cec2b 785283 libs optional libfvm_0.15.0.orig.tar.gz
 6f44c066c3b1e9aeb6a1f48f3c4757f0 3178 libs optional libfvm_0.15.0-1.diff.gz
 7de44bc937051315d8ec3c36a9556ca1 204522 libdevel optional 
libfvm-dev_0.15.0-1_i386.deb
 777eab4ae8461d6860da30540fd6d428 161276 libs optional libfvm0_0.15.0-1_i386.deb
 c08e4e6961826cc9e2a63dabf1e16411 216080 debug extra 
libfvm0-dbg_0.15.0-1_i386.deb

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

iEYEARECAAYFAktkWyMACgkQiOXXM92JlhCLWgCfd4LKVGzIJILJetBbQRsQWZCb
fTMAoNbwhYmTpCgqIbxzbNd5uq5biSaK
=VI2H
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to