[Bug 1717013] New: blender fails to build with Python 3.8
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1717013
Bug ID: 1717013
Summary: blender fails to build with Python 3.8
Product: Fedora
Version: rawhide
Status: NEW
Component: blender
Severity: high
Assignee: luya_tfz(a)thefinalzone.net
Reporter: mhroncok(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: design-devel(a)lists.fedoraproject.org,
kwizart(a)gmail.com, luya_tfz(a)thefinalzone.net,
negativo17(a)gmail.com, promac(a)gmail.com
Blocks: 1686977 (PYTHON38)
Target Milestone: ---
Classification: Fedora
bledner 1:2.79b-17.fc30 fails to build with Python 3.8.0a4+,
[ 71%] Building C object
source/blender/python/intern/CMakeFiles/bf_python.dir/gpu.c.o
cd /builddir/build/BUILD/blender-2.79b/cmake-make/source/blender/python/intern
&& /usr/bin/cc -DBUILD_DATE -DNDEBUG -DWITH_ALEMBIC -DWITH_AUDASPACE -DWITH_AVI
-DWITH_BULLET -DWITH_CINEON -DWITH_COLLADA -DWITH_COMPOSITOR -DWITH_CYCLES
-DWITH_DDS -DWITH_FRAMESERVER -DWITH_FREESTYLE -DWITH_GAMEENGINE -DWITH_GLU
-DWITH_GL_PROFILE_COMPAT -DWITH_HDR -DWITH_INPUT_NDOF -DWITH_INTERNATIONAL
-DWITH_JACK -DWITH_LIBMV -DWITH_MOD_BOOLEAN -DWITH_MOD_FLUID -DWITH_MOD_REMESH
-DWITH_OCEANSIM -DWITH_OCIO -DWITH_OPENAL -DWITH_OPENEXR -DWITH_OPENIMAGEIO
-DWITH_OPENJPEG -DWITH_PLAYER -DWITH_PYTHON_SAFETY -DWITH_SDL -DWITH_SMOKE
-DWITH_SNDFILE -DWITH_TIFF -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.79b/source/blender/python
-I/builddir/build/BUILD/blender-2.79b/source/blender/blenkernel
-I/builddir/build/BUILD/blender-2.79b/source/blender/blenlib
-I/builddir/build/BUILD/blender-2.79b/source/blender/blenloader
-I/builddir/build/BUILD/blender-2.79b/source/blender/blentranslation
-I/builddir/build/BUILD/blender-2.79b/source/blender/editors/include
-I/builddir/build/BUILD/blender-2.79b/source/blender/gpu
-I/builddir/build/BUILD/blender-2.79b/source/blender/imbuf
-I/builddir/build/BUILD/blender-2.79b/source/blender/makesdna
-I/builddir/build/BUILD/blender-2.79b/source/blender/makesrna
-I/builddir/build/BUILD/blender-2.79b/source/blender/windowmanager
-I/builddir/build/BUILD/blender-2.79b/intern/cycles/blender
-I/builddir/build/BUILD/blender-2.79b/intern/opencolorio
-I/builddir/build/BUILD/blender-2.79b/intern/guardedalloc
-I/builddir/build/BUILD/blender-2.79b/source/blender/freestyle/intern/python
-I/builddir/build/BUILD/blender-2.79b/source/blender/alembic
-I/builddir/build/BUILD/blender-2.79b/source/blender/imbuf/intern/oiio -isystem
/usr/include/python3.8 -isystem /usr/include/SDL2 -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 -Wnonnull -Wmissing-include-dirs
-Wno-div-by-zero -Wtype-limits -Wformat-signedness -Wuninitialized
-Wredundant-decls -Wshadow -Wno-error=unused-but-set-variable
-Wimplicit-fallthrough=5 -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-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.dir/gpu.c.o -c
/builddir/build/BUILD/blender-2.79b/source/blender/python/intern/gpu.c
/builddir/build/BUILD/blender-2.79b/source/blender/python/intern/gpu.c: In
function 'GPU_initPython':
/builddir/build/BUILD/blender-2.79b/source/blender/python/intern/gpu.c:326:53:
error: dereferencing pointer to incomplete type 'PyInterpreterState' {aka
'struct _is'}
326 | PyObject *sys_modules = PyThreadState_GET()->interp->modules;
| ^~
make[2]: ***
[source/blender/python/intern/CMakeFiles/bf_python.dir/build.make:66:
source/blender/python/intern/CMakeFiles/bf_python.dir/gpu.c.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/blender-2.79b/cmake-make'
make[1]: *** [CMakeFiles/Makefile2:6532:
source/blender/python/intern/CMakeFiles/bf_python.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/builddir/build/BUILD/blender-2.79b/cmake-make'
I've seen this error fixed in another project(s) before, will just need to
remember where.
Logs and mock config at:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/blender/
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1686977
[Bug 1686977] Python 3.8
--
You are receiving this mail because:
You are on the CC list for the bug.
4 years, 6 months
[Bug 1685039] New: [abrt] gimp-layer-via-copy-cut: syntax():
layer-via-copy-cut.py:27:<module>: File
"/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1685039
Bug ID: 1685039
Summary: [abrt] gimp-layer-via-copy-cut: syntax():
layer-via-copy-cut.py:27:<module>: File
"/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
Product: Fedora
Version: 29
Hardware: x86_64
Status: NEW
Whiteboard: abrt_hash:1e42c4a1449f1f54b3a73620f07d27dffc7b2059;VAR
IANT_ID=workstation;
Component: gimp-layer-via-copy-cut
Assignee: luya_tfz(a)thefinalzone.net
Reporter: stefan998(a)aim.com
QA Contact: extras-qa(a)fedoraproject.org
CC: design-devel(a)lists.fedoraproject.org,
luya_tfz(a)thefinalzone.net
Target Milestone: ---
Classification: Fedora
Description of problem:
Gimp was loading to open a PDF-file and Audacious were running
Version-Release number of selected component:
gimp-layer-via-copy-cut-1.6-12.fc29
Additional info:
reporter: libreport-2.10.0
cmdline: /usr/bin/python3 -s
/usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py -gimp 13 12 -query 0
crash_function: syntax
exception_type: SyntaxError
executable: /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py
interpreter: python3-3.7.2-4.fc29.x86_64
kernel: 4.20.13-200.fc29.x86_64
runlevel: N 5
type: Python3
uid: 1000
Truncated backtrace:
layer-via-copy-cut.py:27:<module>: File
"/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
Traceback (most recent call last):
File "/usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py", line 27, in
<module>
from gimpfu import *
File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
raise error, "procedure name contains illegal characters"
^
SyntaxError: invalid syntax
Local variables in innermost frame:
__name__: '__main__'
__doc__: None
__package__: None
__loader__: <_frozen_importlib_external.SourceFileLoader object at
0x7fc52ced1b38>
__spec__: None
__annotations__: {}
__builtins__: <module 'builtins' (built-in)>
__file__: '/usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py'
__cached__: None
--
You are receiving this mail because:
You are on the CC list for the bug.
4 years, 8 months