Bug 286235 - devel/bazel: fix build even more
Summary: devel/bazel: fix build even more
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Charlie Li
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-20 15:39 UTC by Konstantin Belousov
Modified: 2026-02-09 11:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vishwin)


Attachments
build fix by surpressing more warnings (1.83 KB, patch)
2025-04-20 15:39 UTC, Konstantin Belousov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Belousov freebsd_committer freebsd_triage 2025-04-20 15:39:14 UTC
Created attachment 259740 [details]
build fix by surpressing more warnings

This is the patch I need to apply for devel/bazel to success on my poudriere.
Comment 1 Ronald Klop freebsd_committer freebsd_triage 2026-01-23 11:17:59 UTC
devel/bazel completely stopped building.
https://portsfallout.com/fallout?port=devel%2Fbazel%24

No packages are available anymore for any version of FreeBSD.

C is not my strongest language but I noticed this error in the logs.

external/upb/upb/mini_table.c:634:14: error: defining a type within '__builtin_offsetof' is a C23 extension [-Werror,-Wc23-extensions]

And c23 extension is also mentioned in the patch in this issue. So I thought to add my 2 cents here.

The port builds fine for me with the patch in this issue applied.

Can we call for a maintainer timeout on this issue after about 8 months of no response?
Comment 2 Konstantin Belousov freebsd_committer freebsd_triage 2026-01-23 14:18:20 UTC
(In reply to Ronald Klop from comment #1)
Better yet, just apply 287546 (mentioned in see also).  I run with this update from
its submission, locally.
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-02-04 20:02:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3e08e77155d1240ec9ef64bf37ae3cb2a605c12b

commit 3e08e77155d1240ec9ef64bf37ae3cb2a605c12b
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-23 11:01:09 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-02-04 20:01:44 +0000

    devel/bazel: fix build around c23 extensions

    This reverts commit 984f80b6e226c37980c68d6a7a12d3be08dee2dc.
    PR:     278246
    ---
     ...g.bzl => patch-tools_cpp_bsd_cc_toolchain_config.bzl} | 9 ++++-----
     1 file changed, 4 insertions(+), 5 deletions(-)
     rename devel/bazel/files/{patch-tools_cpp_bsd__cc__toolchain__config.bzl => patch-tools_cpp_bsd_cc_toolchain_config.bzl} (62%)

    PR:     286235
    Approved-by:    maintainer timeout (10 months)

 ...n__config.bzl => patch-tools_cpp_bsd_cc_toolchain_config.bzl} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
Comment 4 Ronald Klop freebsd_committer freebsd_triage 2026-02-09 11:55:19 UTC
Packages are appearing on the mirrors again.
Closing the issue for book keeping practices.
If something actionable is still needed the issue can be opened again.