Bug#1075022: gnomad2: ftbfs with GCC-14
Package: src:gnomad2
Version: 2.9.6-9
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/gnomad2_2.9.6-9_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/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here
268 | gint g_strcasecmp (const gchar *s1,
| ^~~~~~~~~~~~
player.c:477:3: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
477 | hbox2 = gtk_hbox_new(FALSE, 0);
| ^~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
63 | GtkWidget * gtk_hbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
player.c:479:3: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
479 | button = gtk_button_new_from_stock(GTK_STOCK_MEDIA_PREVIOUS);
| ^~~~~~
/usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
player.c:479:3: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
479 | button = gtk_button_new_from_stock(GTK_STOCK_MEDIA_PREVIOUS);
| ^~~~~~
player.c:491:3: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
491 | button = gtk_button_new_from_stock(GTK_STOCK_MEDIA_NEXT);
| ^~~~~~
/usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
player.c:491:3: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
491 | button = gtk_button_new_from_stock(GTK_STOCK_MEDIA_NEXT);
| ^~~~~~
player.c:503:3: warning: ‘gtk_hseparator_new’ is deprecated: Use 'gtk_separator_new' instead [-Wdeprecated-declarations]
503 | separator = gtk_hseparator_new ();
| ^~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhseparator.h:61:12: note: declared here
61 | GtkWidget* gtk_hseparator_new (void);
| ^~~~~~~~~~~~~~~~~~
player.c:518:3: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
518 | g_thread_create(play_thread,(gpointer) &play_thread_args, FALSE, NULL);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:115,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30:
/usr/include/glib-2.0/glib/deprecated/gthread.h:102:10: note: declared here
102 | GThread *g_thread_create (GThreadFunc func,
| ^~~~~~~~~~~~~~~
make[2]: *** [Makefile:461: player.o] Error 1
make[2]: *** Waiting for unfinished jobs....
jukebox.c: In function ‘play_thread’:
jukebox.c:3517:31: warning: ‘%02u’ directive writing between 2 and 5 bytes into a region of size between 2 and 4 [-Wformat-overflow=]
3517 | sprintf(tmp, "%02u:%02u:%02u", hh, mm, ss);
| ^~~~
jukebox.c:3517:20: note: directive argument in the range [0, 65535]
3517 | sprintf(tmp, "%02u:%02u:%02u", hh, mm, ss);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from common.h:22:
In function ‘sprintf’,
inlined from ‘play_thread’ at jukebox.c:3517:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 9 and 14 bytes into a destination of size 10
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:553: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: