Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330997 - IOError: [Errno 11] blocks all emerge after upgrading (python and/or socat)
Summary: IOError: [Errno 11] blocks all emerge after upgrading (python and/or socat)
Status: RESOLVED DUPLICATE of bug 330937
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 09:29 UTC by Mike Hammill
Modified: 2010-08-03 09:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammill 2010-08-03 09:29:17 UTC
After upgrading to dev-lang/python-2.6.5_p20100801, net-misc/socat-1.7.1.3, and dev-lang/python-3.1.2_p20100801 on x86_64 I am unable to emerge any longer.  Now emerge always bombs on:
IOError: [Errno 11] Resource temporarily unavailable


Reproducible: Always

Steps to Reproduce:
1. upgrade to python-2.6.5_p20100801, net-misc/socat-1.7.1.3, dev-lang/python-3.1.2_p20100801
2. try any new emerge (you may reboot, env-update, blah, blah, blah, before hand, it does not help)
3. emerge bombs

Actual Results:  
Example:
# emerge -aD tmux

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-misc/tmux-1.2  USE="-vim-syntax" 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-misc/tmux-1.2
Traceback (most recent call last):
  File "/usr/bin/emerge", line 42, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1410, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 434, in action_build
    retval = mergetask.merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 914, in merge
    rval = self._merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1222, in _merge
    self._main_loop()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1369, in _main_loop
    self._poll_loop()
  File "/usr/lib64/portage/pym/_emerge/PollScheduler.py", line 134, in _poll_loop
    handler(f, event)
  File "/usr/lib64/portage/pym/_emerge/SpawnProcess.py", line 151, in _output_handler
    buf.fromfile(files.process, self._bufsize)


Expected Results:  
Emerge not broken.

This is not going to be fun to fix, I have a feeling!
Comment 1 Mike Hammill 2010-08-03 09:30:39 UTC
My copy/paste of the bomb message missed the very last line:

IOError: [Errno 11] Resource temporarily unavailable
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-03 09:31:34 UTC

*** This bug has been marked as a duplicate of bug 330937 ***
Comment 3 Mike Hammill 2010-08-03 09:35:07 UTC
The area in question in SpawnProcess.py
try:
	buf.fromfile(files.process, self._bufsize)
except EOFError:
	pass