[pypy-issue] Issue #2687: PyPy3 is missing pystrhex.h, breaking pysha3 (pypy/pypy)

Michał Górny issues-reply at bitbucket.org
Thu Oct 26 10:46:31 EDT 2017


New issue 2687: PyPy3 is missing pystrhex.h, breaking pysha3
https://bitbucket.org/pypy/pypy/issues/2687/pypy3-is-missing-pystrhexh-breaking-pysha3

Michał Górny:

```
$ pypy3 --version
Python 3.5.3 (d72f9800a42b46a8056951b1da2426d2c2d8d502, Oct 08 2017, 10:51:34)
[PyPy 5.9.0-beta0 with GCC 5.4.0]
```

It seems that CPython 3.5 introduced a new `pystrhex.h` header that some modules such as pysha3 are relying on. As a result, pysha3 fails to build:

```
$ git clone https://github.com/tiran/pysha3
$ cd pysha3
$ pypy3 setup.py build
running build
running build_py
running build_ext
building '_pysha3' extension
cc -pthread -fPIC -DPY_WITH_KECCAK=1 -I/usr/lib64/pypy3/include -c Modules/_sha3/sha3module.c -o build/temp.linux-x86_64-3.5/Modules/_sha3/sha3module.o
In file included from Modules/_sha3/sha3module.c:20:0:
Modules/_sha3/backport.inc:78:22: fatal error: pystrhex.h: No such file or directory
compilation terminated.
error: command 'cc' failed with exit status 1
```




More information about the pypy-issue mailing list