Your message dated Tue, 25 Jan 2022 18:36:41 +0000
with message-id <e1ncqgl-000bws...@fasolo.debian.org>
and subject line Bug#1003760: fixed in vdr-plugin-xineliboutput 
2.2.0+git20211212-2.1
has caused the Debian Bug report #1003760,
regarding vdr-plugin-xineliboutput FTCBFS: builds for the build architecture
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 ow...@bugs.debian.org
immediately.)


-- 
1003760: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003760
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: vdr-plugin-xineliboutput
Version: 2.2.0+git20211212-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

vdr-plugin-xineliboutput fails to cross build from source for a number
of reasons. It has a hand-written configure script that doesn't accept
the standard autotools flags at all. Instead, one is supposed to pass
build tools via flags like --cc=$(CC). Unfortunately, this isn't being
done. Worse, it doesn't cover all the relevant tools and it has no
provisions to select the host architecture pkg-config. Finally, it runs
a tool mpg2c during build. This tool must not be built with the cross
toolchain. The attached patch fixes all of these aspects and makes
vdr-plugin-xineliboutput cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru vdr-plugin-xineliboutput-2.2.0+git20211212/debian/changelog 
vdr-plugin-xineliboutput-2.2.0+git20211212/debian/changelog
--- vdr-plugin-xineliboutput-2.2.0+git20211212/debian/changelog
+++ vdr-plugin-xineliboutput-2.2.0+git20211212/debian/changelog
@@ -1,3 +1,13 @@
+vdr-plugin-xineliboutput (2.2.0+git20211212-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Add --pkg-config flag to configure.
+    + Pass all build tools to configure.
+    + Build mpg2c.c with the build architecture compiler.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 15 Jan 2022 06:20:04 +0100
+
 vdr-plugin-xineliboutput (2.2.0+git20211212-2) unstable; urgency=medium
 
   [ Tobias Grimm ]
diff --minimal -Nru 
vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/cross.patch 
vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/cross.patch
--- vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/cross.patch
+++ vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/cross.patch
@@ -0,0 +1,71 @@
+--- vdr-plugin-xineliboutput-2.2.0+git20211212.orig/configure
++++ vdr-plugin-xineliboutput-2.2.0+git20211212/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 "  --pkg-config=PKG-CONFIG select the pkg-config executable"
+   echo "  --add-cflags=FLAGS     add compiler flags"
+ }
+ 
+@@ -334,6 +335,10 @@
+       CXX=$optval
+       logdbg "C++ compiler: $CXX"
+       ;;
++    --pkg-config=?*)
++      PKG_CONFIG=$optval
++      logdbg "pkg-config: $PKG_CONFIG"
++      ;;
+     --add-cflags=?*)
+       CFLAGS="$CFLAGS $optval"
+       logdbg "CFLAGS: $CFLAGS"
+@@ -517,6 +522,7 @@
+ # cc/ld flags
+ echo "CC = $CC">>$makefile
+ echo "CXX = $CXX">>$makefile
++echo "PKG_CONFIG = $PKG_CONFIG">>$makefile
+ echo "CFLAGS_XINE += $CFLAGS_XINE">>$makefile
+ echo "CFLAGS_VDR  += $CFLAGS_VDR">>$makefile
+ echo "CFLAGS_X11  += $CFLAGS_X11">>$makefile
+--- vdr-plugin-xineliboutput-2.2.0+git20211212.orig/Makefile
++++ vdr-plugin-xineliboutput-2.2.0+git20211212/Makefile
+@@ -45,6 +45,8 @@
+ 
+ CXX      ?= g++
+ CC       ?= gcc 
++PKG_CONFIG ?= pkg-config
++CC_FOR_BUILD ?= gcc
+ OPTFLAGS ?= 
+ 
+ ifeq ($(ARCH_APPLE_DARWIN), yes)
+@@ -63,7 +65,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) --variable=$(1) vdr))
+ BINDIR = $(call PKGCFG,bindir)
+ LIBDIR = $(call PKGCFG,libdir)
+ LOCDIR = $(call PKGCFG,locdir)
+@@ -296,7 +298,7 @@
+ 
+ mpg2c: mpg2c.c
+       @echo CCLD $@
+-      $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) mpg2c.c -o $@
++      $(Q)$(CC_FOR_BUILD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) mpg2c.c -o $@
+ 
+ # data
+ black_720x576.c: mpg2c black_720x576.mpg
diff --minimal -Nru 
vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/series 
vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/series
--- vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/series
+++ vdr-plugin-xineliboutput-2.2.0+git20211212/debian/patches/series
@@ -1,2 +1,3 @@
 disable-po-update.patch
 cppflags.patch
+cross.patch
diff --minimal -Nru vdr-plugin-xineliboutput-2.2.0+git20211212/debian/rules 
vdr-plugin-xineliboutput-2.2.0+git20211212/debian/rules
--- vdr-plugin-xineliboutput-2.2.0+git20211212/debian/rules     
+++ vdr-plugin-xineliboutput-2.2.0+git20211212/debian/rules     
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/buildtools.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -11,7 +13,7 @@
        dh $@ --with vdrplugin
 
 override_dh_auto_configure:
