Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Aug 2021 10:37:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257653] security/gvm-libs: 21.4.1 build fails (incomplete type 'crypt_data', etc.)
Message-ID:  <bug-257653-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 257653
           Summary: security/gvm-libs: 21.4.1 build fails (incomplete type
                    'crypt_data', etc.)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

security/gvm-libs on 11-stable/amd64 is exhibiting a build failure. LDAP and
RADIUS options are off.

 .
 .
[ 57% 30/47] /usr/bin/cc -DGVM_LIBS_VERSION=3D\"21.4.1\"
-DREDIS_SOCKET_PATH=3D\"/var/run/redis/redis.sock\" -Dgvm_util_shared_EXPOR=
TS
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/libxml2 -O2 -pipe=20
-fstack-protector-strong -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64
-DLARGEFILE_SOURCE=3D1 -O2 -pipe  -fstack-protector-strong -fno-strict-alia=
sing
-Wformat -Wformat-security -D_FORTIFY_SOURCE=3D2 -fstack-protector -fPIC -M=
D -MT
util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o -MF
util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o.d -o
util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o -c
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c
FAILED: util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o=
=20
/usr/bin/cc -DGVM_LIBS_VERSION=3D\"21.4.1\"
-DREDIS_SOCKET_PATH=3D\"/var/run/redis/redis.sock\" -Dgvm_util_shared_EXPOR=
TS
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/libxml2 -O2 -pipe=20
-fstack-protector-strong -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64
-DLARGEFILE_SOURCE=3D1 -O2 -pipe  -fstack-protector-strong -fno-strict-alia=
sing
-Wformat -Wformat-security -D_FORTIFY_SOURCE=3D2 -fstack-protector -fPIC -M=
D -MT
util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o -MF
util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o.d -o
util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o -c
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:204:21:
error: invalid application of 'sizeof' to an incomplete type 'struct
crypt_data'
  data =3D calloc (1, sizeof (struct crypt_data));
                    ^      ~~~~~~~~~~~~~~~~~~~
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:185:10:
note: forward declaration of 'struct crypt_data'
  struct crypt_data *data =3D NULL;
         ^
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:205:10:
warning: implicit declaration of function 'crypt_r' is invalid in C99
[-Wimplicit-function-declaration]
  rslt =3D crypt_r (password, settings, data);
         ^
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:205:8:
warning: incompatible integer to pointer conversion assigning to 'char *' f=
rom
'int' [-Wint-conversion]
  rslt =3D crypt_r (password, settings, data);
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:241:25:
error: invalid application of 'sizeof' to an incomplete type 'struct
crypt_data'
      data =3D calloc (1, sizeof (struct crypt_data));
                        ^      ~~~~~~~~~~~~~~~~~~~
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:232:10:
note: forward declaration of 'struct crypt_data'
  struct crypt_data *data =3D NULL;
         ^
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:255:13:
warning: implicit declaration of function 'crypt_r' is invalid in C99
[-Wimplicit-function-declaration]
      cmp =3D crypt_r (password ? password : "", tmp, data);
            ^
/usr/ports/security/gvm-libs/work/gvm-libs-21.4.1/util/passwordbasedauthent=
ication.c:255:11:
warning: incompatible integer to pointer conversion assigning to 'char *' f=
rom
'int' [-Wint-conversion]
      cmp =3D crypt_r (password ? password : "", tmp, data);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings and 2 errors 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-257653-7788>