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

Bug#1096787: gtkam: ftbfs with GCC-15



Package: src:gtkam
Version: 1.1-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/gtkam_1.1-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

[...]
      |                                         ^~~~~~~~~~~~
gtkam-tree.c:1161:41: note: (near initialization for ‘mi[2].callback’)
gtkam-tree.c:535:1: note: ‘action_rmdir’ declared here
  535 | action_rmdir (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~
gtkam-tree.c:1162:47: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1162 |         {N_("/Save directory tree..."), NULL, action_download, 0, NULL},
      |                                               ^~~~~~~~~~~~~~~
gtkam-tree.c:1162:47: note: (near initialization for ‘mi[3].callback’)
gtkam-tree.c:863:1: note: ‘action_download’ declared here
  863 | action_download (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~~~~
gtkam-tree.c:1164:41: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1164 |         {N_("/Capture image..."), NULL, action_capture, 0, NULL},
      |                                         ^~~~~~~~~~~~~~
gtkam-tree.c:1164:41: note: (near initialization for ‘mi[5].callback’)
gtkam-tree.c:1075:1: note: ‘action_capture’ declared here
 1075 | action_capture (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~~~
gtkam-tree.c:1165:48: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1165 |         {N_("/View camera preferences"), NULL, action_preferences, 0,
      |                                                ^~~~~~~~~~~~~~~~~~
gtkam-tree.c:1165:48: note: (near initialization for ‘mi[6].callback’)
gtkam-tree.c:966:1: note: ‘action_preferences’ declared here
  966 | action_preferences (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~~~~~~~
gtkam-tree.c:1167:44: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1167 |         {N_("/View camera summary"), NULL, action_summary, 0, NULL},
      |                                            ^~~~~~~~~~~~~~
gtkam-tree.c:1167:44: note: (near initialization for ‘mi[7].callback’)
gtkam-tree.c:957:1: note: ‘action_summary’ declared here
  957 | action_summary (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~~~
gtkam-tree.c:1168:43: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1168 |         {N_("/View camera manual"), NULL, action_manual, 0, NULL},
      |                                           ^~~~~~~~~~~~~
gtkam-tree.c:1168:43: note: (near initialization for ‘mi[8].callback’)
gtkam-tree.c:1129:1: note: ‘action_manual’ declared here
 1129 | action_manual (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~~
gtkam-tree.c:1169:44: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1169 |         {N_("/View driver details"), NULL, action_about, 0, NULL},
      |                                            ^~~~~~~~~~~~
gtkam-tree.c:1169:44: note: (near initialization for ‘mi[9].callback’)
gtkam-tree.c:982:1: note: ‘action_about’ declared here
  982 | action_about (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~
gtkam-tree.c:1171:41: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1171 |         {N_("/Select camera..."), NULL, action_select_camera, 0, NULL},
      |                                         ^~~~~~~~~~~~~~~~~~~~
gtkam-tree.c:1171:41: note: (near initialization for ‘mi[11].callback’)
gtkam-tree.c:1040:1: note: ‘action_select_camera’ declared here
 1040 | action_select_camera (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~~~~~~~~~
gtkam-tree.c:1172:38: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void *, guint,  GtkWidget *)’ {aka ‘void (*)(void *, unsigned int,  struct _GtkWidget *)’} [-Wincompatible-pointer-types]
 1172 |         {N_("/Remove camera"), NULL, action_remove_camera, 0, NULL},
      |                                      ^~~~~~~~~~~~~~~~~~~~
gtkam-tree.c:1172:38: note: (near initialization for ‘mi[12].callback’)
gtkam-tree.c:1030:1: note: ‘action_remove_camera’ declared here
 1030 | action_remove_camera (gpointer callback_data, guint callback_action,
      | ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1009: libgtkam_a-gtkam-tree.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/gtkam-1.1/src'
make[2]: *** [Makefile:596: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/gtkam-1.1'
make[1]: *** [Makefile:465: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/gtkam-1.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: