FTBFS in natty

Bug #685483 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-djvulibre (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

not python2.7 specific, already fails in 2.6 ...

make[1]: Entering directory `/build/buildd/python-djvulibre-0.1.18'
cd tests && \
 set -x -e; \
 for python in python2.6 python2.7; do \
     PYTHONPATH=$(_py_=$python; _py_=${_py_#python}; ls -d /build/buildd/python-djvulibre-0.1.18/build/lib.*-${_py_}) $python /usr/bin/nosetests --with-doctest --verbose decode.py sexpr.py const.py; \
     PYTHONPATH=$(_py_=$python; _py_=${_py_#python}; ls -d /build/buildd/python-djvulibre-0.1.18/build/lib_d.*-${_py_} 2>/dev/null || ls -d /build/buildd/python-djvulibre-0.1.18/build/lib.*-${_py_}-pydebug) $python-dbg /usr/bin/nosetests --with-doctest --verbose decode.py sexpr.py const.py; \
 done
+ _py_=python2.6
+ _py_=2.6
+ ls -d /build/buildd/python-djvulibre-0.1.18/build/lib.linux-i686-2.6
+ PYTHONPATH=/build/buildd/python-djvulibre-0.1.18/build/lib.linux-i686-2.6 python2.6 /usr/bin/nosetests --with-doctest --verbose decode.py sexpr.py const.py
Segmentation fault
make[1]: *** [override_dh_auto_test] Error 139

Tags: python27
Revision history for this message
Jakub Wilk (jwilk) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

thanks, build continues until running the testsuite with 2.7:

======================================================================
FAIL: test_decode (decode.PageJobTest)
Doctest: decode.PageJobTest.test_decode
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for decode.PageJobTest.test_decode
  File "/scratch/packages/tmp/python-djvulibre-0.1.18/tests/decode.py", line 468, in test_decode

----------------------------------------------------------------------
File "/scratch/packages/tmp/python-djvulibre-0.1.18/tests/decode.py", line 494, in decode.PageJobTest.test_decode
Failed example:
    page_job.gamma
Expected:
    2.2000000000000002
Got:
    2.2

----------------------------------------------------------------------
Ran 26 tests in 0.626s

FAILED (failures=1)
make[1]: *** [override_dh_auto_test] Error 1

Revision history for this message
Jakub Wilk (jwilk) wrote :

This one is a bug in the test suite. Patch attached.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-djvulibre - 0.1.18-2ubuntu1

---------------
python-djvulibre (0.1.18-2ubuntu1) natty; urgency=low

  * Fix compatibility with Cython 0.13 and a testsuite failure
    with python2.7 (Jakub Wilk). LP: #685483.
 -- Matthias Klose <email address hidden> Wed, 08 Dec 2010 23:32:07 +0100

Changed in python-djvulibre (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.