Debian Bug report logs - #1096510
dcfldd: ftbfs with GCC-15

version graph

Package: src:dcfldd; Maintainer for src:dcfldd is Joao Eriberto Mota Filho <[email protected]>;

Reported by: Matthias Klose <[email protected]>

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

Severity: important

Tags: forky, sid

Found in version dcfldd/1.9.2-1

Reply or subscribe to this bug.

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


Report forwarded to Joao Eriberto Mota Filho <[email protected]>:
Bug#1096510; Package src:dcfldd. (Mon, 17 Feb 2025 17:12:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Joao Eriberto Mota Filho <[email protected]>. (Mon, 17 Feb 2025 17:12:02 GMT) (full text, mbox, link).


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: dcfldd: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:09:31 +0000
Package: src:dcfldd
Version: 1.9.2-1
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/dcfldd_1.9.2-1_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

[...]
sys2.h:297:7: error: conflicting types for ‘ttyname’; have ‘char *(void)’
  297 | char *ttyname ();
      |       ^~~~~~~
In file included from system.h:33:
/usr/include/unistd.h:799:14: note: previous declaration of ‘ttyname’ with type ‘char *(int)’
  799 | extern char *ttyname (int __fd) __THROW;
      |              ^~~~~~~
dcfldd.c: In function ‘print_stats’:
dcfldd.c:229:13: error: too many arguments to function ‘human_readable’; expected 0, have 4
  229 |             human_readable (r_full, buf[0], 1, 1),
      |             ^~~~~~~~~~~~~~  ~~~~~~
In file included from dcfldd.c:60:
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:230:13: error: too many arguments to function ‘human_readable’; expected 0, have 4
  230 |             human_readable (r_partial, buf[1], 1, 1));
      |             ^~~~~~~~~~~~~~  ~~~~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:232:13: error: too many arguments to function ‘human_readable’; expected 0, have 4
  232 |             human_readable (w_full, buf[0], 1, 1),
      |             ^~~~~~~~~~~~~~  ~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:233:13: error: too many arguments to function ‘human_readable’; expected 0, have 4
  233 |             human_readable (w_partial, buf[1], 1, 1));
      |             ^~~~~~~~~~~~~~  ~~~~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c:236:17: error: too many arguments to function ‘human_readable’; expected 0, have 4
  236 |                 human_readable (r_truncate, buf[0], 1, 1),
      |                 ^~~~~~~~~~~~~~  ~~~~~~~~~~
human.h:33:7: note: declared here
   33 | char *human_readable PARAMS ((uintmax_t, char *, int, int));
      |       ^~~~~~~~~~~~~~
dcfldd.c: In function ‘parse_integer’:
dcfldd.c:388:20: error: too many arguments to function ‘xstrtoumax’; expected 0, have 5
  388 | #  define __strtol xstrtoumax
      |                    ^~~~~~~~~~
dcfldd.c:401:27: note: in expansion of macro ‘__strtol’
  401 |     enum strtol_error e = __strtol(str, &suffix, 10, &n, "bcEGkMPTwYZ0");
      |                           ^~~~~~~~
In file included from dcfldd.c:63:
xstrtol.h:30:19: note: declared here
   30 | _DECLARE_XSTRTOL (xstrtoumax, uintmax_t)
      |                   ^~~~~~~~~~
xstrtol.h:26:5: note: in definition of macro ‘_DECLARE_XSTRTOL’
   26 |     name PARAMS ((const char *s, char **ptr, int base, \
      |     ^~~~
dcfldd.c: In function ‘main’:
dcfldd.c:712:5: error: too many arguments to function ‘parse_long_options’; expected 0, have 7
  712 |     parse_long_options(argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
      |     ^~~~~~~~~~~~~~~~~~ ~~~~
In file included from dcfldd.c:61:
long-options.h:29:3: note: declared here
   29 |   parse_long_options PARAMS ((int _argc,
      |   ^~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:467: dcfldd.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/dcfldd-1.9.2/src'
make[2]: *** [Makefile:504: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/dcfldd-1.9.2'
make[1]: *** [Makefile:381: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/dcfldd-1.9.2'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: 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:07:48 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.