Summary: | sys-apps/portage-2.1.10.11 crashes with confusing error when out of memory: TypeError: an integer is required | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Enno Gröper <enno+gentoo> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | enno+gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | archive of temp directory in /var/tmp/portage/app-arch/xz-utils-5.0.3/ |
Description
Enno Gröper
2011-09-13 13:23:46 UTC
I have to add, that app-admin/logrotate-3.8.0 builds fine. So it's not a problem with _all_ ebuilds. Perhaps this only happens on compile errors? Well, the buildlog attached doesn't seem to have any errors. So it seems it's in part a problem with portage. But chances are the original reason is that you're running out of memory. You are absolutly right, sorry. My machine ran out of memory, which I didn't notice. Now it runs without problems. The question is, if there is a possibility to generate a better error message. Therefore I will leave this open. Feel free to resolve it as invalid, if you don't see the need for a better error message here. It seems like os.fork() returned a non-integer, but it's supposed to always return an integer, and raise an ENOMEM OSError if it fails. I'm curious which version of python this happened with. Please post the output of these commands: eselect python list head -n 1 /usr/bin/emerge eselect python list Available Python interpreters: [1] python2.5 [2] python2.6 [3] python2.7 * [4] python3.1 head -n 1 /usr/bin/emerge #!/usr/bin/python |