-
Notifications
You must be signed in to change notification settings - Fork 5
Description
In GitLab by @broonie1 on Feb 13, 2024, 16:58 GMT:
If I run:
tuxmake --target-arch=arm64 --kconfig=defconfig --toolchain=gcc-13 --wrapper=none --environment=KBUILD_BUILD_TIMESTAMP=@1707782361 --environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake --environment=KCFLAGS=-ffile-prefix-map=/tmp/bisect/work/= --runtime=docker --image=docker.io/tuxmake/arm64_gcc-13 config default kernel modules dtbs dtbs-legacy headers kselftest
This fails with:
rm: cannot remove '/tmp/bisect/out/overlay/workdir/work': Permission denied
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/broonie/git/tuxmake/tuxmake/main.py", line 9, in
run()
File "/home/broonie/git/tuxmake/tuxmake/main.py", line 6, in run
main()
File "/home/broonie/git/tuxmake/tuxmake/cli.py", line 170, in main
build.run()
File "/home/broonie/git/tuxmake/tuxmake/build.py", line 670, in run
self.cleanup()
File "/home/broonie/git/tuxmake/tuxmake/build.py", line 612, in cleanup
self.runtime.cleanup()
File "/home/broonie/git/tuxmake/tuxmake/runtime.py", line 611, in cleanup
subprocess.check_call(["rm", "-rf", str(self.overlay_dir)])
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/tmp/bisect/out/overlay']' returned non-zero exit status 1.
The directory /tmp/bisect/out/overlay/workdir/work can't be deleted because it is owned by root.root.
Assignees: stylesen
Migrated from GitLab: https://gitlab.com/Linaro/tuxmake/-/issues/213