bazelbuild/bazel
在 GitHub 查看cquery --output=files assume convenience symlinks are enabled
Open
#16,277 创建于 2022年9月14日
P3help wantedteam-Configurabilityteam-Documentationtype: documentation (cleanup)
仓库指标
- Star
- (25,384 star)
- PR 合并指标
- (平均合并 22天 20小时) (30 天内合并 77 个 PR)
描述
Description of the bug:
Bazel cquery --output=files assumes the convenience symlinks are enabled and outputs files with them. It does not take the --experimental_convenience_symlinks=ignore option into account.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
# in the bazel repo, on master (390d212d76e91f413f143b53a997b0bf846c453a)
$ bazel cquery --output=files //examples/cpp:hello-world 2>/dev/null
bazel-out/darwin-fastbuild/bin/examples/cpp/hello-world
# this is expected
$ bazel cquery --experimental_convenience_symlinks=ignore --output=files //examples/cpp:hello-world 2>/dev/null
bazel-out/darwin-fastbuild/bin/examples/cpp/hello-world
# this I would expect to output the output_base instead
Which operating system are you running Bazel on?
macOS 12.4
What is the output of bazel info release?
release 5.3.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 ?
git@github.com:bazelbuild/bazel.git
390d212d76e91f413f143b53a997b0bf846c453a
390d212d76e91f413f143b53a997b0bf846c453a
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response