Source: python-gmpy2 Version: 2.1.0~b5-0.1 Severity: important Tags: ftbfs User: debian-pyt...@lists.debian.org Usertags: python3.10
python-gmpy2 ftbfs with python3-defaults from experimental: x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./src -I/usr/include/python3.10 -c src/gmpy2.c -o build/temp.linux-x86_64-3.10/src/gmpy2.o -DSHARED=1 In file included from src/gmpy2.c:461: src/gmpy2.h:446: warning: "Py_RETURN_NOTIMPLEMENTED" redefined 446 | #define Py_RETURN_NOTIMPLEMENTED \ | In file included from /usr/include/python3.10/Python.h:74, from src/gmpy2.c:445: /usr/include/python3.10/object.h:623: note: this is the location of the previous definition 623 | #define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented) | In file included from src/gmpy2.c:593: src/gmpy2_hash.c: In function ‘_mpfr_hash’: src/gmpy2_hash.c:150:20: error: ‘_PyHASH_NAN’ undeclared (first use in this function); did you mean ‘Py_IS_NAN’? 150 | return _PyHASH_NAN; | ^~~~~~~~~~~ | Py_IS_NAN src/gmpy2_hash.c:150:20: note: each undeclared identifier is reported only once for each function it appears in error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 E: pybuild pybuild:354: build: plugin distutils failed with: exit code=1: /usr/bin/python3.10 setup.py build