[Debian-astro-maintainers] Bug#972772: pybdsf ftbfs with python3.9

Matthias Klose doko at debian.org
Fri Oct 23 10:57:23 BST 2020


Package: src:pybdsf
Version: 1.9.2-2
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

pybdsf ftbfs with python3.9 (python3-defaults from experimenal):

https://people.debian.org/~ginggs/python3.9-default/pybdsf_1.9.2-2build1_amd64-2020-10-22T13:21:38Z.build

[...]


compile options: '-Ibuild/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf
-I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.8 -c'
x86_64-linux-gnu-gcc:
build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf/fortranobject.c
x86_64-linux-gnu-gcc: build/src.linux-x86_64-3.8/bdsf/_pytesselatemodule.c
In file included from
build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf/fortranobject.c:2:
build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf/fortranobject.h:7:10:
fatal error: Python.h: No such file or directory
    7 | #include "Python.h"
      |          ^~~~~~~~~~
compilation terminated.
build/src.linux-x86_64-3.8/bdsf/_pytesselatemodule.c:14:10: fatal error:
Python.h: No such file or directory
   14 | #include "Python.h"
      |          ^~~~~~~~~~
compilation terminated.
error: Command "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
-Ibuild/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf
-I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.8 -c
build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf/fortranobject.c -o
build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf/fortranobject.o
-MMD -MF
build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/bdsf/fortranobject.o.d"
failed with exit status 1



More information about the Debian-astro-maintainers mailing list