[Debian-astro-maintainers] Bug#1096664: funtools: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:14:24 GMT 2025


Package: src:funtools
Version: 1.4.8-1.1
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
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



More information about the Debian-astro-maintainers mailing list