Debian Bug report logs -
#431197
pypy - FTBFS: OSError: [Errno 12] Cannot allocate memory
Reported by: Bastian Blank <waldi@debian.org>
Date: Sat, 30 Jun 2007 15:21:01 UTC
Severity: serious
Found in version pypy/1.0.0-2
Fixed in version pypy/1.0.0-svn50146-1
Done: Alexandre Fayolle <afayolle@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Alexandre Fayolle <afayolle@debian.org>:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Bastian Blank <waldi@debian.org>:
New Bug report received and forwarded. Copy sent to Alexandre Fayolle <afayolle@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: pypy
Version: 1.0.0-2
Severity: serious
There was an error while trying to autobuild your package:
> Automatic build of pypy_1.0.0-2 on debian-31.osdl.marist.edu by sbuild/s390 98
[...]
> [translation:info] written: /tmp/usession-0/testing_1/testing_1.c
> [translation:info] Compiling c source...
> [cbuild:profopt] -c 'from richards import main;main(); from test import pystone; pystone.main()'
> [cbuild:execute] cc -O2 -pthread -fprofile-generate -I/build/buildd/pypy-1.0.0/pypy/translator/c -I/usr/include/python2.4 -I/tmp/usession-0/testing_1 -c testing_1.c -o testing_1.o
>
> [translation:ERROR] Error:
> [translation:ERROR] Traceback (most recent call last):
> [translation:ERROR] File "pypy/translator/goal/translate.py", line 287, in main
> [translation:ERROR] drv.proceed(goals)
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/driver.py", line 709, in proceed
> [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/tool/taskengine.py", line 112, in _execute
> [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/driver.py", line 260, in _do
> [translation:ERROR] res = func()
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/driver.py", line 481, in task_compile_c
> [translation:ERROR] cbuilder.compile()
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/c/genc.py", line 251, in compile
> [translation:ERROR] compiler.build()
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/tool/cbuild.py", line 341, in build
> [translation:ERROR] profdrv.first()
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/tool/cbuild.py", line 270, in first
> [translation:ERROR] self.build('-fprofile-generate')
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/tool/cbuild.py", line 285, in build
> [translation:ERROR] compiler._build()
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/tool/cbuild.py", line 373, in _build
> [translation:ERROR] extra_preargs=self.compile_extra)
> [translation:ERROR] File "distutils/ccompiler.py", line 699, in compile
> [translation:ERROR] File "distutils/unixccompiler.py", line 158, in _compile
> [translation:ERROR] File "/build/buildd/pypy-1.0.0/pypy/translator/tool/cbuild.py", line 258, in spawn_and_log
> [translation:ERROR] return spawn(cmd, *args, **kwds)
> [translation:ERROR] File "distutils/ccompiler.py", line 1040, in spawn
> [translation:ERROR] File "distutils/spawn.py", line 37, in spawn
> [translation:ERROR] File "distutils/spawn.py", line 127, in _spawn_posix
> [translation:ERROR] OSError: [Errno 12] Cannot allocate memory
> [translation] batch mode, not calling interactive helpers
> make[1]: *** [bin/pypy] Error 1
> make[1]: Leaving directory `/build/buildd/pypy-1.0.0'
> make: *** [build-arch-stamp] Error 2
> ******************************************************************************
> Build finished at 20070629-1245
> FAILED [dpkg-buildpackage died]
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Alexandre Fayolle <afayolle@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #10 received at 431197@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
Pypy requires a significant amount of memory to build (>1GB).
Furthermore, s390 is not supported by upstream.
I'm closing this bug.
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Informatique scientifique: http://www.logilab.fr/science
Reprise et maintenance de sites CPS: http://www.migration-cms.com/
[signature.asc (application/pgp-signature, inline)]
Reply sent to Alexandre Fayolle <afayolle@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Bastian Blank <waldi@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Alexandre Fayolle <afayolle@debian.org>:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Alexandre Fayolle <afayolle@debian.org>.
(full text, mbox, link).
Message #20 received at 431197@bugs.debian.org (full text, mbox, reply):
reopen 431197
thanks
On Mon, Jul 02, 2007 at 12:44:12PM +0200, Alexandre Fayolle wrote:
> Pypy requires a significant amount of memory to build (>1GB).
It fails on many buildds, this is a bug.
> Furthermore, s390 is not supported by upstream.
So the architecture settings are wrong, fix them.
> I'm closing this bug.
It is a bug, there is no fix.
Bastian
--
Landru! Guide us!
-- A Beta 3-oid, "The Return of the Archons", stardate 3157.4
Bug reopened, originator not changed.
Request was from Bastian Blank <waldi@debian.org>
to control@bugs.debian.org.
(Mon, 02 Jul 2007 11:00:02 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Alexandre Fayolle <afayolle@debian.org>:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Alexandre Fayolle <afayolle@debian.org>.
(full text, mbox, link).
Message #27 received at 431197@bugs.debian.org (full text, mbox, reply):
On Mon, Jul 02, 2007 at 12:44:12PM +0200, Alexandre Fayolle wrote:
> Pypy requires a significant amount of memory to build (>1GB).
Anyway, a process which needs this amount of RAM is killed with SIGTERM
because the linux kernel allows massive amounts of overcommited memory
and the OOM killer terminates it then.
The shown error shows that it allocates memory but never uses them and
hits the boundary of the process memory, which is almost 2GiB on s390.
Bastian
--
Insults are effective only where emotion is present.
-- Spock, "Who Mourns for Adonais?" stardate 3468.1
Information forwarded to debian-bugs-dist@lists.debian.org, Alexandre Fayolle <afayolle@debian.org>:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Alexandre Fayolle <afayolle@debian.org>.
(full text, mbox, link).
Message #32 received at 431197@bugs.debian.org (full text, mbox, reply):
On Mon, Jul 2, 2007 at 12:58:34 +0200, Bastian Blank wrote:
> reopen 431197
> thanks
>
> On Mon, Jul 02, 2007 at 12:44:12PM +0200, Alexandre Fayolle wrote:
> > Pypy requires a significant amount of memory to build (>1GB).
>
> It fails on many buildds, this is a bug.
>
Arguably not a release-critical one, given that it doesn't seem to have
ever built on those architectures.
Cheers,
Julien
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Alexandre Fayolle <afayolle@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #37 received at 431197@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Jul 02, 2007 at 12:58:34PM +0200, Bastian Blank wrote:
> reopen 431197
> thanks
>
> On Mon, Jul 02, 2007 at 12:44:12PM +0200, Alexandre Fayolle wrote:
> > Pypy requires a significant amount of memory to build (>1GB).
>
> It fails on many buildds, this is a bug.
>
> > Furthermore, s390 is not supported by upstream.
>
> So the architecture settings are wrong, fix them.
I thought I had done that in debian/control, but it looks like
dpkg-source -b lost the information when generating the .dsc file. Is it
ok to manually change that file and upload again, or am I missing
something obvious ?
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Informatique scientifique: http://www.logilab.fr/science
Reprise et maintenance de sites CPS: http://www.migration-cms.com/
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Alexandre Fayolle <afayolle@debian.org>:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Alexandre Fayolle <afayolle@debian.org>.
(full text, mbox, link).
Message #42 received at 431197@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Jul 02, 2007 at 12:44:12PM +0200, Alexandre Fayolle wrote:
> Furthermore, s390 is not supported by upstream.
pypy is supported on all 32bit linux plattform according to the
documentation.
I just run the testsuite, it looks good.
Compiling them is blocked by #431424. If I hack in local malloc support,
it seems to work. I did not run the testsuite with pypy-c yet.
| $ file translator/goal/pypy-c
| translator/goal/pypy-c: ELF 32-bit MSB executable, IBM S/390, version 1 (SYSV), for GNU/Linux 2.6.1, dynamically linked (uses shared libs), not stripped
| $ ./translator/goal/pypy-c
| Python 2.4.1 (pypy 1.0.0 build 41081) on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>>> import sys
| >>>> sys.platform
| 'linux2'
| >>>>
Bastian
--
Oblivion together does not frighten me, beloved.
-- Thalassa (in Anne Mulhall's body), "Return to Tomorrow",
stardate 4770.3.
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Alexandre Fayolle <afayolle@debian.org>:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Alexandre Fayolle <afayolle@debian.org>.
(full text, mbox, link).
Message #47 received at 431197@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
The attached patch fixes the following bugs: #452850 and #442060.
It addresses #431197 by moving the compile step out of the main
translation. The memory usage got down to about 700MiB for the
translation process.
Bastian
--
Without followers, evil cannot spread.
-- Spock, "And The Children Shall Lead", stardate 5029.5
[diff (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Alexandre Fayolle <afayolle@debian.org>:
Bug#431197; Package pypy.
(full text, mbox, link).
Acknowledgement sent to Bastian Blank <waldi@debian.org>:
Extra info received and forwarded to list. Copy sent to Alexandre Fayolle <afayolle@debian.org>.
(full text, mbox, link).
Message #52 received at 431197@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
The NMU diff for 1.0.0-3.1.
Bastian
--
Without followers, evil cannot spread.
-- Spock, "And The Children Shall Lead", stardate 5029.5
[diff (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Tags added: pending
Request was from Alexandre Fayolle <afayolle@debian.org>
to control@bugs.debian.org.
(Mon, 14 Jan 2008 11:03:02 GMT) (full text, mbox, link).
Reply sent to Alexandre Fayolle <afayolle@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Bastian Blank <waldi@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #59 received at 431197-close@bugs.debian.org (full text, mbox, reply):
Source: pypy
Source-Version: 1.0.0-svn50146-1
We believe that the bug you reported is fixed in the latest version of
pypy, which is due to be installed in the Debian FTP archive:
pypy-dev_1.0.0-svn50146-1_all.deb
to pool/main/p/pypy/pypy-dev_1.0.0-svn50146-1_all.deb
pypy-doc_1.0.0-svn50146-1_all.deb
to pool/main/p/pypy/pypy-doc_1.0.0-svn50146-1_all.deb
pypy-lib_1.0.0-svn50146-1_all.deb
to pool/main/p/pypy/pypy-lib_1.0.0-svn50146-1_all.deb
pypy-stackless_1.0.0-svn50146-1_i386.deb
to pool/main/p/pypy/pypy-stackless_1.0.0-svn50146-1_i386.deb
pypy_1.0.0-svn50146-1.diff.gz
to pool/main/p/pypy/pypy_1.0.0-svn50146-1.diff.gz
pypy_1.0.0-svn50146-1.dsc
to pool/main/p/pypy/pypy_1.0.0-svn50146-1.dsc
pypy_1.0.0-svn50146-1_i386.deb
to pool/main/p/pypy/pypy_1.0.0-svn50146-1_i386.deb
pypy_1.0.0-svn50146.orig.tar.gz
to pool/main/p/pypy/pypy_1.0.0-svn50146.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 431197@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexandre Fayolle <afayolle@debian.org> (supplier of updated pypy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 14 Jan 2008 09:46:11 +0100
Source: pypy
Binary: pypy-dev pypy-lib pypy-doc pypy pypy-stackless
Architecture: source i386 all
Version: 1.0.0-svn50146-1
Distribution: unstable
Urgency: low
Maintainer: Alexandre Fayolle <afayolle@debian.org>
Changed-By: Alexandre Fayolle <afayolle@debian.org>
Description:
pypy - the python in python interpreter, C backend translation
pypy-dev - the python in python interpreter, interpreted version
pypy-doc - Documentation for pypy
pypy-lib - standard python library for pypy
pypy-stackless - the python in python interpreter, C backend translation
Closes: 431197 444652 458953 459520
Changes:
pypy (1.0.0-svn50146-1) unstable; urgency=low
.
* Acknowledge NMU (closes: #431197)
* Apply Yaroslav Hachenko's patch to use more recent svn snapshot, and
enable threading support (closes: #458953)
* Apply Thiemo Seufer's patch to enable mips and mipsel support
(closes: #459520)
* Added build dep on procps (closes: #444652)
* Bumped up standards to 3.7.3
* Note that pypy is currently under ITA: I lack time to properly follow
upstream developments, and all patches and NMU's are welcome. If you'd
like to adopt pypy, just send me an email to notify me and jump for
it. Offers to co-maintain are welcome too. Thanks.
Files:
2fc6c1bda98210c4088d74e6ab9970ad 1031 python extra pypy_1.0.0-svn50146-1.dsc
45fbb77fd50e2c76d06cd35b617ef428 11066927 python extra pypy_1.0.0-svn50146.orig.tar.gz
c7b71ca94607e0dc877e9f9bc09e3976 8642 python extra pypy_1.0.0-svn50146-1.diff.gz
d18ca3ae6c0a1174534e2c96ae8e89f0 1576600 python extra pypy_1.0.0-svn50146-1_i386.deb
d025f7048ab39c5079f7ad692141c748 2508492 python extra pypy-stackless_1.0.0-svn50146-1_i386.deb
9b3270e83dc54b559873a3b0434d29bf 4772510 python extra pypy-dev_1.0.0-svn50146-1_all.deb
e9c63b30b0bc0fe5112e0f4f788e75f8 1640804 doc extra pypy-doc_1.0.0-svn50146-1_all.deb
dffdc08f1d67c51cc0135f4fd0056dc3 4220164 python extra pypy-lib_1.0.0-svn50146-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBR4toXV6T+PKoJ87eAQJOpgf/Y7y+LDfM1LS1lgXwiHhYC6/GE9Lfkb1+
OMpPXuYfNN6gupunrSzeE7yEPO4NAqki334kUXMM+RjIFcspwTcxAviUB1Zd71m3
gXk/4LaVcYGP9CxK8pTPbMo5UnxfOjKzkLn3P1U+UGHvbBTmNSu1hlHddb/Ng6Ts
NIqOtcaTNs93juchvgmgu5oXMglOw/FH4Rg7pl3EbJnMUl0U2dwHHT4iXJsA/lLY
DKRmhCfFzzDbEgN55DF201ZHu2u/SRCE/646A+Zr0nEyT/ERduUHu1aiOSIUAkMb
FAul/63kI8hl8uIRCNFoty/VsQfqhY6d+WXLvlZLENLyJ8cLaPU5og==
=knEW
-----END PGP SIGNATURE-----
Message #60 received at 431197-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I think the BTS mistakenly thought my last upload was an NMU. I'm
manually closing these issues.
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Informatique scientifique: http://www.logilab.fr/science
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 23 Feb 2008 07:37:05 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 20:30:18 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.