Debian Bug report logs - #1096552
dvbtune: ftbfs with GCC-15

version graph

Package: src:dvbtune; Maintainer for src:dvbtune is Debian QA Group <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:12:37 UTC

Severity: important

Tags: forky, sid

Found in version dvbtune/0.5.ds-5

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1096552: dvbtune: ftbfs with GCC-15
Reply-To: Matthias Klose <[email protected]>, [email protected]
Resent-From: Matthias Klose <[email protected]>
Resent-To: Debian QA Group <[email protected]>
Resent-Date: Mon, 17 Feb 2025 17:12:37 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Loop: [email protected]
X-Debian-PR-Message: report 1096552
X-Debian-PR-Package: src:dvbtune
X-Debian-PR-Keywords: forky sid
X-Debian-PR-Source: dvbtune
Received: via spool by [email protected] id=M.17398122542480753
          (code M); Mon, 17 Feb 2025 17:12:37 +0000
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:10:54 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-117.0 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
	HAS_PACKAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
	USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 65; hammy, 150; neutral, 222; spammy,
	0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
	0.000-+--UD:qa-logs.debian.net, 0.000-+--qalogsdebiannet,
	0.000-+--qa-logs.debian.net
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:57348)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mitropoulos.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk4dy-00APLu-PH
	for [email protected]; Mon, 17 Feb 2025 17:10:54 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:36562)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,[email protected] (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk4dw-00142v-VQ
	for [email protected]; Mon, 17 Feb 2025 17:10:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Content-Transfer-Encoding:Content-Type:
	MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
	In-Reply-To:References; bh=jtqDaknB870b5ppA3qNBWLV3jI6EXdYJiiZ27JCgcoY=; b=M/
	2+BOoX3rKT5pkpl5E1oCfRIaTlNtlZtreT8/hVbDtmwlBWUpTMwdUDfApToyiH0o6Z7zuvhdtCXi0
	SEyqSPQvUZ72Q86iKJMK3/JQmDOAAnZ2FbjD2kMCnbNL8Y4rTtWC1DtAJiPZ01PeNTXlWPLyZJftC
	SOuKA+8XftxVIYYe+xEaWwLaCy/1Lg6wpuNPgzcvQKFW9YU2VmS8iBpDdx5qPY9F/t8ogmeDlHXVE
	zv/0IZvtQaSeZF7xHqLZoQuv81RjAOA6yiXehugj7Fti3EF68uWQsE+8ttH68jD9EHaoaE1jFkXzN
	pG7UXdrtmB1ASEHADszERQHAVql4tnSw==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk4du-009IYR-VM
	for [email protected]; Mon, 17 Feb 2025 17:10:50 +0000
To: [email protected]
From: Matthias Klose <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>
Date: Mon, 17 Feb 2025 17:10:50 +0000
Delivered-To: [email protected]
Package: src:dvbtune
Version: 0.5.ds-5
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/dvbtune_0.5.ds-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
	make -j8 "INSTALL=install --strip-program=true" VERSION=0.5 "EXTRA_CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvbtune-0.5.ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection"
make[2]: Entering directory '/build/reproducible-path/dvbtune-0.5.ds'
gcc -g -Wall -I /usr/include/libxml2 -I ../DVB/include -DVERSION=\"0.5\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvbtune-0.5.ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNEWSTRUCT -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tune.o tune.c
In file included from tune.h:25,
                 from tune.c:41:
dvb_defaults.h:83:2: warning: #warning No DVB-T country defined in dvb_defaults.h [-Wcpp]
   83 | #warning No DVB-T country defined in dvb_defaults.h
      |  ^~~~~~~
dvb_defaults.h:84:2: warning: #warning defaulting to UK [-Wcpp]
   84 | #warning defaulting to UK
      |  ^~~~~~~
dvb_defaults.h:85:2: warning: #warning Ignore this if using Satellite or Cable [-Wcpp]
   85 | #warning Ignore this if using Satellite or Cable
      |  ^~~~~~~
tune.c: In function ‘check_status’:
tune.c:252:21: warning: ‘fe_info.type’ may be used uninitialized [-Wmaybe-uninitialized]
  252 |       switch(fe_info.type) {
      |              ~~~~~~~^~~~~
tune.c:219:28: note: ‘fe_info’ declared here
  219 |   struct dvb_frontend_info fe_info;
      |                            ^~~~~~~
gcc -g -Wall -I /usr/include/libxml2 -I ../DVB/include -DVERSION=\"0.5\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvbtune-0.5.ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNEWSTRUCT -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro  dvbtune.c tune.o   -o dvbtune
In file included from tune.h:25,
                 from dvbtune.c:82:
dvb_defaults.h:83:2: warning: #warning No DVB-T country defined in dvb_defaults.h [-Wcpp]
   83 | #warning No DVB-T country defined in dvb_defaults.h
      |  ^~~~~~~
dvb_defaults.h:84:2: warning: #warning defaulting to UK [-Wcpp]
   84 | #warning defaulting to UK
      |  ^~~~~~~
dvb_defaults.h:85:2: warning: #warning Ignore this if using Satellite or Cable [-Wcpp]
   85 | #warning Ignore this if using Satellite or Cable
      |  ^~~~~~~
dvbtune.c: In function ‘scan_nit’:
dvbtune.c:717:16: warning: variable ‘network_id’ set but not used [-Wunused-but-set-variable]
  717 |   int info_len,network_id;
      |                ^~~~~~~~~~
dvbtune.c: In function ‘main’:
dvbtune.c:1393:15: error: too many arguments to function ‘get_unscanned’; expected 0, have 1
 1393 |     while ((t=get_unscanned(transponders))!=NULL) {
      |               ^~~~~~~~~~~~~ ~~~~~~~~~~~~
dvbtune.c:140:17: note: declared here
  140 | transponder_t*  get_unscanned() {
      |                 ^~~~~~~~~~~~~
dvbtune.c:1473:40: warning: pointer targets in passing argument 2 of ‘FEReadBER’ differ in signedness [-Wpointer-sign]
 1473 |                 FEReadBER(fd_frontend, &ber);
      |                                        ^~~~
      |                                        |
      |                                        int32_t * {aka int *}
dvbtune.c:1025:33: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’}
 1025 | int FEReadBER(int fd, uint32_t *ber)
      |                       ~~~~~~~~~~^~~
dvbtune.c:1476:54: warning: pointer targets in passing argument 2 of ‘FEReadUncorrectedBlocks’ differ in signedness [-Wpointer-sign]
 1476 |                 FEReadUncorrectedBlocks(fd_frontend, &uncorr);
      |                                                      ^~~~~~~
      |                                                      |
      |                                                      int32_t * {aka int *}
dvbtune.c:1073:47: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int32_t *’ {aka ‘int *’}
 1073 | int FEReadUncorrectedBlocks(int fd, uint32_t *ucb)
      |                                     ~~~~~~~~~~^~~
dvbtune.c:1165:7: warning: variable ‘count’ set but not used [-Wunused-but-set-variable]
 1165 |   int count;
      |       ^~~~~
make[2]: *** [<builtin>: dvbtune] Error 1
make[2]: Leaving directory '/build/reproducible-path/dvbtune-0.5.ds'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" VERSION=0.5 "EXTRA_CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dvbtune-0.5.ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" returned exit code 2
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/dvbtune-0.5.ds'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:22:17 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.