insight fails to build with Python 3.9.0a6. python/python.c: In function 'bool do_start_initialization()': python/python.c:1621:23: error: 'void PyEval_InitThreads()' is deprecated [-Werror=deprecated-declarations] 1621 | PyEval_InitThreads (); | ^ In file included from /usr/include/python3.9/Python.h:143, from python/python-internal.h:86, from python/python.c:92: /usr/include/python3.9/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ CXX ravenscar-thread.o cc1plus: all warnings being treated as errors make[2]: *** [Makefile:1662: python/python.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/insight-10.0.50.20200110/gdb' make[1]: *** [Makefile:8741: all-gdb] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/insight-10.0.50.20200110' make: *** [Makefile:849: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.lJA8Cv (%build) As a temporary workaround, consider not building with -Werror=deprecated-declarations. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01365366-insight/ For all our attempts to build insight with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/insight/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
insight-10.0.50.20200110-4 should fix it. https://koji.fedoraproject.org/koji/taskinfo?taskID=44120778
Thanks.