-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Build
-
ALL
-
Os : Windows 11
python v3.10
Command prompt is set to Admin mode
os.remove(file) fails because the file are read-only.
Traceback (most recent call last): File "C:\Users\hsous\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "C:\Users\hsous\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "E:\mongo\site_scons\site_tools\integrate_bazel.py", line 497, in bazel_build_thread_func os.remove(file) PermissionError: [WinError 5] Access is denied: 'bazel-out\\x64_windows-dbg\\bin\\src\\mongo\\bson\\bson_validate_gen_gen_source_tag.gen_source_list' Bazel Build failed with 1!
I have made a small change to integrate_bazel.py, pushing it shortly ...