[Bug 262216] devel/bazel 5.0.0 does not work after successful installation on freebsd 13.0
Date: Sun, 27 Feb 2022 11:27:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262216 --- Comment #1 from Klaus Aehlig <firstname.lastname@example.org> --- Unfortunately, I'm not able to reproduce you report (see below). I was trying on stable/12, but since the message you reported are about bazel's build-description language, I doubt that this difference is relevant. My best guess is that some outdated rc-file is pulled in (bazel 5.0.0 is a new major release, so quite a few incompatible changes happened). Using the `--announce_rc` option might clarify this. Other than that, I, unfortunately, have no idea on how to debug further. /tmp/examples/cpp-tutorial/stage1>bazel --version bazel 5.0.0 /tmp/examples/cpp-tutorial/stage1>bazel build //main:hello-world Starting local Bazel server and connecting to it... INFO: Analyzed target //main:hello-world (35 packages loaded, 147 targets configured). INFO: Found 1 target... Target //main:hello-world up-to-date: bazel-bin/main/hello-world INFO: Elapsed time: 2.895s, Critical Path: 0.48s INFO: 5 processes: 3 internal, 2 processwrapper-sandbox. INFO: Build completed successfully, 5 total actions /tmp/examples/cpp-tutorial/stage1>bazel run //main:hello-world INFO: Analyzed target //main:hello-world (0 packages loaded, 0 targets configured). INFO: Found 1 target... Target //main:hello-world up-to-date: bazel-bin/main/hello-world INFO: Elapsed time: 0.114s, Critical Path: 0.00s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action INFO: Build completed successfully, 1 total action Hello world Sun Feb 27 12:14:27 2022 /tmp/examples/cpp-tutorial/stage1>ls -l WORKSPACE -rw------- 1 aehlig wheel 0 Feb 27 12:03 WORKSPACE /tmp/examples/cpp-tutorial/stage1>cat main/BUILD load("@rules_cc//cc:defs.bzl", "cc_binary") cc_binary( name = "hello-world", srcs = ["hello-world.cc"], ) /tmp/examples/cpp-tutorial/stage1> -- You are receiving this mail because: You are the assignee for the bug.