Bug#787573: pysph: FTBFS w/Cython 0.22: Signature not compatible with previous declaration

Aaron M. Ucko ucko at debian.org
Tue Jun 2 22:42:37 UTC 2015


Source: pysph
Version: 0~20141130.git9132872-1
Severity: serious
Justification: fails to build from source

Builds of pysph against Cython 0.22 have been failing, as detailed
below.  (Cython itself FTBFS on several architectures per
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787234.)  Could you
please address this formal mismatch, and make sure there aren't any
other incompatibilities to contend with?

Thanks!

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              self.align_particles()
              self.is_dirty = True
  
          return 0
  
      cpdef int append_parray(self, ParticleArray parray):
           ^
  ------------------------------------------------------------
  
  pysph/base/particle_array.pyx:539:10: Signature not compatible with previous declaration
  
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  
      # aligns all the real particles in contiguous positions starting from 0
      cpdef int align_particles(self) except -1
  
      # add particles from the parray to self.
      cpdef int append_parray(self, ParticleArray parray) except -1
                            ^
  ------------------------------------------------------------
  [...]
  pysph/base/particle_array.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
   #error Do not use this file, it is the result of a failed Cython compilation.



More information about the debian-science-maintainers mailing list