Your message dated Wed, 03 Jan 2024 15:59:12 +0000
with message-id <[email protected]>
and subject line Bug#923135: fixed in gravitation 3+dfsg1-6
has caused the Debian Bug report #923135,
regarding gravitation FTCBFS: uses the wrong 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.)


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

gravitation fails to cross build from source, the upstream build system
hard codes the build architecture compiler. Simply making it
substituable is insufficient here as dh_auto_build expects that
configure sets up cross tools, but the simplistic configure doesn't do
that. So we must tell dh_auto_build to pretend the simpler makefile
build system to make it pass cross tools. The attached patch makes
gravitation cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru gravitation-3+dfsg1/debian/changelog 
gravitation-3+dfsg1/debian/changelog
--- gravitation-3+dfsg1/debian/changelog        2017-08-01 16:46:46.000000000 
+0200
+++ gravitation-3+dfsg1/debian/changelog        2019-02-24 12:33:56.000000000 
+0100
@@ -1,3 +1,12 @@
+gravitation (3+dfsg1-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + cross.patch: Make C++ compiler substitutable.
+    + Let dh_auto_build --buildsystem=makefile pass cross tools to make.
+
+ -- Helmut Grohne <[email protected]>  Sun, 24 Feb 2019 12:33:56 +0100
+
 gravitation (3+dfsg1-5) unstable; urgency=medium
 
   * Fix build reproducibility issues due to use of imagemagick (Closes: 
#776872)
diff --minimal -Nru gravitation-3+dfsg1/debian/patches/cross.patch 
gravitation-3+dfsg1/debian/patches/cross.patch
--- gravitation-3+dfsg1/debian/patches/cross.patch      1970-01-01 
01:00:00.000000000 +0100
+++ gravitation-3+dfsg1/debian/patches/cross.patch      2019-02-24 
12:33:56.000000000 +0100
@@ -0,0 +1,13 @@
+--- gravitation-3+dfsg1.orig/game5/gameSource/Makefile.all
++++ gravitation-3+dfsg1/game5/gameSource/Makefile.all
+@@ -1,8 +1,8 @@
+ 
+ ROOT_PATH = ../..
+ 
+-COMPILE = g++ ${PLATFORM_COMPILE_FLAGS} -Wall -g -I${ROOT_PATH} -c
+-LINK = g++ -I${ROOT_PATH}
++COMPILE = $(CXX) ${PLATFORM_COMPILE_FLAGS} -Wall -g -I${ROOT_PATH} -c
++LINK = $(CXX) -I${ROOT_PATH}
+ 
+ 
+ 
diff --minimal -Nru gravitation-3+dfsg1/debian/patches/series 
gravitation-3+dfsg1/debian/patches/series
--- gravitation-3+dfsg1/debian/patches/series   2008-06-11 03:31:47.000000000 
+0200
+++ gravitation-3+dfsg1/debian/patches/series   2019-02-24 12:33:56.000000000 
+0100
@@ -1 +1,2 @@
 abs_path.patch
+cross.patch
diff --minimal -Nru gravitation-3+dfsg1/debian/rules 
gravitation-3+dfsg1/debian/rules
--- gravitation-3+dfsg1/debian/rules    2014-11-26 09:44:13.000000000 +0100
+++ gravitation-3+dfsg1/debian/rules    2019-02-24 12:33:55.000000000 +0100
@@ -19,7 +19,7 @@
        convert 32x32/gravitation.png 32x32/gravitation.xpm
        sed -i -e 's/PLATFORM_COMPILE_FLAGS = */PLATFORM_COMPILE_FLAGS = 
$$(CFLAGS) $$(CPPFLAGS) /' game5/gameSource/Makefile
        sed -i -e 's/PLATFORM_LINK_FLAGS = */PLATFORM_LINK_FLAGS = $$(LDFLAGS) 
/' game5/gameSource/Makefile
-       $(MAKE) -C game5/gameSource LDFLAGS="-lpthread $(LDFLAGS)" 
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/gravitation\\\" 
-DDATADIR=\\\"/usr/share/games/gravitation/\\\""
+       dh_auto_build --buildsystem=makefile --sourcedirectory=game5/gameSource 
-- LDFLAGS="-lpthread $(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS) 
-DETCDIR=\\\"/etc/gravitation\\\" 
-DDATADIR=\\\"/usr/share/games/gravitation/\\\""
 
 override_dh_auto_clean:
        find game5 -name "*.o" -delete

--- End Message ---
--- Begin Message ---
Source: gravitation
Source-Version: 3+dfsg1-6
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gravitation, 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.
Alexandre Detiste <[email protected]> (supplier of updated gravitation 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: Wed, 03 Jan 2024 13:52:58 +0100
Source: gravitation
Architecture: source
Version: 3+dfsg1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 923135
Changes:
 gravitation (3+dfsg1-6) unstable; urgency=medium
 .
   * Add myself as upload.
   * Import in Salsa
   * Switch to debhelper 13
   * Bump d/watch version to 4
   * priority-extra-is-replaced-by-priority-optional
   * Remove old menu file
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #923135)
     + cross.patch: Make C++ compiler substitutable.
     + Let dh_auto_build --buildsystem=makefile pass cross tools to make.
 .
   [ Janitor ]
   * Trim trailing whitespace.
   * Use secure URI in Homepage field.
Checksums-Sha1:
 16b7fa2241029cd8e899d744df4446d709338a03 2047 gravitation_3+dfsg1-6.dsc
 fd6410015578f26de6d979b89ca4537f7ce565c9 6012 
gravitation_3+dfsg1-6.debian.tar.xz
 6913f70a2fbf8bd995f11aff59c0a93250b55b57 12069 
gravitation_3+dfsg1-6_source.buildinfo
Checksums-Sha256:
 be2954ac77ee95d15cc8f990207ba3a8aaae88d013ebfd3f6cec63629b540120 2047 
gravitation_3+dfsg1-6.dsc
 f0ec10a63aa53d57b1733814f6d2f722032aec53d5aa543b7307a13d5821245c 6012 
gravitation_3+dfsg1-6.debian.tar.xz
 c8b11f2fbcce8468bf51de600688220afc601110226bf00e6845ee37e3201109 12069 
gravitation_3+dfsg1-6_source.buildinfo
Files:
 c16f4e326f916833accbb38560a04e3d 2047 games optional gravitation_3+dfsg1-6.dsc
 0bbee35b407e4a08f8c548ca204207a5 6012 games optional 
gravitation_3+dfsg1-6.debian.tar.xz
 afb05e6234cde992520c6507a9077068 12069 games optional 
gravitation_3+dfsg1-6_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmWVYkURHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqeFg//doqUMgb52346SVq1B6S786athyO73UUp
T5kA4dBG1AgXXy/yNQ/bQqvL8QT6sdDjG4ZrzMJanZnFnKK/9J4HTOZnijwteU0d
ymP5TrivHG2MqyXih3JqFOKcpeBAi+sZNsXEmCNfBnoKL9CqdwOke3/tl2JIk4yY
SzZb4v9yZoIGTauxrihdE+/7OUpVKJguJzL5SYmhh5vO/ZF1eCGbIK8yW1JXPRtK
xXZvQmBoUQmyN1BjB0QmBN/oCFGqvEzLWz4R+eBThxFaxkGZmrLgGkstK11hu+a4
k4ifpd0rg2i0YCDB+pgZLBEMfYCzl7n/5zwBImdacTYHJuuTcGchInGfFjDiH9vv
QdkJmRmp1Mj3pc+8DqbcrhPObVprxFNWdUwJiWn3gnDBEdRFPic5EkRZsPzGTcb/
sccXfuAeecxJIizaa98jHMNGTjvA4SMDr2GfRMEy6UEmKnYIgL4fsRGqrTHzy/Hd
NIvqoCEhiL1uItgJryg85VZp1wY8Tc0DcU0oKWtHetlrHrJo1tOv0sgU/1IBbylM
KsxMqqNiyYY1nH9SLOOUt3tWZfrooORgwSRVvV7q0ojrW1d4pvu8WWf13p5I/Ek3
3HGrV2aWGAKJl2TQcOvZAU0n0efeyO5s9/nAbSsVu4nz5+YqQMja0wuiiBzQmJYZ
reJEbOlZ7vA=
=YnLD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to