[Bug 270464] security/openvas: error: a function declaration without a prototype is deprecated in all versions of C

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Mar 2023 14:54:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270464

            Bug ID: 270464
           Summary: security/openvas: 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)

Host: CURRENT
JAIL: CURRENT

Compilation of security/openvas (and all subsequent dependend ports) fails due
to the compiler error shown below.

[...]
=>> Building security/openvas
build started at Sun Mar 26 14:46:59 UTC 2023
port directory: /usr/ports/security/openvas
package name: openvas-22.4.0_3
building for: FreeBSD poudriere 14.0-CURRENT FreeBSD 14.0-CURRENT 1400083 amd64
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1497 Nov 19 11:34
/usr/ports/security/openvas/Makefile
Ports top last git commit: 8d02989b9630
Ports top unclean checkout: no
Port dir last git commit: 90068af778de
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400082
Jail OSVERSION: 1400083
Job Id: 01




!!! Jail is newer than host. (Jail: 1400083, Host: 1400082) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400083
UNAME_v=FreeBSD 14.0-CURRENT 1400083
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20220831
MAKEOBJDIRPREFIX=/pool/sources/CURRENT/obj/
MASTERMNT=/pool/poudriere/data/.m/head-amd64-head-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/pool/poudriere/data/.m/head-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/pool/poudriere/data/.m/head-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.99.20220831
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

[...]
misc/CMakeFiles/openvas_misc_shared.dir/plugutils.c.o -MF
misc/CMakeFiles/openvas_misc_shared.dir/plugutils.c.o.d -o
misc/CMakeFiles/openvas_misc_shared.dir/plugutils.c.o -c
/wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.0/misc/plugutils.c
/wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.0/misc/plugutils.c:841:22:
error: a function declaration without a prototype is deprecated in all versions
of C [-Werror,-Wstrict-prototypes]
plug_get_key_sigchld ()
                     ^
                      void
1 error generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.