Created attachment 232932 [details] patch to lib/mbedtls-2.27.0/library/psa_crypto_cipher.c fluent-bit 1.9.1 stops at the error below. This patch avoids the error. /wrkdirs/usr/ports/sysutils/fluent-bit/work/fluent-bit-1.9.1/lib/mbedtls-2.27.0/ library/psa_crypto_cipher.c:270:12: error: parameter 'output_size' set but not u sed [-Werror,-Wunused-but-set-parameter] size_t output_size, ^ 1 error generated. gmake[3]: *** [lib/mbedtls-2.27.0/library/CMakeFiles/mbedcrypto.dir/build.make:8 21: lib/mbedtls-2.27.0/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.o] Error 1
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=18851ec64b62c0666cca77c575dc5fc59fd7bf9f commit 18851ec64b62c0666cca77c575dc5fc59fd7bf9f Author: Palle Girgensohn <girgen@FreeBSD.org> AuthorDate: 2022-04-04 14:16:20 +0000 Commit: Palle Girgensohn <girgen@FreeBSD.org> CommitDate: 2022-04-04 14:18:51 +0000 sysutils/fluent-bit: fix compile problem with recent clang PR: 263037 Submitted by: Hiroo Ono Upstream patch submitted to https://github.com/Mbed-TLS/mbedtls/pull/5691 ...-lib_mbedtls-2.27.0_library_psa__crypto__cipher.c (new) | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Committed. Thanks!