Package: src:ticker
Version: 1.15
Severity: important
Tags: sid forky
User: debian-...@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/ticker_1.15_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

[...]
configure.ac:37: the top level
configure.ac:54: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.ac:54: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.ac:54: the top level
configure.ac:67: warning: AC_OUTPUT should be used without arguments.
configure.ac:67: You should run autoupdate.
   dh_auto_configure
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for SLsig_block_signals in -lslang... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for limits.h... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getopt.h... yes
checking for slang.h... yes
checking for an ANSI C-conforming const... yes
checking for vprintf... yes
checking for select... yes
checking for getopt_long... yes
configure: creating ./config.status
config.status: creating makeinfo
config.status: WARNING:  'autoconf/makeinfo.in' seems to ignore the 
--datarootdir setting
config.status: creating slang.h
config.status: creating config.h
   dh_auto_build
        make -j8
make[1]: Entering directory '/build/reproducible-path/ticker-1.15'
gcc ticker.c -o ticker  -Wall -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ticker-1.15=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -Wdate-time 
-D_FORTIFY_SOURCE=2 -lslang  
ticker.c: In function ‘Init_Screen’:
ticker.c:86:32: error: passing argument 1 of ‘SLang_set_abort_signal’ from 
incompatible pointer type [-Wincompatible-pointer-types]
   86 |         SLang_set_abort_signal(Clean_Exit);
      |                                ^~~~~~~~~~
      |                                |
      |                                void (*)(void)
In file included from slang.h:7,
                 from ticker.c:13:
/usr/include/slang.h:1490:39: note: expected ‘void (*)(int)’ but argument is of 
type ‘void (*)(void)’
 1490 | SL_EXTERN int SLang_set_abort_signal (void (*)(int));
      |                                       ^~~~~~~~~~~~~
ticker.c:68:6: note: ‘Clean_Exit’ declared here
   68 | void Clean_Exit () {
      |      ^~~~~~~~~~
make[1]: *** [Makefile:11: ticker] Error 1
make[1]: Leaving directory '/build/reproducible-path/ticker-1.15'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to