Bug#1075024: gnome-dvb-daemon: ftbfs with GCC-14

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


Package: src:gnome-dvb-daemon
Version: 1:0.2.91~git20170110-5
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-dvb-daemon_0.2.91~git20170110-5_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

[...]
/usr/include/gstreamer-1.0/gst/mpegts/mpegts.h:28:2: warning: #warning "The GStreamer mpegts library is unstable API and may change in future." [-Wcpp]
   28 | #warning "The GStreamer mpegts library is unstable API and may change in future."
      |  ^~~~~~~
/usr/include/gstreamer-1.0/gst/mpegts/mpegts.h:29:2: warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning." [-Wcpp]
   29 | #warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
      |  ^~~~~~~
src/EPGScanner.c: In function ‘dvb_epg_scanner_scan_new_frequency’:
src/EPGScanner.c:982:69: error: passing argument 1 of ‘gee_abstract_map_get_keys’ from incompatible pointer type [-Wincompatible-pointer-types]
  982 |                                 _tmp7_ = gee_abstract_map_get_keys ((GeeMap*) _tmp6_);
      |                                                                     ^~~~~~~~~~~~~~~~
      |                                                                     |
      |                                                                     GeeMap * {aka struct _GeeMap *}
In file included from src/EPGScanner.c:26:
/usr/include/gee-0.8/gee.h:1562:64: note: expected ‘GeeAbstractMap *’ {aka ‘struct _GeeAbstractMap *’} but argument is of type ‘GeeMap *’ {aka ‘struct _GeeMap *’}
 1562 | VALA_EXTERN GeeSet* gee_abstract_map_get_keys (GeeAbstractMap* self);
      |                                                ~~~~~~~~~~~~~~~~^~~~
src/EPGScanner.c:1042:85: error: passing argument 1 of ‘gee_abstract_collection_get_size’ from incompatible pointer type [-Wincompatible-pointer-types]
 1042 |                                         _tmp26_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp25_);
      |                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                     |
      |                                                                                     GeeCollection * {aka struct _GeeCollection *}
/usr/include/gee-0.8/gee.h:1504:75: note: expected ‘GeeAbstractCollection *’ {aka ‘struct _GeeAbstractCollection *’} but argument is of type ‘GeeCollection *’ {aka ‘struct _GeeCollection *’}
 1504 | VALA_EXTERN gint gee_abstract_collection_get_size (GeeAbstractCollection* self);
      |                                                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~
src/EPGScanner.c: In function ‘dvb_epg_scanner_bus_watch_func’:
src/EPGScanner.c:1190:40: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1190 |                                 _tmp6_ = gst_message_get_structure (_tmp5_);
      |                                        ^
src/EPGScanner.c: In function ‘dvb_epg_scanner_on_eit_structure’:
src/EPGScanner.c:1344:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1344 |         _tmp1_ = gst_mpegts_section_get_eit (_tmp0_);
      |                ^
src/EPGScanner.c: In function ‘dvb_epg_scanner_class_init’:
src/EPGScanner.c:2211:9: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
 2211 |         g_type_class_add_private (klass, sizeof (DVBEPGScannerPrivate));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from src/EPGScanner.c:24:
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
src/EPGScanner.c: In function ‘dvb_epg_scanner_instance_init’:
src/EPGScanner.c:2221:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
 2221 |         self->priv = DVB_EPG_SCANNER_GET_PRIVATE (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 src/EPGScanner.c:23:
src/EPGScanner.c: In function ‘dvb_epg_scanner_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/EPGScanner.c:2247:13: note: in expansion of macro ‘g_once_init_enter’
 2247 |         if (g_once_init_enter (&dvb_epg_scanner_type_id__volatile)) {
      |             ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1540: src/gnome_dvb_daemon-EPGScanner.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:2234: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:700: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list