[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096803: marked as done (hercules: ftbfs with GCC-15)



Your message dated Wed, 08 Oct 2025 18:19:10 +0000
with message-id <E1v6Yko-00Cawu-03@fasolo.debian.org>
and subject line Bug#1096803: fixed in hercules 3.13-9
has caused the Debian Bug report #1096803,
regarding hercules: 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 owner@bugs.debian.org
immediately.)


-- 
1096803: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096803
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:hercules
Version: 3.13-8
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
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/hercules_3.13-8_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

[...]
      |                                     ^~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     void * (*)(void *)
impl.c:617:5: note: in expansion of macro 'create_thread'
  617 |     create_thread(&rctid,DETACHED,
      |     ^~~~~~~~~~~~~
pttrace.h:61:54: note: expected 'void * (*)(void)' but argument is of type 'void * (*)(void *)'
   61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *);
      |                                                      ^~~~~~~~~~~
hthreads.h:157:37: error: passing argument 3 of 'ptt_pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
  157 |         ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC)
      |                                     ^~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     void * (*)(void *)
impl.c:624:9: note: in expansion of macro 'create_thread'
  624 |         create_thread(&logcbtid,DETACHED,
      |         ^~~~~~~~~~~~~
pttrace.h:61:54: note: expected 'void * (*)(void)' but argument is of type 'void * (*)(void *)'
   61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *);
      |                                                      ^~~~~~~~~~~
make[4]: *** [Makefile:1960: impl.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib/hercules\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hercules-3.13=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hercules-3.13=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c history.c  -fPIC -DPIC -o .libs/history.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I./softfloat -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/hercules\" -DMODULESDIR=\"/usr/lib/hercules\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hercules-3.13=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -Wno-unused-but-set-variable -Werror=declaration-after-statement -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/hercules-3.13=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c fillfnam.c  -fPIC -DPIC -o .libs/fillfnam.o
In file included from hercules.h:87,
                 from config.c:13:
config.c: In function 'configure_cpu':
hthreads.h:157:37: error: passing argument 3 of 'ptt_pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
  157 |         ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC)
      |                                     ^~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     void * (*)(void *)
config.c:87:10: note: in expansion of macro 'create_thread'
   87 |     if ( create_thread (&sysblk.cputid[cpu], DETACHED, cpu_thread,
      |          ^~~~~~~~~~~~~
In file included from hthreads.h:118:
pttrace.h:61:54: note: expected 'void * (*)(void)' but argument is of type 'void * (*)(void *)'
   61 | PTT_DLL_IMPORT int ptt_pthread_create(TID *, ATTR *, void *(*)(), void *, char *, char *);
      |                                                      ^~~~~~~~~~~
bldcfg.c: In function 'parse_args':
bldcfg.c:127:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  127 |         while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg
      |         ^~~~~
bldcfg.c:127:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  127 |         while (*p && isspace(*p)) p++; if (!*p) break; // find start of arg
      |                                        ^~
bldcfg.c:133:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  133 |         while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg
      |         ^~~~~
bldcfg.c:133:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
  133 |         while (*p && !isspace(*p) && *p != '\"' && *p != '\'') p++; if (!*p) break; // find end of arg
      |                                                                     ^~
make[4]: *** [Makefile:1960: config.lo] Error 1
fillfnam.c: In function 'tab_pressed':
fillfnam.c:108:5: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  108 |     strncpy(path, part2, strlen(part2)-strlen(filename));
      |     ^
fillfnam.c:108:26: note: length computed here
  108 |     strncpy(path, part2, strlen(part2)-strlen(filename));
      |                          ^~~~~~~~~~~~~
make[4]: Leaving directory '/build/reproducible-path/hercules-3.13'
make[3]: *** [Makefile:1978: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/hercules-3.13'
make[2]: *** [Makefile:1470: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/hercules-3.13'
dh_auto_build: error: make -j8 modexecdir=/usr/lib/hercules returned exit code 2
make[1]: *** [debian/rules:34: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/hercules-3.13'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: hercules
Source-Version: 3.13-9
Done: Adrian Bunk <bunk@debian.org>

We believe that the bug you reported is fixed in the latest version of
hercules, 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 1096803@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated hercules 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 08 Oct 2025 20:57:28 +0300
Source: hercules
Architecture: source
Version: 3.13-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1096803
Changes:
 hercules (3.13-9) unstable; urgency=medium
 .
   * QA upload.
   * Build with -std=gnu17 to workaround FTBFS with GCC 15.
     (Closes: #1096803)
Checksums-Sha1:
 628e0c1b15b93531f16bb5ed769f123dede5e8ce 1983 hercules_3.13-9.dsc
 83efad3e9806203375de078a7730ec4379776fb6 20856 hercules_3.13-9.debian.tar.xz
Checksums-Sha256:
 49c1b470dc9d61bc2f7ffa05870bff67f3c4292ead06bfb9c7e37d7b859f36ce 1983 hercules_3.13-9.dsc
 d7e15dad4ba2773d008b6b4a5d0e6d9c9ce57676da0572339723a03dcfb87cb1 20856 hercules_3.13-9.debian.tar.xz
Files:
 35e018b9480fc4e31940f8a342c51904 1983 otherosfs optional hercules_3.13-9.dsc
 83a32daf673ccd021e161d42be753002 20856 otherosfs optional hercules_3.13-9.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjmpoQACgkQiNJCh6LY
mLGfvxAArIgJT6GrXJd3ohm47hMknw0/PRMBhPSN6x5bvnIMIU3xvZe4evU7+1Uo
6+09Kg7IHSAtIkiMik/ZOkIasmntbvv2oHYWjblQD3R/bE2NTf6Xmp6s0B6pggcw
18au3JM78wkhfFstuSNJPAVnaAS3xqp/G7wV6n9+O1VcUsGONHfHMoLoCjR7kPG8
4/5zohQ8D/xs/TWDPX7CLaOpV7VyvwUoXBEoR+gpcmthYZjsVBPW6Tpankeq8MbY
n85yBLpUMjMddJY5WwKc+9vcdVKcFjb6UdIjgtGSHG1XL2n1xO5XBe+KM65a232w
NYaa1yd5dztefHhkCir+FF4+YLvQ9URG6N7h7UznBVB6N7jLji5g8c6R6SpExNm5
BL3QyjM5VRlzq8HkHuL7zCGzxTD36UIhbUQ1fBOiY8tX0GjgWywxJaFcgBoQy5Iv
h515IWzNIHFtRg4qXVwIlw6gAZB+2cXHn1DyqGEKRgXmr7wtgqWb76z4K5UxVFRS
yYQ9zPQzvtym4F+zediPmTyYTw3/ToTRooT/Wjbf7hcyd8h1HAlzQxedEfyjYF3J
VY+j+5SyOXbvwMxxUlGM274hB5a9HYWxnaAF25gFEOdfm+YfOpAGl+jfzy+hCd22
DL//XffxIcjomtd76vO9qI9qTn1l85R/LevmX0+5XVqetj9m0cs=
=hpIa
-----END PGP SIGNATURE-----

Attachment: pgpAszs1h5_us.pgp
Description: PGP signature


--- End Message ---

Reply to: