Error building Cython wrappers (-D2GEOM_CYTHON_BINDINGS=ON)
When attempting to build lib2geom with Cython version 0.29.13 (using Python 3), it fails like:
make[2]: Entering directory '/tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/build'
[ 31%] Compiling Cython CXX source for _cy_conicsection...
cd /tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/build/src/cython && /gnu/store/8jrjfbd7kinn2s81lskchf6hja88lirc-python-cython-0.29.13/bin/cython --cplus -I /tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/lib2geom-1.0-1.5eb3544-checkout/src -I /tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/build -I /gnu/store/yx37pnwf56871n0nmf56wm3hwmv3mc33-python-3.7.4/include/python3.7m --gdb --output-file _cy_conicsection.cxx /tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/lib2geom-1.0-1.5eb3544-checkout/src/cython/_cy_conicsection.pyx
/gnu/store/8jrjfbd7kinn2s81lskchf6hja88lirc-python-cython-0.29.13/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/lib2geom-1.0-1.5eb3544-checkout/src/cython/_cy_conicsection.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
Args:
initial: Initial point of arc
inner: Inner point of arc.
final: Final point of arc.
"""
return wrap_EllipticalArc( deref(self.thisptr.arc(deref( initial.thisptr ), deref( inner.thisptr ), deref( final.thisptr ))) )
^
------------------------------------------------------------
/tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/lib2geom-1.0-1.5eb3544-checkout/src/cython/_cy_conicsection.pyx:68:57: Call with wrong number of arguments (expected 4, got 3)
Error compiling Cython file:
------------------------------------------------------------
...
Args:
initial: Initial point of arc
inner: Inner point of arc.
final: Final point of arc.
"""
return wrap_EllipticalArc( deref(self.thisptr.arc(deref( initial.thisptr ), deref( inner.thisptr ), deref( final.thisptr ))) )
^
------------------------------------------------------------
/tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/lib2geom-1.0-1.5eb3544-checkout/src/cython/_cy_conicsection.pyx:153:57: Call with wrong number of arguments (expected 4, got 3)
make[2]: *** [src/cython/CMakeFiles/_cy_conicsection.dir/build.make:85: src/cython/_cy_conicsection.cxx] Error 1
make[2]: src/cython/_cy_conicsection.cxx: Timestamp out of range; substituting 2514-05-30 01:53:03.999999999
make[2]: *** Deleting file 'src/cython/_cy_conicsection.cxx'
make[2]: Leaving directory '/tmp/guix-build-lib2geom-1.0-1.5eb3544.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:4209: src/cython/CMakeFiles/_cy_conicsection.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....