https://bugzilla.redhat.com/show_bug.cgi?id=1843100
thrnciar(a)redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thrnciar(a)redhat.com
Blocks| |1803234 (F33FTBFS), 1785415
| |(PYTHON39)
Summary|F33FailsToInstall: blender |blender fails to build and
| |install error: unknown type
| |name 'PyNoArgsFunction';
| |did you mean 'PyCFunction'
--- Comment #1 from thrnciar(a)redhat.com ---
[ 44%] Building C object
source/blender/python/mathutils/CMakeFiles/bf_python_mathutils.dir/mathutils_Matrix.c.o
cd
/builddir/build/BUILD/blender-2.82a/cmake-make/source/blender/python/mathutils
&& /usr/bin/gcc -DNDEBUG -DWITH_ASSERT_ABORT -DWITH_OPENGL
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__
-I/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils
-I/builddir/build/BUILD/blender-2.82a/source/blender/blenkernel
-I/builddir/build/BUILD/blender-2.82a/source/blender/blenlib
-I/builddir/build/BUILD/blender-2.82a/source/blender/bmesh
-I/builddir/build/BUILD/blender-2.82a/source/blender/depsgraph
-I/builddir/build/BUILD/blender-2.82a/source/blender/makesdna
-I/builddir/build/BUILD/blender-2.82a/intern/guardedalloc -isystem
/usr/include/python3.9 -Wall -Wcast-align
-Werror=implicit-function-declaration -Werror=return-type -Werror=vla
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts
-Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings
-Wlogical-op -Wundef -Winit-self -Wmissing-include-dirs -Wno-div-by-zero
-Wtype-limits -Wformat-signedness -Wrestrict -Wnonnull -Wabsolute-value
-Wuninitialized -Wredundant-decls -Wshadow -Wno-error=unused-but-set-variable
-Wimplicit-fallthrough=5 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic
-msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fuse-ld=gold -fopenmp -std=gnu11
-msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -DNDEBUG -o
CMakeFiles/bf_python_mathutils.dir/mathutils_Matrix.c.o -c
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:45:40:
error: unknown type name 'PyNoArgsFunction'; did you mean 'PyCFunction'?
45 | static PyObject *matrix__apply_to_copy(PyNoArgsFunction matrix_func,
MatrixObject *self);
| ^~~~~~~~~~~~~~~~
| PyCFunction
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:398:40:
error: unknown type name 'PyNoArgsFunction'; did you mean 'PyCFunction'?
398 | static PyObject *matrix__apply_to_copy(PyNoArgsFunction matrix_func,
MatrixObject *self)
| ^~~~~~~~~~~~~~~~
| PyCFunction
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:
In function 'Matrix_adjugated':
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1714:10:
error: implicit declaration of function 'matrix__apply_to_copy'
[-Werror=implicit-function-declaration]
1714 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_adjugate,
self);
| ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1714:33:
error: 'PyNoArgsFunction' undeclared (first use in this function); did you mean
'PyCFunction'?
1714 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_adjugate,
self);
| ^~~~~~~~~~~~~~~~
| PyCFunction
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1714:33:
note: each undeclared identifier is reported only once for each function it
appears in
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1714:50:
error: expected ')' before 'Matrix_adjugate'
1714 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_adjugate,
self);
| ^~~~~~~~~~~~~~~
| )
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1712:49:
warning: unused parameter 'self' [-Wunused-parameter]
1712 | static PyObject *Matrix_adjugated(MatrixObject *self)
| ~~~~~~~~~~~~~~^~~~
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:
In function 'Matrix_transposed':
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1922:33:
error: 'PyNoArgsFunction' undeclared (first use in this function); did you mean
'PyCFunction'?
1922 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_transpose,
self);
| ^~~~~~~~~~~~~~~~
| PyCFunction
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1922:50:
error: expected ')' before 'Matrix_transpose'
1922 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_transpose,
self);
| ^~~~~~~~~~~~~~~~
| )
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1920:50:
warning: unused parameter 'self' [-Wunused-parameter]
1920 | static PyObject *Matrix_transposed(MatrixObject *self)
| ~~~~~~~~~~~~~~^~~~
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:
In function 'Matrix_normalized':
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1968:33:
error: 'PyNoArgsFunction' undeclared (first use in this function); did you mean
'PyCFunction'?
1968 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_normalize,
self);
| ^~~~~~~~~~~~~~~~
| PyCFunction
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1968:50:
error: expected ')' before 'Matrix_normalize'
1968 | return matrix__apply_to_copy((PyNoArgsFunction)Matrix_normalize,
self);
| ^~~~~~~~~~~~~~~~
| )
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1966:50:
warning: unused parameter 'self' [-Wunused-parameter]
1966 | static PyObject *Matrix_normalized(MatrixObject *self)
| ~~~~~~~~~~~~~~^~~~
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:
In function 'Matrix_adjugated':
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1715:1:
error: control reaches end of non-void function [-Werror=return-type]
1715 | }
| ^
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:
In function 'Matrix_normalized':
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1969:1:
error: control reaches end of non-void function [-Werror=return-type]
1969 | }
| ^
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:
In function 'Matrix_transposed':
/builddir/build/BUILD/blender-2.82a/source/blender/python/mathutils/mathutils_Matrix.c:1923:1:
error: control reaches end of non-void function [-Werror=return-type]
1923 | }
| ^
cc1: some warnings being treated as errors
make[2]: ***
[source/blender/python/mathutils/CMakeFiles/bf_python_mathutils.dir/build.make:125:
source/blender/python/mathutils/CMakeFiles/bf_python_mathutils.dir/mathutils_Matrix.c.o]
Error 1
make[2]: Leaving directory '/builddir/build/BUILD/blender-2.82a/cmake-make'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/builddir/build/BUILD/blender-2.82a/cmake-make'
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1785415
[Bug 1785415] Python 3.9
https://bugzilla.redhat.com/show_bug.cgi?id=1803234
[Bug 1803234] (F33FTBFS) - Fedora 33 FTBFS Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.