Your message dated Mon, 23 Nov 2026 19:10:49 +0000
with message-id <[email protected]>
and subject line Bug#1110492: fixed in vdr-plugin-xineliboutput 2.3.0-3
has caused the Debian Bug report #1110492,
regarding vdr-plugin-xineliboutput FTCBFS: multiple reasons
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1110492: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110492
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vdr-plugin-xineliboutput
Version: 2.3.0-2
Tags: patch
User: [email protected]
Usertags: ftcbfs
X-Debbugs-Cc: [email protected]

Dear Maintainer,

vdr-plugin-xineliboutput FTCBFS due to multiple reasons. I am listing them with 
some of
the fixes done.

1. Hard-coding of pkg-config at various places, thereby not allowing arch 
triplet
prefixed pkg-config to be used during cross builds. added patch to makefile.

2. In d/rules:
   + CC, CXX were not passed to home-grown ./configure. I also added in a 
option to take pkgconfig here
   + this seems to really need a -fPIC, I checked build logs of all archs that 
have this so added it in
   + exported DPKG_EXPORT_BUILDTOOLS and added resepective headers

3. mpg2c executes during the build, which will inevitably give exec format 
error. however, the output
of this is arch indep. I checked this on atleast 3 arches using porter boxes to 
confirm. the output
was identical. so this can be compiled with build arch compiler.

I've attached a patch with these fixes. please review/merge.

thanks
nilesh
From 7ae55d2517b8b72036bdf3aa12a4c271f9e37a36 Mon Sep 17 00:00:00 2001
From: Nilesh Patra <[email protected]>
Date: Thu, 7 Aug 2025 04:15:35 +0530
Subject: [PATCH] Get vdr-plugin-xineliboutput cross building

---
 debian/patches/cross.patch | 62 ++++++++++++++++++++++++++++++++++++++
 debian/patches/series      |  1 +
 debian/rules               |  9 ++++--
 3 files changed, 70 insertions(+), 2 deletions(-)
 create mode 100644 debian/patches/cross.patch

diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
new file mode 100644
index 0000000..0a42e10
--- /dev/null
+++ b/debian/patches/cross.patch
@@ -0,0 +1,62 @@
+--- a/Makefile
++++ b/Makefile
+@@ -46,6 +46,7 @@
+ CXX      ?= g++
+ CC       ?= gcc 
+ OPTFLAGS ?= 
++PKG_CONFIG ?= pkg-config
+ 
+ ifeq ($(ARCH_APPLE_DARWIN), yes)
+     CXXFLAGS   ?= -O3 -pipe -Wall -Woverloaded-virtual -fPIC -g -fno-common -bundle -flat_namespace -undefined suppress
+@@ -63,7 +64,7 @@
+ ###
+ 
+ # Use package data if installed...otherwise assume we're under the VDR source directory:
+-PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell PKG_CONFIG_PATH="$$PKG_CONFIG_PATH:../../.." pkg-config --variable=$(1) vdr))
++PKGCFG = $(if $(VDRDIR),$(shell $(PKG_CONFIG) --variable=$(1) $(VDRDIR)/vdr.pc),$(shell PKG_CONFIG_PATH="$$PKG_CONFIG_PATH:../../.." $(PKG_CONFIG) --variable=$(1) vdr))
+ BINDIR = $(call PKGCFG,bindir)
+ LIBDIR = $(call PKGCFG,libdir)
+ LOCDIR = $(call PKGCFG,locdir)
+@@ -296,7 +297,7 @@
+ 
+ mpg2c: mpg2c.c
+ 	@echo CCLD $@
+-	$(Q)$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) mpg2c.c -o $@
++	$(Q)$(CC_FOR_BUILD) $(CPPFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS) mpg2c.c -o $@
+ 
+ # data
+ black_720x576.c: mpg2c black_720x576.mpg
+--- a/configure
++++ b/configure
+@@ -189,9 +189,9 @@
+   if $PKG_CONFIG --exists $libname; then
+    if $PKG_CONFIG --libs $libname >/dev/null; then
+     add_flags LIBS_$subsys \
+-              `pkg-config --libs-only-L $libname` \
+-              `pkg-config --libs-only-l $libname`
+-    add_flags CFLAGS_$subsys `pkg-config --cflags-only-I $libname`
++              `$PKG_CONFIG --libs-only-L $libname` \
++              `$PKG_CONFIG --libs-only-l $libname`
++    add_flags CFLAGS_$subsys `$PKG_CONFIG --cflags-only-I $libname`
+     log "yes"
+     return 0
+    fi
+@@ -312,6 +312,7 @@
+   echo "  --disable-pkgconfig    do not use pkg-config"
+   echo "  --cc=CC                select C compiler"
+   echo "  --cxx=CXX              select C++ compiler"
++  echo "  --pkgconfig=PKG_CONFIG select pkg-config Path"
+   echo "  --add-cflags=FLAGS     add compiler flags"
+ }
+ 
+@@ -334,6 +335,10 @@
+       CXX=$optval
+       logdbg "C++ compiler: $CXX"
+       ;;
++    --pkgconfig=?*)
++      PKG_CONFIG=$optval
++      logdbg "PKG_CONFIG: $PKG_CONFIG"
++      ;;
+     --add-cflags=?*)
+       CFLAGS="$CFLAGS $optval"
+       logdbg "CFLAGS: $CFLAGS"
diff --git a/debian/patches/series b/debian/patches/series
index cebe540..24cd223 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 disable-po-update.patch
 cppflags.patch
