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

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1096486: csh: ftbfs with GCC-15
Reply-To: Matthias Klose <[email protected]>, [email protected]
Resent-From: Matthias Klose <[email protected]>
Resent-To: Alastair McKinstry <[email protected]>
Resent-Date: Mon, 17 Feb 2025 17:09:35 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Loop: [email protected]
X-Debian-PR-Message: report 1096486
X-Debian-PR-Package: src:csh
X-Debian-PR-Keywords: forky sid
X-Debian-PR-Source: csh
Received: via spool by [email protected] id=M.17398121292476436
          (code M); Mon, 17 Feb 2025 17:09:35 +0000
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:08:49 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-117.0 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
	HAS_PACKAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
	USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 150; neutral, 472; spammy,
	0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
	0.000-+--UD:init.d, 0.000-+--initd, 0.000-+--init.d
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:41838)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mitropoulos.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk4bx-00AOBB-IR
	for [email protected]; Mon, 17 Feb 2025 17:08:49 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:49648)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,[email protected] (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk4bv-0013pj-OH
	for [email protected]; Mon, 17 Feb 2025 17:08:47 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Content-Transfer-Encoding:Content-Type:
	MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
	In-Reply-To:References; bh=vQiOhk5Z2mq+gCVvrPh45jj7aw93YGNiiZuDUt+Ti7w=; b=V0
	n7ANG+f7fCrPxCe0P2Wv2pKMVWB0pQf+1SrmM3zqQ2Lr9r3uBR/szR8+f2G4pQyHWK8JXG7lxD0jT
	XCOnWsFlf+fjcoXD04sAHbobg6EdPFNTCgap90oRY9fgZxqybqiNV2Eb6NG2pDMK6z/3KhX4KB9uA
	Z//UYplLueWX+zStDRLXPeQicpLEpKUwzUkCjEyuyGstf+kVhrOqlV3pGOZmWysoh8iMLpuoRdFnk
	mFza5oQr8so5k4KfwBxFiLeA6mad3eIkqX+kkwW7PO2xGIUwVup5NYpFARohyFdrUc4VCW+7Vy0Af
	tfuOQBVLLEJpZkOinshdSk9LIp2uWwUw==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk4bt-009I8U-Nk
	for [email protected]; Mon, 17 Feb 2025 17:08:45 +0000
To: [email protected]
From: Matthias Klose <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <[email protected]>
Date: Mon, 17 Feb 2025 17:08:45 +0000
Delivered-To: [email protected]
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 17:18:59 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.