Bug#1025444: vdr-plugin-femon FTCBFS: misses compiler flags due to using the build architecture pkg-config
Helmut Grohne
helmut at subdivi.de
Sat Dec 3 11:50:48 GMT 2022
Source: vdr-plugin-femon
Version: 2.4.0-5
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
vdr-plugin-femon fails to cross build from source, because it uses the
build architecture pkg-config and thus misses out on relevant compiler
flags. It has rather precise ideas on where to locate vdr.pc in order to
support being vendored even though Debian doesn't vendor it. As such,
changing the pkg-config invocation is probably not acceptable upstream.
Instead, I propose forcing the Debian location of the .pc file. I'm
attaching a patch for your convenience.
Helmut
-------------- next part --------------
diff --minimal -Nru vdr-plugin-femon-2.4.0/debian/changelog vdr-plugin-femon-2.4.0/debian/changelog
--- vdr-plugin-femon-2.4.0/debian/changelog 2022-01-12 09:21:10.000000000 +0100
+++ vdr-plugin-femon-2.4.0/debian/changelog 2022-12-03 10:32:00.000000000 +0100
@@ -1,3 +1,10 @@
+vdr-plugin-femon (2.4.0-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Force correct location of vdr.pc. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 03 Dec 2022 10:32:00 +0100
+
vdr-plugin-femon (2.4.0-5) unstable; urgency=medium
* Fix debian/watch
diff --minimal -Nru vdr-plugin-femon-2.4.0/debian/rules vdr-plugin-femon-2.4.0/debian/rules
--- vdr-plugin-femon-2.4.0/debian/rules 2022-01-12 09:21:10.000000000 +0100
+++ vdr-plugin-femon-2.4.0/debian/rules 2022-12-03 10:31:56.000000000 +0100
@@ -3,6 +3,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+include /usr/share/dpkg/architecture.mk
+export VDRDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
+
%:
dh $@ --with vdrplugin
More information about the pkg-vdr-dvb-devel
mailing list