[Bug 252803] [PATCH] science/py-scikit-sparse fails to build with Python 3.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 18 12:53:37 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252803
Bug ID: 252803
Summary: [PATCH] science/py-scikit-sparse fails to build with
Python 3.9
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: yuri at freebsd.org
Reporter: maciej at pasternacki.net
Assignee: yuri at freebsd.org
Flags: maintainer-feedback?(yuri at freebsd.org)
Created attachment 221705
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221705&action=edit
py-scikit-sparse_python3.9.patch
The port fails to build with Python 3.9:
sksparse/cholmod.c:19722:40: error: no member named 'tp_print' in 'struct
_typeobject'
__pyx_type_8sksparse_7cholmod_Common.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
sksparse/cholmod.c:19731:40: error: no member named 'tp_print' in 'struct
_typeobject'
__pyx_type_8sksparse_7cholmod_Factor.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
sksparse/cholmod.c:19751:58: error: no member named 'tp_print' in 'struct
_typeobject'
__pyx_type_8sksparse_7cholmod__CholmodSparseDestructor.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
sksparse/cholmod.c:19762:57: error: no member named 'tp_print' in 'struct
_typeobject'
__pyx_type_8sksparse_7cholmod__CholmodDenseDestructor.tp_print = 0;
This is filed upstream as caused by C file pregenerated with an old version of
Cython (https://github.com/scikit-sparse/scikit-sparse/issues/62). Since this
port already has USE_PYTHON=cython, removing the C file forces the build to
regenerate it with current Cython and fixes the build.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list