Debian Bug report logs - #1096664
funtools: ftbfs with GCC-15

version graph

Package: src:funtools; Maintainer for src:funtools is Debian Astro Team <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:15:24 UTC

Severity: important

Tags: forky, sid

Found in version funtools/1.4.8-1.1

Reply or subscribe to this bug.

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


Report forwarded to Debian Astro Team <[email protected]>:
Bug#1096664; Package src:funtools. (Mon, 17 Feb 2025 17:15:25 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Astro Team <[email protected]>. (Mon, 17 Feb 2025 17:15:25 GMT) (full text, mbox, link).


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: funtools: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:14:24 +0000
Package: src:funtools
Version: 1.4.8-1.1
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/funtools_1.4.8-1.1_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

[...]
      |       ^~~~~~~~~~  
calc.l: In function ‘_calcerror’:
calc.l:783:5: warning: old-style function definition [-Wold-style-definition]
  783 |      char *msg;
      |     ^~~~~~~~~~
calc.l: In function ‘_CalcCB’:
calc.l:325:38: warning: ‘]’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
  325 |             if( *tbuf )
      |                                      ^     
In file included from /usr/include/stdio.h:970,
                 from lex.calc.c:38:
In function ‘snprintf’,
    inlined from ‘_CalcCB’ at calc.l:325:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 3 and 4098 bytes into a destination of size 4096
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
gcc -Wl,-z,relro -rdynamic funcalc.o lex.calc.o -o funcalc \
	-L. -lfuntools   -lwcstools  -lwcstools -lm
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_fitsheadopen'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_simpleimageread'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headgets'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headsetl'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_sizeof'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_acht2'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headapps'
/usr/bin/ld: ./libfuntools.so: undefined reference to `swap8'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headcopy'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headfind'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headdel'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headfree'
/usr/bin/ld: ./libfuntools.so: undefined reference to `swap4'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headsets'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headgetl'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headsetil'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headappl'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headgetil'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_fitsheadopenfd'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_cfile'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headsetr'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headappi'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headgeti'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_trxsiz'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_dataswap'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headwrite'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_cardpar'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_syncdata'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_parsefilename'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_trxlcs'
/usr/bin/ld: ./libfuntools.so: undefined reference to `swap2'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_dataskip'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_cardfmt'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headgetr'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headappil'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headinit'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headappr'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headseti'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headappv'
/usr/bin/ld: ./libfuntools.so: undefined reference to `ft_headmerge'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:271: funcalc] Error 1
make[2]: Leaving directory '/build/reproducible-path/funtools-1.4.8'
dh_auto_build: error: make -j1 all shtclfun returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/funtools-1.4.8'
make: *** [debian/rules:7: 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:51:22 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.