Created attachment 375080 [details] full build log + emerge --info With a heavy SMP setup, and parallel-install FEATURES flag, build can randomly fail on any package with IOError: [Errno 4] Interrupted system call error * checking 27 files for package collisions >>> Merging dev-lang/nasm-2.10.07 to / Traceback (most recent call last): File "/usr/lib64/portage/pym/portage/dbapi/_MergeProcess.py", line 234, in _spawn prev_mtimes=self.prev_mtimes, counter=counter) File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 4839, in merge counter=counter) File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 4038, in treewalk self.vartree.dbapi._fs_lock() File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 247, in _fs_lock self._fs_lock_obj = lockfile(self._conf_mem_file) File "/usr/lib64/portage/pym/portage/locks.py", line 175, in lockfile locking_method(myfd, fcntl.LOCK_EX) IOError: [Errno 4] Interrupted system call According to doc, syscall interrupted by EINTR should be relaunched, and is not fatal. It simply means that process got a signal while waiting for syscall to complete.
This should be fixed since python3.5 by PEP 475 EINTR retry, but we also had an _eintr_func_wrapper that we added for bug 525552 and have since removed.