[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/secnet_0.6.7_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
[...]
| |
| _Bool
secnet.h:185:59: note: expected ‘list_t *’ {aka ‘struct list *’} but argument is of type ‘_Bool’
185 | extern void dict_add(dict_t *dict, cstring_t key, list_t *val);
| ~~~~~~~~^~~
conffile.c:511:25: error: passing argument 3 of ‘dict_add’ makes pointer from integer without a cast [-Wint-conversion]
511 | dict_add(root,"YES",true);
| ^~~~
| |
| _Bool
secnet.h:185:59: note: expected ‘list_t *’ {aka ‘struct list *’} but argument is of type ‘_Bool’
185 | extern void dict_add(dict_t *dict, cstring_t key, list_t *val);
| ~~~~~~~~^~~
conffile.c:512:28: error: passing argument 3 of ‘dict_add’ makes pointer from integer without a cast [-Wint-conversion]
512 | dict_add(root,"verily",true);
| ^~~~
| |
| _Bool
secnet.h:185:59: note: expected ‘list_t *’ {aka ‘struct list *’} but argument is of type ‘_Bool’
185 | extern void dict_add(dict_t *dict, cstring_t key, list_t *val);
| ~~~~~~~~^~~
conffile.c:513:28: error: passing argument 3 of ‘dict_add’ makes pointer from integer without a cast [-Wint-conversion]
513 | dict_add(root,"Verily",true);
| ^~~~
| |
| _Bool
secnet.h:185:59: note: expected ‘list_t *’ {aka ‘struct list *’} but argument is of type ‘_Bool’
185 | extern void dict_add(dict_t *dict, cstring_t key, list_t *val);
| ~~~~~~~~^~~
conffile.c:514:28: error: passing argument 3 of ‘dict_add’ makes pointer from integer without a cast [-Wint-conversion]
514 | dict_add(root,"VERILY",true);
| ^~~~
| |
| _Bool
secnet.h:185:59: note: expected ‘list_t *’ {aka ‘struct list *’} but argument is of type ‘_Bool’
185 | extern void dict_add(dict_t *dict, cstring_t key, list_t *val);
| ~~~~~~~~^~~
In file included from conffile_internal.h:24,
from conffile.fl:34:
secnet.h:163:16: error: two or more data types in declaration specifiers
163 | bool_t bool;
| ^~~~
cc1: all warnings being treated as errors
secnet.h:163:20: error: declaration does not declare anything [-Werror]
163 | bool_t bool;
| ^
conffile.c: In function ‘dict_read_bool’:
conffile.c:765:15: error: expected identifier before ‘bool’
765 | r=i->data.bool;
| ^~~~
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
make[2]: *** [Dir.mk:91: conffile.tab.o] Error 1
make[2]: *** [Dir.mk:91: resolver.o] Error 1
make[2]: *** [Dir.mk:91: modules.o] Error 1
cc1: all warnings being treated as errors
make[2]: *** [Dir.mk:91: secnet.o] Error 1
cc1: all warnings being treated as errors
make[2]: *** [Dir.mk:91: conffile.o] Error 1
cc1: all warnings being treated as errors
make[2]: *** [Dir.mk:91: util.o] Error 1
cc1: all warnings being treated as errors
make[2]: *** [Dir.mk:91: conffile.yy.o] Error 1
rm pubkeys.yy.c
make[2]: Leaving directory '/build/reproducible-path/secnet-0.6.7'
make[1]: *** [Makefile:7: run-main.mk] Error 2
make[1]: Leaving directory '/build/reproducible-path/secnet-0.6.7'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:38: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2