Debian Bug report logs - #1098151
xloadimage: ftbfs with GCC-15

version graph

Package: src:xloadimage; Maintainer for src:xloadimage is Thorsten Glaser <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 18:06:06 UTC

Severity: important

Tags: forky, sid

Found in version xloadimage/4.1-26

Full log


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

Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 18:02:06 +0000
From [email protected] Mon Feb 17 18:02:06 2025
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=-118.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
	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, 54; hammy, 150; neutral, 160; spammy,
	0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
	0.000-+--UD:qa-logs.debian.net, 0.000-+--qalogsdebiannet,
	0.000-+--qa-logs.debian.net
Return-path: <[email protected]>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:43062)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=muffat.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 1tk5RV-00Amzd-Vq
	for [email protected]; Mon, 17 Feb 2025 18:02:05 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:46708)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,[email protected] (verified)
	by muffat.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 1tk5RV-00GaPY-Hq
	for [email protected]; Mon, 17 Feb 2025 18:02:05 +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=oi+bA8BTgbHgaYmha4ZflOokvFQhEjVaFfXbwNpm8+E=; b=rj
	RvRF9zt0vSejphMTBJ15+wnkLQYr/jaLp+X1ha3cyBx56vmvXaDAApM+mxiP6SGVnGY0UEPu2tTMG
	jbwx/SmpvHmz2fak286Ofavo+H9pQUiN5OTir2ZPwz7Lkg8QgSEVNtMl9guf4HoxW8m/7nLpmo/Zw
	xWCZ4A55+mBliVntzuMc21HjvYgR/042Tiv7I0x0OM8a1WnI6M/Zsy1WCEDQb+u2bHNCmmrpkwxZu
	E/k+zBodp6UOpB5w9D1cuQ7oiSgmHg48W4ZDvlfiCHGhzdvxfvUII4mMeHaQQvxzFC1GLB24PbXmA
	Me+9meB1EsGN2JSGR0Doum2o3SFiEb6A==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tk5RU-009RlX-Q0
	for [email protected]; Mon, 17 Feb 2025 18:02:04 +0000
To: [email protected]
Subject: xloadimage: ftbfs with GCC-15
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 18:02:04 +0000
Delivered-To: [email protected]
Package: src:xloadimage
Version: 4.1-26
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/xloadimage_4.1-26_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

[...]
cmuwmraster.c:30:5: warning: old-style function definition [-Wold-style-definition]
   30 | int cmuwmIdent(fullname, name)
      |     ^~~~~~~~~~
cmuwmraster.c: In function ‘cmuwmLoad’:
cmuwmraster.c:70:8: warning: old-style function definition [-Wold-style-definition]
   70 | Image* cmuwmLoad(fullname, name, verbose)
      |        ^~~~~~~~~
config.c: In function ‘addFilter’:
config.c:39:13: warning: old-style function definition [-Wold-style-definition]
   39 | static void addFilter(extension, filter)
      |             ^~~~~~~~~
config.c: In function ‘skip_whitespace’:
config.c:69:13: warning: old-style function definition [-Wold-style-definition]
   69 | static void skip_whitespace(f, linenum)
      |             ^~~~~~~~~~~~~~~
config.c: In function ‘readPathsAndExts’:
config.c:95:13: warning: old-style function definition [-Wold-style-definition]
   95 | static void readPathsAndExts(name)
      |             ^~~~~~~~~~~~~~~~
config.c:242:28: error: too many arguments to function ‘expandPath’; expected 0, have 1
  242 |         Paths[NumPaths++]= expandPath(buf);
      |                            ^~~~~~~~~~ ~~~
xloadimage.h:54:7: note: declared here
   54 | char *expandPath(); /* path.c */
      |       ^~~~~~~~~~
config.c: In function ‘fileIsOk’:
config.c:300:12: warning: old-style function definition [-Wold-style-definition]
  300 | static int fileIsOk(fullname, sbuf)
      |            ^~~~~~~~
config.c: In function ‘findImage’:
config.c:313:5: warning: old-style function definition [-Wold-style-definition]
  313 | int findImage(name, fullname)
      |     ^~~~~~~~~
config.c:315:1: error: number of arguments doesn’t match prototype
  315 | { unsigned int   p, e;
      | ^
xloadimage.h:55:5: error: prototype declaration
   55 | int findImage();
      |     ^~~~~~~~~
config.c: In function ‘expandPath’:
config.c:453:7: warning: old-style function definition [-Wold-style-definition]
  453 | char *expandPath(p)
      |       ^~~~~~~~~~
config.c:455:1: error: number of arguments doesn’t match prototype
  455 | { char buf1[BUFSIZ], buf2[BUFSIZ];
      | ^
xloadimage.h:54:7: error: prototype declaration
   54 | char *expandPath(); /* path.c */
      |       ^~~~~~~~~~
fbm.c: In function ‘fbmin_open_image’:
fbm.c:107:12: warning: old-style function definition [-Wold-style-definition]
  107 | static int fbmin_open_image(s)
      |            ^~~~~~~~~~~~~~~~
fbm.c: In function ‘tellAboutImage’:
fbm.c:187:13: warning: old-style function definition [-Wold-style-definition]
  187 | static void tellAboutImage(name)
      |             ^~~~~~~~~~~~~~
fbm.c: In function ‘fbmLoad’:
fbm.c:198:8: warning: old-style function definition [-Wold-style-definition]
  198 | Image *fbmLoad(fullname, name, verbose)
      |        ^~~~~~~
fbm.c: In function ‘fbmIdent’:
fbm.c:291:5: warning: old-style function definition [-Wold-style-definition]
  291 | int fbmIdent(fullname, name)
      |     ^~~~~~~~
make[1]: *** [Makefile:33: config.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/xloadimage-4.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:56: 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 17:25:48 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.