Source: scikit-learn
Version: 0.16.1-1
Severity: serious
Tags: sid experimental
Justification: fails to build from source
Usertags: ftbfs

Dear Maintainer,

The package fails to build in experimental, and in sid.

First, we get an..

Error compiling Cython file:
        cdef DTYPE_t sin_0 = sin(0.5 * (x1[0] - x2[0]))
        cdef DTYPE_t sin_1 = sin(0.5 * (x1[1] - x2[1]))
        return 2 * asin(sqrt(sin_0 * sin_0
                             + cos(x1[0]) * cos(x2[0]) * sin_1 * sin_1))

    cdef inline DTYPE_t _rdist_to_dist(self, DTYPE_t rdist):

sklearn/neighbors/dist_metrics.pyx:984:9: Signature not compatible with 
previous declaration

.... which then becomes a:

sklearn/neighbors/dist_metrics.c:1:2: error: #error Do not use this file, it is 
the result of a failed Cython compilation.

.... which actually kills the build.

Full build log:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reproducible-builds mailing list

Reply via email to