Bug#917504: pycoast: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Thu Dec 27 23:54:19 GMT 2018


Package: src:pycoast
Version: 1.2.1+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python3.7 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/pycoast-1.2.1+dfsg'
dh_auto_build --buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build 
running build

[... snipped ...]

test_add_shapefile_shapes (pycoast.tests.test_pycoast.TestPIL) ... skipped 'dataset not available: test_data/shapes/Metareas.shp'
test_dateline_boundary_cross (pycoast.tests.test_pycoast.TestPIL) ... ok
test_dateline_cross (pycoast.tests.test_pycoast.TestPIL) ... ok
test_europe (pycoast.tests.test_pycoast.TestPIL) ... ok
test_europe_file (pycoast.tests.test_pycoast.TestPIL) ... ok
test_geos (pycoast.tests.test_pycoast.TestPIL) ... ok
test_grid (pycoast.tests.test_pycoast.TestPIL) ... ok
test_grid_file (pycoast.tests.test_pycoast.TestPIL) ... ok
test_grid_geos (pycoast.tests.test_pycoast.TestPIL) ... ok
test_grid_nh (pycoast.tests.test_pycoast.TestPIL) ... ok
test_add_polygon_agg (pycoast.tests.test_pycoast.TestPILAGG) ... ok
test_add_shapefile_shapes_agg (pycoast.tests.test_pycoast.TestPILAGG) ... skipped 'dataset not available: test_data/shapes/Metareas.shp'
test_europe_agg (pycoast.tests.test_pycoast.TestPILAGG) ... ok
test_europe_agg_file (pycoast.tests.test_pycoast.TestPILAGG) ... ok
test_geos_agg (pycoast.tests.test_pycoast.TestPILAGG) ... ok
test_grid_agg (pycoast.tests.test_pycoast.TestPILAGG) ... ok
test_grid_agg_file (pycoast.tests.test_pycoast.TestPILAGG) ... ok
test_grid_agg_txt (pycoast.tests.test_pycoast.TestPILAGG) ... ERROR
test_grid_geos_agg (pycoast.tests.test_pycoast.TestPILAGG) ... ok
test_grid_nh_agg (pycoast.tests.test_pycoast.TestPILAGG) ... ERROR

======================================================================
ERROR: test_grid_agg_txt (pycoast.tests.test_pycoast.TestPILAGG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<BUILDDIR>>/pycoast-1.2.1+dfsg/pycoast/tests/test_pycoast.py", line 471, in test_grid_agg_txt
    opacity=200)
IOError: cannot load font (no text renderer)

======================================================================
ERROR: test_grid_nh_agg (pycoast.tests.test_pycoast.TestPILAGG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<BUILDDIR>>/pycoast-1.2.1+dfsg/pycoast/tests/test_pycoast.py", line 543, in test_grid_nh_agg
    'DejaVuSerif.ttf'), size=10)
IOError: cannot load font (no text renderer)

----------------------------------------------------------------------
Ran 21 tests in 44.499s

FAILED (errors=2, skipped=2)
Test failed: <unittest.runner.TextTestResult run=21 errors=2 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=21 errors=2 failures=0>
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:13: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pycoast.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-grass-devel mailing list