-       ./configure --disable-dbus-glib-1
+       ./configure --disable-dbus-glib-1 '--cc=$(CC)' '--cxx=$(CXX)' 
'--pkg-config=$(PKG_CONFIG)'
 
 override_dh_auto_build:
        dh_auto_build -- all $(MAKE_OPTIONS)

--- End Message ---
--- Begin Message ---
Source: vdr-plugin-xineliboutput
Source-Version: 2.2.0+git20211212-2.1
Done: Tobias Grimm <et...@debian.org>

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 1003...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tobias Grimm <et...@debian.org> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 25 Jan 2022 19:06:50 +0100
Source: vdr-plugin-xineliboutput
Architecture: source
Version: 2.2.0+git20211212-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian VDR Team <pkg-vdr-dvb-de...@lists.alioth.debian.org>
Changed-By: Tobias Grimm <et...@debian.org>
Closes: 1003760
Changes:
 vdr-plugin-xineliboutput (2.2.0+git20211212-2.1) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #1003760)
     + Add --pkg-config flag to configure.
     + Pass all build tools to configure.
     + Build mpg2c.c with the build architecture compiler.
 .
   [ Tobias Grimm ]
   * Fix installation of desktop icons
Checksums-Sha1:
 42bc957e9da32062356331a3d3733251099fff53 2905 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1.dsc
 f0c14aa39dc1c3c32f77a6a1b41c310af32dccaf 438293 
vdr-plugin-xineliboutput_2.2.0+git20211212.orig.tar.gz
 d45b6070368917ffc20c54fe491a4dd48822efd6 22788 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1.debian.tar.xz
 0e00dae05f0c6aed933b3bf42245ea68a4f0d67f 14422 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1_amd64.buildinfo
Checksums-Sha256:
 b2045e2c0c7906027a9ef90e431dfd9fa51818b9305bb0dedf2d05bc5d2d1587 2905 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1.dsc
 088c20881ed662da0853e0eab153966f276c7801c7a90e12dd1186dea7b56388 438293 
vdr-plugin-xineliboutput_2.2.0+git20211212.orig.tar.gz
 5c63e9a5dccb5e9a40af9c9586316dd7ab495591ba8614d754297ff1cdb005af 22788 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1.debian.tar.xz
 0b3c9ba671dffc20bea9635dacc664ca199ac4eaec48feeff3e718055ad5afcb 14422 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1_amd64.buildinfo
Files:
 949b9fac61dbe8f2d4dd24c2dfa1dd35 2905 video optional 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1.dsc
 6254c726b67c20ed385bbf4ecb752985 438293 video optional 
vdr-plugin-xineliboutput_2.2.0+git20211212.orig.tar.gz
 75bdf108d8bcef6653d4dd23f04928f6 22788 video optional 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1.debian.tar.xz
 7aa3db3bac5e867ff2bdc0c3ff8a10f6 14422 video optional 
vdr-plugin-xineliboutput_2.2.0+git20211212-2.1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEV6STX5IhiI/eNxSi1i5PWwQTkLwFAmHwP08ACgkQ1i5PWwQT
kLynNA//Rqmy4qBVo726mEg7OYo4i/AnfP/3OhIf+d+EEN3/HVrcljAdtPRZXM1s
7vqjSypY/lsPXTuZQ0Iez+eHvZmVymmsegXxc3cyS/c3DgCG9ejdJVWaaA6YQPeN
5odF15+knLevRLkx3LNHtC2t+oD20B7MO2XN7FZNTuHVkwYJnZYhsxYglvcz6NmU
S6YrAEMLF7ZdPb330IIlgzlBvNeD8XTiBlfSXKPZK51VUNF3y/JPIhi45hlpBx8d
u8KEWlVQKVFJ0kWTTWgPlnTZrkkui+59k//qrMdrErcBwXp8xZbKh4t6c/ltFEBY
jkqWDAzp56CjwjDIWhHQxIiV/D1im/Gdo+j4sYSE4z0PluiXy2L+65qRXHwYdfLo
HPhUUU6IWTKuaCmIXb5Xn2Es1d+l10wjma6D0n18F/ntVcQtrNJXofD3Jdav1tCV
Wdy5SUN3D2KZuGpTFGZqq0g3A0+ylbdu90b6mbPvlrTUjRd7loxYE3qu9p+owv64
/yNY2hYObo7Gu+1y0f6jpsykmw26pNGiAU884PJVfmN+TSbeCeGZnJWljjXDhR9j
PU/HijKC0oCaSoi7K+trEbsycknS+W5LmMgUIwdwRmEqsnAI4Q8i8vBoQ30jAUYx
HTw8E2Z75P99grWZ8+crX4iWvUVWcSwkXLtTOOSLcpwCKoCAp7k=
=Bp+J
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-vdr-dvb-devel mailing list
pkg-vdr-dvb-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel

Reply via email to