Your message dated Fri, 29 Mar 2019 17:03:59 +0000
with message-id <[email protected]>
and subject line Bug#882536: fixed in blockout2 2.4+dfsg1-9
has caused the Debian Bug report #882536,
regarding blockout2 FTCBFS: uses the build architecture compiler
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.)


-- 
882536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882536
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: blockout2
Version: 2.4+dfsg1-8
Tags: patch
User: [email protected]
Usertags: rebootstrap

blockout2 fails to cross build from source for three reasons:
 * debian/rules fails to pass cross compilers to the debian/Makefile.
   Using dh_auto_build fixes that.
 * It determines the added flags on the build architecture rather than
   the host architecture.
 * debian/Makefile hard codes the build architecture compiler and
   ignores the substitutions provided by dh_auto_build.

After fixing all of the above, blockout2 cross builds successfully.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru blockout2-2.4+dfsg1/debian/Makefile 
blockout2-2.4+dfsg1/debian/Makefile
--- blockout2-2.4+dfsg1/debian/Makefile 2017-07-15 17:50:21.000000000 +0200
+++ blockout2-2.4+dfsg1/debian/Makefile 2017-11-23 19:37:44.000000000 +0100
@@ -19,16 +19,16 @@
        touch $@
 
 $(TARGET): $(BOBJ) $(IOBJ)
-       g++ $^ -o $@ $(LDFLAGS)
+       $(CXX) $^ -o $@ $(LDFLAGS)
 
 obj/bo/%.o: BlockOut/%.cpp
-       g++ -MMD $(CFLAGS) -c $< -o $@
+       $(CXX) -MMD $(CFLAGS) -c $< -o $@
 
 obj/il/%.o: ImageLib/%.c
-       gcc -MMD $(CFLAGS) -c $< -o $@
+       $(CC) -MMD $(CFLAGS) -c $< -o $@
 
 obj/il/%.o: ImageLib/%.cpp
-       g++ -MMD $(CFLAGS) -c $< -o $@
+       $(CXX) -MMD $(CFLAGS) -c $< -o $@
 
 clean:
        rm -fr obj
