Debian Bug report logs - #1096486
csh: ftbfs with GCC-15

version graph

Package: src:csh; Maintainer for src:csh is Alastair McKinstry <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:09:35 UTC

Severity: important

Tags: forky, sid

Found in version csh/20240808-2

Reply or subscribe to this bug.

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


Report forwarded to Alastair McKinstry <[email protected]>:
Bug#1096486; Package src:csh. (Mon, 17 Feb 2025 17:09:36 GMT) (full text, mbox, link).


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


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: csh: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:08:45 +0000
Package: src:csh
Version: 20240808-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/csh_20240808-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

[...]

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package csh
dpkg-buildpackage: info: source version 20240808-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alastair McKinstry <[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --buildsystem=bmake
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/csh-20240808'
dh_auto_clean
	bmake cleandir
rm -f a.out [Ee]rrs mklog core *.core  csh alloc.o char.o const.o csh.o dir.o dol.o error.o exec.o exp.o file.o func.o glob.o hist.o init.o lex.o misc.o parse.o proc.o sem.o set.o str.o time.o  alloc.ln char.ln const.ln csh.ln dir.ln dol.ln error.ln exec.ln exp.ln file.ln func.ln glob.ln hist.ln init.ln lex.ln misc.ln parse.ln proc.ln sem.ln set.ln str.ln time.ln error.h const.h .depend alloc.d char.d const.d csh.d dir.d dol.d error.d exec.d exp.d file.d func.d glob.d hist.d init.d lex.d misc.d parse.d proc.d sem.d set.d str.d time.d y.tab.d *.tmp.d
rm -f .depend alloc.d char.d const.d csh.d dir.d dol.d error.d exec.d exp.d file.d func.d glob.d hist.d init.d lex.d misc.d parse.d proc.d sem.d set.d str.d time.d y.tab.d *.tmp.d
rm -f .depend /build/reproducible-path/csh-20240808/tags
dh_auto_clean -- -C USD.doc
	bmake cleandir -C USD.doc
rm -f paper.* [eE]rrs mklog 
rm -f *.cat1
make[1]: Leaving directory '/build/reproducible-path/csh-20240808'
   dh_autoreconf_clean -O--buildsystem=bmake
   dh_clean -O--buildsystem=bmake
 debian/rules binary
dh binary --buildsystem=bmake
   dh_update_autotools_config -O--buildsystem=bmake
   dh_autoreconf -O--buildsystem=bmake
   dh_auto_configure -O--buildsystem=bmake
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/csh-20240808'
dh_auto_build
	bmake
egrep 'ERR_' /build/reproducible-path/csh-20240808/error.c | egrep '^#define' >> error.h
x86_64-linux-gnu-gcc -E -g -O2  -w -fcommon -I/build/reproducible-path/csh-20240808 -I. -D_GNU_SOURCE                   -MD -MF const.d -MT const.o /build/reproducible-path/csh-20240808/const.c | egrep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' |  sort >> const.h
x86_64-linux-gnu-gcc -g -O2  -w -fcommon -I/build/reproducible-path/csh-20240808 -I. -D_GNU_SOURCE                   -MD -MF alloc.d -MT alloc.o -Wdate-time -D_FORTIFY_SOURCE=2           -c alloc.c
In file included from alloc.c:39:
csh.h:84:13: error: ‘bool’ cannot be defined via ‘typedef’
   84 | typedef int bool;
      |             ^~~~
csh.h:84:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
*** Error code 1

Stop.
bmake[2]: stopped in /build/reproducible-path/csh-20240808
dh_auto_build: error: bmake returned exit code 1
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/csh-20240808'
make: *** [debian/rules:12: 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 12:54:03 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.