[Pkg-electronics-devel] Bug#1096789: gtkwave: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:18:25 GMT 2025


Package: src:gtkwave
Version: 3.3.121-1
Severity: important
Tags: sid forky
User: debian-gcc at 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/gtkwave_3.3.121-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

[...]
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:8469:49: note: (near initialization for ‘sst_popmenu_items[1].callback’)
 8469 |     WAVE_GTKIFE("/Recurse Import/Insert", NULL, menu_recurse_import, WV_RECURSE_INSERT, "<Item>"),
      |                                                 ^~~~~~~~~~~~~~~~~~~
gtk23compat.h:55:37: note: in definition of macro ‘WAVE_GTKIFE’
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:6104:6: note: ‘menu_recurse_import’ declared here
 6104 | void menu_recurse_import(gpointer null_data, guint callback_action, GtkWidget *widget)
      |      ^~~~~~~~~~~~~~~~~~~
menu.c:8470:50: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 8470 |     WAVE_GTKIFE("/Recurse Import/Replace", NULL, menu_recurse_import, WV_RECURSE_REPLACE, "<Item>"),
      |                                                  ^~~~~~~~~~~~~~~~~~~
gtk23compat.h:55:37: note: in definition of macro ‘WAVE_GTKIFE’
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:8470:50: note: (near initialization for ‘sst_popmenu_items[2].callback’)
 8470 |     WAVE_GTKIFE("/Recurse Import/Replace", NULL, menu_recurse_import, WV_RECURSE_REPLACE, "<Item>"),
      |                                                  ^~~~~~~~~~~~~~~~~~~
gtk23compat.h:55:37: note: in definition of macro ‘WAVE_GTKIFE’
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:6104:6: note: ‘menu_recurse_import’ declared here
 6104 | void menu_recurse_import(gpointer null_data, guint callback_action, GtkWidget *widget)
      |      ^~~~~~~~~~~~~~~~~~~
menu.c:8473:50: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 8473 |     WAVE_GTKIFE("/Open Source Definition", NULL, menu_open_sst_hierarchy_source, WV_MENU_OPENHS, "<Item>"),
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtk23compat.h:55:37: note: in definition of macro ‘WAVE_GTKIFE’
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:8473:50: note: (near initialization for ‘sst_popmenu_items[3].callback’)
 8473 |     WAVE_GTKIFE("/Open Source Definition", NULL, menu_open_sst_hierarchy_source, WV_MENU_OPENHS, "<Item>"),
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtk23compat.h:55:37: note: in definition of macro ‘WAVE_GTKIFE’
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:6092:6: note: ‘menu_open_sst_hierarchy_source’ declared here
 6092 | void menu_open_sst_hierarchy_source(gpointer null_data, guint callback_action, GtkWidget *widget)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
menu.c:8474:53: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 8474 |     WAVE_GTKIFE("/Open Source Instantiation", NULL, menu_open_sst_hierarchy_isource, WV_MENU_OPENIHS, "<Item>"),
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtk23compat.h:55:37: note: in definition of macro ‘WAVE_GTKIFE’
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:8474:53: note: (near initialization for ‘sst_popmenu_items[4].callback’)
 8474 |     WAVE_GTKIFE("/Open Source Instantiation", NULL, menu_open_sst_hierarchy_isource, WV_MENU_OPENIHS, "<Item>"),
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtk23compat.h:55:37: note: in definition of macro ‘WAVE_GTKIFE’
   55 | #define WAVE_GTKIFE(a,b,c,d,e) {a,b,c,d,e,NULL}
      |                                     ^
menu.c:6097:6: note: ‘menu_open_sst_hierarchy_isource’ declared here
 6097 | void menu_open_sst_hierarchy_isource(gpointer null_data, guint callback_action, GtkWidget *widget)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:721: menu.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/build/reproducible-path/gtkwave-3.3.121/src'
make[4]: *** [Makefile:793: all-recursive] Error 1
make[4]: Leaving directory '/build/reproducible-path/gtkwave-3.3.121/src'
make[3]: *** [Makefile:537: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/gtkwave-3.3.121/src'
make[2]: *** [Makefile:457: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/gtkwave-3.3.121'
make[1]: *** [Makefile:398: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/gtkwave-3.3.121'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-electronics-devel mailing list