Source: fast-histogram Version: 0.4-1 Severity: serious fast-histogram fails to build from source in sbuild on unstable/amd64. A build log ends with:
| dh_auto_build -O--buildsystem=pybuild | I: pybuild base:217: /usr/bin/python3.7 setup.py build | running build | running build_py | creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_fast-histogram/build/fast_histogram | copying fast_histogram/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_fast-histogram/build/fast_histogram | copying fast_histogram/histogram.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_fast-histogram/build/fast_histogram | creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_fast-histogram/build/fast_histogram/tests | copying fast_histogram/tests/test_histogram.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_fast-histogram/build/fast_histogram/tests | copying fast_histogram/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_fast-histogram/build/fast_histogram/tests | running build_ext | building 'fast_histogram._histogram_core' extension | creating build | creating build/temp.linux-amd64-3.7 | creating build/temp.linux-amd64-3.7/fast_histogram | x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fast_histogram/_histogram_core.c -o build/temp.linux-amd64-3.7/fast_histogram/_histogram_core.o | fast_histogram/_histogram_core.c:1:10: fatal error: Python.h: No such file or directory | #include <Python.h> | ^~~~~~~~~~ | compilation terminated. | error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: /usr/bin/python3.7 setup.py build | dh_auto_build: pybuild --build -i python{version} -p "3.7 3.6" returned exit code 13 | make: *** [debian/rules:9: build] Error 25 | dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 It also fails to build during reproducible tests: https://tests.reproducible-builds.org/debian/rbuild/unstable/i386/fast-histogram_0.4-1.rbuild.log.gz Helmut