FS#58181 - [hdf5] CMake file references static library
Attached to Project:
Community Packages
Opened by Gabriel Souza Franco (gbs) - Monday, 09 April 2018, 12:31 GMT
Last edited by Antonio Rojas (arojas) - Monday, 09 April 2018, 12:41 GMT
Opened by Gabriel Souza Franco (gbs) - Monday, 09 April 2018, 12:31 GMT
Last edited by Antonio Rojas (arojas) - Monday, 09 April 2018, 12:41 GMT
|
Details
The CMake module introduced in the last update has fixed
references to static libs which are built unconditionally.
As the makepkg default is '!staticlibs', this results in an
error to all packages which try to link to it:
``` CMake Error at /usr/share/cmake/hdf5/hdf5-targets.cmake:293 (message): The imported target "hdf5::hdf5-static" references the file "/usr/lib/libhdf5.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/share/cmake/hdf5/hdf5-targets.cmake" but not all the files it references. ``` Addendum: I see that zlib and szip support is enabled in the PKGBUILD, but the buildsystem cannot find them, so maybe something else is also not configured right. |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 09 April 2018, 12:41 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#58150
Monday, 09 April 2018, 12:41 GMT
Reason for closing: Duplicate
Additional comments about closing: