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

Bug#1096826: marked as done (icon: ftbfs with GCC-15)



Your message dated Tue, 09 Sep 2025 15:19:42 +0000
with message-id <E1uw08E-0024wF-12@fasolo.debian.org>
and subject line Bug#1096826: fixed in icon 9.5.25a-1
has caused the Debian Bug report #1096826,
regarding icon: 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.)


-- 
1096826: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096826
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:icon
Version: 9.5.24a-2
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/icon_9.5.24a-2_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

[...]
rttdb.c: In function 'dumpdb':
rttdb.c:286:57: error: passing argument 6 of 'prt_impls' from incompatible pointer type [-Wincompatible-pointer-types]
  286 |    prt_impls(db, "functions", bhash, num_fnc, sort_ary, name_cmp);
      |                                                         ^~~~~~~~
      |                                                         |
      |                                                         int (*)(char *, char *)
rttdb.c:20:72: note: expected 'int (*)(void)' but argument is of type 'int (*)(char *, char *)'
   20 |                            int num, struct implement **sort_ary, int (*com)());
      |                                                                  ~~~~~~^~~~~~
rttdb.c:16:16: note: 'name_cmp' declared here
   16 | static int     name_cmp  (char *p1, char *p2);
      |                ^~~~~~~~
rttdb.c:287:58: error: passing argument 6 of 'prt_impls' from incompatible pointer type [-Wincompatible-pointer-types]
  287 |    prt_impls(db, "\noperators", ohash, num_op, sort_ary, op_cmp);
      |                                                          ^~~~~~
      |                                                          |
      |                                                          int (*)(char *, char *)
rttdb.c:20:72: note: expected 'int (*)(void)' but argument is of type 'int (*)(char *, char *)'
   20 |                            int num, struct implement **sort_ary, int (*com)());
      |                                                                  ~~~~~~^~~~~~
rttdb.c:17:16: note: 'op_cmp' declared here
   17 | static int     op_cmp    (char *p1, char *p2);
      |                ^~~~~~
rttdb.c:288:58: error: passing argument 6 of 'prt_impls' from incompatible pointer type [-Wincompatible-pointer-types]
  288 |    prt_impls(db, "\nkeywords", khash, num_key, sort_ary, name_cmp);
      |                                                          ^~~~~~~~
      |                                                          |
      |                                                          int (*)(char *, char *)
rttdb.c:20:72: note: expected 'int (*)(void)' but argument is of type 'int (*)(char *, char *)'
   20 |                            int num, struct implement **sort_ary, int (*com)());
      |                                                                  ~~~~~~^~~~~~
rttdb.c:16:16: note: 'name_cmp' declared here
   16 | static int     name_cmp  (char *p1, char *p2);
      |                ^~~~~~~~
rttdb.c: In function 'prt_impls':
rttdb.c:327:64: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
  327 |       qsort((char *)sort_ary, num, sizeof(struct implement *), cmp);
      |                                                                ^~~
      |                                                                |
      |                                                                int (*)(void)
In file included from ../preproc/../h/../h/sys.h:15,
                 from ../preproc/../h/gsupport.h:9,
                 from ../preproc/preproc.h:1,
                 from rtt1.h:1,
                 from rtt.h:2,
                 from rttdb.c:6:
/usr/include/stdlib.h:971:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void)'
  971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
      |                    ~~~~~~~~~~~~~~^~~~~~~~
/usr/include/stdlib.h:948:15: note: '__compar_fn_t' declared here
  948 | typedef int (*__compar_fn_t) (const void *, const void *);
      |               ^~~~~~~~~~~~~
rttdb.c: In function 'prt_dpnd':
rttdb.c:1091:10: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
 1091 |          (int (*)())src_cmp);
      |          ^~~~~~~~~~~~~~~~~~
      |          |
      |          int (*)(void)
/usr/include/stdlib.h:971:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void)'
  971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
      |                    ~~~~~~~~~~~~~~^~~~~~~~
/usr/include/stdlib.h:948:15: note: '__compar_fn_t' declared here
  948 | typedef int (*__compar_fn_t) (const void *, const void *);
      |               ^~~~~~~~~~~~~
