[Python-apps-team] Bug#613993: FTBFS on big-endian platforms due to failing doctests

Yaroslav Halchenko debian at onerussian.com
Fri Feb 18 18:34:51 UTC 2011


Package: cython
Version: 0.14.1-3
Severity: grave
Tags: upstream

already emailed upstream
build logs example:
https://buildd.debian.org/fetch.cgi?pkg=cython;ver=0.14.1-3;arch=armel;stamp=1298052709

======================================================================
FAIL: Doctest: c_int_types_T255
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2163, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for c_int_types_T255
  File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/c/c_int_types_T255.so", line 592, in c_int_types_T255

----------------------------------------------------------------------
File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/c/c_int_types_T255.so", line 600, in c_int_types_T255
Failed example:
    test_char(-1)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest c_int_types_T255[2]>", line 1, in <module>
        test_char(-1)
      File "c_int_types_T255.pyx", line 90, in c_int_types_T255.test_char (c_int_types_T255.c:1076)
    OverflowError: can't convert negative value to char


======================================================================
FAIL: Doctest: c_int_types_T255.__test__.test_char (line 90)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2163, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for c_int_types_T255.__test__.test_char (line 90)
  File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/c/c_int_types_T255.so", line unknown line number, in test_char (line 90)

----------------------------------------------------------------------
File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/c/c_int_types_T255.so", line ?, in c_int_types_T255.__test__.test_char (line 90)
Failed example:
    test_char(-1)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest c_int_types_T255.__test__.test_char (line 90)[2]>", line 1, in <module>
      File "c_int_types_T255.pyx", line 90, in c_int_types_T255.test_char (c_int_types_T255.c:1076)
    OverflowError: can't convert negative value to char


======================================================================
FAIL: Doctest: c_int_types_T255
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2163, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for c_int_types_T255
  File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/cpp/c_int_types_T255.so", line 748, in c_int_types_T255

----------------------------------------------------------------------
File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/cpp/c_int_types_T255.so", line 756, in c_int_types_T255
Failed example:
    test_char(-1)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest c_int_types_T255[2]>", line 1, in <module>
        test_char(-1)
      File "c_int_types_T255.pyx", line 90, in c_int_types_T255.test_char (c_int_types_T255.cpp:1076)
    OverflowError: can't convert negative value to char


======================================================================
FAIL: Doctest: c_int_types_T255.__test__.test_char (line 90)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2163, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for c_int_types_T255.__test__.test_char (line 90)
  File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/cpp/c_int_types_T255.so", line unknown line number, in test_char (line 90)

----------------------------------------------------------------------
File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/cpp/c_int_types_T255.so", line ?, in c_int_types_T255.__test__.test_char (line 90)
Failed example:
    test_char(-1)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest c_int_types_T255.__test__.test_char (line 90)[2]>", line 1, in <module>
      File "c_int_types_T255.pyx", line 90, in c_int_types_T255.test_char (c_int_types_T255.cpp:1076)
    OverflowError: can't convert negative value to char


======================================================================
FAIL: Doctest: dictintindex.__test__.test_get_char_neg (line 1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2163, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for dictintindex.__test__.test_get_char_neg (line 1)
  File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/c/dictintindex.so", line unknown line number, in test_get_char_neg (line 1)

----------------------------------------------------------------------
File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/c/dictintindex.so", line ?, in dictintindex.__test__.test_get_char_neg (line 1)
Failed example:
    test_get_char_neg()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest dictintindex.__test__.test_get_char_neg (line 1)[0]>", line 1, in <module>
      File "dictintindex.pyx", line 8, in dictintindex.test_get_char_neg (dictintindex.c:708)
    KeyError: 255


======================================================================
FAIL: Doctest: dictintindex.__test__.test_get_char_neg (line 1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2163, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for dictintindex.__test__.test_get_char_neg (line 1)
  File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/cpp/dictintindex.so", line unknown line number, in test_get_char_neg (line 1)

----------------------------------------------------------------------
File "/build/buildd-cython_0.14.1-3-armel-Ye7Lfm/cython-0.14.1/build/work-dir/run/cpp/dictintindex.so", line ?, in dictintindex.__test__.test_get_char_neg (line 1)
Failed example:
    test_get_char_neg()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest dictintindex.__test__.test_get_char_neg (line 1)[0]>", line 1, in <module>
      File "dictintindex.pyx", line 8, in dictintindex.test_get_char_neg (dictintindex.cpp:708)
    KeyError: 255



-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cython depends on:
ii  libc6                   2.11.2-9         Embedded GNU C Library: Shared lib
ii  python                  2.6.6-3+squeeze4 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P
ii  python2.6               2.6.6-8+b1       An interactive high-level object-o

cython recommends no packages.

Versions of packages cython suggests:
ii  gcc                     4:4.4.5-1        The GNU C compiler
ii  python-dev              2.6.6-3+squeeze4 header files and a static library 

-- no debconf information





More information about the Python-apps-team mailing list