This is an auto-filled bug because dev-lang/python fails to compile on arm. Feel free to adjust the summary to clarify the exact issue. Attached build log and emerge --info
Created attachment 627166 [details] build.log build log and emerge --info
seems minor.
What package owns /usr/lib/python3.7/site-packages/locker.py on your system?
Might be related to this change: https://github.com/python/cpython/pull/11921
This does seem like a weird one. Let's let someone else confirm it.
(In reply to Mike Gilbert from comment #3) > What package owns /usr/lib/python3.7/site-packages/locker.py on your system? There isn't this file here.
I can reproduce this with FEATURES="usersandbox". It does not happen with FEATURES="-usersandbox". I suspect libsandbox is messing a syscall somewhere it shouldn't be. Need further diagnosis.
Actually, this is really just a plain sandbox violation. This function attempts to remove files from every path in sys.path. https://github.com/python/cpython/blob/v3.7.7/Lib/test/support/__init__.py#L449
Adding PermissionError to this list makes the tests pass under sandbox. https://github.com/python/cpython/blob/v3.7.7/Lib/test/support/__init__.py#L421
*** This bug has been marked as a duplicate of bug 679628 ***