You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: Analyzed target @io_bazel_rules_go//go/tools/gopackagesdriver:gopackagesdriver (1 packages loaded, 2 targets configured).
INFO: Found 1 target...
Target @io_bazel_rules_go//go/tools/gopackagesdriver:gopackagesdriver up-to-date:
bazel-bin/external/io_bazel_rules_go/go/tools/gopackagesdriver/gopackagesdriver_/gopackagesdriver
INFO: Elapsed time: 0.109s, Critical Path: 0.01s
INFO: 2 processes: 2 internal.
INFO: Build completed successfully, 2 total actions
INFO: Build completed successfully, 2 total actions
Running: [bazel info --tool_tag=gopackagesdriver --ui_actions_shown=0 execution_root]
Running: [bazel build --tool_tag=gopackagesdriver --ui_actions_shown=0 --show_result=0 --build_event_json_file=/var/folders/tc/p5gt0fqs2jv8qtr80m3xl8rh0000gn/T/gopackagesdriver_bep_1880678374 --build_event_json_file_path_conversion=no --aspects=@io_bazel_rules_go//go/tools/gopackagesdriver:aspect.bzl%go_pkg_info_aspect --output_groups=go_pkg_driver_json_file,go_pkg_driver_stdlib_json_file,go_pkg_driver_export_file --keep_going]
WARNING: Usage: bazel build <options> <targets>.
Invoke `bazel help build` for full description of usage and options.
Your request is correct, but requested an empty set of targets. Nothing will be built.
Loading:
Loading: 0 packages loaded
Analyzing: 0 targets (0 packages loaded, 0 targets configured)
INFO: Analyzed 0 targets (0 packages loaded, 0 targets configured).
INFO: Found 0 targets...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
INFO: Elapsed time: 0.112s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Build Event Protocol files produced successfully.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
{"NotHandled":false,"Sizes":{"WordSize":8,"MaxAlign":8},"Packages":[]}
Working version
I then pinned my version to 70b8365 by downloading rules_go and installing locally and I get the expected output. (I copied the method in this repo https://github.com/csstaub/gopackagesdriver-repro) echo {} | ./tools/gopackagesdriver.sh file=go/pkg/cfg/embedded.go
What version of rules_go are you using?
v0.28.0
What version of gazelle are you using?
v0.23.0
What version of Bazel are you using?
v4.2.1
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
MacOS 10.15.7
Any other potentially useful information about your toolchain?
What did you do?
As written in the Wiki
echo {} | ./tools/gopackagesdriver.sh file=go/pkg/cfg/embedded.go
.What did you expect to see?
A list of the Go packages.
See generated files like #512 .
What did you see instead?
Working version
I then pinned my version to 70b8365 by downloading rules_go and installing locally and I get the expected output. (I copied the method in this repo https://github.com/csstaub/gopackagesdriver-repro)
echo {} | ./tools/gopackagesdriver.sh file=go/pkg/cfg/embedded.go
produces:
It looks like the label arguments to the
bazel build
are missing.The text was updated successfully, but these errors were encountered: