Bug#1025259: libzfp-dev: cmake files misplaced

Helmut Grohne helmut at subdivi.de
Thu Dec 1 15:56:35 GMT 2022


Package: libzfp-dev
Version: 1.0.0-3
Severity: important
X-Debbugs-Cc: enrico at debian.org

The cmake files shipped by libzfp-dev are misplaced. The upstream code
expects them to be in a multiarch location while the installation
procedure strips that multiarch directory (via debian/libzfp-dev.install
line 3). When cmake computes the installation prefix (by removing
trailing path components), it tries to remove the multiarch directory,
but ends up removing /usr thus looking for includes in /include, which
doesn't exist. What you see is this:

| Make Error in src/CMakeLists.txt:
|   Imported target "zfp::zfp" includes non-existent path
| 
|     "/include"
| 
|   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
| 
|   * The path was deleted, renamed, or moved to another location.
| 
|   * An install or uninstall procedure did not complete successfully.
| 
|   * The installation package was faulty and references files it does not
|   provide.

Helmut



More information about the debian-science-maintainers mailing list