Debian Bug report logs - #1097316
lrzsz: ftbfs with GCC-15

version graph

Package: src:lrzsz; Maintainer for src:lrzsz is Martin A. Godisch <[email protected]>;

Reported by: Matthias Klose <[email protected]>

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

Severity: important

Tags: forky, sid

Found in version lrzsz/0.12.21rc-0.2

Reply or subscribe to this bug.

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


Report forwarded to Martin A. Godisch <[email protected]>:
Bug#1097316; Package src:lrzsz. (Mon, 17 Feb 2025 17:37:20 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Martin A. Godisch <[email protected]>. (Mon, 17 Feb 2025 17:37:20 GMT) (full text, mbox, link).


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: lrzsz: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:35:17 +0000
Package: src:lrzsz
Version: 0.12.21rc-0.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/lrzsz_0.12.21rc-0.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 a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by x86_64-linux-gnu-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib64
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking whether to use NLS... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: WARNING:  'intl/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating lib/Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating Specfile
config.status: creating systype
config.status: creating src/lrzszbug
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
/usr/bin/make
make[1]: Entering directory '/build/reproducible-path/lrzsz-0.12.21rc'
(CDPATH="${ZSH_VERSION+.}:" && cd . && true)
rm -f stamp-h1
touch config.h.in
rm -f stamp-h1
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/bin/make  all-recursive
make[2]: Entering directory '/build/reproducible-path/lrzsz-0.12.21rc'
Making all in lib
make[3]: Entering directory '/build/reproducible-path/lrzsz-0.12.21rc/lib'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lrzsz-0.12.21rc=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o long-options.o long-options.c
long-options.c: In function ‘parse_long_options’:
long-options.c:43:1: warning: old-style function definition [-Wold-style-definition]
   43 | parse_long_options (argc, argv,version, usage)
      | ^~~~~~~~~~~~~~~~~~
long-options.c:47:13: error: argument ‘usage’ doesn’t match prototype
   47 |      void (*usage)();
      |             ^~~~~
In file included from long-options.c:27:
long-options.h:8:6: error: prototype declaration
    8 | void parse_long_options __P ((int _argc, char **_argv,
      |      ^~~~~~~~~~~~~~~~~~
long-options.c:66:12: error: too many arguments to function ‘usage’; expected 0, have 1
   66 |           (*usage) (0);
      |           ~^~~~~~~  ~
make[3]: *** [Makefile:393: long-options.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/lrzsz-0.12.21rc/lib'
make[2]: *** [Makefile:412: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/lrzsz-0.12.21rc'
make[1]: *** [Makefile:347: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/lrzsz-0.12.21rc'
make: *** [debian/rules:33: build-stamp] 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 12:35:29 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.