Source: csound-plugins
Version: 1.0.2~dfsg1-3
Severity: important

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

Hi,

The csound-plugins package fails to build from source in a test rebuild
against hdf5 1.14 currently in experimental:

cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hdf5" && /usr/bin/cc -DHAVE_SOCKETS 
-DHDF5_VERSION_MAJOR=1 -DHDF5_VERSION_MINOR=14 -DHDF5_VERSION_PATCH=4-3 -DLINUX 
-DNO_FLTK_THREADS -DPIPES -D_GNU_SOURCE -Dhdf5ops_EXP
ORTS -I/usr/include/hdf5/serial -I/usr/include/csound -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-s
ecurity -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffast-math 
-mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden -std=gnu99 
-DHAVE_PTHREAD -fPIC -MD -MT hdf5/CMakeFiles/hdf5ops.dir/HDF5IO.c.o 
- -MF CMakeFiles/hdf5ops.dir/HDF5IO.c.o.d -o CMakeFiles/hdf5ops.dir/HDF5IO.c.o 
-c "/<<PKGBUILDDIR>>/hdf5/HDF5IO.c"
In file included from /usr/include/csound/csoundCore.h:35,
                 from /usr/include/csound/csdl.h:111,
                 from /<<PKGBUILDDIR>>/hdf5/HDF5IO.h:20,
                 from /<<PKGBUILDDIR>>/hdf5/HDF5IO.c:20:
/<<PKGBUILDDIR>>/hdf5/HDF5IO.c: In function ‘HDF5IO_readStringAttribute’:
/<<PKGBUILDDIR>>/hdf5/HDF5IO.c:233:39: error: passing argument 2 of 
‘H5Oget_info1’ from incompatible pointer type [-Wincompatible-pointer-types]
  233 |     HDF5ERROR(H5Oget_info1(dataSetID, &oinfo));
      |                                       ^~~~~~
      |                                       |
      |                                       H5O_info2_t *
/usr/include/csound/sysdep.h:345:45: note: in definition of macro ‘UNLIKELY’
  345 | #  define UNLIKELY(x)   __builtin_expect(!!(x),0)
      |                                             ^
/<<PKGBUILDDIR>>/hdf5/HDF5IO.c:233:5: note: in expansion of macro ‘HDF5ERROR’
  233 |     HDF5ERROR(H5Oget_info1(dataSetID, &oinfo));
      |     ^~~~~~~~~
In file included from /usr/include/hdf5/serial/H5Apublic.h:21,
                 from /usr/include/hdf5/serial/hdf5.h:22,
                 from /<<PKGBUILDDIR>>/hdf5/HDF5IO.h:21:
/usr/include/hdf5/serial/H5Opublic.h:1854:55: note: expected ‘H5O_info1_t *’ 
but argument is of type ‘H5O_info2_t *’
 1854 | H5_DLL herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo);
      |                                          ~~~~~~~~~~~~~^~~~~
make[3]: *** [hdf5/CMakeFiles/hdf5ops.dir/build.make:79: 
hdf5/CMakeFiles/hdf5ops.dir/HDF5IO.c.o] Error 1


Adding -DH5_USE_110_API to CPPFLAGS fixes the issue.

Best,
_g.


- -- System Information:
Debian Release: 12.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-21-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmbCG44ACgkQ7+hsbH/+
z4NwaQgAhaHtXn2P+VVMiieelLLuGbDdeC4cQv13kftPPCZVzTC42yZ+V2C6nSw3
AkCjsLsh0fYwYb+TbcND/9rP9QbjeZ+ljUMGaSxw2bINUGffYTF3oaRhoHLq7yMo
/aAgvqnV6CAmRMBZgJWT27abloRN3KcY3LKehXORUc/povitumomrG5MR+VuqKb+
4zTb8NmH2+/6vconNsd0NoHOHtEZZf8Cay0jVd7EdYXZAJQAuYoiYltF2Gbzgu5e
MfgqfvRwjBsXLVo6ky1o5EhrrOkoI0yafTniVma5kDSQfWRqyrO0bWXLABXVR3zR
sn2dWi/Aoowp/RAVgII6SOrHJIa2+g==
=Qn4G
-----END PGP SIGNATURE-----

Reply via email to