From 9e2a01afecbb007eb03e5d962c756f4b6178d77a Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Thu, 18 Jun 2026 12:04:00 +0100 Subject: [PATCH] debian: ship cmake package config in -dev package The autotools build installs the CMake package-config files (wolfpkcs11Config.cmake, wolfpkcs11ConfigVersion.cmake, wolfpkcs11Targets.cmake) into $(libdir)/cmake/wolfpkcs11/, but debian/libwolfpkcs11-dev.install did not capture them. Under debhelper-compat 13, dh_missing treats these orphaned files as a fatal error, so dpkg-buildpackage aborts during the binary step with: dh_missing: error: missing files, aborting Ship the cmake configs in the -dev package so dependents can find_package(wolfpkcs11) and the Debian build no longer fails. --- debian/libwolfpkcs11-dev.install | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/libwolfpkcs11-dev.install b/debian/libwolfpkcs11-dev.install index c6399152..03d6841e 100644 --- a/debian/libwolfpkcs11-dev.install +++ b/debian/libwolfpkcs11-dev.install @@ -1,3 +1,4 @@ usr/include/ usr/lib/*/libwolfpkcs11.so +usr/lib/*/cmake/wolfpkcs11/*.cmake usr/bin/wolfpkcs11-config