Lisandro Dalcin, 23.08.2010 15:33:
> On 21 August 2010 05:32, Stefan Behnel wrote:
>> Kurt Smith, 20.08.2010 20:02:
>>> test_embed (__main__.EmbedTest) ... i686-apple-darwin10-gcc-4.2.1:
>>> Python.framework/Versions/6.0.1/Python: No such file or directory
>>> make: *** [embedded] Error 1
>>> FAIL
>>>
>>> ======================================================================
>>> FAIL: test_embed (__main__.EmbedTest)
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>>     File "runtests.py", line 649, in test_embed
>>>       "make PYTHON='%s' test>    make.output" % sys.executable) == 0)
>>> AssertionError
>>
>> The embedding test is a bit fragile. It keeps failing in Python 2.3/4/5 in
>> Hudson as well.
>>
>> https://sage.math.washington.edu:8091/hudson/job/cython-devel-tests-py25-c/lastCompletedBuild/testReport/%28root%29/EmbedTest/test_embed/
>>
>>    test_embed (__main__.EmbedTest) ...
>>    /usr/bin/ld: cannot find -lpython2.5
>>    collect2: ld returned 1 exit status
>>    make: *** [embedded] Error 1
>>
>> It seems to depend on a shared Python build, whereas the older Python
>> builds do not use a shared library (which I think is the best way of
>> building CPython for testing purposes).
>>
>
> Actually, the Makefile is really broken, it only works for system
> Python installs.

I changed it to use a static build now (so that it works on non-shared 
CPython builds) and added some special casing to the test runner to make 
sure it finds the static library in all places where different CPython 
versions keep it.

Fixes the test on Hudson.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to