Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2023 14:54:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270464] security/openvas: error: a function declaration without a prototype is deprecated in all versions of C
Message-ID:  <bug-270464-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270464

            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.

[...]
=3D>> 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 a=
md64
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=3D/bin/sh
OSVERSION=3D1400083
UNAME_v=3DFreeBSD 14.0-CURRENT 1400083
UNAME_r=3D14.0-CURRENT
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
MM_CHARSET=3DUTF-8
LANG=3DC.UTF-8
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
POUDRIERE_NAME=3Dpoudriere-git
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.99.20220831
MAKEOBJDIRPREFIX=3D/pool/sources/CURRENT/obj/
MASTERMNT=3D/pool/poudriere/data/.m/head-amd64-head-default/ref
LC_COLLATE=3DC
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
OUTPUT_REDIRECTED_STDERR=3D4
OUTPUT_REDIRECTED=3D1
PWD=3D/pool/poudriere/data/.m/head-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3D3
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3Dhead-amd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
SCRIPTNAME=3Dbulk.sh
OLDPWD=3D/pool/poudriere/data/.m/head-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=3Dpoudriere-git-3.3.99.20220831
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---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/plugut=
ils.c
/wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.0/misc/plugut=
ils.c:841:22:
error: a function declaration without a prototype is deprecated in all vers=
ions
of C [-Werror,-Wstrict-prototypes]
plug_get_key_sigchld ()
                     ^
                      void
1 error generated.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270464-7788>