Your message dated Mon, 22 Sep 2025 23:03:31 +0000
with message-id <[email protected]>
and subject line Bug#1096647: fixed in fortune-mod 1:1.99.1-9.1
has caused the Debian Bug report #1096647,
regarding fortune-mod: 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.)


-- 
1096647: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096647
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:fortune-mod
Version: 1:1.99.1-9
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/fortune-mod_1.99.1-9_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/recode.h:82:44: note: expected ‘const char *’ but argument is of 
type ‘unsigned char *’
   82 | char *recode_string (RECODE_CONST_REQUEST, const char *);
      |                                            ^~~~~~~~~~~~
fortune.c:1556:28: warning: pointer targets in assignment from ‘unsigned char 
*’ to ‘char *’ differ in signedness [-Wpointer-sign]
 1556 |                     output = Fortbuf;
      |                            ^
fortune.c:1562:28: warning: pointer targets in assignment from ‘char *’ to 
‘unsigned char *’ differ in signedness [-Wpointer-sign]
 1562 |                     for (p = output; (ch = *p); ++p)
      |                            ^
fortune.c: In function ‘display’:
fortune.c:1621:30: warning: pointer targets in passing argument 1 of ‘fgets’ 
differ in signedness [-Wpointer-sign]
 1621 |     for (Fort_len = 0; fgets(line, sizeof line, fp->inf) != NULL &&
      |                              ^~~~
      |                              |
      |                              unsigned char *
/usr/include/x86_64-linux-gnu/bits/stdio2.h:305:8: note: expected ‘char *’ but 
argument is of type ‘unsigned char *’
  305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fortune.c:1626:20: warning: pointer targets in assignment from ‘unsigned char 
*’ to ‘char *’ differ in signedness [-Wpointer-sign]
 1626 |             for (p = line; (ch = *p); ++p)
      |                    ^
fortune.c:1636:46: warning: pointer targets in passing argument 2 of 
‘recode_string’ differ in signedness [-Wpointer-sign]
 1636 |             output = recode_string (request, line);
      |                                              ^~~~
      |                                              |
      |                                              unsigned char *
/usr/include/recode.h:82:44: note: expected ‘const char *’ but argument is of 
type ‘unsigned char *’
   82 | char *recode_string (RECODE_CONST_REQUEST, const char *);
      |                                            ^~~~~~~~~~~~
fortune.c:1641:19: warning: pointer targets in passing argument 1 of ‘fputs’ 
differ in signedness [-Wpointer-sign]
 1641 |             fputs(line, stdout);
      |                   ^~~~
      |                   |
      |                   unsigned char *
In file included from fortune.c:136:
/usr/include/stdio.h:707:42: note: expected ‘const char * restrict’ but 
argument is of type ‘unsigned char *’
  707 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~
fortune.c: In function ‘fortlen’:
fortune.c:1666:22: warning: pointer targets in passing argument 1 of ‘fgets’ 
differ in signedness [-Wpointer-sign]
 1666 |         while (fgets(line, sizeof line, Fortfile->inf) != NULL &&
      |                      ^~~~
      |                      |
      |                      unsigned char *
/usr/include/x86_64-linux-gnu/bits/stdio2.h:305:8: note: expected ‘char *’ but 
argument is of type ‘unsigned char *’
  305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fortune.c:1668:29: warning: pointer targets in passing argument 1 of ‘strlen’ 
differ in signedness [-Wpointer-sign]
 1668 |             nchar += strlen(line);
      |                             ^~~~
      |                             |
      |                             unsigned char *
/usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of 
type ‘unsigned char *’
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
make[4]: *** [<builtin>: fortune.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/fortune-mod-1.99.1/fortune'
make[3]: *** [Makefile:110: fortune-bin] Error 2
make[3]: *** Waiting for unfinished jobs....
gcc -Wl,-z,relro -o unstr unstr.o
gcc -Wl,-z,relro -o strfile strfile.o
make[4]: Leaving directory '/build/reproducible-path/fortune-mod-1.99.1/util'
make[3]: Leaving directory '/build/reproducible-path/fortune-mod-1.99.1'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" 
fortune-bin util-bin returned exit code 2
make[2]: *** [debian/rules:8: override_dh_auto_build-arch] Error 25
make[2]: Leaving directory '/build/reproducible-path/fortune-mod-1.99.1'
make[1]: *** [debian/rules:4: build] Error 2
make[1]: Leaving directory '/build/reproducible-path/fortune-mod-1.99.1'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: fortune-mod
Source-Version: 1:1.99.1-9.1
Done: Salvo 'LtWorf' Tomaselli <[email protected]>

We believe that the bug you reported is fixed in the latest version of
fortune-mod, 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.
Salvo 'LtWorf' Tomaselli <[email protected]> (supplier of updated fortune-mod 
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: Mon, 22 Sep 2025 22:40:53 +0200
Source: fortune-mod
Architecture: source
Version: 1:1.99.1-9.1
Distribution: unstable
Urgency: high
Maintainer: Andrea Colangelo <[email protected]>
Changed-By: Salvo 'LtWorf' Tomaselli <[email protected]>
Closes: 1096647
Changes:
 fortune-mod (1:1.99.1-9.1) unstable; urgency=high
 .
   [ Bastian Germann ]
   * Prevent bool enum from being defined (Closes: #1096647)
Checksums-Sha1:
 5a0b7b517a0e096ed2a9c6f2d45869f729d4bab9 2045 fortune-mod_1.99.1-9.1.dsc
 1269bdf22e86cdee357e20f2fa8e3a4eb9e03c67 302516 
fortune-mod_1.99.1-9.1.debian.tar.xz
 bcf8357468b6462e83f372acfbd6219db67e6ff6 8542 
fortune-mod_1.99.1-9.1_amd64.buildinfo
Checksums-Sha256:
 8cc2694afed225a759432f2ebd1451cead36ddb22b7e3cce688ceb58ca5d71aa 2045 
fortune-mod_1.99.1-9.1.dsc
 3b953f6b3ad5e6c745613c3ded839e9b22fdbb075f38fc0af09fe46da1673a09 302516 
fortune-mod_1.99.1-9.1.debian.tar.xz
 83e9cf5cd1be32d8c3f38b2dfc733035d9ee85ab93ec5d417ae4c4739f87a0c2 8542 
fortune-mod_1.99.1-9.1_amd64.buildinfo
Files:
 931669319d7a1b2ec6e33d517a9b5357 2045 games optional fortune-mod_1.99.1-9.1.dsc
 178d0daa2c898fa80e86ff98210eee0c 302516 games optional 
fortune-mod_1.99.1-9.1.debian.tar.xz
 3ca6b8f1975e4318080f1bd7d8463046 8542 games optional 
fortune-mod_1.99.1-9.1_amd64.buildinfo

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

iQJGBAEBCgAwFiEEQnSLnnbYmXmeH74Us6fPDIAYhs8FAmjRtJwSHGx0d29yZkBk
ZWJpYW4ub3JnAAoJELOnzwyAGIbPHxIP/RyMJPrvJy0EjGpYTsfXXd6DOmbQ1Lsg
xshm3nre6G0+AhSHglj767eAsLzs8XRUVZ+8aKJYJQcWst3WeJ1jYy8BfsaJ44US
O9hZ7vpnXR294tZ/y0Pa+7pRF8t7eegY0bwF0fcI18Ei1PAFihvylkUSU/fuEB6Y
qS98zbNPxwYRgv88Asa2bOmD6vzkRgL8zK7vHYsjaC/osZVDCXr7G582cyRCzQmd
gmb6HI8oO+KWUtZOtYrd/JJgrFvtHXS3VujU0OrqA3lWzFat7c4e7nz/2IkX3QAr
cuKdWW1cwkunc38WnISx37uIEgpTiZM8QWvIhZgkPttfKbMlKiDF3uKmpiF0fsL4
5NoRjxS9i8lPE+M1evAyRGNihIcloV77jgJtp91jYSTDqX0NzxYj+FJ9v2Pabafu
w1IKvDZppbZ7/8WQbBRQV21H0gd3yAon00tk9AvtxY+Tv/7Kp7UiJirB27CiLBpi
x7uFGFUdTelM3omk9PF3lDI2UwNgjLnn+gP/h/Ewa2g5dQmafH5582cfcqbv3XJh
YcKl5+VCFviiQDfciYYCkpAAMn6HoQuqsXgLsAj+jq+bVzu/Fp5CM5lMsCg4OexU
eoWpaxvFYERHFdvI+rxBVgpFW4Q8MYZVMX3FfluolxxtfPU5FbQjNV/gcd7DOCI3
r/xq+vUP35PD
=RDdc
-----END PGP SIGNATURE-----

Attachment: pgpvyfx42IuKo.pgp
Description: PGP signature


--- End Message ---

Reply via email to