[Python-apps-team] Bug#739073: cython: FTBFS: Failure in embedsignatures

Daniel Schepler dschepler at gmail.com
Sat Feb 15 17:24:06 UTC 2014


Source: cython
Version: 0.20-3
Severity: serious

>From my pbuilder build log:

...
Doctest: cppwrap.transmogrify_from_cpp ... ok
voidfunc (cppwrap)
Doctest: cppwrap.voidfunc ... ok
test_embed (__main__.EmbedTest) ... ok

======================================================================
FAIL: embedsignatures ()
Doctest: embedsignatures
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/doctest.py", line 2193, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for embedsignatures
  File "/tmp/buildd/cython-0.20/build/work-dir/run/c/embedsignatures/embedsignatures.cpython-34m.so", line 1, in embedsignatures

----------------------------------------------------------------------
File "/tmp/buildd/cython-0.20/build/work-dir/run/c/embedsignatures/embedsignatures.cpython-34m.so", line 74, in embedsignatures
Failed example:
    print (funcdoc(foo))
Expected:
    foo()
Got:
    fooNone
    foo()
...
----------------------------------------------------------------------
File "/tmp/buildd/cython-0.20/build/work-dir/run/cpp/embedsignatures/embedsignatures.cpython-34m.so", line 178, in embedsignatures
Failed example:
    print(funcdoc(f_defexpr5))
Expected:
    f_defexpr5(int x=4)
Got:
    f_defexpr5None
    f_defexpr5(int x=4)


----------------------------------------------------------------------
Ran 8599 tests in 1255.323s

FAILED (failures=2)
ALL DONE
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/tmp/buildd/cython-0.20'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

(I wasn't sure by looking at #734291 if that was the same issue as this;
if so, sorry about the duplicate instead of raising the severity of the
other one.)
-- 
Daniel Schepler



More information about the Python-apps-team mailing list