+cross.patch
diff --git a/debian/rules b/debian/rules
index fd85908..e9667be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,18 +3,23 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpkg/architecture.mk
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/buildtools.mk
 ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
 MAKE_OPTIONS += VERBOSE=1
 endif
 
+export DEB_CXXFLAGS_MAINT_APPEND = -fPIC
+
 %:
 	dh $@ --with vdrplugin
 
 override_dh_auto_configure:
-	./configure --disable-dbus-glib-1
+	./configure --disable-dbus-glib-1 --cc="$(CC)" --cxx="$(CXX)" --pkgconfig="$(PKG_CONFIG)"
 
 override_dh_auto_build:
-	dh_auto_build -- all $(MAKE_OPTIONS)
+	dh_auto_build -- all $(MAKE_OPTIONS) CC="$(CC)" CXX="$(CXX)" CC_FOR_BUILD="$(CC_FOR_BUILD)" PKG_CONFIG="$(PKG_CONFIG)"
 	txt2man -s 1 -t vdr-sxfe -v "Remote X-Server frontend for vdr-plugin-xineliboutput" debian/vdr-sxfe.1.txt >vdr-sxfe.1
 	txt2man -s 1 -t vdr-fbfe -v "Remote Framebuffer frontend for vdr-plugin-xineliboutput" debian/vdr-fbfe.1.txt >vdr-fbfe.1
 	txt2man -s 1 -t vdr-fbfe -v "Remote Framebuffer frontend for vdr-plugin-xineliboutput" debian/vdr-wlfe.1.txt >vdr-wlfe.1
-- 
2.47.2


--- End Message ---
--- Begin Message ---
Source: vdr-plugin-xineliboutput
Source-Version: 2.3.0-3
Done: Christoph Martin <[email protected]>

