Bug#1075023: gnome-boxes: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:28:38 BST 2024


Package: src:gnome-boxes
Version: 46.1-3
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/gnome-boxes_46.1-3_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

[...]
 2043 |                                                         gint _tmp5__length1;
      |                                                              ^~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c:1994:14: warning: variable ‘_pixels_size_’ set but not used [-Wunused-but-set-variable]
 1994 |         gint _pixels_size_;
      |              ^~~~~~~~~~~~~
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_update_screenshot_finish’:
src/gnome-boxes.p/machine.c:2183:43: warning: variable ‘_data_’ set but not used [-Wunused-but-set-variable]
 2183 |         BoxesMachineUpdateScreenshotData* _data_;
      |                                           ^~~~~~
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_ui_state_changed’:
src/gnome-boxes.p/machine.c:2489:17: warning: ‘g_binding_get_target’ is deprecated: Use 'g_binding_dup_target' instead [-Wdeprecated-declarations]
 2489 |                 _tmp2_ = g_binding_get_target (_tmp1_);
      |                 ^~~~~~
/usr/include/glib-2.0/gobject/gbinding.h:111:23: note: declared here
  111 | GObject *             g_binding_get_target          (GBinding *binding);
      |                       ^~~~~~~~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_try_connect_display_finish’:
src/gnome-boxes.p/machine.c:2599:44: warning: variable ‘_data_’ set but not used [-Wunused-but-set-variable]
 2599 |         BoxesMachineTryConnectDisplayData* _data_;
      |                                            ^~~~~~
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_try_save_finish’:
src/gnome-boxes.p/machine.c:2987:34: warning: variable ‘_data_’ set but not used [-Wunused-but-set-variable]
 2987 |         BoxesMachineTrySaveData* _data_;
      |                                  ^~~~~~
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_set_status’:
src/gnome-boxes.p/machine.c:3098:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 3098 |         old_value = boxes_machine_get_status (self);
      |                   ^
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_real_get_suspend_at_exit’:
src/gnome-boxes.p/machine.c:3124:23: warning: variable ‘self’ set but not used [-Wunused-but-set-variable]
 3124 |         BoxesMachine* self;
      |                       ^~~~
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_real_get_can_save’:
src/gnome-boxes.p/machine.c:3146:23: warning: variable ‘self’ set but not used [-Wunused-but-set-variable]
 3146 |         BoxesMachine* self;
      |                       ^~~~
src/gnome-boxes.p/machine.c: In function ‘_thread_safe_regex_init’:
/usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wdiscarded-qualifiers]
  131 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
  272 |     (!g_atomic_pointer_get (location) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c:3369:13: note: in expansion of macro ‘g_once_init_enter’
 3369 |         if (g_once_init_enter ((volatile gsize*) re)) {
      |             ^~~~~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c: In function ‘boxes_machine_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wdiscarded-qualifiers]
  131 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
  272 |     (!g_atomic_pointer_get (location) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c:4012:13: note: in expansion of macro ‘g_once_init_enter’
 4012 |         if (g_once_init_enter (&boxes_machine_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c: At top level:
src/gnome-boxes.p/machine.c:2984:1: warning: ‘boxes_machine_try_save_finish’ defined but not used [-Wunused-function]
 2984 | boxes_machine_try_save_finish (BoxesMachine* self,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c:2596:1: warning: ‘boxes_machine_try_connect_display_finish’ defined but not used [-Wunused-function]
 2596 | boxes_machine_try_connect_display_finish (BoxesMachine* self,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/gnome-boxes.p/machine.c:2180:1: warning: ‘boxes_machine_update_screenshot_finish’ defined but not used [-Wunused-function]
 2180 | boxes_machine_update_screenshot_finish (BoxesMachine* self,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list