[Python-apps-team] Bug#833923: cython: FTBFS on s390x

Andreas Tille tille at debian.org
Wed Aug 10 12:15:54 UTC 2016


Package: cython
Severity: serious
Justification: fails to build from source on s390x

Hi,

cython fails to build from source due to a test suite failure as you can
see here:

   https://buildd.debian.org/status/fetch.php?pkg=cython&arch=s390x&ver=0.24.1-1&stamp=1470118175

The relevant part is

...
Doctest: cppwrap.__test__.voidfunc (line 36) ... ok
test_embed (__main__.EmbedTest) ... ok

======================================================================
FAIL: long_double_to_float_int (line 195) (int_float_builtins_as_casts_T400.__test__)
Doctest: int_float_builtins_as_casts_T400.__test__.long_double_to_float_int (line 195)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for int_float_builtins_as_casts_T400.__test__.long_double_to_float_int (line 195)
  File "/«PKGBUILDDIR»/build/work-dir/run/c/int_float_builtins_as_casts_T400/int_float_builtins_as_casts_T400.so", line unknown line number, in long_double_to_float_int (line 195)

----------------------------------------------------------------------
File "/«PKGBUILDDIR»/build/work-dir/run/c/int_float_builtins_as_casts_T400/int_float_builtins_as_casts_T400.so", line ?, in int_float_builtins_as_casts_T400.__test__.long_double_to_float_int (line 195)
Failed example:
    long_double_to_float_int(4.1)
Expected:
    4.0
Got:
    0.0
----------------------------------------------------------------------
File "/«PKGBUILDDIR»/build/work-dir/run/c/int_float_builtins_as_casts_T400/int_float_builtins_as_casts_T400.so", line ?, in int_float_builtins_as_casts_T400.__test__.long_double_to_float_int (line 195)
Failed example:
    long_double_to_float_int(-4.1)
Expected:
    -4.0
Got:
    0.0
----------------------------------------------------------------------
File "/«PKGBUILDDIR»/build/work-dir/run/c/int_float_builtins_as_casts_T400/int_float_builtins_as_casts_T400.so", line ?, in int_float_builtins_as_casts_T400.__test__.long_double_to_float_int (line 195)
Failed example:
    long_double_to_float_int(4)
Expected:
    4.0
Got:
    0.0


----------------------------------------------------------------------
Ran 9957 tests in 4237.557s

FAILED (failures=1, skipped=2)
Following tests excluded because of missing dependencies on your system:
   Cython.Coverage
   run.asyncio_generators
   run.coverage_api
   run.coverage_cmd
   run.coverage_nogil
ALL DONE
...


Kind regards

        Andreas.


-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cython depends on:
ii  libc6   2.19-18+deb8u4
ii  python  2.7.9-1

Versions of packages cython recommends:
ii  gcc         4:4.9.2-2
pn  python-dev  <none>

cython suggests no packages.



More information about the Python-apps-team mailing list