On Jan 6, 2012, at 10:05 AM, Hanspeter Niederstrasser wrote:

> Failure on 10.7.  2.6.7-1 (before the ctypes fix) built OK back in July.
> 
> ======================================================================
> FAIL: test_byte (ctypes.test.test_cfuncs.CFunctions)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_cfuncs.py",
>  
> line 20, in test_byte
>     self.failUnlessEqual(self._dll.tf_b(-126), -42)
> AssertionError: 43 != -42
> 
> ======================================================================
> FAIL: test_byte_plus (ctypes.test.test_cfuncs.CFunctions)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_cfuncs.py",
>  
> line 26, in test_byte_plus
>     self.failUnlessEqual(self._dll.tf_bb(0, -126), -42)
> AssertionError: 43 != -42
> 
> ======================================================================
> FAIL: test_short (ctypes.test.test_cfuncs.CFunctions)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_cfuncs.py",
>  
> line 44, in test_short
>     self.failUnlessEqual(self._dll.tf_h(-32766), -10922)
> AssertionError: 10923 != -10922
> 
> ======================================================================
> FAIL: test_short_plus (ctypes.test.test_cfuncs.CFunctions)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_cfuncs.py",
>  
> line 50, in test_short_plus
>     self.failUnlessEqual(self._dll.tf_bh(0, -32766), -10922)
> AssertionError: 10923 != -10922
> 
> ======================================================================
> FAIL: test_doubleresult (ctypes.test.test_functions.FunctionTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_functions.py",
>  
> line 143, in test_doubleresult
>     self.failUnlessEqual(result, -21)
> AssertionError: 65771.0 != -21
> 
> ======================================================================
> FAIL: test_floatresult (ctypes.test.test_functions.FunctionTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_functions.py",
>  
> line 131, in test_floatresult
>     self.failUnlessEqual(result, -21)
> AssertionError: 65771.0 != -21
> 
> ======================================================================
> FAIL: test_intresult (ctypes.test.test_functions.FunctionTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_functions.py",
>  
> line 105, in test_intresult
>     self.failUnlessEqual(result, -21)
> AssertionError: 65771 != -21
> 
> ======================================================================
> FAIL: test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/sw/build.build/python26-2.6.7-2/Python-2.6.7/Lib/ctypes/test/test_functions.py",
>  
> line 155, in test_longdoubleresult
>     self.failUnlessEqual(result, -21)
> AssertionError: 65771.0 != -21
> 
> ----------------------------------------------------------------------
> Ran 328 tests in 0.594s
> 
> FAILED (failures=8)
> test test_ctypes failed -- multiple errors occurred
> make: *** [test] Error 1
> ### execution of LANG=en_US.UTF-8 failed, exit code 2

I just tried building 2.6.7-2 on 10.7.2 with Xcode 4.2 and all tests passed 
including the ctypes ones. Python27 also builds fine.

Daniel


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to