[pypy-dev] [Fwd: Re: Building pypy from sources: partial build support ?]
Matti Picus
matti.picus at gmail.com
Thu Oct 15 19:35:16 CEST 2015
On 15/10/15 20:18, Yury V. Zaytsev wrote:
> -------- Forwarded Message --------
> From: David Cournapeau <cournape at gmail.com>
> To: Yury V. Zaytsev <yury at shurup.com>
> Subject: Re: [pypy-dev] Building pypy from sources: partial build
> support ?
> Date: Thu, 15 Oct 2015 16:37:15 +0100
>
> Thank Yury.
>
>
> It seems my error happens after that stage actually:
> ...
> /home/vagrant/src/tmp/pypy-2.6.1-src/pypy/goal/pypy-c successfully
> built, but errors while building the above modules will be ignored
>
>
> Is there any way for to fix my build environment and restart the build
> without starting from scratch there ?
>
>
> David
>
David your translation (conversion of rpython to pypy-c) succeeded.
What failed is a hack to build the cffi import libraries needed for some
standard python stdlib support libraries. You can just ignore these and
move on to testing your translated pypy.
If you actually *need* those stdlib modules, you can rerun the python
import scripts at any time as
pypy-c lib_pypy/_*_build.py
where the * is any of sqlite3, audioop, curses, gdbm, pwdgrp, or syslog.
The script in pypy/tool/release/package.py will build or rebuild these
import libraries and package everything up into a nice tarball, you can
see its documentation via --help
Matti
More information about the pypy-dev
mailing list