-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.bazelignore breaks build #5974
Comments
did this fix not make it into 0.17.1? |
Still reproducing on Bazel 0.17.2: Build label: 0.17.2 |
The error references EnvironmentBackedRecursivePackageProvider so this fix probably didn't make it to 0.17.2: Caused by: java.lang.IllegalArgumentException: ignore is not beneath a |
Description of the problem / feature request:
I tried bazel
0.17.0rc1
. I'm interested by the.bazelignore
file. It does works, meaning thatbazel build //...
is correctly ignoring the subdirectory listed in.bazelignore
, however build are always failing when I'm building a more specific target, such as//foo/...
.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
0.17rc1
.Building works:
Now I edit
.bazelignore
:Global building works:
However building with a specific target is now broken:
What operating system are you running Bazel on?
What's the output of
bazel info release
?If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.I used the nixpkgs bazel receipt in which I changed the
src
url pointing to bazel0.15.2
to bazel0.17.0rc1
. I also had to override the jdk used by settingbuild --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8"
in the.bazelrc
file used for the build.I used for
src
:What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?Not relevant.
Have you found anything relevant by searching the web?
no.
Any other information, logs, or outputs that you want to share?
no.
The text was updated successfully, but these errors were encountered: