[PATCH] master.cfg: Add missing "chmod -R u+w $(builddir)" to libabigail_mt_combo_steps
Dodji Seketeli
dodji@seketeli.org
Thu Sep 3 07:22:04 GMT 2026
When setting up the multithreading build environment for Libabigail,
libabigail_mt_combo_steps starts by removing the potential left-overs
from the build directory it intends to populates.
Sometimes, that build directory has read-only access. That leads to
an error whenever libabigail_mt_combo_steps tries to remove it.
libabigail_mt_combo_steps thus needs to make it have writable access
before attempting to remove it, just like what is done at cleanup
time, at the end of the function.
This patch does just that.
Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
builder/master.cfg | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/builder/master.cfg b/builder/master.cfg
index cd8a1a3..7bf6514 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -5028,6 +5028,11 @@ libabigail_euts_install_step = steps.Compile(
def libabigail_mt_combo_steps(build_name, configure_extra, tagsuffix):
"""One mt configure/build/check/distcheck/bunsen cycle in a sibling dir."""
s = []
+ s.append(steps.ShellCommand(
+ command=["chmod", "-R", "u+w",
+ util.Interpolate("%(prop:builddir)s/" + build_name)],
+ name="chmod u+w before removing left-overs with rm -rf " + build_name,
+ haltOnFailure=False))
s.append(steps.ShellCommand(
command=["rm", "-rf",
util.Interpolate("%(prop:builddir)s/" + build_name)],
--
2.55.0
--
Dodji
More information about the Buildbot
mailing list