Your message dated Sat, 12 Jan 2019 13:19:18 +0000
with message-id <[email protected]>
and subject line Bug#919061: fixed in deal 3.1.9-11
has caused the Debian Bug report #919061,
regarding deal FTCBFS: builds for the wrong 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 [email protected]
immediately.)


-- 
919061: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919061
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: deal
Version: 3.1.9-10
Tags: patch
User: [email protected]
Usertags: rebootstrap

deal fails to cross build from source, because it uses the build
architecture compiler. Using dh_auto_build is the easiest way of doing
so. Then it fails running ./makecounttable. It turns out that we need to
use the build architecture compiler for that one file. Proceeding the
build, it fails linking deal because the Makefile hard codes g++. The
attached patch makes deal cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru deal-3.1.9/debian/changelog deal-3.1.9/debian/changelog
--- deal-3.1.9/debian/changelog 2018-09-25 22:04:00.000000000 +0200
+++ deal-3.1.9/debian/changelog 2019-01-11 17:38:44.000000000 +0100
@@ -1,3 +1,13 @@
+deal (3.1.9-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Except for makecounttable where we need the native compiler.
+    + cross.patch: Make the C++ linker substitutable.
+
+ -- Helmut Grohne <[email protected]>  Fri, 11 Jan 2019 17:38:44 +0100
+
 deal (3.1.9-10) unstable; urgency=medium
 
   * Repository moved to salsa.
diff --minimal -Nru deal-3.1.9/debian/patches/cross.patch 
deal-3.1.9/debian/patches/cross.patch
--- deal-3.1.9/debian/patches/cross.patch       1970-01-01 01:00:00.000000000 
+0100
+++ deal-3.1.9/debian/patches/cross.patch       2019-01-11 17:38:44.000000000 
+0100
@@ -0,0 +1,11 @@
+--- deal-3.1.9.orig/Makefile
++++ deal-3.1.9/Makefile
+@@ -56,7 +56,7 @@
+ BINARY=./deal
+ 
+ deal: $(OBJS)
+-      g++ $(CFLAGS) $(OBJS) -o deal $(LDFLAGS) $(EXTRA_LDFLAGS)
++      $(CXX) $(CFLAGS) $(OBJS) -o deal $(LDFLAGS) $(EXTRA_LDFLAGS)
+ 
+ universal:
+       $(MAKE) clean
diff --minimal -Nru deal-3.1.9/debian/patches/series 
deal-3.1.9/debian/patches/series
--- deal-3.1.9/debian/patches/series    2017-11-29 20:16:05.000000000 +0100
+++ deal-3.1.9/debian/patches/series    2019-01-11 17:38:44.000000000 +0100
@@ -3,3 +3,4 @@
 absolute-paths
 seed-getpid
 no-version-warning
+cross.patch
diff --minimal -Nru deal-3.1.9/debian/rules deal-3.1.9/debian/rules
--- deal-3.1.9/debian/rules     2017-11-29 20:00:46.000000000 +0100
+++ deal-3.1.9/debian/rules     2019-01-11 17:38:44.000000000 +0100
@@ -1,7 +1,10 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 override_dh_auto_build:
-       $(MAKE) EXTRA_LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" \
+       dpkg-architecture -f -a$(DEB_BUILD_ARCH) -c dh_auto_build -- 
makecounttable LDFLAGS=
+       dh_auto_build -- EXTRA_LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" 
\
                EXTRA_CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell 
dpkg-buildflags --get CPPFLAGS)"
 
 override_dh_auto_test:

--- End Message ---
--- Begin Message ---
Source: deal
Source-Version: 3.1.9-11

We believe that the bug you reported is fixed in the latest version of
deal, 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 Berg <[email protected]> (supplier of updated deal 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: SHA256

Format: 1.8
Date: Sat, 12 Jan 2019 13:44:21 +0100
Source: deal
Binary: deal
Architecture: source
Version: 3.1.9-11
Distribution: unstable
Urgency: medium
Maintainer: Christoph Berg <[email protected]>
Changed-By: Christoph Berg <[email protected]>
Description:
 deal       - bridge hand generator
Closes: 919061
Changes:
 deal (3.1.9-11) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #919061)
     + Let dh_auto_build pass cross tools to make.
     + Except for makecounttable where we need the native compiler.
     + cross.patch: Make the C++ linker substitutable.
Checksums-Sha1:
 6fe91a9bd8ae261e50e00548b47b1c9fc53257b4 1811 deal_3.1.9-11.dsc
 156a127bfa6a5f72b92b386dc4ef71df5f62a2b8 7504 deal_3.1.9-11.debian.tar.xz
Checksums-Sha256:
 e7b02b4b1db81f2ce025c3fb508cd57ada35c197e827678826eba268653eb96d 1811 
deal_3.1.9-11.dsc
 6f9324c52e15d52764318d564c7daff2e1b212d22aac0393b7031e37b7f33f97 7504 
deal_3.1.9-11.debian.tar.xz
Files:
 bce023bd8a97d88fe9d1f2c094e2aadb 1811 games optional deal_3.1.9-11.dsc
 e1c597edac42b2f9a8876be2cb384451 7504 games optional 
deal_3.1.9-11.debian.tar.xz

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

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAlw54cEACgkQTFprqxLS
p66j5xAAk3fMqEYqAdoacBJDg/T7Z9/WdvR2fmIHl4HFTfG0Bo8xWEvwl0n8GBh3
0+7WXnwVapMGv+eW7E9l/LFtCJvQibQZ0o01yW8oLh+caFIMe3BSuR7p5/srcXtV
l3WHjhuEkae/B8S48YCig+AwXvi5O9Z6kpGoMxN3nxXMkBz2YxKUIZ9aOMURizRz
pyKQ2cJ9ARvBqGZLO0bzNqHmdNb8/Pr2bMU261NOlRHgadiNfA1Qi32XH4fnA6rW
PXWnjTNm7hwhY6pAPby04CfYa6oofQQZMN/pK8CdZwP+2AdwheUktcUzIxCivNjc
DZXGVCSttPsNDW8HpI6lzhAlDhAw7+aVMELvjuU15QQCyv0/5l6E5HSkBjkXOHYH
rOYk2SM5zl5K4rLI2h8HWYawI4T2PA5kYYOi8kcowyXSJ7LtZ+6KFtHw3pPkpb4K
wfWitsMVcRsnGlIbdfrj1Yny1yfiAt51jxeSyZ1WqciHtp76R4A1roCzJuAPzjRq
GwXlMQn8aJf/60ECrNX501ca/RQjV8315tbiwdUYTb2yGJHJOt5npGkTS4gcZg49
13pUCd0lQ6UqXxNgCplrFZRG46b6f/6itYpgRhC1o7KLOXRcokbVfdiHXyG0ZHFV
34N7NKoBBSg2fwN797zF7dDRQp+jIxol5bZWbWhtpFmL8OUmqyA=
=A5IP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to