Bug#1075099: jamin: ftbfs with GCC-14
Package: src:jamin
Version: 0.98.9~git20170111~199091~repack1-2
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/jamin_0.98.9~git20170111~199091~repack1-2_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
[...]
149 | static cairo_t *EQ_cr, *comp_cr[3];
| ^~~~~
callbacks.c:2934:7: warning: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
2934 | gtk_widget_modify_bg ((GtkWidget *) l_comp_bypass_event_box[0], GTK_STATE_NORMAL, &bypass);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
753 | void gtk_widget_modify_bg (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~
callbacks.c:2960:7: warning: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
2960 | gtk_widget_modify_bg ((GtkWidget *) l_comp_bypass_event_box[1], GTK_STATE_NORMAL, &bypass);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
753 | void gtk_widget_modify_bg (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~
callbacks.c:2986:7: warning: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
2986 | gtk_widget_modify_bg ((GtkWidget *) l_comp_bypass_event_box[2], GTK_STATE_NORMAL, &bypass);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
753 | void gtk_widget_modify_bg (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~
callbacks.c:3012:7: warning: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
3012 | gtk_widget_modify_bg ((GtkWidget *) l_limiter_bypass_event_box, GTK_STATE_NORMAL, &bypass);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
753 | void gtk_widget_modify_bg (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~
callbacks.c:3038:7: warning: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
3038 | gtk_widget_modify_bg ((GtkWidget *) l_global_bypass_event_box, GTK_STATE_NORMAL, &bypass);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
753 | void gtk_widget_modify_bg (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~
callbacks.c:3039:7: warning: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
3039 | gtk_widget_modify_bg (lookup_widget(presets_window, "global_bypass_event_box_presets"), GTK_STATE_NORMAL, &bypass);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
753 | void gtk_widget_modify_bg (GtkWidget *widget,
| ^~~~~~~~~~~~~~~~~~~~
callbacks.c: In function ‘on_eButton1_button_press_event’:
callbacks.c:3309:31: error: passing argument 1 of ‘presets_ui_show_main’ from incompatible pointer type [-Wincompatible-pointer-types]
3309 | presets_ui_show_main (widget);
| ^~~~~~
| |
| GtkWidget * {aka struct _GtkWidget *}
In file included from callbacks.c:47:
presets-ui.h:20:39: note: expected ‘GtkButton *’ {aka ‘struct _GtkButton *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’}
20 | void presets_ui_show_main (GtkButton *tButton);
| ~~~~~~~~~~~^~~~~~~
callbacks.c: In function ‘on_eButton2_button_press_event’:
callbacks.c:3327:35: error: passing argument 1 of ‘presets_ui_show_multiout’ from incompatible pointer type [-Wincompatible-pointer-types]
3327 | presets_ui_show_multiout (widget);
| ^~~~~~
| |
| GtkWidget * {aka struct _GtkWidget *}
presets-ui.h:21:43: note: expected ‘GtkButton *’ {aka ‘struct _GtkButton *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’}
21 | void presets_ui_show_multiout (GtkButton *tButton);
| ~~~~~~~~~~~^~~~~~~
callbacks.c: In function ‘make_mscale’:
callbacks.c:632:1: warning: control reaches end of non-void function [-Wreturn-type]
632 | }
| ^
make[3]: *** [Makefile:660: jamin-callbacks.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:456: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:388: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: