Bug#973285: freecad ftbfs with python3.9

Matthias Klose doko at debian.org
Wed Oct 28 08:22:58 GMT 2020


Package: src:freecad
Version: 0.18.4+dfsg2-5
Severity: serious
Tags: sid bullseye
User: debian-python at 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;
      |            ^~~~~~~~



More information about the debian-science-maintainers mailing list