Bug#972020: pykdtree ftbfs with python3.9 as supported python version
Matthias Klose
doko at debian.org
Sun Oct 11 16:05:49 BST 2020
Package: src:pykdtree
Version: 1.3.1-4
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9
[...]
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 -I/usr/include/python3.9
-I/usr/lib/python3/dist-packages/numpy/core/include -c pykdtree/kdtree.c -o
build/temp.linux-x86_64-3.9/pykdtree/kdtree.o -std=c99 -O3 -fopenmp
In file included from /usr/include/python3.9/numpy/ndarraytypes.h:1822,
from /usr/include/python3.9/numpy/ndarrayobject.h:12,
from /usr/include/python3.9/numpy/arrayobject.h:4,
from pykdtree/kdtree.c:525:
/usr/include/python3.9/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning
"Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API
NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
pykdtree/kdtree.c: In function ‘PyInit_kdtree’:
pykdtree/kdtree.c:8027:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has
no member named ‘tp_print’
8027 | __pyx_type_8pykdtree_6kdtree_KDTree.tp_print = 0;
| ^
More information about the Pkg-grass-devel
mailing list