From nobody Fri Dec 16 16:51:51 2022 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 4NYZrR5yXtz1FxRG for ; Fri, 16 Dec 2022 16:51:51 +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 4NYZrR4wHZz3NKh for ; Fri, 16 Dec 2022 16:51:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671209511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k9FTG2DLYSLvx4a6v4UkNiqB3K1rTtW8YXQfuAMETi8=; b=IeneaEiaBVGWP/lrHlePU8qi0IRRCneYbI2nQRwjU4/PyvBiD9237Sa4E8QHpPMl/tkqNU jTTJYUBZVS1L8vSk3ucZqtRfDaD9BpeKq0EFe+Wc5c4864a7ix9oYJE2CA6Ur622unCgEE UUsEACbw/wviyn6ttUbcXUAxsnU7eHNoTbIhjHucB+8FhGoa1NonO+yeft1YlOnsgo9uVA E2dLzluOkmgZRWp39KE1SvZJ4mv3MGN/VjhdA0zgjD/NKSp/QqVXW/EAGby++40RTrqg3v bJ558chAotRuzLQITgpVQXIRAtda8Qd/u1olcfdsui7enTkkZKEW887sJ2+Qjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671209511; a=rsa-sha256; cv=none; b=vSNJFje+MhimEnA9mxSsiyAa46UcqwIQ6UBsUDe8drjQVnumqxTrPttP+rOhpD7jS51DOE aBPBAO2iSpoTIskocTnuUcE1ziSYN33ZP5XJhW1RuZiFQYCatP7OqS4tuf0A0QL2RMZ2z7 NBT4qY/ANXmxvF0WajVDkNAvMkJioIBPLOSEzqjUwBj41wVLOHqcFHA5u/XKO3EP15R0l9 PNV/PTeZk1VUATNzcoIzGYb6OdUEK6p5P+2sDkug5OYa+2AtctQiz4/3YHT38fZSkdQ9my +5fbRt19ro2vyYIgaEGndapaZNe+Irq60dRn0JXRNproOJF6mTYtoPJeOCxMmg== 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 4NYZrR3jrCzKL8 for ; Fri, 16 Dec 2022 16:51:51 +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 2BGGppWf068846 for ; Fri, 16 Dec 2022 16:51:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BGGppjt068845 for ports-bugs@FreeBSD.org; Fri, 16 Dec 2022 16:51:51 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 268413] security/s2n-tls: fix build with clang 15 Date: Fri, 16 Dec 2022 16:51:51 +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 Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eduardo@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=3D268413 Bug ID: 268413 Summary: security/s2n-tls: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: eduardo@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: eduardo@FreeBSD.org Flags: maintainer-feedback?(eduardo@FreeBSD.org) During an exp-run for llvm 15 (see bug 265425), it turned out that security/s2n-tls failed to build with clang 15: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_aead_cip= her_aes_gcm.c:21: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/tls/s2n_crypto.h:18: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/tls/s2n_config.h:19: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_certific= ate.h:23: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_pkey.h:2= 0: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_signatur= e.h:17: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/tls/s2n_tls_paramet= ers.h:18: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_hash.h:2= 4: In file included from /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_evp.h:21: =20 /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_openssl.= h:59:28: error: a function declaration without a prototype is deprecated in all vers= ions of C [-Werror,-Wstrict-prototypes] bool s2n_libcrypto_is_awslc(); ^ void =20 /wrkdirs/usr/ports/security/s2n-tls/work/s2n-tls-1.3.29/crypto/s2n_openssl.= h:60:32: error: a function declaration without a prototype is deprecated in all vers= ions of C [-Werror,-Wstrict-prototypes] bool s2n_libcrypto_is_boringssl(); ^ void And many similar errors. This is due to the port using -Werror by default, = and prototypes are now more strictly checked. Add -Wno-strict-prototypes to CFL= AGS to suppress the warnings-as-errors. --=20 You are receiving this mail because: You are the assignee for the bug.=