Source: suckless-tools Version: 49-1 Tags: patch User: [email protected] Usertags: ftcbfs
suckless-tools fails to cross build from source, because debian/rules forces the unprefixed pkgconf to be used and hence it fails finding components for the host architecture. The task is best deferred to dpkg's buildtools.mk. I'm attaching a patch for your convenience. Helmut
diff -Nru suckless-tools-49/debian/changelog suckless-tools-49/debian/changelog --- suckless-tools-49/debian/changelog 2025-08-18 16:16:16.000000000 +0200 +++ suckless-tools-49/debian/changelog 2025-11-08 08:40:52.000000000 +0100 @@ -1,3 +1,10 @@ +suckless-tools (49-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk provide PKG_CONFIG. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sat, 08 Nov 2025 08:40:52 +0100 + suckless-tools (49-1) unstable; urgency=medium * New upstream release diff -Nru suckless-tools-49/debian/rules suckless-tools-49/debian/rules --- suckless-tools-49/debian/rules 2025-08-18 16:16:16.000000000 +0200 +++ suckless-tools-49/debian/rules 2025-11-08 08:40:49.000000000 +0100 @@ -9,9 +9,10 @@ # Path of 'debian' directory DEB_DIR := $(abspath $(dir $(MAKEFILE_LIST))) -# Provide the correct pkg-config for cross-building include /usr/share/dpkg/architecture.mk -export PKG_CONFIG := pkgconf +# Provide the correct pkg-config for cross-building +include /usr/share/dpkg/buildtools.mk +export PKG_CONFIG # Enable all hardening flags export DEB_BUILD_MAINT_OPTIONS = hardening=+all

