Debian Patches

Status for openvas-scanner/23.40.2-1

Patch Description Author Forwarded Bugs Origin Last update
Fix-test-failure.patch Fix test failure
Do not test if interface is not available (case of ipv6 only machine)
Sophie Brun <sophie@kali.org> no debian 2020-12-21
Adapt-the-redis-config-file-for-Kali.patch Adapt the redis config file for Kali Sophie Brun <sophie@kali.org> no 2023-02-21
Fix-printf-specifiers-for-time_t-related-types.patch Fix printf specifiers for time_t-related types
Best to only use fixed-width types and explicit casting.
Simon Chopin <simon.chopin@canonical.com> no 2024-03-22
Use-distro-wide-_FORTIFY_SOURCE.patch Use distro-wide _FORTIFY_SOURCE
Upstream hardcods the FORTIFY_SOURCE flag in its build-system. Use
distro-wide FORTIFY_SOURCE
florent.jacquet@canonical.com no debian 2024-04-23
Remove-Werror-flag-for-the-build.patch Remove -Werror flag for the build
The package FTBFS with
"cc1: all warnings being treated as errors"
Sophie Brun <sophie@kali.org> no debian 2024-08-23
Fix-type-pointer.patch Fix type pointer


[ 60%] Building C object nasl/CMakeFiles/openvas_nasl_shared.dir/nasl_scanner_glue.c.o
cd /build/reproducible-path/openvas-scanner-23.40.2/obj-i686-linux-gnu/nasl && /usr/bin/cc -DHAVE_LIBKSBA -DHAVE_NETSNMP -DOPENVASLIB_VERSION=\"23.40.2\" -DOPENVAS_CONF=\"/etc/openvas/openvas.conf\" -DOPENVAS_FEED_LOCK_PATH=\"/var/lib/openvas/feed-update.lock\" -DOPENVAS_GPG_BASE_DIR=\"/etc/openvas\" -DOPENVAS_NASL_VERSION=\"23.40.2\" -DOPENVAS_STATE_DIR=\"/var/lib/openvas\" -DOPENVAS_SYSCONF_DIR=\"/etc/openvas\" -Dopenvas_nasl_shared_EXPORTS -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/json-glib-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gvm -I/usr/include/p11-kit-1 -I/usr/include/uuid -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openvas-scanner-23.40.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1 -std=c11 -Wall -Wextra -Wpedantic -Wmissing-prototypes -Wshadow -Wsequence-point -D_BSD_SOURCE -D_ISOC11_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -fno-strict-aliasing -O3 -DNDEBUG -Wformat -Wformat-security -fstack-protector -fPIC -MD -MT nasl/CMakeFiles/openvas_nasl_shared.dir/nasl_scanner_glue.c.o -MF CMakeFiles/openvas_nasl_shared.dir/nasl_scanner_glue.c.o.d -o CMakeFiles/openvas_nasl_shared.dir/nasl_scanner_glue.c.o -c /build/reproducible-path/openvas-scanner-23.40.2/nasl/nasl_scanner_glue.c
/build/reproducible-path/openvas-scanner-23.40.2/nasl/nasl_misc_funcs.c: In function ‘nasl_gunzip’:
/build/reproducible-path/openvas-scanner-23.40.2/nasl/nasl_misc_funcs.c:830:49: error: passing argument 3 of ‘gvm_uncompress’ from incompatible pointer type [-Wincompatible-pointer-types]
830 | uncompressed = gvm_uncompress (data, datalen, &uncomplen);
| ^~~~~~~~~~
| |
| size_t * {aka unsigned int *}
In file included from /build/reproducible-path/openvas-scanner-23.40.2/nasl/nasl_misc_funcs.c:31:
/usr/include/gvm/util/compressutils.h:23:46: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’}
23 | gvm_uncompress (const void *, unsigned long, unsigned long *);
| ^~~~~~~~~~~~~~~
/build/reproducible-path/openvas-scanner-23.40.2/nasl/nasl_misc_funcs.c: In function ‘nasl_gzip’:
/build/reproducible-path/openvas-scanner-23.40.2/nasl/nasl_misc_funcs.c:858:60: error: passing argument 3 of ‘gvm_compress_gzipheader’ from incompatible pointer type [-Wincompatible-pointer-types]
858 | compressed = gvm_compress_gzipheader (data, datalen, &complen);
| ^~~~~~~~
| |
| size_t * {aka unsigned int *}
/usr/include/gvm/util/compressutils.h:20:55: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’}
20 | gvm_compress_gzipheader (const void *, unsigned long, unsigned long *);
| ^~~~~~~~~~~~~~~
/build/reproducible-path/openvas-scanner-23.40.2/nasl/nasl_misc_funcs.c:864:49: error: passing argument 3 of ‘gvm_compress’ from incompatible pointer type [-Wincompatible-pointer-types]
864 | compressed = gvm_compress (data, datalen, &complen);
| ^~~~~~~~
| |
| size_t * {aka unsigned int *}
/usr/include/gvm/util/compressutils.h:17:44: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’}
17 | gvm_compress (const void *, unsigned long, unsigned long *);
| ^~~~~~~~~~~~~~~
make[4]: *** [nasl/CMakeFiles/openvas_nasl_shared.dir/build.make:540: nasl/CMakeFiles/openvas_nasl_shared.dir/nasl_misc_funcs.c.o] Error 1
Sophie Brun <sophie@kali.org> yes upstream 2026-02-25

All known versions for source package 'openvas-scanner'

Links