[issue15819] Unable to build Python out-of-tree when source tree is readonly.
Martin v. Löwis
report at bugs.python.org
Fri Aug 31 17:49:06 CEST 2012
Martin v. Löwis added the comment:
Am 31.08.12 17:32, schrieb Richard Oudkerk:
> File "<frozen importlib._bootstrap>", line 128, in _write_atomic
> OSError: [Errno 5] Input/output error: '/mnt/hgfs/Repos/cpython-dirty/Lib/__pycache__/codecs.cpython-33.pyc.3076609376'
> Aborted
>
> I took this to be a failure to write the bytecompiled file. (A regression?)
Sounds like a regression to me. However, errno 5 is EIO.
Normally, you should get PermissionError(errno=13, EACCES).
I could understand EROFS as well. This sounds like a bug in
the VM software, which really should report EROFS if the volume is
read-only, not EIO.
You might want to check whether this really is a regression;
in any case, I consider Python's reaction reasonable and then
your setup as just not supported. However, I could also accept
that a work-around is added for treating EIO also as an ignorable
error. In any case, this is a separate issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15819>
_______________________________________
More information about the Python-bugs-list
mailing list