[pypy-dev] Build pypy-2.0b1

Max Lavrenov max.lavrenov at gmail.com
Tue Apr 9 15:36:55 CEST 2013


And one more question about packaging.

[e-max at e-max release]$ ~/workspace/pypy_59920/bin/pypy package.py ../../..
pypy-63131
Traceback (most recent call last):
  File "app_main.py", line 52, in run_toplevel
  File "app_main.py", line 541, in run_it
  File "<string>", line 1, in <module>
  File "/home/e-max/workspace/pypy/lib_pypy/_sqlite3.py", line 262, in
<module>
    if _has_load_extension():
  File "/home/e-max/workspace/pypy/lib_pypy/_sqlite3.py", line 259, in
_has_load_extension
    unverified_lib = unverified_ffi.dlopen('sqlite3')
  File "/home/e-max/workspace/pypy/lib_pypy/cffi/api.py", line 111, in
dlopen
    lib, function_cache = _make_ffi_library(self, name, flags)
  File "/home/e-max/workspace/pypy/lib_pypy/cffi/api.py", line 362, in
_make_ffi_library
    path = ctypes.util.find_library(name)
  File "/home/e-max/workspace/pypy/lib-python/2.7/ctypes/util.py", line
213, in find_library
    return _findSoname_ldconfig(name) or _get_soname(_findLib_gcc(name))
  File "/home/e-max/workspace/pypy/lib-python/2.7/ctypes/util.py", line
202, in _findSoname_ldconfig
    f = os.popen('/sbin/ldconfig -p 2>/dev/null')
OSError: [Errno 12] Cannot allocate memory
Traceback (most recent call last):
  File "app_main.py", line 52, in run_toplevel
  File "package.py", line 185, in <module>
    package(*args, **kw)
  File "package.py", line 69, in package
    subprocess.check_call([str(pypy_c), '-c', 'import _sqlite3'])
  File "/home/e-max/workspace/pypy_59920/lib-python/2.7/subprocess.py",
line 511, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command
'['/home/e-max/workspace/pypy/pypy/goal/pypy-c', '-c', 'import _sqlite3']'
returned non-zero exit status 1


On Tue, Apr 9, 2013 at 5:32 PM, Max Lavrenov <max.lavrenov at gmail.com> wrote:

> It works.  Thanks Armin!
>
> Best regards,
> Max
>
>
> On Tue, Apr 9, 2013 at 2:31 PM, Armin Rigo <arigo at tunes.org> wrote:
>
>> Hi Max,
>>
>> On Tue, Apr 9, 2013 at 12:15 PM, Max Lavrenov <max.lavrenov at gmail.com>
>> wrote:
>> > [platform:Error]     "inconsistent frame size at instruction %s" %
>> (insn,))
>>
>> We have seen this error reported already (it occurred with gcc 4.8,
>> but that may not be strictly related).  Assuming it's the same, I
>> fixed it in trunk.  Can you try to download the latest version of the
>> file rpython/translator/c/gcc/trackgcroot.py from this url:
>>
>> https://bitbucket.org/pypy/pypy/raw/default/rpython/translator/c/gcc/trackgcroot.py
>> (or just switch to hg "default" if you got a hg repository)?  Then you
>> can type "make" in the directory
>> /tmp/usession-release-2.0-beta2-2/testing_1 to restart the final part.
>>
>>
>> A bientôt,
>>
>> Armin.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130409/d3f4e50d/attachment-0001.html>


More information about the pypy-dev mailing list