Source: pyrsistent
Version: 0.20.0-1
Severity: normal
Tags: upstream
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/tobgu/pyrsistent/pull/284
running build_ext
building 'pvectorc' extension
creating build/temp.linux-aarch64-cpython-313
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/python3.13 -c pvectorcmodule.c -o
build/temp.linux-aarch64-cpython-313/pvectorcmodule.o
pvectorcmodule.c: In function ‘PVectorEvolver_extend’:
pvectorcmodule.c:1316:22: error: implicit declaration of function
‘_PyList_Extend’; did you mean ‘PyList_Extend’?
[-Wimplicit-function-declaration]
1316 | PyObject *retVal = _PyList_Extend((PyListObject *)self->appendList,
args);
| ^~~~~~~~~~~~~~
| PyList_Extend
pvectorcmodule.c:1316:22: error: initialization of ‘PyObject *’ {aka ‘struct
_object *’} from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
********************************************************************************
WARNING: Could not build the pvectorc extension module.
Pyrsistent will still work but performance may be degraded.
The output above this warning shows how the compilation failed.
********************************************************************************
Looks like upstream has a PR to fix this:
https://github.com/tobgu/pyrsistent/pull/284
Stefano