Your message dated Fri, 17 Dec 2021 03:36:38 +0000
with message-id <e1my42w-000hlf...@fasolo.debian.org>
and subject line Bug#1001784: Removed package(s) from unstable
has caused the Debian Bug report #950979,
regarding vdr-plugin-games FTCBFS: use build architecture build tools
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.)


-- 
950979: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950979
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: vdr-plugin-games
Version: 0.6.3-46.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

vdr-plugin-games fails to cross build from source. The upstream
Makefiles hard code g++ in a few occasions and debian/rules hard codes
pkg-config. The attached patch fixes both. Please consider applying it.

Helmut
diff --minimal -Nru vdr-plugin-games-0.6.3/debian/changelog 
vdr-plugin-games-0.6.3/debian/changelog
--- vdr-plugin-games-0.6.3/debian/changelog     2017-09-16 11:22:32.000000000 
+0200
+++ vdr-plugin-games-0.6.3/debian/changelog     2020-02-09 06:58:34.000000000 
+0100
@@ -1,3 +1,12 @@
+vdr-plugin-games (0.6.3-46.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Supply pkg-config from dpkg's buildtools.mk.
+    + cross.patch: Make g++ substitutable.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 09 Feb 2020 06:58:34 +0100
+
 vdr-plugin-games (0.6.3-46.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff --minimal -Nru vdr-plugin-games-0.6.3/debian/patches/cross.patch 
vdr-plugin-games-0.6.3/debian/patches/cross.patch
--- vdr-plugin-games-0.6.3/debian/patches/cross.patch   1970-01-01 
01:00:00.000000000 +0100
+++ vdr-plugin-games-0.6.3/debian/patches/cross.patch   2020-02-09 
06:58:34.000000000 +0100
@@ -0,0 +1,56 @@
+--- vdr-plugin-games-0.6.3.orig/Makefile
++++ vdr-plugin-games-0.6.3/Makefile
+@@ -64,11 +64,11 @@
+       @echo
+ 
+ libvdr-games.so: $(OBJS)
+-      g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@
++      $(CXX) $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@
+       @cp $@ $(LIBDIR)/$@.$(APIVERSION)
+ 
+ sdl-games: $(OBJS)
+-      g++ $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@
++      $(CXX) $(OBJS) $(LFLAGS) $(ARCHIVES) -o $@
+ 
+ install: all
+       @cp $(LIBDIR)/libvdr-games.so.$(VDRVER) /mnt/vdr/lib/plugins/
+--- vdr-plugin-games-0.6.3.orig/minesweeper/Makefile
++++ vdr-plugin-games-0.6.3/minesweeper/Makefile
+@@ -11,4 +11,4 @@
+ 
+ .cpp.o:
+       @echo -n "."
+-      g++ $(DEFINES) $(CFLAGS) -c $<
++      $(CXX) $(DEFINES) $(CFLAGS) -c $<
+--- vdr-plugin-games-0.6.3.orig/snake/Makefile
++++ vdr-plugin-games-0.6.3/snake/Makefile
+@@ -11,4 +11,4 @@
+ 
+ .cpp.o:
+       @echo -n "."
+-      g++ $(DEFINES) $(CFLAGS) -c $<
++      $(CXX) $(DEFINES) $(CFLAGS) -c $<
+--- vdr-plugin-games-0.6.3.orig/tetris/Makefile
++++ vdr-plugin-games-0.6.3/tetris/Makefile
+@@ -11,4 +11,4 @@
+ 
+ .cpp.o:
+       @echo -n "."
+-      g++ $(DEFINES) $(CFLAGS) -c $<
++      $(CXX) $(DEFINES) $(CFLAGS) -c $<
+--- vdr-plugin-games-0.6.3.orig/tictactoe/Makefile
++++ vdr-plugin-games-0.6.3/tictactoe/Makefile
+@@ -11,4 +11,4 @@
+ 
+ .cpp.o:
+       @echo -n "."
+-      g++ $(DEFINES) $(CFLAGS) -c $<
++      $(CXX) $(DEFINES) $(CFLAGS) -c $<
+--- vdr-plugin-games-0.6.3.orig/tron/Makefile
++++ vdr-plugin-games-0.6.3/tron/Makefile
+@@ -11,4 +11,4 @@
+ 
+ .cpp.o:
+       @echo -n "."
+-      g++ $(DEFINES) $(CFLAGS) -c $<
++      $(CXX) $(DEFINES) $(CFLAGS) -c $<
diff --minimal -Nru vdr-plugin-games-0.6.3/debian/patches/series 
vdr-plugin-games-0.6.3/debian/patches/series
--- vdr-plugin-games-0.6.3/debian/patches/series        2017-09-16 
11:22:32.000000000 +0200
+++ vdr-plugin-games-0.6.3/debian/patches/series        2020-02-09 
06:57:53.000000000 +0100
@@ -3,3 +3,4 @@
 04_gcc-4.6.patch
 flags.patch
 vdr.patch
+cross.patch
diff --minimal -Nru vdr-plugin-games-0.6.3/debian/rules 
vdr-plugin-games-0.6.3/debian/rules
--- vdr-plugin-games-0.6.3/debian/rules 2015-09-22 20:55:36.000000000 +0200
+++ vdr-plugin-games-0.6.3/debian/rules 2020-02-09 06:58:33.000000000 +0100
@@ -2,10 +2,11 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+include /usr/share/dpkg/buildtools.mk
 
 MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale
-CXXFLAGS += $(shell pkg-config vdr --variable=cxxflags)
-CFLAGS += $(shell pkg-config vdr --variable=cflags)
+CXXFLAGS += $(shell $(PKG_CONFIG) vdr --variable=cxxflags)
+CFLAGS += $(shell $(PKG_CONFIG) vdr --variable=cflags)
 export LFLAGS=$(LDFLAGS)
 
 %:

--- End Message ---
--- Begin Message ---
Version: 0.6.3-46.1+rm

Dear submitter,

as the package vdr-plugin-games has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1001784

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- 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