🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1153083: plume-creator FTCBFS: hard codes the build architecture pkg-config

#3308
From: Helmut Grohne
Date: Thu, 05 Nov 2026 09:30
54 lines
3822 bytes
--mOo9N11LXEaefxz4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: plume-creator
Version: 0.67+git20151203.1081b12-1.1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

plume-creator fails to cross build from source, because debian/rules
hard codes the build architecture pkg-config. The requested dependency
is only installed for the host architecture and therefore, the relevant
flags are not disocvered. I'm attaching a patch to use the correct
pkg-config executable. Please consider applying it.

Helmut

--mOo9N11LXEaefxz4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="plume-creator_0.67+git20151203.1081b12-1.2.debdiff"

diff -Nru plume-creator-0.67+git20151203.1081b12/debian/changelog plume-creator-0.67+git20151203.1081b12/debian/changelog
--- plume-creator-0.67+git20151203.1081b12/debian/changelog	2026-04-13 18:41:44.000000000 +0200
+++ plume-creator-0.67+git20151203.1081b12/debian/changelog	2026-11-04 08:21:08.000000000 +0100
@@ -1,3 +1,10 @@
+plume-creator (0.67+git20151203.1081b12-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use the host architecture pkg-config. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 04 Nov 2026 08:21:08 +0100
+
 plume-creator (0.67+git20151203.1081b12-1.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru plume-creator-0.67+git20151203.1081b12/debian/rules plume-creator-0.67+git20151203.1081b12/debian/rules
--- plume-creator-0.67+git20151203.1081b12/debian/rules	2026-04-13 18:37:13.000000000 +0200
+++ plume-creator-0.67+git20151203.1081b12/debian/rules	2026-11-04 08:21:07.000000000 +0100
@@ -2,7 +2,9 @@
 
 export QT_SELECT := qt5
 
-CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) $(shell pkg-config --cflags-only-I quazip1-qt5)
+include /usr/share/dpkg/buildtools.mk
+
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) $(shell $(PKG_CONFIG) --cflags-only-I quazip1-qt5)
 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

--mOo9N11LXEaefxz4--
Technical Details
Message-ID: <NW1Xb-9XUD-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!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!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153083: plume-creator FTCBFS: hard codes the build architecture pkg-config
Date: Thu, 05 Nov 2026 10:30:01 +0100
Message-ID: <NW1Xb-9XUD-7@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov  5 09:29:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1153083@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: miriam@debian.org
X-Debian-Pr-Message: report 1153083
X-Debian-Pr-Package: src:plume-creator
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: plume-creator
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="mOo9N11LXEaefxz4"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000760
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 4 Nov 2026 11:55:04 +0100
X-Original-Message-ID: <20261104105504.GA3849909@subdivi.de>