Bug#1075500: seahorse: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:43:49 BST 2024


Package: src:seahorse
Version: 43.0-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/seahorse_43.0-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

[...]
      |                            ^~~~
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from common/seahorse-common.h:6,
                 from ssh/seahorse-ssh.h:6,
                 from ssh/libseahorse-ssh.a.p/source.c:25:
ssh/libseahorse-ssh.a.p/source.c: In function ‘seahorse_ssh_source_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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
ssh/libseahorse-ssh.a.p/source.c:2485:13: note: in expansion of macro ‘g_once_init_enter’
 2485 |         if (g_once_init_enter (&seahorse_ssh_source_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
[177/266] cc -Issh/libseahorse-ssh.a.p -Issh -I../ssh -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DGCR_API_SUBJECT_TO_CHANGE -DGCK_API_SUBJECT_TO_CHANGE -DSECRET_WITH_UNSTABLE -include config.h -Wno-unused-parameter -Wno-missing-field-initializers -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ ssh/libseahorse-ssh.a.p/meson-generated_upload.c.o -MF ssh/libseahorse-ssh.a.p/meson-generated_upload.c.o.d -o ssh/libseahorse-ssh.a.p/meson-generated_upload.c.o -c ssh/libseahorse-ssh.a.p/upload.c
ssh/libseahorse-ssh.a.p/upload.c: In function ‘seahorse_ssh_upload_upload_keys’:
ssh/libseahorse-ssh.a.p/upload.c:304:22: warning: variable ‘_tmp21__length1’ set but not used [-Wunused-but-set-variable]
  304 |                 gint _tmp21__length1;
      |                      ^~~~~~~~~~~~~~~
ssh/libseahorse-ssh.a.p/upload.c:240:17: warning: variable ‘_tmp20_’ set but not used [-Wunused-but-set-variable]
  240 |         gchar** _tmp20_;
      |                 ^~~~~~~
ssh/libseahorse-ssh.a.p/upload.c:236:14: warning: variable ‘_tmp16__length1’ set but not used [-Wunused-but-set-variable]
  236 |         gint _tmp16__length1;
      |              ^~~~~~~~~~~~~~~
ssh/libseahorse-ssh.a.p/upload.c:233:14: warning: variable ‘_host_port_split_size_’ set but not used [-Wunused-but-set-variable]
  233 |         gint _host_port_split_size_;
      |              ^~~~~~~~~~~~~~~~~~~~~~
ssh/libseahorse-ssh.a.p/upload.c: In function ‘seahorse_ssh_upload_finalize’:
ssh/libseahorse-ssh.a.p/upload.c:587:29: warning: variable ‘self’ set but not used [-Wunused-but-set-variable]
  587 |         SeahorseSshUpload * self;
      |                             ^~~~
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from common/seahorse-common.h:6,
                 from ssh/seahorse-ssh.h:6,
                 from ssh/libseahorse-ssh.a.p/upload.c:25:
ssh/libseahorse-ssh.a.p/upload.c: In function ‘seahorse_ssh_upload_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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
ssh/libseahorse-ssh.a.p/upload.c:606:13: note: in expansion of macro ‘g_once_init_enter’
  606 |         if (g_once_init_enter (&seahorse_ssh_upload_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
ssh/libseahorse-ssh.a.p/upload.c: At top level:
ssh/libseahorse-ssh.a.p/upload.c:49:20: warning: ‘seahorse_ssh_upload_properties’ defined but not used [-Wunused-variable]
   49 | static GParamSpec* seahorse_ssh_upload_properties[SEAHORSE_SSH_UPLOAD_NUM_PROPERTIES];
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[178/266] cc -Ipgp/libseahorse-pgp.a.p -Ipgp -I../pgp -I. -I.. -Icommon -I../common -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libhandy-1 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DGCR_API_SUBJECT_TO_CHANGE -DGCK_API_SUBJECT_TO_CHANGE -DSECRET_WITH_UNSTABLE -include config.h -Wno-unused-parameter -Wno-missing-field-initializers -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DLDAP_DEPRECATED -MD -MQ pgp/libseahorse-pgp.a.p/seahorse-combo-keys.c.o -MF pgp/libseahorse-pgp.a.p/seahorse-combo-keys.c.o.d -o pgp/libseahorse-pgp.a.p/seahorse-combo-keys.c.o -c ../pgp/seahorse-combo-keys.c
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