Bug#1074981: gdl: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:27:15 BST 2024


Package: src:gdl
Version: 3.40.0-2
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/gdl_3.40.0-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

[...]
 2047 | #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)      _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
 1828 | #define G_DEFINE_TYPE(TN, t_n, T_P)                         G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c:109:1: note: in expansion of macro ‘G_DEFINE_TYPE’
  109 | G_DEFINE_TYPE (GdlDockTablabel, gdl_dock_tablabel, GTK_TYPE_BIN);
      | ^~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c: In function ‘gdl_dock_tablabel_motion_event’:
deprecated/gdl-dock-tablabel.c:532:5: warning: ‘gdl_dock_tablabel_get_type’ is deprecated [-Wdeprecated-declarations]
  532 |     g_return_val_if_fail (GDL_IS_DOCK_TABLABEL (widget), FALSE);
      |     ^~~~~~~~~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c:109:33: note: declared here
  109 | G_DEFINE_TYPE (GdlDockTablabel, gdl_dock_tablabel, GTK_TYPE_BIN);
      |                                 ^~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
 2299 | type_name##_get_type (void) \
      | ^~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
 2047 | #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)      _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
 1828 | #define G_DEFINE_TYPE(TN, t_n, T_P)                         G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c:109:1: note: in expansion of macro ‘G_DEFINE_TYPE’
  109 | G_DEFINE_TYPE (GdlDockTablabel, gdl_dock_tablabel, GTK_TYPE_BIN);
      | ^~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c: In function ‘gdl_dock_tablabel_new’:
deprecated/gdl-dock-tablabel.c:661:5: warning: ‘gdl_dock_tablabel_get_type’ is deprecated [-Wdeprecated-declarations]
  661 |     tablabel = GDL_DOCK_TABLABEL (g_object_new (GDL_TYPE_DOCK_TABLABEL,
      |     ^~~~~~~~
deprecated/gdl-dock-tablabel.c:109:33: note: declared here
  109 | G_DEFINE_TYPE (GdlDockTablabel, gdl_dock_tablabel, GTK_TYPE_BIN);
      |                                 ^~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2299:1: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
 2299 | type_name##_get_type (void) \
      | ^~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
 2047 | #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)      _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1828:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
 1828 | #define G_DEFINE_TYPE(TN, t_n, T_P)                         G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
      |                                                             ^~~~~~~~~~~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c:109:1: note: in expansion of macro ‘G_DEFINE_TYPE’
  109 | G_DEFINE_TYPE (GdlDockTablabel, gdl_dock_tablabel, GTK_TYPE_BIN);
      | ^~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c: In function ‘gdl_dock_tablabel_activate’:
deprecated/gdl-dock-tablabel.c:682:5: warning: ‘gtk_widget_set_state’ is deprecated: Use 'gtk_widget_set_state_flags' instead [-Wdeprecated-declarations]
  682 |     gtk_widget_set_state (GTK_WIDGET (tablabel), GTK_STATE_NORMAL);
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:823:23: note: declared here
  823 | void                  gtk_widget_set_state              (GtkWidget    *widget,
      |                       ^~~~~~~~~~~~~~~~~~~~
deprecated/gdl-dock-tablabel.c: In function ‘gdl_dock_tablabel_deactivate’:
deprecated/gdl-dock-tablabel.c:700:5: warning: ‘gtk_widget_set_state’ is deprecated: Use 'gtk_widget_set_state_flags' instead [-Wdeprecated-declarations]
  700 |     gtk_widget_set_state (GTK_WIDGET (tablabel), GTK_STATE_ACTIVE);
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkwidget.h:823:23: note: declared here
  823 | void                  gtk_widget_set_state              (GtkWidget    *widget,
      |                       ^~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gdl'
make[3]: *** [Makefile:520: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gdl'
make[2]: *** [Makefile:530: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:437: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list