[Build] library_packager.py set_or_remove_rpath open: Operation not permitted #18260
Open
1 task done
Labels
area/docdb
YugabyteDB core features
kind/bug
This issue is a bug
priority/medium
Medium priority issue
Jira Link: DB-7261
Description
Hey there, not sure if this issue is correctly categorized but there's no option to create an issue related to the build process.
Release command
I'm running the release creation like this:
The problem
What do I see
After the build fails, I see the following:
Offending code
https://github.com/yugabyte/yugabyte-db/blob/master/python/yugabyte/library_packager.py#L273-L291
Possible explanation
The problem is that the offending code asserts that the file is writable while the permission changes between the
os.access
check and the actualremove_rpath
operation. This can apparently happen: https://stackoverflow.com/a/3696146. Changing the code to:solves this particular issue.
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: