Bug#1075031: gnunet: ftbfs with GCC-14
Package: src:gnunet
Version: 0.20.0-5
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/gnunet_0.20.0-5_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t {aka long unsigned int}
../../src/include/gnunet_common.h:598:39: note: in definition of macro ‘GNUNET_log’
598 | GNUNET_log_nocheck ((kind), __VA_ARGS__); \
| ^~~~~~~~~~~
test_transport_plugin_cmd_simple_send_performance.c:168:34: note: format string is defined here
168 | "time traveled: %llu\n",
| ~~~^
| |
| long long unsigned int
| %lu
test_transport_plugin_cmd_simple_send_performance.c: In function ‘all_peers_started’:
test_transport_plugin_cmd_simple_send_performance.c:230:43: error: passing argument 2 of ‘GNUNET_TESTING_get_trait_async_context’ from incompatible pointer type [-Wincompatible-pointer-types]
230 | &ac);
| ^~~
| |
| const struct GNUNET_TESTING_AsyncContext **
../../src/include/gnunet_testing_ng_lib.h:615:12: note: expected ‘struct GNUNET_TESTING_AsyncContext **’ but argument is of type ‘const struct GNUNET_TESTING_AsyncContext **’
615 | type **ret); \
../../src/include/gnunet_testing_netjail_lib.h:518:3: note: in expansion of macro ‘GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT’
518 | op (async_context, struct GNUNET_TESTING_AsyncContext) \
| ^~
../../src/include/gnunet_testing_netjail_lib.h:523:1: note: in expansion of macro ‘GNUNET_TESTING_SIMPLE_NETJAIL_TRAITS’
523 | GNUNET_TESTING_SIMPLE_NETJAIL_TRAITS (GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:4881: test_transport_plugin_cmd_simple_send_performance.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wno-address-of-packed-member -c test_transport_plugin_cmd_nat_upnp.c -fPIC -DPIC -o .libs/test_transport_plugin_cmd_nat_upnp.o
test_transport_plugin_cmd_nat_upnp.c: In function ‘handle_test’:
test_transport_plugin_cmd_nat_upnp.c:81:43: error: passing argument 2 of ‘GNUNET_TESTING_get_trait_async_context’ from incompatible pointer type [-Wincompatible-pointer-types]
81 | &ac);
| ^~~
| |
| const struct GNUNET_TESTING_AsyncContext **
In file included from ../../src/include/gnunet_testing_netjail_lib.h:30,
from test_transport_plugin_cmd_nat_upnp.c:28:
../../src/include/gnunet_testing_ng_lib.h:615:12: note: expected ‘struct GNUNET_TESTING_AsyncContext **’ but argument is of type ‘const struct GNUNET_TESTING_AsyncContext **’
615 | type **ret); \
../../src/include/gnunet_testing_netjail_lib.h:518:3: note: in expansion of macro ‘GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT’
518 | op (async_context, struct GNUNET_TESTING_AsyncContext) \
| ^~
../../src/include/gnunet_testing_netjail_lib.h:523:1: note: in expansion of macro ‘GNUNET_TESTING_SIMPLE_NETJAIL_TRAITS’
523 | GNUNET_TESTING_SIMPLE_NETJAIL_TRAITS (GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test_transport_plugin_cmd_nat_upnp.c: In function ‘all_peers_started’:
test_transport_plugin_cmd_nat_upnp.c:124:43: error: passing argument 2 of ‘GNUNET_TESTING_get_trait_async_context’ from incompatible pointer type [-Wincompatible-pointer-types]
124 | &ac);
| ^~~
| |
| const struct GNUNET_TESTING_AsyncContext **
../../src/include/gnunet_testing_ng_lib.h:615:12: note: expected ‘struct GNUNET_TESTING_AsyncContext **’ but argument is of type ‘const struct GNUNET_TESTING_AsyncContext **’
615 | type **ret); \
../../src/include/gnunet_testing_netjail_lib.h:518:3: note: in expansion of macro ‘GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT’
518 | op (async_context, struct GNUNET_TESTING_AsyncContext) \
| ^~
../../src/include/gnunet_testing_netjail_lib.h:523:1: note: in expansion of macro ‘GNUNET_TESTING_SIMPLE_NETJAIL_TRAITS’
523 | GNUNET_TESTING_SIMPLE_NETJAIL_TRAITS (GNUNET_TESTING_MAKE_DECL_SIMPLE_TRAIT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:4881: test_transport_plugin_cmd_nat_upnp.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/transport'
make[3]: *** [Makefile:545: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:596: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:507: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: