FS#76738 - [hdf5] Invalid Requires version notation in pkgconfig files
Attached to Project:
Community Packages
Opened by Tom Smeding (tomsmeding) - Sunday, 04 December 2022, 11:20 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 19 April 2023, 07:11 GMT
Opened by Tom Smeding (tomsmeding) - Sunday, 04 December 2022, 11:20 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 19 April 2023, 07:11 GMT
|
Details
(apologies for format, my first report here)
Description: hdf5 installs 6 pkgconfig files (currently), many of which have a Requires: field to list pkgconfig dependencies. They are given in this format, e.g. from /usr/lib/pkgconfig/hdf5_cpp.pc : Requires: hdf5-1.12.2 which is wrong because there is no package called 'hdf5-1.12.2' installed; rather, there is a package called 'hdf5' installed with version '1.12.2'. The correct notation is using '>=', as found in e.g. /usr/lib/fontconfig/fontconfig.pc (from fontconfig-2:2.14.1-2): Requires: freetype2 >= 21.0.15 Because of the wrong notation, queries on most of the hdf5 pkgconfig packages fail, e.g. $ pkg-config --cflags hdf5_cpp Package hdf5-1.12.2 was not found in the pkg-config search path. Perhaps you should add the directory containing `hdf5-1.12.2.pc' to the PKG_CONFIG_PATH environment variable Package 'hdf5-1.12.2', required by 'hdf5_cpp', not found I'm reporting this here because it seems Arch already does a wild dance to get some pkgconfig files in the first place: https://github.com/archlinux/svntogit-community/blob/0e8e99e35d87469c10928d63bd009bcb2c60418b/trunk/PKGBUILD Additional info: * hdf5 1.12.2-1 Steps to reproduce: Perform any pkgconfig query, such as --modversion, on hdf5_cpp, hdf5_fortran, hdf5_hl, hdf5_hl_cpp or hdf5_hl_fortran. |
This task depends upon
> Hello! Thank you for reporting the issue! It is fixed and will be included in future releases.
So it seems this task can be closed.
[1] https://github.com/HDFGroup/hdf5/commit/02de350b396bfc378bfb4b4382e176b21bf379d5