--- Begin Message ---
Package: src:otpw
Version: 1.5-3
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/otpw_1.5-3_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
[...]
otpw-gen.c:263:31: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
263 | "your","yous","yuan","yuri","yves","zach","zack","zapt","zeal","zero",
| ^~~~~~
otpw-gen.c:263:38: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
263 | "your","yous","yuan","yuri","yves","zach","zack","zapt","zeal","zero",
| ^~~~~~
otpw-gen.c:263:45: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
263 | "your","yous","yuan","yuri","yves","zach","zack","zapt","zeal","zero",
| ^~~~~~
otpw-gen.c:263:52: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
263 | "your","yous","yuan","yuri","yves","zach","zack","zapt","zeal","zero",
| ^~~~~~
otpw-gen.c:263:59: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
263 | "your","yous","yuan","yuri","yves","zach","zack","zapt","zeal","zero",
| ^~~~~~
otpw-gen.c:263:66: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
263 | "your","yous","yuan","yuri","yves","zach","zack","zapt","zeal","zero",
| ^~~~~~
otpw-gen.c:264:3: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c:264:10: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c:264:17: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c:264:24: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c:264:31: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c:264:38: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c:264:45: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c:264:52: warning: initializer-string for array of ‘char’ is too long
[-Wunterminated-string-initialization]
264 | "zest","zeta","zeus","zinc","zone","zoom","zoos","zzap"
| ^~~~~~
otpw-gen.c: In function ‘main’:
otpw-gen.c:924:5: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
924 | fgets(password1, sizeof(password1), stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
otpw-gen.c:927:5: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
927 | fgets(password1, sizeof(password1), stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
otpw-gen.c:929:5: warning: ignoring return value of ‘fgets’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
929 | fgets(password2, sizeof(password2), stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -fPIC -O -ggdb -W -Wall -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/otpw-1.5=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rmd160.o rmd160.c
gcc -fPIC -O -ggdb -W -Wall -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/otpw-1.5=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o md.o md.c
gcc -fPIC -O -ggdb -W -Wall -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/otpw-1.5=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o otpw.o otpw.c
otpw.c:119:5: error: conflicting types for ‘otpw_set_pseudouser’; have
‘int(struct otpw_pwdbuf **)’
119 | int otpw_set_pseudouser(struct otpw_pwdbuf **pseudouser)
| ^~~~~~~~~~~~~~~~~~~
In file included from otpw.c:19:
otpw.h:101:5: note: previous declaration of ‘otpw_set_pseudouser’ with type
‘int(void)’
101 | int otpw_set_pseudouser();
| ^~~~~~~~~~~~~~~~~~~
otpw.c: In function ‘rbg_seed’:
otpw.c:157:5: warning: ignoring return value of ‘read’ declared with attribute
‘warn_unused_result’ [-Wunused-result]
157 | read(devrandom, rbs, sizeof(rbs));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: otpw.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/otpw-1.5'
make: *** [debian/rules:34: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---