https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Bug ID: 1734980 Summary: blender: FTBFS in Fedora rawhide/f31 Product: Fedora Version: rawhide Status: NEW Component: blender Assignee: luya_tfz@thefinalzone.net Reporter: releng@fedoraproject.org QA Contact: extras-qa@fedoraproject.org CC: design-devel@lists.fedoraproject.org, kwizart@gmail.com, luya_tfz@thefinalzone.net, negativo17@gmail.com, promac@gmail.com Blocks: 1732841 Target Milestone: --- Classification: Fedora
blender failed to build from source in Fedora rawhide/f31
https://koji.fedoraproject.org/koji/taskinfo?taskID=36632157
For details on the mass rebuild see:
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Please fix blender at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, blender will be orphaned. Before branching of Fedora 32, blender will be retired, if it still fails to build.
For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1732841 [Bug 1732841] (F31FTBFS) - Fedora 31 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #1 from Fedora Release Engineering releng@fedoraproject.org --- Created attachment 1595469 --> https://bugzilla.redhat.com/attachment.cgi?id=1595469&action=edit build.log
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #2 from Fedora Release Engineering releng@fedoraproject.org --- Created attachment 1595470 --> https://bugzilla.redhat.com/attachment.cgi?id=1595470&action=edit root.log
file root.log too big, will only attach last 32768 bytes
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #3 from Fedora Release Engineering releng@fedoraproject.org --- Created attachment 1595471 --> https://bugzilla.redhat.com/attachment.cgi?id=1595471&action=edit state.log
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Miro Hrončok mhroncok@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1700317 (F31FTBFS)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1700317 [Bug 1700317] Fedora 31 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Depends On| |1735421
--- Comment #4 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Offender are OpenImageIO and OpenCV according to the build.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1735421 [Bug 1735421] OpenImageIO: FTBFS in Fedora rawhide/f31
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Ben Cotton bcotton@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|rawhide |31
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #5 from Ben Cotton bcotton@redhat.com --- This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
https://bugzilla.redhat.com/show_bug.cgi?id=1734980 Bug 1734980 depends on bug 1735421, which changed state.
Bug 1735421 Summary: OpenImageIO: FTBFS in Fedora rawhide/f31 https://bugzilla.redhat.com/show_bug.cgi?id=1735421
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Petr Viktorin pviktori@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pviktori@redhat.com
--- Comment #6 from Petr Viktorin pviktori@redhat.com --- The issue Blender hits is:
/builddir/build/BUILD/blender-2.80/source/blender/python/generic/py_capi_utils.c:722:30: erro r: dereferencing pointer to incomplete type 'PyInterpreterState' {aka 'struct _is'} 722 | PyDict_SetItemString(interp->modules, "__main__", mod_main); | ^~ make[2]: *** [source/blender/python/generic/CMakeFiles/bf_python_ext.dir/build.make:131: sour
This is one of several other attempts to access "interp->modules". The interpreter state is private API, and from Python 3.8 it is an opaque struct. I haven't followed the interp changes closely enough, and I'm not familiar with this part of CPython. Victor, you might know: what's the best way to get "sys.modules" from C code? (If you don't know off the top of your head, I can search further.)
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Petr Viktorin pviktori@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vstinner@redhat.com Flags| |needinfo?(vstinner@redhat.c | |om)
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Petr Viktorin pviktori@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(vstinner@redhat.c | |om) |
--- Comment #7 from Petr Viktorin pviktori@redhat.com --- "interp->modules" should be replaced by the public API function PyImport_GetModuleDict.
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #8 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- (In reply to Petr Viktorin from comment #7)
"interp->modules" should be replaced by the public API function PyImport_GetModuleDict.
Can someone create a patch on the issue ready to submit for upstream? Thanks.
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Marcel Plch mplch@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mplch@redhat.com
--- Comment #9 from Marcel Plch mplch@redhat.com --- I would be interested in making my first contribution to Blender. I'll take a look at this.
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #10 from Marcel Plch mplch@redhat.com --- I have created an upstream fix and it got merged: https://developer.blender.org/D6038
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #11 from Victor Stinner vstinner@redhat.com ---
I have created an upstream fix and it got merged: https://developer.blender.org/D6038
Yeah, congrats Marcel ;-)
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
--- Comment #12 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- (In reply to Marcel Plch from comment #10)
I have created an upstream fix and it got merged: https://developer.blender.org/D6038
Thank you Marcel for the fix. I added the patch which successfully built Blender with Python 3.8. https://koji.fedoraproject.org/koji/taskinfo?taskID=38335799
Update will come soon.
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1717013
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1717013 [Bug 1717013] blender fails to build with Python 3.8
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|31 |rawhide Blocks|1700317 (F31FTBFS) | Summary|blender: FTBFS in Fedora |blender: FTBFS in Fedora |rawhide/f31 |rawhide/f32
--- Comment #13 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Remove F31FTBS tag as build on Python 3.7. and change the title for Rawhide/f32
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1700317 [Bug 1700317] Fedora 31 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1734980
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE Last Closed| |2019-10-17 08:59:28
--- Comment #14 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Closing this report as the fix made Blender built with Python 3.8 and ported on other release.
https://bugzilla.redhat.com/show_bug.cgi?id=1734980 Bug 1734980 depends on bug 1717013, which changed state.
Bug 1717013 Summary: blender fails to build with Python 3.8 https://bugzilla.redhat.com/show_bug.cgi?id=1717013
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE
design-devel@lists.fedoraproject.org