I tried to follow the installation instructions here, section "Building":
1) make bootstrapper fails with make: *** No rule to make target 'bootstrapper'. Stop.
2) bazel build //:bootstrapper, bazel build ... fail with
ERROR: /home/ztilmann/.cache/bazel/_bazel_ztilmann/87be20ea61cc62702d6eca3dd1110526/external/io_bazel_rules_go/BUILD.bazel:71:16: in (an implicit dependency) attribute of go_context_data rule @@io_bazel_rules_go//:go_context_data: in $whitelist_function_transition attribute of go_context_data rule @@io_bazel_rules_go//:go_context_data: package group '@@bazel_tools//tools/whitelists/function_transition_whitelist:function_transition_whitelist' is misplaced here (they are only allowed in the visibility attribute)
I am on Ubuntu 22.04.4, bazel 7.0.2, go 1.22.0, AMD64.
Proposed workaround
Probnlem 2): Using bazel-5.1.0 I got bazel-5.1.0 build //:bootstrapper to work but everything else still failed
Proposed fix
Problem 2) disappeared when I changed the io_bazel_rules_go dependency in WORKSPACE to
I tried to follow the installation instructions here, section "Building":
1)
make bootstrapper
fails withmake: *** No rule to make target 'bootstrapper'. Stop.
2)bazel build //:bootstrapper
,bazel build ...
fail withI am on Ubuntu 22.04.4, bazel 7.0.2, go 1.22.0, AMD64.
Proposed workaround
Probnlem 2): Using
bazel-5.1.0
I gotbazel-5.1.0 build //:bootstrapper
to work but everything else still failedProposed fix
Problem 2) disappeared when I changed the
io_bazel_rules_go
dependency inWORKSPACE
to