Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 542448

Summary: sci-libs/scipy-0.15.1 stable request
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] Keywording and StabilizationAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: jlec
Priority: Normal Keywords: STABLEREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2015-03-07 15:24:39 UTC
Current stable doesn't build:

>>> Compiling source in /var/tmp/portage/sci-libs/scipy-0.14.0-r1/work/scipy-0.14.0 ...
 * python3_4: running distutils-r1_run_phase python_compile

Error compiling Cython file:
------------------------------------------------------------
...

    cpdef int all_data_read(self):
        return (self._max_length == self._read_bytes) and \
               (self._buffer_size == self._buffer_position)

    cpdef long int tell(self):
         ^
------------------------------------------------------------

streams.pyx:204:10: Signature not compatible with previous declaration
Processing scipy/spatial/qhull.pyx
Processing scipy/spatial/ckdtree.pyx
Processing scipy/stats/vonmises_cython.pyx
Processing scipy/stats/_rank.pyx
Processing scipy/io/matlab/streams.pyx
Traceback (most recent call last):
  File "tools/cythonize.py", line 198, in <module>
    main()
  File "tools/cythonize.py", line 194, in main
    find_process_files(root_dir)
  File "tools/cythonize.py", line 186, in find_process_files
    process(cur_dir, fromfile, tofile, function, hash_db)
  File "tools/cythonize.py", line 160, in process
    processor_function(fromfile, tofile)
  File "tools/cythonize.py", line 71, in process_pyx
    raise Exception('Cython failed')
Exception: Cython failed
Comment 1 Pacho Ramos gentoo-dev 2015-03-07 16:06:12 UTC
(jlec is trying to resolve it in a different way, unCCing arches for now)
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-03-07 16:16:05 UTC
Let's stabilize scipy-0.15.1 in a month

+  07 Mar 2015; Justin Lecher <jlec@gentoo.org>
+  +files/scipy-0.14.0-cython-0.22-backport.patch, scipy-0.14.0-r1.ebuild:
+  Backport fix for cython-0.22, #542448
+