Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2023 10:24:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271129] security/openvas: poudriere: error: a function declaration without a prototype is deprecated in all versions of C
Message-ID:  <bug-271129-7788@https.bugs.freebsd.org/bugzilla/>

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

            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:

[...]
=3D=3D=3D>  Building for openvas-22.4.1
[  1% 8/86] /usr/bin/cc -DOPENVAS_DATA_DIR=3D\"/usr/local/share/openvas\"
-DOPENVAS_FEED_LOCK_PATH=3D\"/var/lib/openvas/feed-update.lock\"
-DOPENVAS_MISC_VERSION=3D\"22.4.1\" -DOPENVAS_STATE_DIR=3D\"/var/lib/openva=
s\"
-DOPENVAS_SYSCONF_DIR=3D\"/usr/local/etc/openvas\" -Dopenvas_misc_shared_EX=
PORTS
-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=20
-fstack-protector-strong -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64
-DLARGEFILE_SOURCE=3D1                                 -std=3Dc11=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
              -Wall                                 -Wextra=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
            -Werror                                 -Wpedantic=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
               -Wmissing-prototypes                                 -Wshado=
w=20=20=20
                             -Wsequence-point=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
-D_BSD_SOURCE                                 -D_ISOC11_SOURCE=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
               -D_SVID_SOURCE                                 -D_DEFAULT_SO=
URCE
-Wall -Wextra -fPIC -O2 -pipe  -fstack-protector-strong -fno-strict-aliasin=
g=20
-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_i=
d.c
FAILED: misc/CMakeFiles/openvas_misc_shared.dir/scan_id.c.o=20
/usr/bin/cc -DOPENVAS_DATA_DIR=3D\"/usr/local/share/openvas\"
-DOPENVAS_FEED_LOCK_PATH=3D\"/var/lib/openvas/feed-update.lock\"
-DOPENVAS_MISC_VERSION=3D\"22.4.1\" -DOPENVAS_STATE_DIR=3D\"/var/lib/openva=
s\"
-DOPENVAS_SYSCONF_DIR=3D\"/usr/local/etc/openvas\" -Dopenvas_misc_shared_EX=
PORTS
-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=20
-fstack-protector-strong -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64
-DLARGEFILE_SOURCE=3D1                                 -std=3Dc11=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
              -Wall                                 -Wextra=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
            -Werror                                 -Wpedantic=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
               -Wmissing-prototypes                                 -Wshado=
w=20=20=20
                             -Wsequence-point=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
-D_BSD_SOURCE                                 -D_ISOC11_SOURCE=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
               -D_SVID_SOURCE                                 -D_DEFAULT_SO=
URCE
-Wall -Wextra -fPIC -O2 -pipe  -fstack-protector-strong -fno-strict-aliasin=
g=20
-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_i=
d.c
/wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.1/misc/scan_i=
d.c:36:13:
error: a function declaration without a prototype is deprecated in all vers=
ions
of C [-Werror,-Wstrict-prototypes]
get_scan_id ()
            ^
             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-271129-7788>