Bug#1075165: libdmapsharing: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:33:06 BST 2024


Package: src:libdmapsharing
Version: 3.9.13-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/libdmapsharing_3.9.13-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

[...]
vala-image-record.c:848:23: error: assignment to ‘DmapRecord * (*)(DmapRecordFactory *, void *, GError **)’ {aka ‘struct _DmapRecord * (*)(struct _DmapRecordFactory *, void *, struct _GError **)’} from incompatible pointer type ‘DmapRecord * (*)(DmapRecordFactory *, GError **)’ {aka ‘struct _DmapRecord * (*)(struct _DmapRecordFactory *, struct _GError **)’} [-Wincompatible-pointer-types]
  848 |         iface->create = (DmapRecord* (*) (DmapRecordFactory*, GError**)) vala_image_record_factory_real_create;
      |                       ^
vala-image-record.c: In function ‘vala_image_record_factory_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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
vala-image-record.c:872:13: note: in expansion of macro ‘g_once_init_enter’
  872 |         if (g_once_init_enter (&vala_image_record_factory_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
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 vala-dmap-container-db.c:26:
vala-dmap-container-db.c: In function ‘vala_dmap_container_db_get_type’:
vala-dmap-db.c: In function ‘vala_dmap_db_dmap_db_interface_init’:
vala-dmap-db.c:273:22: error: assignment to ‘gint64 (*)(const DmapDb *)’ {aka ‘long int (*)(const struct _DmapDb *)’} from incompatible pointer type ‘gint64 (*)(DmapDb *)’ {aka ‘long int (*)(struct _DmapDb *)’} [-Wincompatible-pointer-types]
  273 |         iface->count = (gint64 (*) (DmapDb*)) vala_dmap_db_real_count;
      |                      ^
vala-dmap-db.c:274:24: error: assignment to ‘void (*)(const DmapDb *, void (*)(guint,  DmapRecord *, void *), void *)’ {aka ‘void (*)(const struct _DmapDb *, void (*)(unsigned int,  struct _DmapRecord *, void *), void *)’} from incompatible pointer type ‘void (*)(DmapDb *, void (*)(guint,  DmapRecord *, void *), void *)’ {aka ‘void (*)(struct _DmapDb *, void (*)(unsigned int,  struct _DmapRecord *, void *), void *)’} [-Wincompatible-pointer-types]
  274 |         iface->foreach = (void (*) (DmapDb*, DmapIdRecordFunc, gpointer)) vala_dmap_db_real_foreach;
      |                        ^
/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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
vala-dmap-container-db.c:242:13: note: in expansion of macro ‘g_once_init_enter’
  242 |         if (g_once_init_enter (&vala_dmap_container_db_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
vala-dmap-db.c:275:29: error: assignment to ‘DmapRecord * (*)(const DmapDb *, guint)’ {aka ‘struct _DmapRecord * (*)(const struct _DmapDb *, unsigned int)’} from incompatible pointer type ‘DmapRecord * (*)(DmapDb *, guint)’ {aka ‘struct _DmapRecord * (*)(struct _DmapDb *, unsigned int)’} [-Wincompatible-pointer-types]
  275 |         iface->lookup_by_id = (DmapRecord* (*) (DmapDb*, guint)) vala_dmap_db_real_lookup_by_id;
      |                             ^
vala-dmap-db.c:276:38: error: assignment to ‘guint (*)(const DmapDb *, const gchar *)’ {aka ‘unsigned int (*)(const struct _DmapDb *, const char *)’} from incompatible pointer type ‘guint (*)(DmapDb *, const gchar *)’ {aka ‘unsigned int (*)(struct _DmapDb *, const char *)’} [-Wincompatible-pointer-types]
  276 |         iface->lookup_id_by_location = (guint (*) (DmapDb*, const gchar*)) vala_dmap_db_real_lookup_id_by_location;
      |                                      ^
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 vala-dmap-db.c:26:
vala-dmap-db.c: In function ‘vala_dmap_db_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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
vala-dmap-db.c:314:13: note: in expansion of macro ‘g_once_init_enter’
  314 |         if (g_once_init_enter (&vala_dmap_db_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:654: dacplisten.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:654: vala-image-record.o] Error 1
make[3]: *** [Makefile:654: vala-dmap-db.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:516: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:423: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list