Bug#1097657: proftpd-mod-proxy: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:46:09 GMT 2025
Package: src:proftpd-mod-proxy
Version: 0.9.4-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-proxy_0.9.4-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
[...]
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
398 | cipher->discard_len) != 1) {
| ~~~~~~~~~~~~~~~~~~~~
In file included from include/proxy/ssh/crypto.h:31,
from lib/proxy/ssh/cipher.c:29:
/usr/include/openssl/evp.h:683:12: note: by argument 3 of type 'const unsigned char *' to 'EVP_Cipher' declared here
683 | __owur int EVP_Cipher(EVP_CIPHER_CTX *c,
| ^~~~~~~~~~
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/cipher.c -o lib/proxy/ssh/cipher.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/compress.c -o lib/proxy/ssh/compress.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/compress.c -fPIC -DPIC -o lib/proxy/ssh/.libs/compress.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/compress.c -o lib/proxy/ssh/compress.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/crypto.c -o lib/proxy/ssh/crypto.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/crypto.c -fPIC -DPIC -o lib/proxy/ssh/.libs/crypto.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/crypto.c -o lib/proxy/ssh/crypto.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/disconnect.c -o lib/proxy/ssh/disconnect.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/disconnect.c -fPIC -DPIC -o lib/proxy/ssh/.libs/disconnect.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/disconnect.c -o lib/proxy/ssh/disconnect.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/interop.c -o lib/proxy/ssh/interop.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/interop.c -fPIC -DPIC -o lib/proxy/ssh/.libs/interop.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/interop.c -o lib/proxy/ssh/interop.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/kex.c -o lib/proxy/ssh/kex.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/kex.c -fPIC -DPIC -o lib/proxy/ssh/.libs/kex.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/kex.c -o lib/proxy/ssh/kex.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/keys.c -o lib/proxy/ssh/keys.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/keys.c -fPIC -DPIC -o lib/proxy/ssh/.libs/keys.o
lib/proxy/ssh/keys.c: In function 'decrypt_openssh_data':
lib/proxy/ssh/keys.c:3041:47: warning: variable 'len' set but not used [-Wunused-but-set-variable]
3041 | uint32_t buflen, key_len, rounds, salt_len, len = 0;
| ^~~
lib/proxy/ssh/keys.c: In function 'decrypt_openssh_private_key':
lib/proxy/ssh/keys.c:3274:65: warning: variable 'len' set but not used [-Wunused-but-set-variable]
3274 | uint32_t check_bytes[2], decrypted_len = 0, decrypted_sz = 0, len = 0;
| ^~~
lib/proxy/ssh/keys.c: In function 'unwrap_openssh_private_key':
lib/proxy/ssh/keys.c:3354:67: warning: variable 'len' set but not used [-Wunused-but-set-variable]
3354 | uint32_t buflen, kdf_len = 0, key_count = 0, encrypted_len = 0, len = 0;
| ^~~
lib/proxy/ssh/keys.c: In function 'ecdsa_sign_data':
lib/proxy/ssh/keys.c:4486:13: warning: variable 'pkey' set but not used [-Wunused-but-set-variable]
4486 | EVP_PKEY *pkey = NULL;
| ^~~~
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/keys.c -o lib/proxy/ssh/keys.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/mac.c -o lib/proxy/ssh/mac.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/mac.c -fPIC -DPIC -o lib/proxy/ssh/.libs/mac.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/mac.c -o lib/proxy/ssh/mac.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/misc.c -o lib/proxy/ssh/misc.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/misc.c -fPIC -DPIC -o lib/proxy/ssh/.libs/misc.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/misc.c -o lib/proxy/ssh/misc.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/msg.c -o lib/proxy/ssh/msg.lo
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I. -I./debian/proftp_code -I../.. -Iinclude -I/usr/include/proftpd -g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/proftpd-mod-proxy-0.9.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPR_SHARED_MODULE -c lib/proxy/ssh/msg.c -fPIC -DPIC -o lib/proxy/ssh/.libs/msg.o
lib/proxy/ssh/msg.c:73:10: error: expected ';', ',' or ')' before 'bool'
73 | int *bool) {
| ^~~~
lib/proxy/ssh/msg.c:358:19: error: 'bool' cannot be used here
358 | unsigned char bool) {
| ^~~~
lib/proxy/ssh/msg.c:358:19: note: 'bool' is a keyword with '-std=c23' onwards
lib/proxy/ssh/msg.c: In function 'proxy_ssh_msg_write_bool':
lib/proxy/ssh/msg.c:359:48: error: expected expression before 'bool'
359 | return proxy_ssh_msg_write_byte(buf, buflen, bool == 0 ? 0 : 1);
| ^~~~
lib/proxy/ssh/msg.c:360:1: warning: control reaches end of non-void function [-Wreturn-type]
360 | }
| ^
make[1]: *** [Makefile:120: lib/proxy/ssh/msg.lo] Error 1
make[1]: Leaving directory '/build/reproducible-path/proftpd-mod-proxy-0.9.4'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-proftpd-maintainers
mailing list