We believe that the bug you reported is fixed in the latest version of
vdr-plugin-xineliboutput, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Martin <[email protected]> (supplier of updated 
vdr-plugin-xineliboutput package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 22 Nov 2026 23:50:26 +0100
Source: vdr-plugin-xineliboutput
Architecture: source
Version: 2.3.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian VDR Team <[email protected]>
Changed-By: Christoph Martin <[email protected]>
Closes: 1110492 1122735
Changes:
 vdr-plugin-xineliboutput (2.3.0-3) unstable; urgency=medium
 .
   * convert to dgit-maint-merge format
   * convert watch file to version 5
   * remove obsolete dbus dependency (closes: #1122735)
   * cross building fixes (closes: #1110492)
Checksums-Sha1:
 5cdb90e44b9539397523f9d0a6e2ac719cdfdd3b 2818 
vdr-plugin-xineliboutput_2.3.0-3.dsc
 44499dbd63ef065d284f10f8446015b85364ab80 460747 
vdr-plugin-xineliboutput_2.3.0-3.tar.gz
 651c49d377d4c48e4fb25b901ad23cdefc086256 628776 
vdr-plugin-xineliboutput_2.3.0-3.git.tar.xz
 b803fb4e1ca649c259d133185888ca63ba149c04 17810 
vdr-plugin-xineliboutput_2.3.0-3_source.buildinfo
Checksums-Sha256:
 9d71e5b2d42837da12017f656acb3d238ef51c3f9641e0aec462cc98a525db04 2818 
vdr-plugin-xineliboutput_2.3.0-3.dsc
 21732f7d81569be870d9e8a0c2b019359d56a7975e2ebc305a726c11c1540210 460747 
vdr-plugin-xineliboutput_2.3.0-3.tar.gz
 43534a2ecc33ea3b54716279ff8577a6cdc6a351515e9008e4fbedee0fc87708 628776 
vdr-plugin-xineliboutput_2.3.0-3.git.tar.xz
 4339ec3186f666a80de51c978a6c83572c37dd01c195850f476ab0291718fab2 17810 
vdr-plugin-xineliboutput_2.3.0-3_source.buildinfo
Files:
 29f964954a1c790e72200a63b4c44a05 2818 video optional 
vdr-plugin-xineliboutput_2.3.0-3.dsc
 50050978950974f3ef1980d9d0b20eb2 460747 video optional 
vdr-plugin-xineliboutput_2.3.0-3.tar.gz
 acc8535238f9117333d980846794d6e3 628776 video optional 
vdr-plugin-xineliboutput_2.3.0-3.git.tar.xz
 97a38e037e16618efe3e80ef20f8e2cc 17810 video optional 
vdr-plugin-xineliboutput_2.3.0-3_source.buildinfo
Git-Tag-Info: tag=94ad944b394656dd913429fe48f3c1bac40f435e 
fp=ba96516a90741655eec754e39be1acf1adeb286b
Git-Tag-Tagger: Christoph Martin <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmsEhiwACgkQYG0ITkaD
wHmTRA/+MzScw8Jcxnq/mCkUAlwDQbhaGqWSxLgopykgNfySTEwSQp173wEOIKkj
NE8YIjykJjGnZm9jel8pbSsjnS5ZNt7he3tP1MhslhshjspijOllBTM0veYbSEwd
yDkR40KZ2nBnOmwwMZoi8JXHGDlyCtREdGF44hs85UvLWCvUNFe9lpULbKbEkKUQ
eOcD+xZYJkwc1leZCo5bLEEqvtDaspdbQ69ySNox9rA8OAFDo1AFaSqIw2SP+7yE
j1VTWK/PCC6fTrE9ZtGk7ICV+Sjky2O5AXaKNATWYyO8cS6BFqjsYcXLMO6pxZxN
34KZ3x4oLFGlPFDDkv66C8wcrJzHba2n4LBJ3D2cTvkrU155VkQylzALAZAvJxlZ
+2+xYxSZWySS7cXeVLG8XJ5YqR9nnPd5AAzYEoTz+IGnNME8RvE+/n1AkjQwouph
R+1wAh/rrjz5fI0U2WA6ii40eQexO4wKULnCWncRUoZavHLF/dAhXaSiSP5oR0ch
JVIKAmk6whRO6kfkqy8p6M/3abDHPkAWzVUQT8mubZmvK2NXbidhCNkNgd+6lCv7
AQzmi6qoRfPMKsERs2P9hyWy/943BTCiCnEhtRDs0+ikgIk9gbudHWCvahYri7l+
RQk0e+4naIzin81OkZLDtGl4X5DL1fhBGYwbH59Bw+5JuGEQ8E8=
=TiIB
-----END PGP SIGNATURE-----

Attachment: pgpctm9tp2qIC.pgp
Description: PGP signature


--- End Message ---

Reply via email to