Your message dated Thu, 6 Mar 2025 19:16:34 +0100
with message-id <a505ce75-862c-457d-8cd4-5afd44814...@debian.org>
has caused the   report #1097875,
regarding sharutils: ftbfs with GCC-15
to be marked as having been forwarded to the upstream software
author(s) bug-gnu-ut...@gnu.org

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1097875: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097875
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hello.

I received the following report from the Debian BTS.

sharutils fails to build from source with gcc 15.

For the Debian package, I'm going to add -std=c17 to CFLAGS
in the meantime, but a new official release would be nice.

Thanks.

-------- Mensaje reenviado --------
Asunto: Bug#1097875: sharutils: ftbfs with GCC-15
Resent-Date: Mon, 17 Feb 2025 17:55:02 +0000
Resent-From: Matthias Klose <d...@debian.org>
Fecha: Mon, 17 Feb 2025 17:53:14 +0000
De: Matthias Klose <d...@debian.org>

Package: src:sharutils
Version: 1:4.15.2-10
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-15

[...]

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

[...]

gcc -DHAVE_CONFIG_H -I. -I..  -I. -Wdate-time -D_FORTIFY_SOURCE=2 
-Wno-format-contains-nul -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/sharutils-4.15.2=. 
-fstack-protector-strong -fstack-clash-protection -fcf-protection 
-Wno-format-contains-nul -c -o libopts_a-libopts.o `test -f 'libopts.c' || echo 
'./'`libopts.c
In file included from autoopts/project.h:30,
                 from libopts.c:2:
./compat/compat.h:188:19: error: cannot use keyword ‘false’ as enumeration 
constant
  188 |    typedef enum { false = 0, true = 1 } _Bool;
      |                   ^~~~~
./compat/compat.h:188:19: note: ‘false’ is a keyword with ‘-std=c23’ onwards
./compat/compat.h:188:41: error: expected ‘;’, identifier or ‘(’ before ‘_Bool’
  188 |    typedef enum { false = 0, true = 1 } _Bool;
      |                                         ^~~~~
./compat/compat.h:188:41: warning: useless type name in empty declaration
make[4]: *** [Makefile:1312: libopts_a-libopts.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/sharutils-4.15.2/libopts'
make[3]: *** [Makefile:1237: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/sharutils-4.15.2/libopts'
make[2]: *** [Makefile:1314: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/sharutils-4.15.2'
make[1]: *** [Makefile:1253: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/sharutils-4.15.2'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---

Reply via email to