[Pkg-electronics-devel] Bug#1075202: librnd: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:34:16 BST 2024


Package: src:librnd
Version: 4.2.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/librnd_4.2.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

[...]
  165 |         gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo), text);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:42:15: note: declared here
   42 | void          gtk_combo_box_text_append_text     (GtkComboBoxText     *combo_box,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./librnd/plugins/lib_gtk4_common/compat.h: In function ‘gtkc_combo_box_text_prepend_text’:
./librnd/plugins/lib_gtk4_common/compat.h:170:9: warning: ‘gtk_combo_box_text_prepend_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead [-Wdeprecated-declarations]
  170 |         gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT(combo), text);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:49:15: note: declared here
   49 | void          gtk_combo_box_text_prepend_text    (GtkComboBoxText     *combo_box,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./librnd/plugins/lib_gtk4_common/compat.h: In function ‘gtkc_combo_box_text_remove’:
./librnd/plugins/lib_gtk4_common/compat.h:175:9: warning: ‘gtk_combo_box_text_remove’ is deprecated: Use 'GtkDropDown and GtkStringList' instead [-Wdeprecated-declarations]
  175 |         gtk_combo_box_text_remove(GTK_COMBO_BOX_TEXT(combo), position);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:52:15: note: declared here
   52 | void          gtk_combo_box_text_remove          (GtkComboBoxText     *combo_box,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~
./librnd/plugins/lib_gtk4_common/compat.h: In function ‘gtkc_combo_box_text_get_active_text’:
./librnd/plugins/lib_gtk4_common/compat.h:180:9: warning: ‘gtk_combo_box_text_get_active_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead [-Wdeprecated-declarations]
  180 |         return gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(combo));
      |         ^~~~~~
/usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:57:15: note: declared here
   57 | char         *gtk_combo_box_text_get_active_text (GtkComboBoxText     *combo_box);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./librnd/plugins/lib_gtk4_common/compat.h: In function ‘gdkc_window_get_pointer’:
./librnd/plugins/lib_gtk4_common/compat.h:214:9: warning: ‘gtk_widget_translate_coordinates’ is deprecated: Use 'gtk_widget_compute_point' instead [-Wdeprecated-declarations]
  214 |         gtk_widget_translate_coordinates(root, w, dx, dy, &wdx, &wdy);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:611:14: note: declared here
  611 | gboolean     gtk_widget_translate_coordinates (GtkWidget  *src_widget,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./librnd/plugins/lib_gtk4_common/compat.h: In function ‘gtkc_widget_hide_all’:
./librnd/plugins/lib_gtk4_common/compat.h:242:9: warning: ‘gtk_widget_hide’ is deprecated: Use 'gtk_widget_set_visible' instead [-Wdeprecated-declarations]
  242 |         gtk_widget_hide(widget);
      |         ^~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:273:12: note: declared here
  273 | void       gtk_widget_hide                (GtkWidget           *widget);
      |            ^~~~~~~~~~~~~~~
./librnd/plugins/lib_gtk4_common/compat.h: In function ‘gtkc_widget_show_all’:
./librnd/plugins/lib_gtk4_common/compat.h:252:9: warning: ‘gtk_widget_show’ is deprecated: Use 'gtk_widget_set_visible or gtk_window_present' instead [-Wdeprecated-declarations]
  252 |         gtk_widget_show(widget);
      |         ^~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:271:12: note: declared here
  271 | void       gtk_widget_show                (GtkWidget           *widget);
      |            ^~~~~~~~~~~~~~~
In file included from ../src/librnd/plugins/hid_gtk4_gl/gtkhid-gl.c:18:
./librnd/plugins/lib_gtk_common/gtk_gl_common.c: In function ‘ghid_gl_drawing_area_expose_cb_common’:
./librnd/plugins/lib_gtk_common/gtk_gl_common.c:456:9: warning: ‘gtk_widget_get_allocation’ is deprecated: Use 'gtk_widget_compute_bounds' instead [-Wdeprecated-declarations]
  456 |         gtkc_widget_get_allocation(widget, &allocation);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:479:23: note: declared here
  479 | void                  gtk_widget_get_allocation         (GtkWidget     *widget,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
../src/librnd/plugins/hid_gtk4_gl/gtkhid-gl.c: In function ‘ghid_gl_preview_expose’:
../src/librnd/plugins/hid_gtk4_gl/gtkhid-gl.c:147:9: warning: ‘gtk_widget_get_allocation’ is deprecated: Use 'gtk_widget_compute_bounds' instead [-Wdeprecated-declarations]
  147 |         gtkc_widget_get_allocation(widget, &allocation);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkwidget.h:479:23: note: declared here
  479 | void                  gtk_widget_get_allocation         (GtkWidget     *widget,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:59: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:3: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:22: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-electronics-devel mailing list