Debian Bug report logs - #1096402
c-icap: ftbfs with GCC-15

version graph

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

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:07:13 UTC

Severity: important

Tags: forky, sid

Found in version c-icap/1:0.5.10-6.1

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#1096402; Package src:c-icap. (Mon, 17 Feb 2025 17:07:14 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 17:07:14 GMT) (full text, mbox, link).


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

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: c-icap: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:06:08 +0000
Package: src:c-icap
Version: 1:0.5.10-6.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/c-icap_0.5.10-6.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

[...]
checking size of long... 8
checking size of long long... 8
checking for nanosleep... yes
checking for inet_aton... yes
checking for strnstr... no
checking for strcasestr... yes
checking for strncasestr... no
checking for setgroups... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... yes
checking for poll.h... yes
checking for poll... yes
checking for sys/ipc.h... yes
checking for mmap... yes
checking for munmap... yes
checking if union semun defined... no
checking if posix 1003.1b interprocess semaphores works... no
checking if fcntl file locking works... yes
checking if posix shared mem works... yes
checking if have pthread_rwlock... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/c-icap-conf.h
config.status: creating Makefile
config.status: creating utils/Makefile
config.status: creating services/Makefile
config.status: creating services/echo/Makefile
config.status: creating services/ex-206/Makefile
config.status: creating modules/Makefile
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating autoconf.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/build/reproducible-path/c-icap-0.5.10'
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/c-icap-0.5.10'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/c-icap-0.5.10'
Making all in .
make[3]: Entering directory '/build/reproducible-path/c-icap-0.5.10'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-aserver.o `test -f 'aserver.c' || echo './'`aserver.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-request.o `test -f 'request.c' || echo './'`request.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-cfg_param.o `test -f 'cfg_param.c' || echo './'`cfg_param.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-proc_threads_queues.o `test -f 'proc_threads_queues.c' || echo './'`proc_threads_queues.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-http_auth.o `test -f 'http_auth.c' || echo './'`http_auth.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-access.o `test -f 'access.c' || echo './'`access.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-log.o `test -f 'log.c' || echo './'`log.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./include/ -I./include/ -DCONFDIR=\"/etc/c-icap\" -DMODSDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DSERVDIR=\"/usr/lib/x86_64-linux-gnu/c_icap/\" -DLOGDIR=\"/var/log/\" -DDATADIR=\"/usr/share/c_icap/\"  -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/c-icap-0.5.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wall -D_FILE_OFFSET_BITS=64 -c -o c_icap-service.o `test -f 'service.c' || echo './'`service.c
http_auth.c: In function ‘http_authenticate’:
http_auth.c:119:13: error: too many arguments to function ‘auth_method->release_authentication_header’; expected 0, have 1
  119 |             auth_method->release_authentication_header(auth_header);
      |             ^~~~~~~~~~~                                ~~~~~~~~~~~
In file included from http_auth.c:24:
./include/module.h:99:12: note: declared here
   99 |     void (*release_authentication_header)();
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1234: c_icap-http_auth.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/c-icap-0.5.10'
make[2]: *** [Makefile:1436: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/c-icap-0.5.10'
make[1]: *** [Makefile:650: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/c-icap-0.5.10'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:12: 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 13:00: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.