[Bug 271129] security/openvas: poudriere: error: a function declaration without a prototype is deprecated in all versions of C
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Apr 2023 10:24:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271129 Bug ID: 271129 Summary: security/openvas: poudriere: error: a function declaration without a prototype is deprecated in all versions of C Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: ohartmann@walstatt.org Assignee: acm@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) On CURRENT host, hosting 13-STABLE jails for poudriere, building security/openvas in a 13-stable jail fails due to: [...] ===> Building for openvas-22.4.1 [ 1% 8/86] /usr/bin/cc -DOPENVAS_DATA_DIR=\"/usr/local/share/openvas\" -DOPENVAS_FEED_LOCK_PATH=\"/var/lib/openvas/feed-update.lock\" -DOPENVAS_MISC_VERSION=\"22.4.1\" -DOPENVAS_STATE_DIR=\"/var/lib/openvas\" -DOPENVAS_SYSCONF_DIR=\"/usr/local/etc/openvas\" -Dopenvas_misc_shared_EXPORTS -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/json-glib-1.0 -I/usr/local/include/gvm -I/usr/local/include/p11-kit-1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -Wall -Wextra -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Wformat -Wformat-security -fPIC -MD -MT misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o -MF misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o.d -o misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o -c /wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.1/misc/scan_id.c FAILED: misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o /usr/bin/cc -DOPENVAS_DATA_DIR=\"/usr/local/share/openvas\" -DOPENVAS_FEED_LOCK_PATH=\"/var/lib/openvas/feed-update.lock\" -DOPENVAS_MISC_VERSION=\"22.4.1\" -DOPENVAS_STATE_DIR=\"/var/lib/openvas\" -DOPENVAS_SYSCONF_DIR=\"/usr/local/etc/openvas\" -Dopenvas_misc_shared_EXPORTS -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/json-glib-1.0 -I/usr/local/include/gvm -I/usr/local/include/p11-kit-1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -Wall -Wextra -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Wformat -Wformat-security -fPIC -MD -MT misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o -MF misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o.d -o misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o -c /wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.1/misc/scan_id.c /wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.1/misc/scan_id.c:36:13: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] get_scan_id () ^ void 1 error generated. [...] -- You are receiving this mail because: You are the assignee for the bug.