Bug#931539: openems: FTBFS against HDF5 1.10.5

Gilles Filippini pini at debian.org
Sun Jul 7 11:36:51 BST 2019


Source: openems
Version: 0.0.35+dfsg.1-3
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

During a rebuild against HDF5 1.10.5 currently in experimental, openems FTBFS
due to the relocation of libhdf5_cpp.so.
Please consider applying the attached patch supporting both HDF5 1.10.4 and
1.10.5.

Thanks,

_g.


- -- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAl0hyzQACgkQ7+hsbH/+
z4Mh7QgAofB/aXaWsB4CZulKWDB+wGmvy6Eig8XJZOHIf7DIBaRqovcRIk5Q8bu2
3L92hvfGn2oQHCnKKeEmu/PSIJMS3si4kplQur2Yq565Z+qT6JpB5WKZntcDOG5Q
r+Fim9/bm/lIhet/3GIzhXVDwcjbIX6DsyuEfpbJuqPxJeyYmUNyQDpbFeXOmoew
mKQMno4+wdbju0FMaDMJqz9cO4qfx/XEzUKOnNA+UaCRBQKuHtCGoeSWVOBZiPBk
AKAzdvED+H4MTccM792dhYCoSl7hl8SY7g22pWpqUp2XFanDxfiwRkY7C4HIsP8O
DiezEHezcZ+cjPs+xb2rZqmtu8JRYw==
=UsUK
-----END PGP SIGNATURE-----
-------------- next part --------------
diff -Nru openems-0.0.35+dfsg.1/debian/changelog openems-0.0.35+dfsg.1/debian/changelog
--- openems-0.0.35+dfsg.1/debian/changelog	2018-11-27 18:59:05.000000000 +0100
+++ openems-0.0.35+dfsg.1/debian/changelog	2019-07-01 13:30:29.000000000 +0200
@@ -1,3 +1,10 @@
+openems (0.0.35+dfsg.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS against HDF5 1.10.5
+
+ -- Gilles Filippini <pini at debian.org>  Mon, 01 Jul 2019 13:30:29 +0200
+
 openems (0.0.35+dfsg.1-3) unstable; urgency=medium
 
   * debian/changelog:
diff -Nru openems-0.0.35+dfsg.1/debian/rules openems-0.0.35+dfsg.1/debian/rules
--- openems-0.0.35+dfsg.1/debian/rules	2018-11-27 18:59:05.000000000 +0100
+++ openems-0.0.35+dfsg.1/debian/rules	2019-07-01 13:30:29.000000000 +0200
@@ -40,7 +40,7 @@
 	cd AppCSXCAD && mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCSXCAD_ROOT_DIR=../debian/tmp/usr -DQCSXCAD_ROOT_DIR=../debian/tmp/usr -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) ..
 	cd AppCSXCAD/build && make
 	cd AppCSXCAD/build && make install DESTDIR=../../debian/tmp
-	cd debian/tmp/usr/share/openEMS/matlab && CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" mkoctfile -lhdf5_cpp -DH5_USE_16_API -I/usr/include/hdf5/serial h5readatt_octave.cc
+	cd debian/tmp/usr/share/openEMS/matlab && CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" mkoctfile -L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial -lhdf5_cpp -DH5_USE_16_API -I/usr/include/hdf5/serial h5readatt_octave.cc
 	mkdir -p debian/tmp/$(OCTAVE_FULLBPATH)
 	mv debian/tmp/usr/share/openEMS/matlab/h5readatt_octave.oct debian/tmp/$(OCTAVE_FULLBPATH)/
 	rm debian/tmp/usr/share/openEMS/matlab/h5readatt_octave.o


More information about the debian-science-maintainers mailing list