From nobody Fri Aug 06 10:37:46 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1BDF111FC710 for ; Fri, 6 Aug 2021 10:37:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gh24C027Fz4RJP for ; Fri, 6 Aug 2021 10:37:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D99894681 for ; Fri, 6 Aug 2021 10:37:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 176Abk2E018367 for ; Fri, 6 Aug 2021 10:37:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 176AbkB0018366 for ports-bugs@FreeBSD.org; Fri, 6 Aug 2021 10:37:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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.) Date: Fri, 06 Aug 2021 10:37:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acm@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=