Bug#973292: blender ftbfs with python3.9

2020-11-02 Thread Gianfranco Costamagna
control: tags -1 patch fixed-upstream

this commit
https://github.com/blender/blender/commit/56d0df51a36fdce7ec2d1fbb7b47b1d95b591b5f

Might be the fix

G.

On Wed, 28 Oct 2020 09:27:15 +0100 Matthias Klose  wrote:
> Package: src:blender
> Version: 2.83.5+dfsg-3
> Severity: serious
> Tags: sid bullseye ftbfs
> User: debian-pyt...@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
> 
> 
> [...]
> /<>/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
> /<>/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);
>   |  ^~~~
>   |  )
> /<>/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)
>   |~~^~~~
> /<>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:
> In function ‘Matrix_normalized’:
> /<>/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
> /<>/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);
>   |  ^~~~
>   |  )
> /<>/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)
>   |~~^~~~
> 
> 



Bug#973292: blender ftbfs with python3.9

2020-10-28 Thread Matthias Klose
Package: src:blender
Version: 2.83.5+dfsg-3
Severity: serious
Tags: sid bullseye ftbfs
User: debian-pyt...@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


[...]
/<>/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
/<>/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);
  |  ^~~~
  |  )
/<>/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)
  |~~^~~~
/<>/blender-2.83.5+dfsg/source/blender/python/mathutils/mathutils_Matrix.c:
In function ‘Matrix_normalized’:
/<>/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
/<>/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);
  |  ^~~~
  |  )
/<>/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)
  |~~^~~~