Did you try with different users permissions and or using a directory that is owned by roit or with wrong permissions?R.
Yahoo Mail: Search, organise, conquer On Mon, 5 May 2025 at 16:30, Loris Bennett<[email protected]> wrote: Hi, I am having a presumably local issue when installing Bazel via eb Bazel-6.1.0-GCCcore-12.3.0.eb --parallel=8 --robot namely: == FAILED: Installation ended unsuccessfully: Failed to remove directory /trinity/shared/easybuild/build/Bazel/6.1.0/GCCcore-12.3.0 even after 3 attempts. Reasons: [PermissionError(13, 'Permission denied'), OSError(39, 'Directory not empty'), OSError(16, 'Device or resource busy')] (took 22 mins 20 secs) == Results of the build can be found in the log file(s) /tmp/eb-ysdxiytl/easybuild-Bazel-6.1.0-20250505.155057.weUDX.log ERROR: Installation of Bazel-6.1.0-GCCcore-12.3.0.eb failed: "Failed to remove directory /trinity/shared/easybuild/build/Bazel/6.1.0/GCCcore-12.3.0 even after 3 attempts.\nReasons: [PermissionError(13, 'Permission denied'), OSError(39, 'Directory not empty'), OSError(16, 'Device or resource busy')]" The directory /trinity/shared is an NFS share, but usually this does not causes any difficulties. However, if I then try to remove the directory mentioned explicitly, I get the following error: [build@dadmin eco]$ rm -rf /trinity/shared/easybuild/build/Bazel/6.1.0/GCCcore-12.3.0 rm: cannot remove '/trinity/shared/easybuild/build/Bazel/6.1.0/GCCcore-12.3.0/tmptgidvyac-bazel-root/install/a9574404bbcb6906c73792d9ebf99d36/.nfs000000010101265b00000032': Device or resource busy rm: cannot remove '/trinity/shared/easybuild/build/Bazel/6.1.0/GCCcore-12.3.0/tmptgidvyac-bazel-root/install/a9574404bbcb6906c73792d9ebf99d36/.nfs000000010101260400000033': Device or resource busy rm: cannot remove '/trinity/shared/easybuild/build/Bazel/6.1.0/GCCcore-12.3.0/tmptgidvyac-bazel-root/f3954181a366e6f66e4bfbf5ea055ac4/server': Directory not empty which does look like an NFS problem. Does anyone have an idea about what might be going wrong? Cheers, Loris -- Dr. Loris Bennett (Herr/Mr) FUB-IT, Freie Universität Berlin

