[pypy-issue] Issue #2550: cpyext_object.h: No such file or directory (pypy/pypy)

Iain Buclaw issues-reply at bitbucket.org
Tue May 2 07:10:09 EDT 2017


New issue 2550: cpyext_object.h: No such file or directory
https://bitbucket.org/pypy/pypy/issues/2550/cpyext_objecth-no-such-file-or-directory

Iain Buclaw:

It looks like there's a new include dependency in pypy, but this is not included in the pypy-dev package for 5.7.1+dfsg-1~ppa1~ubuntu16.04.

This makes at least building Twisted FTBFS.

```
    gcc -pthread -DNDEBUG -O2 -fPIC -I/srv/graphite/include -c src/twisted/python/_sendmsg.c -o build/temp.linux-x86_64-2.7/src/twisted/python/_sendmsg.o
    In file included from /srv/graphite/include/Python.h:81:0,
                     from src/twisted/python/_sendmsg.c:7:
    /srv/graphite/include/object.h:10:27: fatal error: cpyext_object.h: No such file or directory
     #include "cpyext_object.h"
                               ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

```

```
grep cpyext_object /usr/lib/pypy/include -nR
/usr/lib/pypy/include/object.h:10:#include "cpyext_object.h"
```




More information about the pypy-issue mailing list