Bug#1000292: pyhst2: FTBFS against Python 3.10

Andreas Beckmann anbe at debian.org
Sat Nov 20 23:13:17 GMT 2021


Source: pyhst2
Version: 2020c-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

2020c-3 FTBFS since Python 3.10 got added as a supported version:

[
creating build
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/PyHST
creating build/temp.linux-x86_64-3.10/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.10 -c'
extra options: 'gcc'
 EXTRA  {'gcc': ['-fPIC', '-fopenmp', '-g', '-std=c99', '-Wall']}
mpicc: PyHST/Cspace/CCspace.c
 EXTRA  {'gcc': ['-fPIC', '-fopenmp', '-g', '-std=c99', '-Wall']}
mpicc: PyHST/Cspace/Cspace.c
 EXTRA  {'gcc': ['-fPIC', '-fopenmp', '-g', '-std=c99', '-Wall']}
mpicc: PyHST/Cspace/cpyutils.c
 EXTRA  {'gcc': ['-fPIC', '-fopenmp', '-g', '-std=c99', '-Wall']}
mpicc: PyHST/Cspace/pyhst_nnfbp.c
 EXTRA  {'gcc': ['-fPIC', '-fopenmp', '-g', '-std=c99', '-Wall']}
mpicc: PyHST/Cspace/edftools.c
 EXTRA  {'gcc': ['-fPIC', '-fopenmp', '-g', '-std=c99', '-Wall']}
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.
[...]


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyhst2.sid.build.gz
Type: application/gzip
Size: 27323 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211121/a9569d5c/attachment-0001.gz>


More information about the debian-science-maintainers mailing list