Bug#1152212: coturn FTCBFS: uses the build architecture pkg-config
Helmut Grohne
helmut at subdivi.de
Sat Oct 24 08:45:34 BST 2026
Source: coturn
Version: 4.18.0-1
Tags: patch
User: debian-cross at 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
-------------- next part --------------
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 at 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
More information about the Pkg-voip-maintainers
mailing list