Thread View: linux.debian.bugs.dist
2 messages
2 total messages
Started by Helmut Grohne
Thu, 15 Oct 2026 12:30
Bug#1150996: cups-pdf FTCBFS: uses the build architecture compiler as a make default
Author: Helmut Grohne
Date: Thu, 15 Oct 2026 12:30
Date: Thu, 15 Oct 2026 12:30
51 lines
3325 bytes
3325 bytes
--MexmBT2t1YUxR1jh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Source: cups-pdf Version: 3.0.2-5 Tags: patch User: debian-cross@lists.debian.org 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 --MexmBT2t1YUxR1jh Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="cups-pdf_3.0.3-5.1.debdiff" Content-Transfer-Encoding: 8bit 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 <helmut@subdivi.de> 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 <martin-eric.racine@iki.fi> 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 --MexmBT2t1YUxR1jh--
Bug#1150996: cups-pdf FTCBFS: uses the build architecture compiler as a make default
Author: Helmut Grohne
Date: Thu, 15 Oct 2026 13:00
Date: Thu, 15 Oct 2026 13:00
14 lines
2721 bytes
2721 bytes
Hi, On Thu, Oct 15, 2026 at 03:33:12PM +0300, Martin-รric Racine wrote: > This being said, I cannot help but wonder why > /usr/share/dpkg/default.mk simply doesn't include buildtools.mk by > default. Filing a bug there would be more productive than patching > individual packages to include it. In rare cases, the change can break things. To avoid such breakage, dpkg introduced something like debhelper compatibility levels. You can find more about them in man dpkg-build-api. Once you bump to api 1 or later, default.mk includes buildtools.mk. Helmut
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads