Source: cups-pdf Version: 3.0.2-5 Tags: patch User: [email protected] Usertags: ftcbfs
cups-pdf regressed cross building. It now uses the build architecture compiler as a make default via $(CC) in debian/rules. Initializing the variable via dpkg's buildtools.mk is the easiest way to fix this. Please consider applying the attached patch. Helmut
diff -Nru cups-pdf-3.0.3/debian/changelog cups-pdf-3.0.3/debian/changelog --- cups-pdf-3.0.3/debian/changelog 2026-10-05 08:50:51.000000000 +0200 +++ cups-pdf-3.0.3/debian/changelog 2026-10-13 07:57:31.000000000 +0200 @@ -1,3 +1,10 @@ +cups-pdf (3.0.3-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk initialize $(CC). (Closes: #-1) + + -- Helmut Grohne <[email protected]> Tue, 13 Oct 2026 07:57:31 +0200 + cups-pdf (3.0.3-5) unstable; urgency=medium * [control] diff -Nru cups-pdf-3.0.3/debian/rules cups-pdf-3.0.3/debian/rules --- cups-pdf-3.0.3/debian/rules 2026-07-16 21:24:40.000000000 +0200 +++ cups-pdf-3.0.3/debian/rules 2026-10-13 07:57:28.000000000 +0200 @@ -4,6 +4,8 @@ # SPDX-FileCopyrightText: 2003-2026 Martin-Éric Racine <[email protected]> export DEB_BUILD_MAINT_OPTIONS = hardening=+all abi=+lfs +include /usr/share/dpkg/buildtools.mk + override_dh_auto_build-arch: $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o src/cups-pdf src/cups-pdf.c -lcups
