Debian Bug report logs - #1096419
cdcd: ftbfs with GCC-15

version graph

Package: src:cdcd; Maintainer for src:cdcd is Uwe Hermann <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:07:28 UTC

Severity: important

Tags: forky, sid

Found in version cdcd/0.6.6-13.2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Uwe Hermann <[email protected]>:
Bug#1096419; Package src:cdcd. (Mon, 17 Feb 2025 17:07:29 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Uwe Hermann <[email protected]>. (Mon, 17 Feb 2025 17:07:29 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: cdcd: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:06:38 +0000
Package: src:cdcd
Version: 0.6.6-13.2
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/cdcd_0.6.6-13.2_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

[...]
checking for strdup... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for strerror... yes
checking for strcasestr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/cdcd-0.6.6'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/cdcd-0.6.6'
Making all in doc
make[3]: Entering directory '/build/reproducible-path/cdcd-0.6.6/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/cdcd-0.6.6/doc'
make[3]: Entering directory '/build/reproducible-path/cdcd-0.6.6'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-cdcd.o `test -f 'cdcd.c' || echo './'`cdcd.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-str.o `test -f 'str.c' || echo './'`str.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-conf.o `test -f 'conf.c' || echo './'`conf.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-global.o `test -f 'global.c' || echo './'`global.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-interface.o `test -f 'interface.c' || echo './'`interface.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-cmd_cdcd.o `test -f 'cmd_cdcd.c' || echo './'`cmd_cdcd.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-cmd_sites.o `test -f 'cmd_sites.c' || echo './'`cmd_sites.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cdcd-0.6.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cdcd-cmd_access.o `test -f 'cmd_access.c' || echo './'`cmd_access.c
conf.c: In function ‘cdcdrc_read’:
conf.c:265:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  265 |   fgets (inbuffer, 256, cdcdrcfile);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conf.c:275:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  275 |       fgets (inbuffer, 256, cdcdrcfile);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
str.c: In function ‘vpdprintf’:
str.c:236:3: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  236 |   vasprintf (&s, fmt, v);
      |   ^~~~~~~~~~~~~~~~~~~~~~
cmd_cdcd.c: In function ‘cmd_cdcd_mainloop’:
cmd_cdcd.c:1282:3: warning: ‘CPPFunction’ is deprecated [-Wdeprecated-declarations]
 1282 |   rl_attempted_completion_function = (CPPFunction *) cdcd_completion;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmd_cdcd.c:1282:36: error: assignment to ‘char ** (*)(const char *, int,  int)’ from incompatible pointer type ‘char ** (*)(void)’ [-Wincompatible-pointer-types]
 1282 |   rl_attempted_completion_function = (CPPFunction *) cdcd_completion;
      |                                    ^
cmd_cdcd.c: In function ‘cmd_excl’:
cmd_cdcd.c:270:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  270 |     system ("sh");
      |     ^~~~~~~~~~~~~
cmd_cdcd.c:275:7: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  275 |       system (cmd);
      |       ^~~~~~~~~~~~
interface.c: In function ‘cddb_lookup’:
interface.c:364:15: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  364 |               fgets (inbuffer, 256, stdin);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:630: cdcd-cmd_cdcd.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/cdcd-0.6.6'
make[2]: *** [Makefile:773: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/cdcd-0.6.6'
make[1]: *** [Makefile:402: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/cdcd-0.6.6'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
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 13:19:27 2025; Machine Name: bembo

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.