Your message dated Sat, 28 Feb 2026 03:19:14 +0000
with message-id <[email protected]>
and subject line Bug#1129219: fixed in mah-jong 1.17.2-3
has caused the Debian Bug report #1129219,
regarding mah-jong FTCBFS: includes the C standard in the CC variable
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.)


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

mah-jong fails to cross build from source, because the upstream build
system includes the C standard in the CC variable. When dh_auto_build
overrides CC, the standard goes missing and the code does not compile
with the default standard. I am attaching a patch that adds the standard
to CC explicitly to make it cross build. Please consider applying it.

Helmut
diff -Nru mah-jong-1.17.2/debian/changelog mah-jong-1.17.2/debian/changelog
--- mah-jong-1.17.2/debian/changelog    2026-02-04 03:01:56.000000000 +0100
+++ mah-jong-1.17.2/debian/changelog    2026-02-25 13:28:13.000000000 +0100
@@ -1,3 +1,10 @@
+mah-jong (1.17.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Include C standard in CC. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 25 Feb 2026 13:28:13 +0100
+
 mah-jong (1.17.2-2) unstable; urgency=medium
 
   * add d/p/0001-Port-GUI-from-GTK-2-to-GTK-3.patch, Closes: #967620,
diff -Nru mah-jong-1.17.2/debian/rules mah-jong-1.17.2/debian/rules
--- mah-jong-1.17.2/debian/rules        2026-02-03 03:36:50.000000000 +0100
+++ mah-jong-1.17.2/debian/rules        2026-02-25 13:28:11.000000000 +0100
@@ -5,6 +5,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+include /usr/share/dpkg/buildtools.mk
+
 %:
        dh  $@
 
@@ -20,6 +22,10 @@
        rm -fv Makefile
        make -f Makefile.in Makefile
 
+override_dh_auto_build:
+       # debhelper overrides CC but upstream uses it convey the standard
+       dh_auto_build -- CC='$(CC) -std=gnu99'
+
 execute_after_dh_install:
        make install.man DESTDIR=$(CURDIR)/debian/mah-jong/ 
MANDIR=usr/share/man/man6
        mv debian/Makefile.sav Makefile

--- End Message ---
--- Begin Message ---
Source: mah-jong
Source-Version: 1.17.2-3
Done: xiao sheng wen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mah-jong, 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.
xiao sheng wen <[email protected]> (supplier of updated mah-jong 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: Sat, 28 Feb 2026 10:58:34 +0800
Source: mah-jong
Architecture: source
Version: 1.17.2-3
Distribution: unstable
Urgency: medium
Maintainer: xiao sheng wen <[email protected]>
Changed-By: xiao sheng wen <[email protected]>
Closes: 1129219
Changes:
 mah-jong (1.17.2-3) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * d/rules: Fix FTCBFS: Include C standard in CC. (Closes: #1129219)
Checksums-Sha1:
 7bd307c0e56f5f9eaba38fbf1432cd72aa84755b 1874 mah-jong_1.17.2-3.dsc
 e0dbe33d61d1e2a050e30893d8849028c3035555 41668 mah-jong_1.17.2-3.debian.tar.xz
 6ce599b20313a4c9229c1dcc0733ce679126b61c 14580 
mah-jong_1.17.2-3_source.buildinfo
Checksums-Sha256:
 e5b49a24e486767538e509e969b9c2861c72a190ca22a7f7f7bf9c41b1ce0e24 1874 
mah-jong_1.17.2-3.dsc
 47b4bc0be3bc093ee3a119f4abc00c1672d43f6274805d55742ce3adeb930b48 41668 
mah-jong_1.17.2-3.debian.tar.xz
 023a007d7fdaa02ff4b3a4f9a31ddc3a650569ec732a93b490e4a2caa6c77145 14580 
mah-jong_1.17.2-3_source.buildinfo
Files:
 0774527b557b9907f9b77ff794e5a607 1874 games optional mah-jong_1.17.2-3.dsc
 403fa159453d58b6de85705649ab60c7 41668 games optional 
mah-jong_1.17.2-3.debian.tar.xz
 7cafc13d0661dd4c951aa1394535a1de 14580 games optional 
mah-jong_1.17.2-3_source.buildinfo

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

iQIzBAEBCgAdFiEEvGv7H5NUQYeSuhtTJ2Egg8PSprAFAmmiW5oACgkQJ2Egg8PS
prBaQA//aKEJ0Sq1XWDyhgK/Q9nsFUNtpT+bqoPuIPscQDuH4D7yoiGH7fiW+W2t
6AaLL5EfgfUVWMg5NQkdYteSzo+UifVdjGQtabSC5Oc0U5a1XeCPuSlRj+YP2v3i
ZNfrdH8dCBMkxHckdbM1sbpyWysJ22joyeqaxrWVRylgk6rhPDUeUkLF5q140CTz
h1524+0zZQLE9cCt1pGWQhtYvVfHW8E1lLH7GnR7YW0QMozYL/AoA4FD3punD8QD
Bk2fr67g1VyDYFUPCz+J77fTZel/tcjft+b2GMjFpADRjnOovkHLcFAEEV0xxWKv
sqem/VWu97cBNMOqjfDZc5eOrCQIOJ/j9vT3oHHJ2tEWbNxDi6ejIL5QCteaHQJn
vM5aWvSnq4sKWy+IsgzisIKDX2MQUvyMh15aU8sv3jpoYnUcw37PSK88yrGPPmeg
PiCsQL15k8QskLIoqVizynsLgyKzgXP4FkYgTlWOUMJmxpdpZiYLL+DJUA/+p7oB
poQMG/BRp3yu2lrDq6f1qO0q7Pflqas2JZ/hLa/65GqRQRmQhjFNZbH3TxN/BWiK
HIn19MKKOUYpbHJCpjUNQzDByfPdBla2pCEFpkjYwpVy4BbkAdN/qe9Naf/Bwdxl
XjCorTWieGzlDBnXuAJQNWfKC8bNq7X5T1SNxSe0oIax7sp5r5c=
=AdAV
-----END PGP SIGNATURE-----

Attachment: pgpgnWa3D6eoZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to