Your message dated Sun, 14 Sep 2025 17:04:44 +0000
with message-id <[email protected]>
and subject line Bug#1096804: fixed in heroes 0.21-21
has caused the Debian Bug report #1096804,
regarding heroes: 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.)


-- 
1096804: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096804
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:heroes
Version: 0.21-20
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/heroes_0.21-20_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

[...]
cp man/*.6 .
touch doc/heroes.texi
dh_auto_build
        make -j8
make[2]: Entering directory '/build/reproducible-path/heroes-0.21'
make  all-recursive
make[3]: Entering directory '/build/reproducible-path/heroes-0.21'
Making all in intl
make[4]: Entering directory '/build/reproducible-path/heroes-0.21/intl'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/reproducible-path/heroes-0.21/intl'
Making all in lib
make[4]: Entering directory '/build/reproducible-path/heroes-0.21/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o basename.o basename.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o cast.o cast.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o dirname.o dirname.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o error.o error.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o filelock.o filelock.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o fstrcmp.o fstrcmp.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o getshline.o getshline.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I../src  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/heroes-0.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNDEBUG -g -O3 -ffast-math 
-fstrict-aliasing -fomit-frame-pointer -c -o hash.o hash.c
getshline.c:148:1: error: conflicting types for ‘getshline_numbered’; have 
‘int(int *, int *, char **, size_t *, FILE *)’ {aka ‘int(int *, int *, char **, 
long unsigned int *, FILE *)’}
  148 | getshline_numbered (int * firstline, int * lastline,
      | ^~~~~~~~~~~~~~~~~~
In file included from getshline.c:42:
getshline.h:54:1: note: previous declaration of ‘getshline_numbered’ with type 
‘int(void)’
   54 | getshline_numbered PARAMS ((int *_firstline, int *_lastline,
      | ^~~~~~~~~~~~~~~~~~
getshline.c:156:1: error: conflicting types for ‘getshline’; have ‘int(char **, 
size_t *, FILE *)’ {aka ‘int(char **, long unsigned int *, FILE *)’}
  156 | getshline (char ** lineptr, size_t * n, FILE * stream)
      | ^~~~~~~~~
getshline.h:36:1: note: previous declaration of ‘getshline’ with type 
‘int(void)’
   36 | getshline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
      | ^~~~~~~~~
getshline.c:165:1: error: conflicting types for ‘getshdelim_numbered’; have 
‘int(int *, int *, char **, size_t *, int,  int,  int,  FILE *)’ {aka ‘int(int 
*, int *, char **, long unsigned int *, int,  int,  int,  FILE *)’}
  165 | getshdelim_numbered (int * firstline, int * lastline,
      | ^~~~~~~~~~~~~~~~~~~
getshline.h:59:1: note: previous declaration of ‘getshdelim_numbered’ with type 
‘int(void)’
   59 | getshdelim_numbered PARAMS ((int *_firstline, int *_lastline,
      | ^~~~~~~~~~~~~~~~~~~
getshline.c:175:1: error: conflicting types for ‘getshdelim’; have ‘int(char 
**, size_t *, int,  int,  int,  FILE *)’ {aka ‘int(char **, long unsigned int 
*, int,  int,  int,  FILE *)’}
  175 | getshdelim (char ** lineptr, size_t * n,
      | ^~~~~~~~~~
getshline.h:39:1: note: previous declaration of ‘getshdelim’ with type 
‘int(void)’
   39 | getshdelim PARAMS ((char **_lineptr, size_t *_n,
      | ^~~~~~~~~~
make[4]: *** [Makefile:507: getshline.o] Error 1
make[4]: *** Waiting for unfinished jobs....
fstrcmp.c: In function ‘diag’:
fstrcmp.c:161:1: warning: old-style function definition [-Wold-style-definition]
  161 | diag (xoff, xlim, yoff, ylim, minimal, part)
      | ^~~~
fstrcmp.c: In function ‘compareseq’:
fstrcmp.c:488:1: warning: old-style function definition [-Wold-style-definition]
  488 | compareseq (xoff, xlim, yoff, ylim, minimal)
      | ^~~~~~~~~~
fstrcmp.c: In function ‘fstrcmp’:
fstrcmp.c:581:1: warning: old-style function definition [-Wold-style-definition]
  581 | fstrcmp (string1, string2)
      | ^~~~~~~
make[4]: Leaving directory '/build/reproducible-path/heroes-0.21/lib'
make[3]: *** [Makefile:535: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/heroes-0.21'
make[2]: *** [Makefile:473: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/heroes-0.21'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:27: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/build/reproducible-path/heroes-0.21'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: heroes
Source-Version: 0.21-21
Done: Stephen Kitt <[email protected]>

We believe that the bug you reported is fixed in the latest version of
heroes, 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.
Stephen Kitt <[email protected]> (supplier of updated heroes 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: Sun, 14 Sep 2025 18:47:38 +0200
Source: heroes
Architecture: source
Version: 0.21-21
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Closes: 1096804
Changes:
 heroes (0.21-21) unstable; urgency=medium
 .
   * Enable prototype declarations and ensure functions are correctly
     defined. Closes: #1096804.
   * Clean src/config.h.in to allow building twice in a row.
   * Remove the old FSF address from debian/copyright.
   * Standards-Version 4.7.2, no further change required.
Checksums-Sha1:
 6b0100ae3325cebf854671735d053a4df61fcab3 1958 heroes_0.21-21.dsc
 f1f2c4792c553edcd60688695a1daa8622d2f4fe 31496 heroes_0.21-21.debian.tar.xz
 b98e9a69a1e715673b60dce9656007454166d484 13339 heroes_0.21-21_source.buildinfo
Checksums-Sha256:
 ca52fa4e4cd6081e167182999b3bc2198bdb80b5f6934a13c71adecce5a089a2 1958 
heroes_0.21-21.dsc
 9673e12a0b93bed2e0383054b60992c5d69d32788b44bf2cc13de7884b6a4fc7 31496 
heroes_0.21-21.debian.tar.xz
 51ed751ae83723500d72e1400d9ce140692261eb7ae2f2c28068aa947e5cc755 13339 
heroes_0.21-21_source.buildinfo
Files:
 4869b4b8d98c2ff845a2c52ccf1e1d2b 1958 games optional heroes_0.21-21.dsc
 9f233468b9212a1fc1f711cbc81337d1 31496 games optional 
heroes_0.21-21.debian.tar.xz
 8fda716a3d48ab0b43742076d27a33b8 13339 games optional 
heroes_0.21-21_source.buildinfo

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

iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmjG8hgACgkQgNMC9Yht
g5y0wQ//cUNxqDB3RReZoKpwuW7DY78NcygqgMTpe9PmKSkQO6kEAC1I0Ze5lXI/
e8tSQjiIYh9Jh7pNHdoCf6ijY+ggwGl59JVvY+vvN4G7fev7zmIopsvxa76zI2be
831STHioA1VkVNQOsnsFGTvOj1NtNTkkyJidfSNexn5lqyrVe6JUuD+f++lmTpO/
vhkiZPgUQ9pnfLymUyfil7fOfbfmAyybmBKwmkiw9l2j82uSA3uA9uSS0DUQh6ef
x82px7/0aYnpREq2oB42YWFfIVgrm7wrtsKmLvGEQrcUU8q6OiUVt/BZ0RPfUXmO
KOPWdiltc+5xzprbF6DAEs5HZTDxVUBmt8ZFzn+/kKp/LMRFm9lJx713hOzDITji
7eikundRffUETR+OC43YGXRPmm9I3N6VVDRPfO6D+DCJrJsWtOpbKLVgofqfMBa7
Ng2adKpCT57VBwORgu4cJZmyB8dv4XTXrHHHueN8JMFO36Ti0v24bBpU3yqO1YKb
xqI9yGV8tFBWdpw46nmqq6YSjNwwN/KO6VKHX4N27+tfi3eZm7hXgeS3Jcs1oKo6
hNIiH7dH5Z93VuQVYdRhvFlft+jqns7fuFdeu7SE7VTrO5JbPfDMYiDBo93GgrZp
OKbq+aAEw5X5pgkXX/muoczDN47mJFy8TPgTxi/LeJAzfzuFNCo=
=GMPg
-----END PGP SIGNATURE-----

Attachment: pgpRIGF2Cu9Gl.pgp
Description: PGP signature


--- End Message ---

Reply via email to