diff --minimal -Nru blockout2-2.4+dfsg1/debian/changelog 
blockout2-2.4+dfsg1/debian/changelog
--- blockout2-2.4+dfsg1/debian/changelog        2017-07-15 17:50:21.000000000 
+0200
+++ blockout2-2.4+dfsg1/debian/changelog        2017-11-23 19:37:44.000000000 
+0100
@@ -1,3 +1,13 @@
+blockout2 (2.4+dfsg1-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross compilers to make.
+    + Fix build/host confusion in d/rules.
+    + Make compilers in d/Makefile substitutable.
+
+ -- Helmut Grohne <[email protected]>  Thu, 23 Nov 2017 19:37:44 +0100
+
 blockout2 (2.4+dfsg1-8) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru blockout2-2.4+dfsg1/debian/rules 
blockout2-2.4+dfsg1/debian/rules
--- blockout2-2.4+dfsg1/debian/rules    2017-07-15 17:50:21.000000000 +0200
+++ blockout2-2.4+dfsg1/debian/rules    2017-11-23 19:37:44.000000000 +0100
@@ -1,15 +1,18 @@
 #!/usr/bin/make -f
 # vim: noet sw=4 ts=4 ai
 
+include /usr/share/dpkg/architecture.mk
+
+BUILD_FLAGS=
+ifeq ($(DEB_HOST_ARCH),amd64)
+BUILD_FLAGS = ADDCFLAGS=-DLOCALTIME64
+endif
+
 %:
        dh $@
 
 override_dh_auto_build:
-       if test `dpkg-architecture -qDEB_BUILD_ARCH` = amd64; then \
-               $(MAKE) -f debian/Makefile ADDCFLAGS=-DLOCALTIME64; \
-       else \
-               $(MAKE) -f debian/Makefile; \
-       fi
+       dh_auto_build --buildsystem=makefile -- -f debian/Makefile 
$(BUILD_FLAGS)
 
 override_dh_clean:
        dh_clean

--- End Message ---
--- Begin Message ---
Source: blockout2
Source-Version: 2.4+dfsg1-9

We believe that the bug you reported is fixed in the latest version of
blockout2, 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.
Dmitry E. Oboukhov <[email protected]> (supplier of updated blockout2 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: Fri, 29 Mar 2019 19:45:41 +0300
Source: blockout2
Binary: blockout2 blockout2-dbgsym
Architecture: source amd64
Version: 2.4+dfsg1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Dmitry E. Oboukhov <[email protected]>
Description:
 blockout2  - Tetris like game (3D-tetris)
Closes: 882536
Changes:
 blockout2 (2.4+dfsg1-9) unstable; urgency=medium
 .
   Apply 882536 patch, thanks to Helmut Grohne <[email protected]>:
   * Fix FTCBFS: (Closes: #882536)
     + Let dh_auto_build pass cross compilers to make.
     + Fix build/host confusion in d/rules.
     + Make compilers in d/Makefile substitutable.
Checksums-Sha1:
 1fab2cdd0175b72c22f2722b7eb4f8a9e1acf04f 2007 blockout2_2.4+dfsg1-9.dsc
 a74032af72a5ff6d57239de5e13c3ca8115257a2 9784 
blockout2_2.4+dfsg1-9.debian.tar.xz
 b7e090182148cf9db89d3bf3fa06aa07df2b3e3a 314324 
blockout2-dbgsym_2.4+dfsg1-9_amd64.deb
 b7bca918a66700f2f69f13a690ed2d3479e9979d 10415 
blockout2_2.4+dfsg1-9_amd64.buildinfo
 caf99cd55083619bdc72213805916a7e1af4b597 4639208 
blockout2_2.4+dfsg1-9_amd64.deb
Checksums-Sha256:
 792d33beb2df0ba36289d70ece855b4f2d0fd07e4e9a883244c69447235ef09b 2007 
blockout2_2.4+dfsg1-9.dsc
 216bccccf15438ef56c555c03256cf00f697b036d87f3f272378301eddd34b4c 9784 
blockout2_2.4+dfsg1-9.debian.tar.xz
 d7bb0df7629d8b8b88d01d1a0f42ea32821ae93f906fdcc3ca0d2922f0d4ae4e 314324 
blockout2-dbgsym_2.4+dfsg1-9_amd64.deb
 08198510ae7ebb71b5b84165370343b396e8aba09ff9c75c2cf7a9b1069b8842 10415 
blockout2_2.4+dfsg1-9_amd64.buildinfo
 fce7820766eecacd2c5bf65ece15d84c95d5a60b7d7f90a73b44da8cf2ff618b 4639208 
blockout2_2.4+dfsg1-9_amd64.deb
Files:
 192c9ed2321210a310921f96e9a15ef7 2007 games extra blockout2_2.4+dfsg1-9.dsc
 a7197b3378dcebb506142e99e02eac46 9784 games extra 
blockout2_2.4+dfsg1-9.debian.tar.xz
 ae3e3e7180f9653ddba4046b4ab4330b 314324 debug optional 
blockout2-dbgsym_2.4+dfsg1-9_amd64.deb
 02a66a0c5f3508b183163a2d13d85793 10415 games extra 
blockout2_2.4+dfsg1-9_amd64.buildinfo
 baf910831a054a61a5080212c10f5bcd 4639208 games extra 
blockout2_2.4+dfsg1-9_amd64.deb

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

iQIzBAEBCgAdFiEEce2s/GgBDdka0ZuGjR+Wmgjup1YFAlyeTHgACgkQjR+Wmgju
p1ZdsA//TZewummylvQ1P6bx6A+uBC613RnpHgrJlDXZ5QAN46vwIOXSI9rdLOeE
r71dyHohn/VlA29mY3zAFvqT1ca9nmHr6YTKr/pxFTD9DT49NRJmQTMYHAp3GwNl
29mIn6zvEbyDgqwHAZYGc0s4FCQFBh3rifoTd95szx9WoLh6Wo/ObnwcOZBAhBJS
cPLbqyZ05zws23SElvlSyf4UI0+k1OaXgIaahg+mrKPmuJIGRk0Rq2UKsxZ9/AvG
xFLhXcAlBOdl6Mke7Ew/dxR/7MVXzIgHsFoJtQvC81uSs0j6K/OECJ2lVv0tPL8f
ZbSe+5pb/+MLPw1v9e8Z+ucergO0Y+GuNKgCT8A34WdAqckpFxoIrFwWkZroa1j7
GdrLhKRkz8Xg2OgRQwv2OxaSn+gUSv7grkK1h3epvmkyBxz4GoG6b/FJOBdtAm0T
KNtySMPgA/EyjGimu+hG51zCgK//vvlJGAVci/B80naBYB1v8Zq0zxd6/8vAApUm
YEiR30J5iM3VmVAu0h9UgZxJ/rNL8cl4aEZ2TMaA0glF1+LzBKDPM5ley0GFS9a1
HHKrU2nO/MSY3/XhQPHupP80V2XM/M1MpgLMXJYnjJd/wICzb2EmHN+4iozrX6rP
DwarGVSSxfFOD7qs1RB2AzWVhO4l1FUy33OoJgP9y58l6Wrq2lc=
=7dNr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to