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

Bug#1096685: gcin: ftbfs with GCC-15



Package: src:gcin
Version: 2.9.4+dfsg1-3
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/gcin_2.9.4+dfsg1-3_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

[...]
gcb.cpp:95:4: warning: ‘gtk_window_parse_geometry’ is deprecated [-Wdeprecated-declarations]
   95 |    gtk_window_parse_geometry(GTK_WINDOW(mainwin),geomstr);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwindow.h:443:10: note: declared here
  443 | gboolean gtk_window_parse_geometry   (GtkWindow   *window,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
gcb.cpp: In function ‘gcb_main’:
gcb.cpp:393:3: warning: ‘gtk_window_set_has_resize_grip’ is deprecated [-Wdeprecated-declarations]
  393 |   gtk_window_set_has_resize_grip(GTK_WINDOW(mainwin), FALSE);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwindow.h:478:10: note: declared here
  478 | void     gtk_window_set_has_resize_grip    (GtkWindow    *window,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcb.cpp:398:3: warning: ‘gtk_window_set_has_resize_grip’ is deprecated [-Wdeprecated-declarations]
  398 |   gtk_window_set_has_resize_grip(GTK_WINDOW(hist_window), FALSE);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwindow.h:478:10: note: declared here
  478 | void     gtk_window_set_has_resize_grip    (GtkWindow    *window,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcb.cpp:427:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  427 |   hbox = gtk_hbox_new (FALSE, 1);
      |   ^~~~
In file included from gcin.h:29,
                 from gcb.cpp:6:
gcin-gtk-compatible.h:94:21: note: declared here
   94 | GtkWidget *         gtk_hbox_new                        (gboolean homogeneous,
      |                     ^~~~~~~~~~~~
gcb.cpp:450:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  450 |   vbox = gtk_vbox_new (FALSE, 1);
      |   ^~~~
gcin-gtk-compatible.h:96:21: note: declared here
   96 | GtkWidget *         gtk_vbox_new                        (gboolean homogeneous,
      |                     ^~~~~~~~~~~~
gcb.cpp:473:3: warning: ‘gtk_arrow_new’ is deprecated [-Wdeprecated-declarations]
  473 |   gtk_container_add(GTK_CONTAINER(eve_arrow), gtk_arrow_new(GTK_ARROW_DOWN, GTK_SHADOW_IN));
      |   ^~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:251:
/usr/include/gtk-3.0/gtk/deprecated/gtkarrow.h:73:12: note: declared here
   73 | GtkWidget* gtk_arrow_new        (GtkArrowType   arrow_type,
      |            ^~~~~~~~~~~~~
gcb.cpp:504:3: warning: ‘gtk_window_parse_geometry’ is deprecated [-Wdeprecated-declarations]
  504 |   gtk_window_parse_geometry(GTK_WINDOW(mainwin),geomstr);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwindow.h:443:10: note: declared here
  443 | gboolean gtk_window_parse_geometry   (GtkWindow   *window,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc -x c -std=gnu99 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gcin-2.9.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIX=1  -g -O -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I./IMdkit/include -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"
 /usr/share/gcin/table\" -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" -DDOC_DIR=\"/usr/share/doc/gcin-2.9.4\" -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0  -DUSE_XIM=1 -DTRAY_ENABLED=1 -DUSE_TSIN=1 -DUSE_GCB=1 -DUSE_AY_INDICATOR=1 -I/usr/include/libayatana-appindicator3-0.1 -I/usr/include/libayatana-indicator3-0.4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/incl
 ude/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libayatana-ido3-0.4 -I/usr/include/libdbusmenu-glib-0.4 -pthread  -c tray-indicator.cpp
gmake -C IMdkit/lib
gmake[2]: Entering directory '/build/reproducible-path/gcin-2.9.4+dfsg1/IMdkit/lib'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gcin-2.9.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -c -g -O -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include IMConn.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gcin-2.9.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -c -g -O -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include IMMethod.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gcin-2.9.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -c -g -O -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include FrameMgr.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gcin-2.9.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -c -g -O -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nIMProto.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gcin-2.9.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -c -g -O -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nAttr.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gcin-2.9.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-incompatible-pointer-types -Wdate-time -D_FORTIFY_SOURCE=2 -c -g -O -fno-strength-reduce -DXIM_t -DTRANS_SERVER -I../include -I/usr/X11R6/include i18nMethod.c
i18nMethod.c: In function ‘CheckIMName’:
i18nMethod.c:480:17: error: too many arguments to function ‘_TransR[i].checkAddr’; expected 0, have 3
  480 |             if (_TransR[i].checkAddr (i18n_core,
      |                 ^~~~~~~               ~~~~~~~~~
In file included from i18nMethod.c:41:
../include/Xi18n.h:75:19: note: declared here
   75 |     Bool        (*checkAddr) ();
      |                   ^~~~~~~~~
gmake[2]: *** [Makefile:19: i18nMethod.o] Error 1
gmake[2]: Leaving directory '/build/reproducible-path/gcin-2.9.4+dfsg1/IMdkit/lib'
make[1]: *** [Makefile:218: IMdkit/lib/libXimd.a] Error 2
make[1]: Leaving directory '/build/reproducible-path/gcin-2.9.4+dfsg1'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: