Created attachment 249821 [details] poudriere build log I get the following error trying to build bazel in 13.3 jail: external/upb/upb/mini_table.c:634:14: error: defining a type within '__builtin_offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions] Might be, it needs something similar to https://reviews.freebsd.org/D42729 as well.
(In reply to Konstantin Belousov from comment #0) The patch from https://reviews.freebsd.org/D42729 does not fix the build.
Created attachment 256974 [details] Patch to fix build on recent FreeBSD The attached patch suppresses the relevant warning, allowing the build to complete successfully.
Worked for me as well, thank you for the patch.
Patch committed. Thanks for the patch!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=984f80b6e226c37980c68d6a7a12d3be08dee2dc commit 984f80b6e226c37980c68d6a7a12d3be08dee2dc Author: j.david.lists@gmail.com <j.david.lists@gmail.com> AuthorDate: 2025-04-03 03:12:37 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-04-03 03:14:43 +0000 devel/bazel: Fix build PR: 278246 Reported by: kib Approved by: vishwin (maintainer's timeout; 68 days) .../patch-tools_cpp_bsd__cc__toolchain__config.bzl (new) | 12 ++++++++++++ 1 file changed, 12 insertions(+)