Bug#973285: freecad ftbfs with python3.9
Tobias Frost
tobi at debian.org
Thu Nov 19 18:11:59 GMT 2020
On Wed, 28 Oct 2020 09:22:58 +0100 Matthias Klose <doko at debian.org> wrote:
> 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;
> | ^~~~~~~~
>
>
Discussed upstream and possibly patch available:
https://forum.freecadweb.org/viewtopic.php?f=10&t=47348
--
tobi
More information about the debian-science-maintainers
mailing list