Bug#1097656: proftpd-mod-case: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:46:05 GMT 2025
Package: src:proftpd-mod-case
Version: 0.9-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/proftpd-mod-case_0.9-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
[...]
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=user42
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package proftpd-mod-case
dpkg-buildpackage: info: source version 0.9-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Hilmar Preusse <hille42 at web.de>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean --without autoreconf
debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/proftpd-mod-case-0.9'
DESTDIR=/build/reproducible-path/proftpd-mod-case-0.9/debian/proftpd-mod-case prxs -d mod_case.c
libtool --mode=clean rm -f mod_case.la *.lo
make[1]: Leaving directory '/build/reproducible-path/proftpd-mod-case-0.9'
dh_clean
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/proftpd-mod-case.substvars debian/files
rm -fr -- debian/proftpd-mod-case/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary --without autoreconf
dh_update_autotools_config
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/proftpd-mod-case-0.9'
DESTDIR=/build/reproducible-path/proftpd-mod-case-0.9/debian/proftpd-mod-case prxs -c mod_case.c
libtool --mode=compile gcc -DLINUX -g2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-dfsg-1.3.8.c+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-omit-frame-pointer -fno-strict-aliasing -Werror=implicit-function-declaration -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_case.c
libtool: compile: gcc -DLINUX -g2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-dfsg-1.3.8.c+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-omit-frame-pointer -fno-strict-aliasing -Werror=implicit-function-declaration -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_case.c -fPIC -DPIC -o .libs/mod_case.o
mod_case.c: In function 'set_caseengine':
mod_case.c:830:7: error: 'bool' cannot be used here
830 | int bool;
| ^~~~
mod_case.c:830:7: note: 'bool' is a keyword with '-std=c23' onwards
mod_case.c:830:3: warning: useless type name in empty declaration
830 | int bool;
| ^~~
mod_case.c:836:8: error: expected identifier or '(' before '=' token
836 | bool = get_boolean(cmd, 1);
| ^
mod_case.c:837:12: error: expected identifier or '(' before '==' token
837 | if (bool == -1)
| ^~
mod_case.c:837:7: error: declaration in the controlling expression must have an initializer
837 | if (bool == -1)
| ^~~~
mod_case.c:842:36: error: expected expression before 'bool'
842 | *((unsigned int *) c->argv[0]) = bool;
| ^~~~
prxs: error executing command (1)
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1
make[1]: Leaving directory '/build/reproducible-path/proftpd-mod-case-0.9'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-proftpd-maintainers
mailing list