On Wed, 28 Oct 2020 09:22:58 +0100 Matthias Klose <d...@debian.org> wrote: > Package: src:freecad > Version: 0.18.4+dfsg2-5 > Severity: serious > Tags: sid bullseye > User: debian-pyt...@lists.debian.org > Usertags: python3.9 > > to reproduce, you can use the repositories found at: > > deb [trusted=yes] http://people.debian.org/~doko/tmp/python3.9 ./ > deb [trusted=yes] http://people.debian.org/~ginggs/python3.9-repo ./ > > this doesn't look 3.9 specific, but looks like a missing call to cython3. Please > make sure that cython is run for all files during the build. > > [...] > In file included from > /<<BUILDDIR>>/freecad-0.18.4+dfsg2/src/CXX/cxx_extensions.cxx:42: > /<<BUILDDIR>>/freecad-0.18.4+dfsg2/src/CXX/Python3/cxx_extensions.cxx: In > constructor ‘Py::PythonType::PythonType(size_t, int, const char*)’: > /<<BUILDDIR>>/freecad-0.18.4+dfsg2/src/CXX/Python3/cxx_extensions.cxx:384:12: > error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named > ‘tp_print’ > 384 | table->tp_print = 0; > | ^~~~~~~~ > /<<BUILDDIR>>/freecad-0.18.4+dfsg2/src/CXX/Python3/cxx_extensions.cxx: In member > function ‘Py::PythonType& Py::PythonType::supportPrint()’: > /<<BUILDDIR>>/freecad-0.18.4+dfsg2/src/CXX/Python3/cxx_extensions.cxx:527:12: > error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named > ‘tp_print’ > 527 | table->tp_print = print_handler; > | ^~~~~~~~ > >
Discussed upstream and possibly patch available: https://forum.freecadweb.org/viewtopic.php?f=10&t=47348 -- tobi