[Cython] test failure for cython-devel in Py2.4

Stefan Behnel stefan_ml at behnel.de
Thu Oct 13 07:37:13 CEST 2011


Stefan Behnel, 13.10.2011 07:10:
> mark florisson, 12.10.2011 23:46:
>>> Is it me or are other builds broken as well?
>>>
>>> I pushed a fix for the tempita thing, but it seems the entire py3k build is
>>> broken:
>>>
>>> https://sage.math.washington.edu:8091/hudson/view/All/job/cython-devel-build/54/PYVERSION=py3k/console
>>>
>
> It's not only the py3k tests, the build is broken in general. The problem
> here is that it only *shows* in the py3k tests because the Py2 builds do
> not bail out when one of the Cython modules fails to build. That needs
> fixing as well.
>
>
>> I just cannot reproduce that error on my system, let me investigate it
>> further.
>
> My guess was that it's due to the innocent looking change that Robert did
> to enable type inference for the GeneralCallNode. It seems that there was a
> bit more to do here.

Now that I think about it - remember that the Jenkins builds use a source 
distribution to build, not a plain checkout. Maybe there's something wrong 
with the sdist? At least, I see several warnings about file patterns in 
MANIFEST.in that are not matched by any files:

"""
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pyx' under directory 
'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 
'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
warning: no files found matching '*.h' under directory 'Cython/Utility'
warning: no files found matching '.cpp' under directory 'Cython/Utility'
"""

https://sage.math.washington.edu:8091/hudson/job/cython-devel-sdist/678/console

Also note that the build appears to choke on test utility code:

"""
Error compiling Cython file:
------------------------------------------------------------
...
cdef extern from *:
     cdef object __pyx_test_dep(object)

@cname('__pyx_TestClass')
cdef class TestClass(object):
     cdef public int value
                    ^
------------------------------------------------------------

TestClass:9:20: Compiler crash in AnalyseDeclarationsTransform
"""

https://sage.math.washington.edu:8091/hudson/job/cython-devel-build/56/PYVERSION=py3k/console

Mark, didn't you disable the loading of any test code during 'normal' 
builds? Maybe there's something broken on that front?

Stefan


More information about the cython-devel mailing list