Package: hdf5
Version: 1.6.5-5
Severity: serious
Tags: patch

Greetings,

The binary h5perf in the hdf5-tools package requires the library
libh5test-1.6.5.so.0 which is not in any binary package.  With
hdf5-tools installed, this results in:
# /usr/bin/h5perf
h5perf: error while loading shared libraries: libh5test-1.6.5.so.0:
cannot open shared object file: No such file or directory

Because of this, dh_shlibdeps is failing:
dh_shlibdeps -phdf5-tools -Llibhdf5-serial-1.6.5-0 
-ldebian/libhdf5-serial-1.6.5-0/usr/lib
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/gif2h5 shouldn't be linked 
with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/gif2h5 shouldn't be linked 
with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/gif2h5 shouldn't be linked 
with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5dump shouldn't be linked 
with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5dump shouldn't be linked 
with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5dump shouldn't be linked 
with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h52gif shouldn't be linked 
with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h52gif shouldn't be linked 
with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h52gif shouldn't be linked 
with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5jam shouldn't be linked 
with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5jam shouldn't be linked 
with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5jam shouldn't be linked 
with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5import shouldn't be linked 
with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5import shouldn't be linked 
with libz.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/hdf5-tools/usr/bin/h5import shouldn't be linked 
with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: failure: couldn't find library libh5test-1.6.5.so.0 needed by 
debian/hdf5-tools/usr/bin/h5perf (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any 
shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set 
LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary-arch] Error 1

It seems dh_shlibdeps has become stricter, so this now causes FTBFS,
which is RC. :-(

Note the library is sitting right in the test directory.  Aha, it
defines PUB_LIB= so PUB_LIB=$(LIB) is ignored.  The attached patch fixes
this, and makes the install_shlib and install_devlib files more general
so it gets installed in the package.

Now the package builds, and the result is:
# /usr/bin/h5perf
No parallel IO performance because parallel is not configured

Cheers,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
--- hdf5-1.6.5/test/Makefile.in~	2005-07-21 14:49:03.000000000 +0000
+++ hdf5-1.6.5/test/Makefile.in	2008-01-30 23:01:19.000000000 +0000
@@ -39,7 +39,6 @@
 LIB=libh5test.la
 LIB_SRC=h5test.c testframe.c
 LIB_OBJ=$(LIB_SRC:.c=.lo)
-PUB_LIB=
 
 ## Temporary files.  These files are the ones created by setting the
 ## HDF5_NOCLEANUP environment variable and running `make test' without
--- hdf5-1.6.5/debian/install_shlib~	2008-01-30 23:58:30.000000000 +0000
+++ hdf5-1.6.5/debian/install_shlib	2008-01-30 23:59:03.000000000 +0000
@@ -1 +1 @@
-usr/lib/libhdf5*.so.*
+usr/lib/libh*.so.*
--- hdf5-1.6.5/debian/install_devlib~	2008-01-30 23:58:30.000000000 +0000
+++ hdf5-1.6.5/debian/install_devlib	2008-01-30 23:59:54.000000000 +0000
@@ -1,5 +1,5 @@
 usr/include
-usr/lib/libhdf5*.so
-usr/lib/libhdf5*.settings
-usr/lib/libhdf5*.la
-usr/lib/libhdf5*.a
+usr/lib/libh*.so
+usr/lib/libh*.settings
+usr/lib/libh*.la
+usr/lib/libh*.a
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to