Package: cython Version: 0.28.4-1 Severity: grave Tags: upstream patch Justification: renders package unusable
Dear Maintainer, While building and testing an update to lasagne, I got the following error, which I have tracked down to cython. ``` E Exception: ('The following error happened while compiling the node', forall_inplace,cpu,scan_fn}(Elemwise{sub,no_inplace}.0, Subtensor{int64:int64:int64}.0, IncSubtensor{InplaceSet;:int64:}.0, Join.0), '\n', 'Compilation failed (return status=1): /<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp: In function ‘void __Pyx__ExceptionSave(PyThreadState*, PyObject**, PyObject**, PyObject**)’:. /<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12749:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?. *type = tstate->exc_type;. ^~~~~~~~. curexc_type. /<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12750:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?. *value = tstate->exc_value;. ^~~~~~~~~. curexc_value. /<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12751:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?. *tb = tstate->exc_traceback;. ^~~~~~~~~~~~~. curexc_traceback. /<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp: In function ‘void __Pyx__ExceptionReset(PyThreadState*, PyObject*, PyObject*, PyObject*)’:. /<<BUILDDIR>>/lasagne-0.1+git20181019.a61b76f/.pybuild/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid--3.7.2rc1-64/scan_perform/mod.cpp:12758:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?. tmp_type = tstate->exc_type;. ^~~~~~~~. ``` Lasagne uses theano, which run-time compiles Python extensions using cython. When used with python 3.7, cython generates code containing references to members of PyThreadState that do not exist. This seems to be related to an upstream bug which has been fixed: https://github.com/cython/cython/issues/1955 Therefore, I recommend upgrading the cython package to the latest release which is only a couple of weeks old. I have provided a merge request for this update here: https://salsa.debian.org/python-team/applications/cython/merge_requests/2 regards, Steve -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.15.0-42-generic (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages cython depends on: ii libc6 2.28-2 ii python 2.7.15-3 Versions of packages cython recommends: ii gcc 4:8.2.0-2 ii python-dev 2.7.15-3 Versions of packages cython suggests: pn cython-doc <none> -- no debconf information