Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#68969 - [hdf5-openmpi] pkg-config: hard-coded version number in filename
Attached to Project:
Community Packages
Opened by Martin Diehl (MartinDiehl) - Monday, 14 December 2020, 08:22 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Sunday, 18 July 2021, 19:25 GMT
Opened by Martin Diehl (MartinDiehl) - Monday, 14 December 2020, 08:22 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Sunday, 18 July 2021, 19:25 GMT
|
DetailsThe *.pc files explicitly include the version number, e.g 'hdf5_hl-1.12.0.pc'. This requires to update build files of libraries that use hdf5 for each version update of HDF5. In addition, it breaks dependencies in HDF5 itself: 'pkg-config --libs hdf5_hl-1.12.0' gives an error message 'Package 'hdf5', required by 'hdf5_hl-1.12.0', not found'.
Are there any reasons against using the 'non-versioned' names, e.g. 'hdf5_hl' for the most recent HDF5 version? That seems to be the standard for pkg-config (but I know that HDF5 itself does some non-standard ways when it comes to versioning). Note: I fill the same report to https://www.archlinux.org/packages/community/x86_64/hdf5. It uses a very similar PKGBUILD. |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Sunday, 18 July 2021, 19:25 GMT
Reason for closing: Upstream
Additional comments about closing: 1.12.1
Sunday, 18 July 2021, 19:25 GMT
Reason for closing: Upstream
Additional comments about closing: 1.12.1
- install -Dm644 ../build/CMakeFiles/hdf5{,_hl}{,_cpp}-${pkgver}.pc -t "${pkgdir}"/usr/lib/pkgconfig/
+ install -Dm644 ../build/CMakeFiles/hdf5-${pkgver}.pc -D "${pkgdir}"/usr/lib/pkgconfig/hdf5.pc
+ install -Dm644 ../build/CMakeFiles/hdf5_hl-${pkgver}.pc -D "${pkgdir}"/usr/lib/pkgconfig/hdf5_hl.pc
+ install -Dm644 ../build/CMakeFiles/hdf5_cpp-${pkgver}.pc -D "${pkgdir}"/usr/lib/pkgconfig/hdf5_cpp.pc
+ install -Dm644 ../build/CMakeFiles/hdf5_hl_cpp-${pkgver}.pc -D "${pkgdir}"/usr/lib/pkgconfig/hdf5_hl_cpp.pc
I will also report to the upstream developers, including the version string in the filename seems to oppose the purpose of using pkconfig.