Bug#788408: rasterio: FTBFS w/cython 0.22.x

Aaron M. Ucko ucko at debian.org
Thu Jun 11 03:46:58 UTC 2015


Source: rasterio
Version: 0.15.1-1
Severity: serious
Justification: fails to build from source

Builds of rasterio with cython 0.22.x have been failing because cython
now checks that signatures' and definitions' exception specifications agree:

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      """
      Builds an OGR geometry from GeoJSON geometry.
      From Fiona: https://github.com/Toblerity/Fiona/blob/master/src/fiona/ogrext.pyx
      """
  
      cdef void * _createOgrGeometry(self, int geom_type) except NULL:
          ^
  ------------------------------------------------------------
  
  rasterio/_features.pyx:429:9: Signature not compatible with previous declaration
  
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef build(self, void *geom)
      cpdef build_wkb(self, object wkb)
  
  
  cdef class OGRGeomBuilder:
      cdef void * _createOgrGeometry(self, int geom_type)
               ^
  ------------------------------------------------------------
  
  rasterio/_features.pxd:19:14: Previous declaration is here

etc.

Could you please take a look?

Thanks!



More information about the Pkg-grass-devel mailing list