Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468338 - OSError: [Errno 5] Input/output error in _output_handler
Summary: OSError: [Errno 5] Input/output error in _output_handler
Status: RESOLVED DUPLICATE of bug 459674
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 23:45 UTC by Alexander Mezin
Modified: 2013-05-03 16:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,5.29 KB, text/plain)
2013-05-02 23:47 UTC, Alexander Mezin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mezin 2013-05-02 23:45:58 UTC
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
Comment 1 Alexander Mezin 2013-05-02 23:47:40 UTC
Created attachment 347186 [details]
emerge --info
Comment 2 Zac Medico gentoo-dev 2013-05-03 15:08:40 UTC
This looks identical to bug 459674. See bug 459674, comment #13.

*** This bug has been marked as a duplicate of bug 459674 ***
Comment 3 Alexander Mezin 2013-05-03 15:14:57 UTC
Yes, it looks like duplicate. But then that bug isn't resolved: I have gcc 4.6.
Comment 4 Alexander Mezin 2013-05-03 15:17:40 UTC
And there were no updates of python for long time. This bug started to appear just after I updated portage.
Comment 5 Zac Medico gentoo-dev 2013-05-03 16:03:24 UTC
I guess you could try rebuilding python:

   emerge --oneshot python:2.7 python:3.2