Le lundi 30 décembre 2024 à 20:11 +0100,
pini@debian.org a écrit :
Le 2023-09-19 15:19, Sébastien Villemot a écrit :
Package: libhdf5-dev
Version: 1.10.8+repack1-1
Severity: normal
Dear Maintainer,
Trying to statically link an executable (like h5_write.c¹) against HDF5 using
the pkg-config profile fails:
[…]
Obviously the libraries on which HDF5 depends should be added to the Libs.private and Requires.private fields.²
Upstream provides pkg-config files for cmake builds only. The current pkg-config for HDF5 in Debian were added by me, and are just minimalist ones. They are not expected to work for every use case.
I've opened a feature request at the upstream github project: https://github.com/HDFGroup/hdf5/issues/5194
Meanwhile, patches are welcome.
Thanks. So if I understand correctly upstream’s reply, the proper fix
for this issue is to switch to a cmake build for the Debian package
(and this will become mandatory for HDF5 2.0).
--
⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀
https://sebastien.villemot.name ⠈⠳⣄⠀⠀⠀⠀
https://www.debian.org
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAmgbSfUACgkQLOzpNQ7O vkrwpQ/+IH0DE7y/6oxC4FkbXib0H0G06YhQsMYrE3yB5fhuYmQcpqr+BYXQhgYK 2ejkGF/esFS3txL0E+9VwZfTVyRoTXbNPH/MRG1gZtWDl/HqxMZeZdpDBcfrFLUj SsCYnnq/0x3glCYA+0OPY+/+M3ogNFtj1NWx0Rdpx09PGl13sXX/aqbt/8dgGWG6 UziBRLiGSeGd+pbpYPN/nC/ZKSGq9NEoepakQkuZqX8KNZUD2LRkun2TOjkCm6lk 0ZZN9JOu6t4yazZacuFthvwjH8fbxiQx7aFgWDCJG/xQy6Prl6JCChnai/ybaddR DBiAHvgeUiaG8EOQ7WL5aPGaiKmhXlwL0eaX9vjVAqClcZiz7NKcnKaibwXGXUQp prTPf03iCg2utf2zQIvkuvZqZ6qZloatZhHK9Y7LVPobvNic6VpmJbMkj6nb4cYi RPSUp6KNJecIWProLeAp1T5Mluba3NSTVRaLzbWNcJ0mCx+WUdCCN1Q1qmjvWBoH 9bbzz7fIh3Evh8YsTttyUxFdfMkczraCFeV01HShB6AbBsE+SRGm5TNHZsMFGPuY +zFNUHHZhrtxnTyfbHWHHSxrO4ECl5Di+Ladz+wC6bNgY5Wkofo3W7TJC/oPnaFN HZeRu7CxKK8R2jco3JYhEkPu0j7gl/EbW0X3hlgW2+UBhjmp4As=
=XWbM
-