🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1152212: coturn FTCBFS: uses the build architecture pkg-config

#2308
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
53 lines
3435 bytes
--KKSSnpjJz3sNWOqh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: coturn
Version: 4.18.0-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

coturn fails to cross build from source, because it uses the build
architecture pkg-config and fails location dependencies as a result. It
has a hand-written configure script that somehow manages to figure out
the correct CC, but it uses the non-standard PKGCONFIG variable for
pkg-config when much of the rest of the world uses PKG_CONFIG.
Reexporting it under the other name fixes the cross build. Please
consider applying the attached patch.

Helmut

--KKSSnpjJz3sNWOqh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="coturn_4.18.0-1.1.debdiff"

diff -Nru coturn-4.18.0/debian/changelog coturn-4.18.0/debian/changelog
--- coturn-4.18.0/debian/changelog	2026-10-06 14:51:09.000000000 +0200
+++ coturn-4.18.0/debian/changelog	2026-10-24 07:42:05.000000000 +0200
@@ -1,3 +1,10 @@
+coturn (4.18.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export pkg-config via non-standard PKGCONFIG variable. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 24 Oct 2026 07:42:05 +0200
+
 coturn (4.18.0-1) unstable; urgency=high
 
   * Team upload.
diff -Nru coturn-4.18.0/debian/rules coturn-4.18.0/debian/rules
--- coturn-4.18.0/debian/rules	2026-10-06 14:47:40.000000000 +0200
+++ coturn-4.18.0/debian/rules	2026-10-24 07:41:54.000000000 +0200
@@ -3,6 +3,8 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/buildtools.mk
+export PKGCONFIG=$(PKG_CONFIG)
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1

--KKSSnpjJz3sNWOqh--
Technical Details
Message-ID: <NSzkK-84wi-43@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.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!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152212: coturn FTCBFS: uses the build architecture pkg-config
Date: Mon, 26 Oct 2026 21:20:02 +0100
Message-ID: <NSzkK-84wi-43@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 26 20:17:23 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152212@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-voip-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1152212
X-Debian-Pr-Package: src:coturn
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: coturn
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="KKSSnpjJz3sNWOqh"
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/1999083
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 53
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 24 Oct 2026 09:45:34 +0200
X-Original-Message-ID: <20261024074534.GA1981607@subdivi.de>