Debian Bug report logs - #1098003
tkdesk: ftbfs with GCC-15

version graph

Package: src:tkdesk; Maintainer for src:tkdesk is Debian QA Group <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 18:00:12 UTC

Severity: important

Tags: forky, sid

Found in version tkdesk/2.0-12

Reply or subscribe to this bug.

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


Report forwarded to Debian QA Group <[email protected]>:
Bug#1098003; Package src:tkdesk. (Mon, 17 Feb 2025 18:00:13 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian QA Group <[email protected]>. (Mon, 17 Feb 2025 18:00:13 GMT) (full text, mbox, link).


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: tkdesk: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:57:24 +0000
Package: src:tkdesk
Version: 2.0-12
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/tkdesk_2.0-12_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

[...]
  477 | static char ** ImgXpmGetDataFromId(interp, id)
      |                ^~~~~~~~~~~~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmGetDataFromString’:
tixImgXpm.c:498:16: warning: old-style function definition [-Wold-style-definition]
  498 | static char ** ImgXpmGetDataFromString(interp, string, numLines_return)
      |                ^~~~~~~~~~~~~~~~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmGetDataFromFile’:
tixImgXpm.c:627:16: warning: old-style function definition [-Wold-style-definition]
  627 | static char ** ImgXpmGetDataFromFile(interp, fileName, numLines_return)
      |                ^~~~~~~~~~~~~~~~~~~~~
tixImgXpm.c: In function ‘GetType’:
tixImgXpm.c:685:15: warning: old-style function definition [-Wold-style-definition]
  685 | static char * GetType(colorDefn, type_ret)
      |               ^~~~~~~
tixImgXpm.c: In function ‘GetColor’:
tixImgXpm.c:732:15: warning: old-style function definition [-Wold-style-definition]
  732 | static char * GetColor(colorDefn, colorName, type_ret)
      |               ^~~~~~~~
tixImgXpm.c: In function ‘ImgXpmGetPixmapFromData’:
tixImgXpm.c:798:12: warning: old-style function definition [-Wold-style-definition]
  798 | static int ImgXpmGetPixmapFromData(interp, masterPtr, instancePtr)
      |            ^~~~~~~~~~~~~~~~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmConfigureInstance’:
tixImgXpm.c:1068:1: warning: old-style function definition [-Wold-style-definition]
 1068 | ImgXpmConfigureInstance(instancePtr)
      | ^~~~~~~~~~~~~~~~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmCmd’:
tixImgXpm.c:1145:1: warning: old-style function definition [-Wold-style-definition]
 1145 | ImgXpmCmd(clientData, interp, argc, argv)
      | ^~~~~~~~~
tixImgXpm.c:1156:9: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
 1156 |         sprintf(interp->result,
      |         ^~~~~~~
In file included from /usr/include/tcl8.6/tk.h:19,
                 from tixImgXpm.c:55:
/usr/include/tcl8.6/tcl.h:513:11: note: declared here
  513 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
tixImgXpm.c: In function ‘ImgXpmGet’:
tixImgXpm.c:1215:1: warning: old-style function definition [-Wold-style-definition]
 1215 | ImgXpmGet(tkwin, masterData)
      | ^~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmDisplay’:
tixImgXpm.c:1286:1: warning: old-style function definition [-Wold-style-definition]
 1286 | ImgXpmDisplay(clientData, display, drawable, imageX, imageY, width,
      | ^~~~~~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmFree’:
tixImgXpm.c:1342:1: warning: old-style function definition [-Wold-style-definition]
 1342 | ImgXpmFree(clientData, display)
      | ^~~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmDelete’:
tixImgXpm.c:1411:1: warning: old-style function definition [-Wold-style-definition]
 1411 | ImgXpmDelete(masterData)
      | ^~~~~~~~~~~~
tixImgXpm.c: In function ‘ImgXpmCmdDeletedProc’:
tixImgXpm.c:1449:1: warning: old-style function definition [-Wold-style-definition]
 1449 | ImgXpmCmdDeletedProc(clientData)
      | ^~~~~~~~~~~~~~~~~~~~
tixImgXpm.c: In function ‘Tix_DefinePixmap’:
tixImgXpm.c:1479:1: warning: old-style function definition [-Wold-style-definition]
 1479 | Tix_DefinePixmap(interp, name, data)
      | ^~~~~~~~~~~~~~~~
make[3]: Leaving directory '/build/reproducible-path/tkdesk-2.0/libdesk'
make[2]: *** [Makefile:160: lib_libdesk] Error 2
make[2]: Leaving directory '/build/reproducible-path/tkdesk-2.0'
dh_auto_build: error: make -j8 TKDESK_LIBRARY=/usr/lib/tkdesk returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/tkdesk-2.0'
make: *** [debian/rules:11: 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 13:08:50 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.