Package: cmake
Version: 3.31.6-2
Severity: important
X-Debbugs-Cc: debian-cross@lists.debian.org
User: debian-cross@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:endless-sky
Hi Timo and others,
CMake gained a new "cmake_pkg_config". It's not a macro, but a builtin
and it effectively reimplements pkgconf and pkg-config. As with many
reimplementations, this one also is feature-incomplete. When performing
a Debian package cross build, cmake_pkg_config fails to locate
dependencies, because it ends up using the build architecture .pc search
path. For example, when building endless-sky, minizip is not found
despite being properly installed.
[...]
So it's not that obvious how to communicate this to CMake and where to
do this. For instance, extending debhelper with yet another assignment
may be a sensible option.