[pypy-issue] Issue #2219: Building pypy 4.0.1 from source on Fedora 22 (pypy/pypy)

Jeroen Zuiddam issues-reply at bitbucket.org
Wed Dec 30 09:24:17 EST 2015


New issue 2219: Building pypy 4.0.1 from source on Fedora 22
https://bitbucket.org/pypy/pypy/issues/2219/building-pypy-401-from-source-on-fedora-22

Jeroen Zuiddam:

I am trying to build pypy 4.0.1 from source on Fedora 22 with these instructions: http://pypy.org/download.html#building-from-source. However, I am getting an error. This is the last part of the log.

```
[c:writing] rpython_rtyper_rfloat.c
[c:writing] rpython_rtyper_rint.c
[c:writing] rpython_rtyper_rlist.c
[c:writing] rpython_rtyper_rrange.c
[c:writing] rpython_rtyper_rstr.c
[c:writing] rpython_tool_error.c
[c:writing] rpython_translator_c_extfunc.c
[c:writing] rpython_translator_exceptiontransform.c
[translation:info] written: /tmp/usession-release-4.0.1-0/testing_1/testing_1.c
[748c3] translation-task}
[translation:info] Compiling c source...
[748c3] {translation-task
starting compile_c
[platform:execute] make -j 4 in /tmp/usession-release-4.0.1-0/testing_1
[platform:Error] In file included from data_pypy_module_bz2_interp_bz2.c:6:0:
[platform:Error] forwarddecl.h:1842:66: error: field ‘member1183’ has incomplete type
[platform:Error]   struct pypy_pypy_objspace_std_dictmultiobject_W_DictMultiIterV0 member1183;
[platform:Error]                                                                   ^
[platform:Error] make: *** [data_pypy_module_bz2_interp_bz2.gcmap] Error 1
[platform:Error] make: *** Waiting for unfinished jobs....
[748c8] translation-task}
[Timer] Timings:
[Timer] annotate                       ---  872.9 s
[Timer] rtype_lltype                   ---  984.9 s
[Timer] pyjitpl_lltype                 --- 1506.7 s
[Timer] backendopt_lltype              ---  299.3 s
[Timer] stackcheckinsertion_lltype     ---  175.9 s
[Timer] database_c                     ---  447.6 s
[Timer] source_c                       ---  451.5 s
[Timer] compile_c                      ---  102.1 s
[Timer] ===========================================
[Timer] Total:                         --- 4841.0 s
[translation:info] Error:
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/goal/translate.py", line 318, in main
[translation:info]     drv.proceed(goals)
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/driver.py", line 551, in proceed
[translation:info]     return self._execute(goals, task_skip = self._maybe_skip())
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/tool/taskengine.py", line 114, in _execute
[translation:info]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/driver.py", line 279, in _do
[translation:info]     res = func()
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/driver.py", line 517, in task_compile_c
[translation:info]     cbuilder.compile(**kwds)
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/c/genc.py", line 376, in compile
[translation:info]     extra_opts)
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/platform/posix.py", line 212, in execute_makefile
[translation:info]     self._handle_error(returncode, stdout, stderr, path.join('make'))
[translation:info]    File "/export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/platform/__init__.py", line 151, in _handle_error
[translation:info]     raise CompilationError(stdout, stderr)
[translation:ERROR] CompilationError: CompilationError(err="""
[translation:ERROR]     In file included from data_pypy_module_bz2_interp_bz2.c:6:0:
[translation:ERROR]     forwarddecl.h:1842:66: error: field ‘member1183’ has incomplete type
[translation:ERROR]       struct pypy_pypy_objspace_std_dictmultiobject_W_DictMultiIterV0 member1183;
[translation:ERROR]                                                                       ^
[translation:ERROR]     make: *** [data_pypy_module_bz2_interp_bz2.gcmap] Error 1
[translation:ERROR]     make: *** Waiting for unfinished jobs....
[translation:ERROR]     """)
[translation] start debugger...
> /export/scratch1/jzuiddam/pypy-4.0.1-src/rpython/translator/platform/__init__.py(151)_handle_error()
-> raise CompilationError(stdout, stderr)
(Pdb+) 
```

What can I do? Am I missing some dependency?





More information about the pypy-issue mailing list