[pypy-issue] Issue #3113: Unable to install ikp3db on pypy 3.6 portable (pypy/pypy)
Alex
issues-reply at bitbucket.org
Tue Nov 12 06:31:23 EST 2019
New issue 3113: Unable to install ikp3db on pypy 3.6 portable
https://bitbucket.org/pypy/pypy/issues/3113/unable-to-install-ikp3db-on-pypy-36
Alex:
Cannot install ikp3db on Pypy 3.6 portable on Debian Stretch:
```
./pip3.6 install ikp3db
Collecting ikp3db
Using cached https://files.pythonhosted.org/packages/93/a4/23342fc912f7ae6559e9d99f66a764f0d7d56f5977202deb419a0494cd63/ikp3db-1.4.1.tar.gz
Building wheels for collected packages: ikp3db
Building wheel for ikp3db (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/bin/pypy3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xxvhg4yu/ikp3db/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xxvhg4yu/ikp3db/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-kszhtsgq --python-tag pp372
cwd: /tmp/pip-install-xxvhg4yu/ikp3db/
Complete output (76 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying ikp3db.py -> build/lib.linux-x86_64-3.6
running egg_info
writing ikp3db.egg-info/PKG-INFO
writing dependency_links to ikp3db.egg-info/dependency_links.txt
writing top-level names to ikp3db.egg-info/top_level.txt
reading manifest file 'ikp3db.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ikp3db.egg-info/SOURCES.txt'
running build_ext
building 'iksettrace3' extension
creating build/temp.linux-x86_64-3.6
gcc -pthread -DNDEBUG -O2 -fPIC -I/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include -c iksettrace3.c -o build/temp.linux-x86_64-3.6/iksettrace3.o
iksettrace3.c: In function 'call_trampoline':
iksettrace3.c:50:9: warning: implicit declaration of function 'PyFrame_FastToLocalsWithError' [-Wimplicit-function-declaration]
if (PyFrame_FastToLocalsWithError(frame) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iksettrace3.c:58:14: warning: implicit declaration of function '_PyObject_FastCall' [-Wimplicit-function-declaration]
result = _PyObject_FastCall(callback, stack, 3);
^~~~~~~~~~~~~~~~~~
iksettrace3.c:58:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
result = _PyObject_FastCall(callback, stack, 3);
^
iksettrace3.c:60:5: warning: implicit declaration of function 'PyFrame_LocalsToFast' [-Wimplicit-function-declaration]
PyFrame_LocalsToFast(frame, 1);
^~~~~~~~~~~~~~~~~~~~
iksettrace3.c: In function 'trace_trampoline':
iksettrace3.c:75:17: error: 'PyTrace_CALL' undeclared (first use in this function)
if (what == PyTrace_CALL)
^~~~~~~~~~~~
iksettrace3.c:75:17: note: each undeclared identifier is reported only once for each function it appears in
iksettrace3.c:78:25: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
callback = frame->f_trace;
^~
iksettrace3.c:83:9: warning: implicit declaration of function 'PyEval_SetTrace' [-Wimplicit-function-declaration]
PyEval_SetTrace(NULL, NULL);
^~~~~~~~~~~~~~~
In file included from /usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/Python.h:79:0,
from iksettrace3.c:1:
iksettrace3.c:84:23: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_CLEAR(frame->f_trace);
^
/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/object.h:72:42: note: in definition of macro 'Py_CLEAR'
PyObject *_py_tmp = (PyObject *)(op); \
^~
iksettrace3.c:84:23: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_CLEAR(frame->f_trace);
^
/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/object.h:74:14: note: in definition of macro 'Py_CLEAR'
(op) = NULL; \
^~
iksettrace3.c:88:25: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_XSETREF(frame->f_trace, result);
^
iksettrace3.c:88:9: note: in expansion of macro 'Py_XSETREF'
Py_XSETREF(frame->f_trace, result);
^~~~~~~~~~
iksettrace3.c:88:25: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_XSETREF(frame->f_trace, result);
^
/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/object.h:89:10: note: in definition of macro 'Py_XSETREF'
(op) = (op2); \
^~
iksettrace3.c: At top level:
iksettrace3.c:102:13: error: unknown type name 'Py_tracefunc'
IK_SetTrace(Py_tracefunc func, PyObject *arg)
^~~~~~~~~~~~
iksettrace3.c: In function '_ik_set_trace_on':
iksettrace3.c:149:5: warning: implicit declaration of function 'IK_SetTrace' [-Wimplicit-function-declaration]
IK_SetTrace(trace_trampoline, traceObject);
^~~~~~~~~~~
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for ikp3db
Running setup.py clean for ikp3db
Failed to build ikp3db
Installing collected packages: ikp3db
Running setup.py install for ikp3db ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/bin/pypy3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xxvhg4yu/ikp3db/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xxvhg4yu/ikp3db/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-o4hgobff/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-xxvhg4yu/ikp3db/
Complete output (76 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
copying ikp3db.py -> build/lib.linux-x86_64-3.6
running egg_info
writing ikp3db.egg-info/PKG-INFO
writing dependency_links to ikp3db.egg-info/dependency_links.txt
writing top-level names to ikp3db.egg-info/top_level.txt
reading manifest file 'ikp3db.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'ikp3db.egg-info/SOURCES.txt'
running build_ext
building 'iksettrace3' extension
creating build/temp.linux-x86_64-3.6
gcc -pthread -DNDEBUG -O2 -fPIC -I/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include -c iksettrace3.c -o build/temp.linux-x86_64-3.6/iksettrace3.o
iksettrace3.c: In function 'call_trampoline':
iksettrace3.c:50:9: warning: implicit declaration of function 'PyFrame_FastToLocalsWithError' [-Wimplicit-function-declaration]
if (PyFrame_FastToLocalsWithError(frame) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iksettrace3.c:58:14: warning: implicit declaration of function '_PyObject_FastCall' [-Wimplicit-function-declaration]
result = _PyObject_FastCall(callback, stack, 3);
^~~~~~~~~~~~~~~~~~
iksettrace3.c:58:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
result = _PyObject_FastCall(callback, stack, 3);
^
iksettrace3.c:60:5: warning: implicit declaration of function 'PyFrame_LocalsToFast' [-Wimplicit-function-declaration]
PyFrame_LocalsToFast(frame, 1);
^~~~~~~~~~~~~~~~~~~~
iksettrace3.c: In function 'trace_trampoline':
iksettrace3.c:75:17: error: 'PyTrace_CALL' undeclared (first use in this function)
if (what == PyTrace_CALL)
^~~~~~~~~~~~
iksettrace3.c:75:17: note: each undeclared identifier is reported only once for each function it appears in
iksettrace3.c:78:25: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
callback = frame->f_trace;
^~
iksettrace3.c:83:9: warning: implicit declaration of function 'PyEval_SetTrace' [-Wimplicit-function-declaration]
PyEval_SetTrace(NULL, NULL);
^~~~~~~~~~~~~~~
In file included from /usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/Python.h:79:0,
from iksettrace3.c:1:
iksettrace3.c:84:23: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_CLEAR(frame->f_trace);
^
/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/object.h:72:42: note: in definition of macro 'Py_CLEAR'
PyObject *_py_tmp = (PyObject *)(op); \
^~
iksettrace3.c:84:23: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_CLEAR(frame->f_trace);
^
/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/object.h:74:14: note: in definition of macro 'Py_CLEAR'
(op) = NULL; \
^~
iksettrace3.c:88:25: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_XSETREF(frame->f_trace, result);
^
iksettrace3.c:88:9: note: in expansion of macro 'Py_XSETREF'
Py_XSETREF(frame->f_trace, result);
^~~~~~~~~~
iksettrace3.c:88:25: error: 'PyFrameObject {aka struct _frame}' has no member named 'f_trace'
Py_XSETREF(frame->f_trace, result);
^
/usr/local/share/pypy3.6-7.2.0-linux_x86_64-portable/include/object.h:89:10: note: in definition of macro 'Py_XSETREF'
(op) = (op2); \
^~
iksettrace3.c: At top level:
iksettrace3.c:102:13: error: unknown type name 'Py_tracefunc'
IK_SetTrace(Py_tracefunc func, PyObject *arg)
^~~~~~~~~~~~
iksettrace3.c: In function '_ik_set_trace_on':
iksettrace3.c:149:5: warning: implicit declaration of function 'IK_SetTrace' [-Wimplicit-function-declaration]
IK_SetTrace(trace_trampoline, traceObject);
^~~~~~~~~~~
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1
```
More information about the pypy-issue
mailing list