[Debichem-devel] Bug#1075035: gperiodic: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:29:01 BST 2024
Package: src:gperiodic
Version: 3.0.3-1
Severity: important
Tags: sid trixie
User: debian-gcc at 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/gperiodic_3.0.3-1_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
[...]
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
In file included from gperiodic.c:36:
table_data.h: In function ‘dump_table’:
table_data.h:246:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘char *’ [-Wformat=]
246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ",
| ~^
| |
| int
| %s
......
254 | p->info[ATOMIC_RADIUS], /* 8 */
| ~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
table_data.h:246:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘char *’ [-Wformat=]
246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ",
| ~^
| |
| int
| %s
......
255 | p->info[COVALENT_RADIUS], /* 9 */
| ~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
table_data.h:246:12: warning: too many arguments for format [-Wformat-extra-args]
246 | printf("%s,%s,%s,%s,%s,%s,%s,%d,%d,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,0x%08X,0x%08X,0x%08X,0x%08X\n ",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gperiodic.c: In function ‘gpparse_print_element_data_for_num’:
gperiodic.c:77:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
77 | fillout[n] = (char) NULL;
| ^
gperiodic.c: In function ‘display_element_dialog’:
gperiodic.c:140:41: error: passing argument 1 of ‘gtk_label_set_selectable’ from incompatible pointer type [-Wincompatible-pointer-types]
140 | gtk_label_set_selectable (label, TRUE);
| ^~~~~
| |
| GtkWidget * {aka struct _GtkWidget *}
In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:38,
from /usr/include/gtk-2.0/gtk/gtk.h:35:
/usr/include/gtk-2.0/gtk/gtklabel.h:158:70: note: expected ‘GtkLabel *’ {aka ‘struct _GtkLabel *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’}
158 | void gtk_label_set_selectable (GtkLabel *label,
| ~~~~~~~~~~~~~~~~~~^~~~~
make[3]: *** [Makefile:15: gperiodic.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:18: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" returned exit code 2
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debichem-devel
mailing list