Source: openvas-scanner Version: 22.7.9-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=openvas-scanner&arch=armhf&ver=22.7.9-1%2Bb1&stamp=1710667919&raw=0 [ 89%] Building C object src/CMakeFiles/openvas.dir/pluginload.c.o cd /<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/src && /usr/bin/cc -DNVT_TIMEOUT=320 -DOPENVAS_CONF=\"/etc/openvas/openvas.conf\" -DOPENVAS_DATA_DIR=\"/usr/share/openvas\" -DOPENVAS_FEED_LOCK_PATH=\"/var/lib/openvas/feed-update.lock\" -DOPENVAS_NVT_DIR=\"/var/lib/openvas/plugins\" -DOPENVAS_RUN_DIR=\"/run/ospd\" -DOPENVAS_STATE_DIR=\"/var/lib/openvas\" -DOPENVAS_SYSCONF_DIR=\"/etc/openvas\" -DOPENVAS_VERSION=\"22.7.9\" -DPREFIX=\"/usr\" -DSCANNER_NVT_TIMEOUT=36000 -DSYSCONFDIR=\"/etc\" -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/gvm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1 -std=c11 -Wall -Wextra -Werror -Wpedantic -Wmissing-prototypes -Wshadow -Wsequence-point -D_BSD_SOURCE -D_ISOC11_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -O3 -DNDEBUG -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector -MD -MT src/CMakeFiles/openvas.dir/pluginload.c.o -MF CMakeFiles/openvas.dir/pluginload.c.o.d -o CMakeFiles/openvas.dir/pluginload.c.o -c /<<PKGBUILDDIR>>/src/pluginload.c In file included from /usr/include/glib-2.0/glib.h:64, from /<<PKGBUILDDIR>>/src/../misc/scanneraux.h:14, from /<<PKGBUILDDIR>>/src/attack.h:16, from /<<PKGBUILDDIR>>/src/attack.c:13: /<<PKGBUILDDIR>>/src/attack.c: In function ‘attack_network’: /<<PKGBUILDDIR>>/src/attack.c:1617:16: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘__time64_t’ {aka ‘long long int’} [-Werror=format=] 1617 | g_message ("Vulnerability scan %s finished in %ld seconds: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1618 | "%d alive hosts of %d", 1619 | globals->scan_id, now.tv_sec - then.tv_sec, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | __time64_t {aka long long int} /usr/include/glib-2.0/glib/gmessages.h:350:32: note: in definition of macro ‘g_message’ 350 | __VA_ARGS__) | ^~~~~~~~~~~ /<<PKGBUILDDIR>>/src/attack.c:1617:53: note: format string is defined here 1617 | g_message ("Vulnerability scan %s finished in %ld seconds: " | ~~^ | | | long int | %lld /<<PKGBUILDDIR>>/src/attack.c:1622:16: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘__time64_t’ {aka ‘long long int’} [-Werror=format=] 1622 | g_message ("Vulnerability scan %s finished in %ld seconds: %d hosts", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1623 | globals->scan_id, now.tv_sec - then.tv_sec, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | __time64_t {aka long long int} /usr/include/glib-2.0/glib/gmessages.h:350:32: note: in definition of macro ‘g_message’ 350 | __VA_ARGS__) | ^~~~~~~~~~~ /<<PKGBUILDDIR>>/src/attack.c:1622:53: note: format string is defined here 1622 | g_message ("Vulnerability scan %s finished in %ld seconds: %d hosts", | ~~^ | | | long int | %lld Cheers -- Sebastian Ramacher