Bug#973292: blender ftbfs with python3.9
Package: src:blender
Version: 2.83.5+dfsg-3
Severity: serious
Tags: sid bullseye ftbfs
User: debian-python@lists.debian.org
Usertags: python3.9
to reproduce, you can use the repositories found at:
deb [trusted=yes] http://people.debian.org/~doko/tmp/python3.9 ./
deb [trusted=yes] http://people.debian.org/~ginggs/python3.9-repo ./
https://people.debian.org/~ginggs/python3.9-default/blender_2.83.5+dfsg-3+build1_amd64-2020-10-26T09:00:19Z.build
[...]
/<<BUILDDIR>>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:1948:33:
error: ‘PyNoArgsFunction’ undeclared (first use in this function); did you mean
‘PyCFunction’?
1948 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_transpose, self);
| ^~~~~~~~~~~~~~~~
| PyCFunction
/<<BUILDDIR>>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:1948:50:
error: expected ‘)’ before ‘Matrix_transpose’
1948 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_transpose, self);
| ^~~~~~~~~~~~~~~~
| )
/<<BUILDDIR>>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:1946:50:
warning: unused parameter ‘self’ [-Wunused-parameter]
1946 | static PyObject *Matrix_transposed(MatrixObject *self)
| ~~~~~~~~~~~~~~^~~~
/<<BUILDDIR>>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:
In function ‘Matrix_normalized’:
/<<BUILDDIR>>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:1994:33:
error: ‘PyNoArgsFunction’ undeclared (first use in this function); did you mean
‘PyCFunction’?
1994 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_normalize, self);
| ^~~~~~~~~~~~~~~~
| PyCFunction
/<<BUILDDIR>>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:1994:50:
error: expected ‘)’ before ‘Matrix_normalize’
1994 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_normalize, self);
| ^~~~~~~~~~~~~~~~
| )
/<<BUILDDIR>>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:1992:50:
warning: unused parameter ‘self’ [-Wunused-parameter]
1992 | static PyObject *Matrix_normalized(MatrixObject *self)
| ~~~~~~~~~~~~~~^~~~
Reply to: