Bug#1075227: linuxtv-dvb-apps: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:35:01 BST 2024


Package: src:linuxtv-dvb-apps
Version: 1.1.1+rev1500-1.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/linuxtv-dvb-apps_1.1.1+rev1500-1.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

[...]
make -C av7110_loadkeys all
make[3]: Entering directory '/<<PKGBUILDDIR>>/util/av7110_loadkeys'
/bin/sh generate-keynames.sh input_keynames.h
generate input_keynames.h...
CC av7110_loadkeys
av7110_loadkeys.c: In function ‘main’:
av7110_loadkeys.c:143:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  143 |                 write (0, usage, strlen(usage));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:152:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  152 |                 write (0, msg, strlen(msg));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:180:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  180 |                         write (0, msg, strlen(msg));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:193:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  193 |         write (1, &setup, 4 + 256 * sizeof(__u16));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c: In function ‘parse_keyname’:
av7110_loadkeys.c:103:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  103 |                         write (0, msg, strlen(msg));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:104:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  104 |                         write (0, pos-4, len1 + 4);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:105:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  105 |                         write (0, "'\n", 2);
      |                         ^~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c: In function ‘print_error’:
av7110_loadkeys.c:24:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   24 |         write (0, msg, strlen(msg));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:25:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   25 |         write (0, action, strlen(action));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:26:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   26 |         write (0, " '", 2);
      |         ^~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:27:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   27 |         write (0, file, strlen(file));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
av7110_loadkeys.c:28:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   28 |         write (0, "'\n\n", 3);
      |         ^~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/av7110_loadkeys'
make -C dib3000-watch all
make[3]: Entering directory '/<<PKGBUILDDIR>>/util/dib3000-watch'
CC dib3000-watch
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/dib3000-watch'
make -C dst-utils all
make[3]: Entering directory '/<<PKGBUILDDIR>>/util/dst-utils'
CC dst_test
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/dst-utils'
make -C dvbdate all
make[3]: Entering directory '/<<PKGBUILDDIR>>/util/dvbdate'
CC dvbdate
dvbdate.c: In function ‘set_time’:
dvbdate.c:312:42: error: initialization of ‘long int’ from ‘time_t *’ {aka ‘long int *’} makes integer from pointer without a cast [-Wint-conversion]
  312 |         struct timespec ts = { .tv_sec = new_time };
      |                                          ^~~~~~~~
dvbdate.c:312:42: note: (near initialization for ‘ts.tv_sec’)
make[3]: *** [../../Make.rules:82: dvbdate] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/dvbdate'
make[2]: *** [Makefile:10: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/util'
make[1]: *** [Makefile:14: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:4: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-vdr-dvb-devel mailing list