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
platformclasspath_classes folder not writable since 6.0.0-pre.20220517.1 #15616
Comments
This changed with ae523f8. Before that commit, the output of the action that compiles @deepy Can you use |
The problem there is that when we add changing permissions into the mix we can't rely on automatic cleanup by other tools any longer and with multiple operating systems in the mix this becomes even less fun to deal with. |
Have you tried |
We've worked around this, thank you for the explanation, all the information, and the workaround suggestions! |
I encounter the same issue with Bazel 5.3.1. To start a fresh build we do |
Bazel output of the action that compiles `DumpPlatformClassPath` is written in a non -writable directory. When we wipe the `log` directory with `find log/ --delete` that results in: /usr/bin/find: cannot delete ‘/workspace/log/execroot/eventsWikimedia /bazel-out/k8-fastbuild/bin/external/bazel_tools/tools/jdk /platformclasspath_classes/DumpPlatformClassPath.class’: Permission denied Unconditionally create the `log` directory and ensure all files are writables before deletion. Update gerrit-events-wikimedia-bazel-docker Bazel issue bazelbuild/bazel#15616 Bug: T320251 Change-Id: Ia6dafa3e9bacd81c03e9ec35644c8a2893368e03
Description of the bug:
Starting in
6.0.0-pre.20220517.1
theplatformclasspath_classes
is no longer writable which preventsDumpPlatformClassPath.class
from being deleted.This is causing our tests to fail when trying to cleanup or work with the directory.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Build
examples/java-tutorial
with--output_base
Then
rm -rf mytest
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?6.0.0-pre.20220526.1
If
bazel info release
returnsdevelopment 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
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: