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/
See https://github.com/psycopg/psycopg2/issues/854 for the same bug with fix.
Can someone propose a patch for that purpose? I am not familiar with that line /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; Thanks
Marcel maybe?
Investigating.
This is currently blocked by vtk. Problem: package OpenImageIO-2.0.8-1.fc31.x86_64 requires libopencv_core.so.3.4()(64bit), but none of the providers can be installed - package OpenImageIO-2.0.8-1.fc31.x86_64 requires libopencv_imgproc.so.3.4()(64bit), but none of the providers can be installed - package OpenImageIO-2.0.8-1.fc31.x86_64 requires libopencv_videoio.so.3.4()(64bit), but none of the providers can be installed - package opencv-core-3.4.6-5.fc31.x86_64 requires libvtkCommonCore.so.1()(64bit), but none of the providers can be installed ... - package opencv-core-3.4.4-10.fc31.x86_64 requires libvtkRenderingGL2PSOpenGL2.so.1()(64bit), but none of the providers can be installed - package opencv-core-3.4.4-10.fc31.x86_64 requires libvtkRenderingLOD.so.1()(64bit), but none of the providers can be installed - package opencv-core-3.4.4-10.fc31.x86_64 requires libvtkRenderingOpenGL2.so.1()(64bit), but none of the providers can be installed - package vtk-8.2.0-4.fc31.x86_64 requires libpython3.7m.so.1.0()(64bit), but none of the providers can be installed
Blender will release 2.80 in a few days. We will try testing again.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
The coordinated rebuild of Python 3.8 has started in the `f32-python` side tag. If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead: on branch master: $ fedpkg build --target=f32-python To wait for a build to show up in the side tag, do: $ koji wait-repo f32-python --build=<nvr> Where <nvr> is name-version-release of the source package, e.g. python-foo-1.1-2.fc32. An updated mock config is posted at: http://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Note that it will take a while before the essential packages are rebuilt, so don't expect all your dependencies to be available right away. Thanks. Let us know if you need up to date info, or if you have any questions. PS this message is mass posted to all the bugs that block the PYTHON38 bug. If this is also a Fedora 31 FTBFS bug and you manage to fix it, you can do a f31 build as usual: on branch f31: $ fedpkg build
Rawhide was broken due to failed glibc dependency. Blender 2.80 is pushed to rawhide branch for trying out: https://src.fedoraproject.org/rpms/blender/blob/master/f/blender.spec
Blender 2.80 is now updated on the source. The build is successfully on x86_64 but failed on secondary architectures. https://koji.fedoraproject.org/koji/taskinfo?taskID=37046677
Failure on secondary architecture: ppc64le and s390x.
And now rebuilding is on https://koji.fedoraproject.org/koji/taskinfo?taskID=37047556
(In reply to Luya Tshimbalanga from comment #12) > And now rebuilding is on > https://koji.fedoraproject.org/koji/taskinfo?taskID=37047556 Trying to rebuild and use this on Fedora 30. Builds OK, starts OK, but menus are missing and unable to do anything. Just lot's of these messages on console: WARN (wm.keymap): /builddir/build/BUILD/blender-2.80/source/blender/windowmanager/intern/wm_keymap.c:467 WM_keymap_poll: empty keymap 'Window' WARN (wm.keymap): /builddir/build/BUILD/blender-2.80/source/blender/windowmanager/intern/wm_keymap.c:467 WM_keymap_poll: empty keymap 'Screen'
The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged: $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32 If your built already started in f32-python, after it is finished, please tag it to rawhide with: $ koji tag-build f32-pending <nvr> For example: $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32 Thanks! (This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.)
(Python 3.8 has landed in the rawhide buildroot.)
(In reply to Jan ONDREJ from comment #13) > (In reply to Luya Tshimbalanga from comment #12) > > And now rebuilding is on > > https://koji.fedoraproject.org/koji/taskinfo?taskID=37047556 > > Trying to rebuild and use this on Fedora 30. Builds OK, starts OK, but menus > are missing and unable to do anything. Just lot's of these messages on > console: > > WARN (wm.keymap): > /builddir/build/BUILD/blender-2.80/source/blender/windowmanager/intern/ > wm_keymap.c:467 WM_keymap_poll: empty keymap 'Window' > WARN (wm.keymap): > /builddir/build/BUILD/blender-2.80/source/blender/windowmanager/intern/ > wm_keymap.c:467 WM_keymap_poll: empty keymap 'Screen' The issue related to the menu should be fixed with the latest update.
Added dependent report which include information about the fix.
Closing this report as the built was successful. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4efb262af9
Thank you!