Summary: | dev-python/cryptography-0.9.1 consumes all memory until crash with portage-2.2.18+ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Blu3 <david+gentoo.org> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | dashmz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 561694 | ||
Bug Blocks: | |||
Attachments: |
build error log
error log with 2g memory |
Description
Blu3
2015-07-09 03:00:01 UTC
I need a build log. For debugging purposes, please put a limit on the amount of memory the portage user can consume. This should cause a more useful error message to appear in the log. You can create such a limit by adding the following to /etc/security/limits.conf. # limit portage to 2G of memory portage soft as 2097152 As far as I can tell this is triggered by setuptools going stupid if one of the dependencies in the setup.py is missing or too old. I've observed it a few times before ... Got the same error so I'm uploading my error.log. Created attachment 409290 [details]
build error log
(In reply to dashmz from comment #5) > Created attachment 409290 [details] > build error log Which cffi do you have installed? (In reply to Justin Lecher from comment #6) > (In reply to dashmz from comment #5) > > Created attachment 409290 [details] > > build error log > > Which cffi do you have installed? dev-python/cffi-1.1.2 (In reply to dashmz from comment #7) > (In reply to Justin Lecher from comment #6) > > (In reply to dashmz from comment #5) > > > Created attachment 409290 [details] > > > build error log > > > > Which cffi do you have installed? > > dev-python/cffi-1.1.2 That's strange, because this is exactly the package pip tries to install. Could you please test to reemerge cffi and cryptograpy? While rebuilding cffi, cryptography is automatically scheduled for rebuild. But unfortunately it again ate all my memory. The following packages are causing rebuilds: (dev-python/cffi-1.2.1:0/1.2.1::gentoo, ebuild scheduled for merge) causes rebuilds for: (dev-python/cryptography-1.0:0/0::gentoo, ebuild scheduled for merge) (dev-python/pyzmq-14.7.0:0/0::gentoo, ebuild scheduled for merge) Tried it again with 2G of memory for portage:
see attachment 2 [details]g-memory-portage.txt
Created attachment 410654 [details]
error log with 2g memory
(In reply to dashmz from comment #11) > Created attachment 410654 [details] > error log with 2g memory So now it appears pycparser is missing on your system. What special things are you doing? Are you in a virtualenv while running emerge? I just installed cryptography on a stage3 chroot without any issue. I got dev-python/pycparser-2.14 installed and I am not running emerge in a virtualenv. Just trying to do an world update. Is this still a problem? If so, please do the following cd /var/tmp/portage/dev-python/cryptography*/work/cryptography python setup.py --requires and paste the output here |