Created attachment 231187 [details] Patch for devel/bazel to update to 5.0.0 Update devel/bazel to 5.0.0 Release notes: https://blog.bazel.build/2022/01/19/bazel-5.0.html
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. Q/A: Makefile: possible use of absolute pathname "/usr/bin/clang". /data/fernape_data/FreeBSD-repos/ports/devel/bazel/files/patch-distdir_deps.bzl: patch was not generated using ``make makepatch''. It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format. /data/fernape_data/FreeBSD-repos/ports/devel/bazel/files/patch-scripts_bootstrap_BUILD.bootstrap: patch was not generated using ``make makepatch''. It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format. /data/fernape_data/FreeBSD-repos/ports/devel/bazel/files/patch-src_main_cpp_blaze_util_bsd.cc: patch was not generated using ``make makepatch''. It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format. Thanks!
Created attachment 231204 [details] Refreshed patch for devel/bazel to update to 5.0.0 Refreshed patches to look as if generated by `make makepatch`. (Due to the programmatic `post-patch`, directly calling `make makepatch` does not work.) The only remaining warning is the mention of `/usr/bin/clang` in line 17, which is a false positive warning (a `BROKEN` variables quotes an error message).
Refreshed that patch and also copied the release URL to the URL field. Please take another look.
Excellent, Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a6fab9f7b2135d4f045da293eb73e5dfc511843 commit 1a6fab9f7b2135d4f045da293eb73e5dfc511843 Author: Klaus Aehlig <aehlig@linta.de> AuthorDate: 2022-01-21 08:18:59 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-01-24 11:17:06 +0000 devel/bazel: update to 5.0.0 ChangeLog: https://blog.bazel.build/2022/01/19/bazel-5.0.html PR: 261363 Reported by: aehlig@linta.de (maintainer) devel/bazel/Makefile | 17 +++++++--- devel/bazel/distinfo | 6 ++-- .../files/extra-patch-bazel_build_defs.bzl (new) | 10 ++++++ devel/bazel/files/extra-patch-bazel_grpc__deps.bzl | 20 +++++++---- devel/bazel/files/patch-WORKSPACE (gone) | 14 -------- devel/bazel/files/patch-distdir_deps.bzl (new) | 10 ++++++ .../patch-scripts_bootstrap_BUILD.bootstrap (new) | 13 ++++++++ .../patch-src_main_cpp_blaze_util_bsd.cc (new) | 11 ++++++ ...ib_bazel_rules_python_BazelPythonSemantics.java | 12 +++---- ...h-tools__jdk__default_java_toolchain.bzl (gone) | 39 ---------------------- 10 files changed, 79 insertions(+), 73 deletions(-)
Committed, Thanks!
hi, i have difficulty in freebsd 13 to run bazel build. could you test this version on freebsd 13 release please? i documented my problem. i couldnt be able compile anything including examples of bazel c++ source codes. can you check that? and give me your configs if your system is working? what are your DEFAULT Versions like which python version you are using , openssl or libressl etc? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262216