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
When building in the default Docker env, the following error comes up
ERROR: /app/envpool/atari/BUILD:20:8: output 'envpool/atari/roms' of //envpool/atari:gen_atari_roms is a directory; dependency checking of directories is unsound
ERROR: /app/envpool/atari/BUILD:20:8: Executing genrule //envpool/atari:gen_atari_roms failed: not all outputs were created or valid
I was able to work around this by setting export USE_BAZEL_VERSION=6.4.0. Then Bazelisk downloads and runs the appropriate Bazel version. I suggest adding that to the documentation.
Bazel 7.0.0 disables version checking for directories and symlinks, because it's unsound. (I gleaned this from this GitHub issue) Envpool has some genrules that output directories.
Checklist
I have checked that there is no similar issue in the repo (required)
Describe the bug
When building in the default Docker env, the following error comes up
To Reproduce
make docker-dev
make bazel-debug
Expected behavior
The code builds
System info
I reproduced this bug:
Reason and Possible fixes
I was able to work around this by setting
export USE_BAZEL_VERSION=6.4.0
. Then Bazelisk downloads and runs the appropriate Bazel version. I suggest adding that to the documentation.Bazel 7.0.0 disables version checking for directories and symlinks, because it's unsound. (I gleaned this from this GitHub issue) Envpool has some genrules that output directories.
Checklist
The text was updated successfully, but these errors were encountered: