Description of the problem / feature request:
A glob in the top-level package will follow the "bazel-*" convenience symlinks and pick up sources from them.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
git clone https://github.com/laszlocsomor/projects
cd bazel/examples/glob_in_root_pkg
bazel build -- just do a blank build so we have the "bazel-*" symlinks created
bazel build //:x --spawn_strategy=standalone
cat bazel-genfiles/x.txt
This builds happily on Windows, and the x.txt output will list not only "a.txt" but also files under "bazel-out".
On Linux, this fails at Step 4, but because the files under "bazel-out" are not inputs of the genrule action. However, it still shows that the glob picked up the files.
What operating system are you running Bazel on?
Linux / Windows 10
What's the output of bazel info release?
Description of the problem / feature request:
A
globin the top-level package will follow the "bazel-*" convenience symlinks and pick up sources from them.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
git clone https://github.com/laszlocsomor/projectscd bazel/examples/glob_in_root_pkgbazel build-- just do a blank build so we have the "bazel-*" symlinks createdbazel build //:x --spawn_strategy=standalonecat bazel-genfiles/x.txtThis builds happily on Windows, and the x.txt output will list not only "a.txt" but also files under "bazel-out".
On Linux, this fails at Step 4, but because the files under "bazel-out" are not inputs of the genrule action. However, it still shows that the glob picked up the files.
What operating system are you running Bazel on?
Linux / Windows 10
What's the output of
bazel info release?