Date: Fri, 16 Dec 2022 16:51:51 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268413] security/s2n-tls: fix build with clang 15 Message-ID: <bug-268413-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268413-7788>