From owner-freebsd-ports-bugs@freebsd.org Sat Oct 24 13:25:24 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C5EF4495DA for ; Sat, 24 Oct 2020 13:25:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CJMKb6cF4z4YHd for ; Sat, 24 Oct 2020 13:25:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E2D76449755; Sat, 24 Oct 2020 13:25:23 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E29E944947F for ; Sat, 24 Oct 2020 13:25:23 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CJMKb5l81z4YWq for ; Sat, 24 Oct 2020 13:25:23 +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 A84D318F68 for ; Sat, 24 Oct 2020 13:25:23 +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 09ODPNOw090806 for ; Sat, 24 Oct 2020 13:25:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09ODPNU4090805 for ports-bugs@FreeBSD.org; Sat, 24 Oct 2020 13:25:23 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 250578] security/rhash fails to build without MD4 option in security/openssl port Date: Sat, 24 Oct 2020 13:25:23 +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: alexander@polyvizor.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2020 13:25:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250578 Bug ID: 250578 Summary: security/rhash fails to build without MD4 option in security/openssl port Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: alexander@polyvizor.com CC: brnrd@freebsd.org, danfe@FreeBSD.org CC: brnrd@freebsd.org, danfe@FreeBSD.org security/rhash failed to build if I has unchecked option MD4 (marked as uns= afe) in security/openssl: make[3]: stopped in /usr/ports/security/rhash/work/RHash-1.3.9/librhash --- librhash/librhash.so.0 --- plug_openssl.c:92:1: error: expected expression WRAP_FINAL(MD4) ^ plug_openssl.c:86:26: note: expanded from macro 'WRAP_FINAL' #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) ^ plug_openssl.c:89:38: note: expanded from macro 'WRAP_FINAL2' CALL_FINAL(name, result, (CTX_TYPE*)ctx); \ ^ plug_openssl.c:92:1: error: use of undeclared identifier 'MD4_CTX' plug_openssl.c:86:44: note: expanded from macro 'WRAP_FINAL' #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) ^ :43:1: note: expanded from here MD4_CTX ^ plug_openssl.c:92:1: warning: unused parameter 'ctx' [-Wunused-parameter] plug_openssl.c:86:26: note: expanded from macro 'WRAP_FINAL' #define WRAP_FINAL(name) WRAP_FINAL2(name, name##_CTX) ^ plug_openssl.c:88:39: note: expanded from macro 'WRAP_FINAL2' static void wrap##name##_Final(void* ctx, unsigned char* result) { \ ^ plug_openssl.c:117:22: error: use of undeclared identifier 'MD4_CTX' { &info_md4, sizeof(MD4_CTX), offsetof(MD4_CTX, A), HASH_INFO_METHODS(MD4) }, /* 128 bit */ ^ plug_openssl.c:117:41: error: unknown type name 'MD4_CTX'; did you mean 'MD5_CTX'? { &info_md4, sizeof(MD4_CTX), offsetof(MD4_CTX, A), HASH_INFO_METHODS(MD4) }, /* 128 bit */ ^~~~~~~ MD5_CTX /usr/include/stddef.h:75:42: note: expanded from macro 'offsetof' #define offsetof(type, field) __offsetof(type, field) ^ /usr/include/sys/cdefs.h:476:53: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ /usr/local/include/openssl/md5.h:38:3: note: 'MD5_CTX' declared here } MD5_CTX; ^ plug_openssl.c:231:30: error: invalid application of 'sizeof' to an incompl= ete type 'rhash_hash_info []' for (i =3D 0; i < (int)(sizeof(rhash_openssl_methods) / sizeof(rhash_hash_info)); i++) ^~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 5 errors generated. --- librhash/librhash.a --- 1 error May be security/rhash port needs some dependency check for MD4 OpenSSL opti= on? --=20 You are receiving this mail because: You are the assignee for the bug.=