Your message dated Tue, 09 Sep 2025 19:49:24 +0000
with message-id <[email protected]>
and subject line Bug#1097353: fixed in mah-jong 1.17-1.1
has caused the Debian Bug report #1097353,
regarding mah-jong: ftbfs with GCC-15
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.)


-- 
1097353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097353
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:mah-jong
Version: 1.16-1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/mah-jong_1.16-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: 
Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: 
Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from game.h:29,
                 from client.h:20,
                 from gui.h:23:
protocol.h:29:13: error: ‘bool’ cannot be defined via ‘typedef’
   29 | typedef int bool;
      |             ^~~~
protocol.h:29:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
protocol.h:29:1: warning: useless type name in empty declaration
   29 | typedef int bool;
      | ^~~~~~~
In file included from game.h:29,
                 from client.h:20,
                 from gui.h:23:
protocol.h:29:13: error: ‘bool’ cannot be defined via ‘typedef’
   29 | typedef int bool;
      |             ^~~~
protocol.h:29:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
protocol.h:29:1: warning: useless type name in empty declaration
   29 | typedef int bool;
      | ^~~~~~~
gui-dial.c: In function ‘chooser_callback’:
gui-dial.c:1194:7: warning: ignoring return value of ‘getcwd’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
 1194 |       getcwd(cbuf,2*PATH_MAX);
      |       ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: gui-dial.o] Error 1
gui.c: In function ‘open_connection’:
gui.c:3438:7: warning: ignoring return value of ‘fgets’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
 3438 |       fgets(buf2,255,serverstream);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui.c: In function ‘read_or_update_rcfile’:
gui.c:4388:7: warning: ignoring return value of ‘fgets’ declared with attribute 
‘warn_unused_result’ [-Wunused-result]
 4388 |       fgets(inbuf,1024,ncf);
      |       ^~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: gui.o] Error 1
player.c: In function ‘player_print_state’:
player.c:1151:15: warning: ‘
hand_score: ’ directive writing 13 bytes into a region of size between 5 and 
184 [-Wformat-overflow=]
 1151 |   sprintf(buf,"Player:\n"
      |               ^~~~~~~~~~~
player.c:1158:22: note: format string is defined here
 1158 | "cumulative_score: %d\n"
      |                      ^~~
 1159 | "hand_score: %d\n"
      | ~~~~~~~~~~~~~         
make[1]: Leaving directory '/build/reproducible-path/mah-jong-1.16'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: mah-jong
Source-Version: 1.17-1.1
Done: Alexandre Detiste <[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.
Alexandre Detiste <[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: Tue, 09 Sep 2025 21:18:28 +0200
Source: mah-jong
Architecture: source
Version: 1.17-1.1
Distribution: unstable
Urgency: medium
Maintainer: xiao sheng wen <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1097353
Changes:
 mah-jong (1.17-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix build with GCC-15 (Closes: #1097353)
Checksums-Sha1:
 72f6a6926d42d0a931c8770f0296ff656b162840 1891 mah-jong_1.17-1.1.dsc
 1088ceccefc536d02b03a4d646a6bcd932ac0ee3 7684 mah-jong_1.17-1.1.debian.tar.xz
 9aed94c49c640d5d3935fcbf7c507ceda4b3e06c 12100 
mah-jong_1.17-1.1_source.buildinfo
Checksums-Sha256:
 3904161d7abbd77ff8052ba4a4cce77c34a158ed30844fd0c2b54e5aea4f0f4e 1891 
mah-jong_1.17-1.1.dsc
 922de4bf0395e95bbc0da5669641920a429b0fade91d15d22d4e96aded0c20b1 7684 
mah-jong_1.17-1.1.debian.tar.xz
 352e88f48df969dc5dee8c44197b5235b3c1f7954dd2bdf17d97e89aa7363b14 12100 
mah-jong_1.17-1.1_source.buildinfo
Files:
 6203a01d1633f6fb98fdaa0fa0c15fbc 1891 games optional mah-jong_1.17-1.1.dsc
 93b5ae10eb38ff846fa960d15365337d 7684 games optional 
mah-jong_1.17-1.1.debian.tar.xz
 d007f296c77284528bdfc45228eab9e9 12100 games optional 
mah-jong_1.17-1.1_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjAfm8RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoGQw//UkTWWPB03Mu2+ej/wgFme6Gs1ztkYYmg
eF9gErQixn4vbHUZixcDICj+/BvwKVCm7W3rnYcT0r/ei/Ey4+V55oMjm7qQyJqp
d01ob6zEWuS08ck6qgU3yqh0WZPRcqRn1Y0xW1LCQH0BHI44M5MuSDP3s/tGaFG6
o5sfe0sedVH0n4nQw2HKfQBpHBtjh/yXXZP/mHUuFBIZZgiUhhYWpypTf/nbARZu
NUni0e+qgR1SGLNnvPnIhdkbNTOl9x9MN6KEt9hCH0bJQMQHafFwUD3LCKm1YUTV
GkioYPJxcY0omu8LyB9LeW707cbS/qwmmfkEavF4YzxK68WzgfzxmxHMPFaBJyyj
i54K+ZnpKyxWMeNPg2FFOsXiQ7qYOmbvg13mxXgEVsk4izZ80hmOh45wfLqzaCCo
jHEk5Gs5PGNvTcH3WCybn0uqghjlZzD0fUQ/ygtl4k70WCE/Mb+k/6szOxUV9+NE
WyzD458+do29f2akcjSE9ny9JTQB++mM+3yNMIJ30jkqUELesl9RQSeKwtzWKK1+
TwJgRzx+QhtR0fIXB8vf2Yf1u0gJLZ2TtzgJPCEXybjjCQxKNuB75/Wu9BcyOElu
faoQKVUn6tB1yUSTnZX6ntfA08ezstXA78fsa0z/hkAXighKZJbB29+kzJycTt3Y
Z/vo13A3OZY=
=mvyH
-----END PGP SIGNATURE-----

Attachment: pgpzBM8cHDXZG.pgp
Description: PGP signature


--- End Message ---

Reply via email to