When emerging something big without -q option I almost always get this error: File "/usr/bin/emerge", line 51, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 1044, in emerge_main gc_locals=locals().clear) File "/usr/lib64/portage/pym/_emerge/actions.py", line 3928, in run_action myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/actions.py", line 477, in action_build retval = mergetask.merge() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1010, in merge rval = self._merge() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1395, in _merge self._main_loop() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1366, in _main_loop self._event_loop.iteration() File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 266, in iteration if not x.callback(f, event, *x.args): File "/usr/lib64/portage/pym/portage/util/_async/PipeLogger.py", line 99, in _output_handler stdout_buf[os.write(stdout_fd, stdout_buf):] File "/usr/lib64/portage/pym/portage/__init__.py", line 246, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) OSError: [Errno 5] Input/output error Reproducible: Sometimes Steps to Reproduce: 1. emerge, for example, libreoffice without -q option Actual Results: Emerge fails Expected Results: Emerge should finish normally This bug appeared after last portage update (stable branch). emerge -pv portage: [ebuild R ] sys-apps/portage-2.1.11.62 USE="(ipc) -build -doc -epydoc (-pypy2_0) -python2 -python3 (-selinux) -xattr" LINGUAS="ru -pl" PYTHON_TARGETS="python2_7 python3_2 (-pypy1_9) (-pypy2_0) -python2_6 -python3_1 (-python3_3) (-python3_4)" 0 kB
Created attachment 347186 [details] emerge --info
This looks identical to bug 459674. See bug 459674, comment #13. *** This bug has been marked as a duplicate of bug 459674 ***
Yes, it looks like duplicate. But then that bug isn't resolved: I have gcc 4.6.
And there were no updates of python for long time. This bug started to appear just after I updated portage.
I guess you could try rebuilding python: emerge --oneshot python:2.7 python:3.2