View previous topic :: View next topic |
Author |
Message |
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Sat Jan 15, 2011 5:53 pm Post subject: |
|
|
curmudgeon wrote: | Code: |
File "/usr/lib/portage/pym/portage/__init__.py", line 6266, in doebuild
fd_pipes=fd_pipes, returnpid=returnpid)
File "/usr/lib/portage/pym/portage/__init__.py", line 3462, in spawn
buf.fromfile(f, buffsize)
IOError: [Errno 5] Input/output error | What happened here? | Assuming that I/O error was from the system, rather than synthesized by a Python library, that error is a bad sign. Check your dmesg for any hard disk related diagnostics. If you have a working copy of sys-apps/smartmontools already installed, check the drive's on-board error log.
[Edit: fix bad markup.]
Last edited by Hu on Sat Jan 15, 2011 7:31 pm; edited 1 time in total |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Sat Jan 15, 2011 6:43 pm Post subject: |
|
|
Hu that error is due to a change in python-2.6.6 to bring it closer to py-3.1 if I remember correctly. That change required portage to change the way it did some things. So, that is a portage coding problem for older portage versions run on new python. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Sat Jan 15, 2011 7:36 pm Post subject: |
|
|
dol-sen wrote: | Hu that error is due to a change in python-2.6.6 to bring it closer to py-3.1 if I remember correctly. That change required portage to change the way it did some things. So, that is a portage coding problem for older portage versions run on new python. | I would like to believe that you are correct here, but it seems very strange that Python would raise IOError with errno EIO for any sort of language misuse. Historically, I have only seen EIO occur in the presence of serious faults, such as corrupt filesystems or failing hardware. I would have expected SyntaxError if the interpreter did not allow the construct that Portage tried to use. |
|
Back to top |
|
|
curmudgeon Veteran
Joined: 08 Aug 2003 Posts: 1741
|
Posted: Mon Jan 17, 2011 6:13 am Post subject: |
|
|
[quote="Hu"] curmudgeon wrote: | Assuming that I/O error was from the system, rather than synthesized by a Python library, that error is a bad sign. Check your dmesg for any hard disk related diagnostics. If you have a working copy of sys-apps/smartmontools already installed, check the drive's on-board error log. |
I think it did come from python. I run smartd with tests every day, and it has never shown a problem. The drive is fairly new (not that that guarantees anything), with only about 2000 hours of use. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|