P3help wantedteam-OSStype: bug
Repository metrics
- Stars
- (25,384 stars)
- PR merge metrics
- (平均マージ 22d 20h) (30d で 77 merged PRs)
説明
Description of the bug:
When building the fish completion script (as desribed in scripts/fish/README.md), I observe the following error:
ERROR: /home/sflip/src/bazel/third_party/BUILD:618:8: Executing genrule //third_party:filter_netty_dynamic_libs [for tool] failed: (Exit 1): bash failed: error executing command (from target //third_party:filter_netty_dynamic_libs) /bin/bash -c ... (remaining 1 argument skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
zip: */license/*.gz: No such file or directory
zip: *.jnilib.gz: No such file or directory
zip: *.dll.gz: No such file or directory
Target //scripts:fish_completion failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 109.165s, Critical Path: 33.05s
INFO: 422 processes: 33 internal, 355 linux-sandbox, 1 local, 33 worker.
FAILED: Build did NOT complete successfully
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
- clone bazel repository
- cd into bazel directory
- execute
bazel build //scripts:fish_completion
Which operating system are you running Bazel on?
Arch Linux (Kernel: Linux 6.1.8-arch1-1)
What is the output of bazel info release?
release 6.0.0
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
https://github.com/bazelbuild/bazel
5a23ab2f6416b7ed450bb7b0a59d7aa0f68eea8d
5a23ab2f6416b7ed450bb7b0a59d7aa0f68eea8d
Have you found anything relevant by searching the web?
I did not find this issue on SO, Github issues or email threads.
At least I found out via this issue that fish completion is generally supported, which is unfortunately not documented on the website. This is how I discovered scripts/fish/README.md in the first place.
Any other information, logs, or outputs that you want to share?
On Arch Linux, I installed bazel from the bazelisk community package rather than compiling it from source (The cloned source was only used to build the fish completions):
> pacman -Qi bazel
Name : bazelisk
Version : 1.15.0-1
Description : A user-friendly launcher for Bazel.
Architecture : x86_64
URL : https://github.com/bazelbuild/bazelisk
Licenses : Apache
Groups : None
Provides : bazel
Depends On : None
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : bazel
Replaces : None
Installed Size : 5.00 MiB
Packager : Unknown Packager
Build Date : Mon 05 Dec 2022 10:09:12 AM CET
Install Date : Mon 05 Dec 2022 10:09:37 AM CET
Install Reason : Explicitly installed
Install Script : No
Validated By : None