Your message dated Wed, 02 Aug 2023 12:39:44 +0000
with message-id <[email protected]>
and subject line Bug#1022987: fixed in warzone2100 4.3.5-2
has caused the Debian Bug report #1022987,
regarding warzone2100 FTCBFS: does not pass cross flags to cmake
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.)


-- 
1022987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022987
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: warzone2100
Version: 4.2.7-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

warzone2100 fails to cross build from source, because it does not pass
cross flags to cmake. The easiest way of doing so - using
dh_auto_configure - makes warzone2100 cross buildable (after disabling
-Wdate-time). Please consider applying the attached patch.

Helmut
diff --minimal -Nru warzone2100-4.2.7/debian/changelog 
warzone2100-4.2.7/debian/changelog
--- warzone2100-4.2.7/debian/changelog  2022-07-30 17:28:56.000000000 +0200
+++ warzone2100-4.2.7/debian/changelog  2022-10-28 14:44:33.000000000 +0200
@@ -1,3 +1,12 @@
+warzone2100 (4.2.7-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_configure pass cross flags to cmake.
+    + Disable -Wdate-time as it breaks the build with -Werror.
+
+ -- Helmut Grohne <[email protected]>  Fri, 28 Oct 2022 14:44:33 +0200
+
 warzone2100 (4.2.7-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru warzone2100-4.2.7/debian/rules 
warzone2100-4.2.7/debian/rules
--- warzone2100-4.2.7/debian/rules      2022-07-30 17:28:43.000000000 +0200
+++ warzone2100-4.2.7/debian/rules      2022-10-28 14:44:33.000000000 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=-timeless
 export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG
 
 # riscv64 needs explicit -latomic
@@ -10,16 +10,14 @@
 endif
 
 %:
-       dh $@
+       dh $@ -Scmake+ninja -Bdebian/build
 
 override_dh_auto_configure:
        # Remove embedded code copies so we never use them
        rm -rf 3rdparty/miniupnpc
        # Remove generated files so we regenerate them
        rm -f doc/warzone2100.6
-       rm -rf debian/build
-       mkdir debian/build
-       cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -S . -B debian/build
+       dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo
 
 override_dh_auto_build:
        (cd po ; ./update-po.sh ; cp -r custom ../debian/build/po )

--- End Message ---
--- Begin Message ---
Source: warzone2100
Source-Version: 4.3.5-2
Done: Russell Coker <[email protected]>

We believe that the bug you reported is fixed in the latest version of
warzone2100, 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.
Russell Coker <[email protected]> (supplier of updated warzone2100 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: Tue, 01 Aug 2023 18:55:29 +1000
Source: warzone2100
Architecture: source
Version: 4.3.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Russell Coker <[email protected]>
Closes: 1022987
Changes:
 warzone2100 (4.3.5-2) unstable; urgency=medium
 .
   * Fix FTCBFS: (Closes: #1022987)
     + Let dh_auto_configure pass cross flags to cmake.
     + Disable -Wdate-time as it breaks the build with -Werror.
     Thanks Helmut Grohne <[email protected]>
   * Removed Paul Wise from Uploaders
   * Removed the old version of flex from build-depends as we don't even test
     with that, now requires only the new version.
   * Added a patch to stop a SEGV if it can't execute which via popen.  Patch
     has been accepted upstream so will remove in a future release.
Checksums-Sha1:
 ab3de3957de87b06b8e64b3451c749fdcd9387cb 2619 warzone2100_4.3.5-2.dsc
 9248ad270f17ceba31fafe8d7179e20d75c546e2 26728 
warzone2100_4.3.5-2.debian.tar.xz
 a6529a2dea68110324c8d716768ef5a8eed77996 16449 
warzone2100_4.3.5-1_amd64.buildinfo
 3694efd442adfaf8d3b102cdd8ca09a57a2eb0c3 14788 
warzone2100_4.3.5-2_amd64.buildinfo
Checksums-Sha256:
 7ec63fe4364bcbfdaa0cfe92b6efa55e0743cf97f3ad4c23e32087f3a8790f65 2619 
warzone2100_4.3.5-2.dsc
 2f8122ea5179466c30d204f42f2f59afc1a3f0bff416ede1f6375f7727615ff1 26728 
warzone2100_4.3.5-2.debian.tar.xz
 f2f853e9005c9b7c5741ebcb3e2ba9fe47862b6d716ae85eb3d6874a04a976f8 16449 
warzone2100_4.3.5-1_amd64.buildinfo
 36457bedca54b21cd19b5403d020df2e8712317312c245d01867f13978982432 14788 
warzone2100_4.3.5-2_amd64.buildinfo
Files:
 155f3d365864a3fea3423c38e3fe44d7 2619 games optional warzone2100_4.3.5-2.dsc
 b1841e3f5f434e5ae31d4e74f1aabf52 26728 games optional 
warzone2100_4.3.5-2.debian.tar.xz
 8f1ecdf299a7db7142e3d9419f934d9e 16449 games optional 
warzone2100_4.3.5-1_amd64.buildinfo
 22492662f4d96f6f73dc4754e4384b65 14788 games optional 
warzone2100_4.3.5-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEn31hncwG9XwCqmbH0UHNMPxLj3kFAmTKTH0ACgkQ0UHNMPxL
j3mK6g/+MMImKH5zNcgnN8zmdHg7qvv3GUL3qarzRy9q2CC2mf6clDNY6EWKzR0Y
CwwLRvFQyQmGVes7cQPWStsPSjHfDbZYVjAUi+xNFPZ4L+oLd+hoqLZwZBzEJxaJ
fDs6nbEJGCC9ms/5xXSl7XMGdIF6jjqVNmvhF5IdX4A6iX8Rtn0nZSSQkSiMK5qc
lKnFVM8UP7NruPDBtfr5gcKMB8rJUVua7vbcaRsZqXq5gQQV3jOQSaXO+djKJ8fA
MYdtwtvrKcaRQdX+A4mB3jSFBfxROT50QsRwF//3j8RzHlNR9fbxgok33pCOdeO5
dxU1n3faO4TM9B3Zs7ybmLr9LpObzgtmS4S7RzZ44h8RzWkjIErsdp92KCQ5NR6l
d/+lTy2ov4TMQ7mjZd7YuIA8Dv4SZhMdzHKmdrBjnRhxwhNom3bUZgcy6U/PvGkL
OHtqLHdbPSy1TQ/VdrPCSYu/QDatmjikk+vtZLL6c52crb1cD2HTOTImuUWJFoW0
4GUyXJaD7ztcdy/zld4NDIRIT7I0rYpfxpWTgvAmD0ck56OImA/aEoDTPHnGisi5
EIvwLHhjVXIZOyBZPWFpbd+71GKHn2NpUW1mWpWZfwtfkl8vJ6lg8ZGgNPldta4d
iO2f0Sk+z9KNgS4HYcrMk9CfaHfmMz0yQFAJ/DjyFceGghfLOcQ=
=pYjO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to