make[2]: *** [<builtin>: rttdb.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/icon-9.5.24a/src/rtt'
make[1]: *** [Makefile:68: bin/icont] Error 2
make[1]: Leaving directory '/build/reproducible-path/icon-9.5.24a'
make: *** [debian/rules:47: build-ipl] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: icon
Source-Version: 9.5.25a-1
Done: Mechtilde Stehmann <mechtilde@debian.org>

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

Debian distribution maintenance software
pp.
Mechtilde Stehmann <mechtilde@debian.org> (supplier of updated icon 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: Tue, 09 Sep 2025 15:27:14 +0200
Source: icon
Architecture: source
Version: 9.5.25a-1
Distribution: sid
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Mechtilde Stehmann <mechtilde@debian.org>
Closes: 1096826
Changes:
 icon (9.5.25a-1) unstable; urgency=medium
 .
   * QA upload.
   * New upstream version 9.5.25a
     + Support building with gcc-15 (Closes:1096826)
   * Adapt patch 001 to new version
Checksums-Sha1:
 bdd3680e39e7c584932649202132b9bc0e5d56ff 1908 icon_9.5.25a-1.dsc
 1692b7c720ade8c79b0ba1cc8125c94ce0b334ab 3086255 icon_9.5.25a.orig.tar.gz
 04367b75be2fe6522a586d21a9b7f3525feaf2cc 11332 icon_9.5.25a-1.debian.tar.xz
 e9925326bbbec2e6ffd105db45d2dd2a0a7acc56 5861 icon_9.5.25a-1_amd64.buildinfo
Checksums-Sha256:
 d89720e286a4717af92a02dadab9c61d386b7bf407cffd773c524482079a7049 1908 icon_9.5.25a-1.dsc
 ab15b7fc5a96e8b4da1b76cc6c7935400879f8a54b0fcf94a947c02815f21006 3086255 icon_9.5.25a.orig.tar.gz
 5c370f90b7784d96f452974ed2238b465156fc9401b1011021f3857a97382abc 11332 icon_9.5.25a-1.debian.tar.xz
 551bd0633ec8eaba49a4e9fed03646329cdff5812e2318a09c8f360b71e29b68 5861 icon_9.5.25a-1_amd64.buildinfo
Files:
 de2fd04b2d2a8a864927fbf3bee2ee8b 1908 devel optional icon_9.5.25a-1.dsc
 129f0e59ea15afb3c6aeec52222a6f5a 3086255 devel optional icon_9.5.25a.orig.tar.gz
 df031aac62050f43385ca8e174d8a203 11332 devel optional icon_9.5.25a-1.debian.tar.xz
 4e2ce0ab13bb1ae4fed3e783364d2234 5861 devel optional icon_9.5.25a-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEE8ON/Pch6SZgomTnn8od7uhQarX8FAmjAQHkACgkQ8od7uhQa
rX92sRAAmXfPdzhTZxMaRsz+OuCpsRlqCSxHOD9iV9GSAJ6o1zRFsLEeGUiZvnak
evyGj+Z0zW3L+I/qVKbiPWUfTMl5UhQC9ALP9cLCkR6bapYnjvij7uN8e9gPPlSs
HMI8xwS2k7/Pt78eWpRW/l3rfLTx+GE4hI6u5FYSb3xu3OmtBwOBr9AniEC5gnpK
xW3zBXT4+6bxn7r0s17z5wdFqtdZZEn7LiCwVsHzH1VsDoI7AHZHYyqLx1mJWO1Q
uvUphVVL1QhmIlF4VZeOetZ/WM6mGNyelrEcpBn41QcmuzFUTML34E/K/S9veFfQ
oltL5RbXVufdmxu96bXmdamdY7s9VAUIrqMRf4zl6Z0jW1MKoo7tMcX9LWc4G7TE
S9xc+y3JJD0+Qa9WhQiSA6aCoVy2qiOe2tZYk/tVKiSY7jhZHsz/9g9LRZZiUQQQ
pS7DnkxELHtIgSQuS7bUQ3rvGtVEuCCReGm45Aip3yX/ba7AUVwT+tE00WLF+RyT
lTav+xhcbfjflbdYARtg9NI1PeFObsM8QgN1los3O+LVONahfZHRbYvntRBLce7o
WuUHvCt8nQRg7qO2oHrcj3toJIBenlGk2Vq2oly7v7A07LFpK54iMceThWxkkz38
oTf5qKvVdgShyF+TjULYTwnYsgpOuth/R5rx1YX1ZWeb5+lYoTM=
=1ohV
-----END PGP SIGNATURE-----

Attachment: pgpcMvJyRVAad.pgp
Description: PGP signature


--- End Message ---

Reply to: