πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #956

Bug#1150996: cups-pdf FTCBFS: uses the build architecture compiler as a make default

#956
From: Helmut Grohne
Date: Thu, 15 Oct 2026 12:30
51 lines
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--
Technical Details
Message-ID: <NOsKR-5GFG-27@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150996: cups-pdf FTCBFS: uses the build architecture compiler as a make default
Date: Thu, 15 Oct 2026 14:30:01 +0200
Message-ID: <NOsKR-5GFG-27@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct 15 12:23:19 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1150996@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-printing@lists.debian.org
X-Debian-Pr-Message: report 1150996
X-Debian-Pr-Package: src:cups-pdf
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: cups-pdf
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MexmBT2t1YUxR1jh"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996937
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 51
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 13 Oct 2026 08:00:32 +0200
X-Original-Message-ID: <20261013060032.GA1559616@subdivi.de>