Bug#1074980: gcin: ftbfs with GCC-14
Package: src:gcin
Version: 2.9.0+dfsg1-3
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/gcin_2.9.0+dfsg1-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
/usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
1144 | void gtk_widget_override_color (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
win-gtab.cpp: In function ‘set_key_codes_label’:
win-gtab.cpp:285:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations]
285 | gtk_widget_override_color(label_key_codes, GTK_STATE_FLAG_NORMAL, &better_color);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
1144 | void gtk_widget_override_color (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
win-gtab.cpp:291:5: warning: ‘gtk_widget_override_color’ is deprecated [-Wdeprecated-declarations]
291 | gtk_widget_override_color(label_key_codes, GTK_STATE_FLAG_NORMAL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here
1144 | void gtk_widget_override_color (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
win-gtab.cpp: In function ‘create_win_gtab_gui_simple’:
win-gtab.cpp:486:3: warning: ‘gtk_vbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
486 | GtkWidget *vbox_top = gtk_vbox_new (FALSE, 0);
| ^~~~~~~~~
In file included from gcin.h:29:
gcin-gtk-compatible.h:96:21: note: declared here
96 | GtkWidget * gtk_vbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
win-gtab.cpp:520:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
520 | hbox_edit = gtk_hbox_new (FALSE, 0);
| ^~~~~~~~~
gcin-gtk-compatible.h:94:21: note: declared here
94 | GtkWidget * gtk_hbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
win-gtab.cpp:522:5: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations]
522 | GtkWidget *align_edit = gtk_alignment_new (0, 0.0, 0, 0);
| ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
win-gtab.cpp:528:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations]
528 | GtkWidget *align = gtk_alignment_new (0, 0.0, 0, 0);
| ^~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
win-gtab.cpp:537:5: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
537 | GtkWidget *hbox_row1 = gtk_hbox_new (FALSE, 0);
| ^~~~~~~~~
gcin-gtk-compatible.h:94:21: note: declared here
94 | GtkWidget * gtk_hbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
win-gtab.cpp:558:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
558 | hbox_row2 = gtk_hbox_new (FALSE, 0);
| ^~~~~~~~~
gcin-gtk-compatible.h:94:21: note: declared here
94 | GtkWidget * gtk_hbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
win-gtab.cpp:643:22: error: passing argument 1 of ‘gtk_label_set_text’ from incompatible pointer type [-Wincompatible-pointer-types]
643 | gtk_label_set_text(label_key_codes, str_key_codes);
| ^~~~~~~~~~~~~~~
| |
| GtkWidget * {aka struct _GtkWidget *}
In file included from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33:
/usr/include/gtk-3.0/gtk/gtklabel.h:95:67: note: expected ‘GtkLabel *’ {aka ‘struct _GtkLabel *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’}
95 | void gtk_label_set_text (GtkLabel *label,
| ~~~~~~~~~~~~~~~^~~~~
make[1]: *** [suffixes-rule:4: win-gtab.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: