Package: src:pyhst2 Version: 2020a-3 Severity: serious Tags: sid bullseye ftbfs User: debian-pyt...@lists.debian.org Usertags: python3.9
pyhst2 ftbfs with python3.9; to reproduce, you can use the repositories found at: deb [trusted=yes] http://people.debian.org/~doko/tmp/python3.9 ./ deb [trusted=yes] http://people.debian.org/~ginggs/python3.9-repo ./ see https://people.debian.org/~ginggs/python3.9-default/pyhst2_2020a-3build1_amd64-2020-10-25T06:41:37Z.build [...] dh build --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:217: python3.8 setup.py config running config I: pybuild base:217: python3.9 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python3.8 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/congrid.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/combina.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/phasesimple.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/phase.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/Control.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/pyhst_segment.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/getSysOutput.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/string_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/PyHST.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/NNFBPTrain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/pyhst_jp2edf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/setCpuSet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/tomography.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/getCpuSetRange.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/pyhst_unsharp3D_.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/pyhst_.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/EdfFile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/LTSparsePrep.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/sirtfilter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b copying PyHST/Parameters_module.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/test copying PyHST/test/test_all.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/test copying PyHST/test/stop_test_integrate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/test copying PyHST/test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/test copying PyHST/test/test_dummy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/test copying PyHST/test/utilstest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/test copying PyHST/test/test_crayon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/test creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/third_party copying PyHST/third_party/setup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/third_party copying PyHST/third_party/enum.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/third_party copying PyHST/third_party/transformations.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/third_party copying PyHST/third_party/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/third_party copying PyHST/third_party/six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyhst2/build/PyHST2_2019b/third_party running build_ext cythoning PyHST/segment/segment_cy.pyx to PyHST/segment/segment_cy.cpp building 'PyHST2_2019b.Cspace' extension Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed. C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC creating build creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/PyHST creating build/temp.linux-x86_64-3.8/PyHST/Cspace compile options: '-I/usr/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/openmpi/ -I/usr/include/hdf5/serial/ -I/usr/include/python3.8 -c' extra options: 'gcc' mpicc: PyHST/Cspace/CCspace.c mpicc: PyHST/Cspace/cpyutils.c mpicc: PyHST/Cspace/Cspace.c mpicc: PyHST/Cspace/edftools.c mpicc: PyHST/Cspace/pyhst_nnfbp.c mpicc: PyHST/Cspace/cpu_main.c PyHST/Cspace/Cspace.c:33:9: fatal error: Python.h: No such file or directory 33 | #include"Python.h" | ^~~~~~~~~~ compilation terminated. PyHST/Cspace/cpyutils.c:33:9: fatal error: Python.h: No such file or directory 33 | #include"Python.h" | ^~~~~~~~~~ compilation terminated. error: Command "mpicc -I/usr/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/openmpi/ -I/usr/include/hdf5/serial/ -I/usr/include/python3.8 -c PyHST/Cspace/cpyutils.c -o build/temp.linux-x86_64-3.8/PyHST/Cspace/cpyutils.o -fPIC -fopenmp" failed with exit status 1 E: pybuild pybuild:352: build: plugin distutils failed with: exit code=1: /usr/bin/python3.8 setup.py build dh_auto_build: error: pybuild --build -i python{version} -p "3.8 3.9" returned exit code 13