Source: python-shapely
Version: 1.7.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_shapely/build;
> python3.9 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.1, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> numpy: 1.19.4
> rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg, testpaths: tests
> collected 359 items
>
> tests/test_affinity.py ............... [
> 4%]
> tests/test_box.py .... [
> 5%]
> tests/test_buffer.py ......... [
> 7%]
> tests/test_cga.py ..... [
> 9%]
> tests/test_clip_by_rect.py .......xx [
> 11%]
> tests/test_collection.py ...... [
> 13%]
> tests/test_coords.py ... [
> 14%]
> tests/test_create_inconsistent_dimensionality.py ....... [
> 16%]
> tests/test_default_impl.py .. [
> 16%]
> tests/test_delaunay.py .... [
> 17%]
> tests/test_delegated.py ... [
> 18%]
> tests/test_dlls.py ... [
> 19%]
> tests/test_doctests.py . [
> 19%]
> tests/test_emptiness.py .............. [
> 23%]
> tests/test_empty_polygons.py .... [
> 24%]
> tests/test_equality.py .... [
> 25%]
> tests/test_geointerface.py .... [
> 27%]
> tests/test_geometry_base.py .... [
> 28%]
> tests/test_geomseq.py .. [
> 28%]
> tests/test_geos_err_handler.py ...... [
> 30%]
> tests/test_getitem.py ............ [
> 33%]
> tests/test_hash.py .... [
> 34%]
> tests/test_invalid_geometries.py .. [
> 35%]
> tests/test_iterops.py .... [
> 36%]
> tests/test_linear_referencing.py .......... [
> 39%]
> tests/test_linemerge.py .. [
> 39%]
> tests/test_linestring.py ........ [
> 42%]
> tests/test_locale.py ss [
> 42%]
> tests/test_mapping.py ... [
> 43%]
> tests/test_minimum_clearance.py .... [
> 44%]
> tests/test_minimum_rotated_rectangle.py ... [
> 45%]
> tests/test_multilinestring.py ...... [
> 47%]
> tests/test_multipoint.py ..... [
> 48%]
> tests/test_multipolygon.py .... [
> 49%]
> tests/test_ndarrays.py .... [
> 50%]
> tests/test_nearest.py .. [
> 51%]
> tests/test_operations.py ..... [
> 52%]
> tests/test_operators.py ..... [
> 54%]
> tests/test_orient.py ........ [
> 56%]
> tests/test_parallel_offset.py .. [
> 56%]
> tests/test_persist.py ..... [
> 58%]
> tests/test_pickle.py ...... [
> 59%]
> tests/test_point.py .... [
> 61%]
> tests/test_polygon.py ............ [
> 64%]
> tests/test_polygonize.py ... [
> 65%]
> tests/test_polylabel.py ....... [
> 67%]
> tests/test_predicates.py ..... [
> 68%]
> tests/test_prepared.py ...... [
> 70%]
> tests/test_products_z.py .. [
> 70%]
> tests/test_shape.py ............. [
> 74%]
> tests/test_shared_paths.py ... [
> 75%]
> tests/test_singularity.py ... [
> 76%]
> tests/test_snap.py .. [
> 76%]
> tests/test_split.py ................. [
> 81%]
> tests/test_strtree.py ...... [
> 83%]
> tests/test_strtree_nearest.py .. [
> 83%]
> tests/test_styles.py ... [
> 84%]
> tests/test_substring.py .......... [
> 87%]
> tests/test_svg.py F....... [
> 89%]
> tests/test_transform.py ........... [
> 92%]
> tests/test_union.py .... [
> 93%]
> tests/test_validation.py .. [
> 94%]
> tests/test_vectorized.py ............ [
> 97%]
> tests/test_wkb.py .... [
> 98%]
> tests/test_wkt.py ... [
> 99%]
> tests/test_xy.py ..
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________________ SvgTestCase.test_collection
> __________________________
>
> self = <tests.test_svg.SvgTestCase testMethod=test_collection>
>
> def test_collection(self):
> # Empty
> self.assertSVG(GeometryCollection(), '<g />')
> # Valid
> > self.assertSVG(
> Point(7, 3).union(LineString([(4, 2), (8, 4)])),
> '<g><circle cx="7.0" cy="3.0" r="3.0" stroke="#555555" '
> 'stroke-width="1.0" fill="#66cc99" opacity="0.6" />'
> '<polyline fill="none" stroke="#66cc99" stroke-width="2.0" '
> 'points="4.0,2.0 8.0,4.0" opacity="0.8" /></g>')
>
> tests/test_svg.py:176:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_svg.py:41: in assertSVG
> self.assertEqual(svg_elem, expected)
> E AssertionError: '<g><polyline fill="none" stroke="#66cc99" str[158
> chars]</g>' != '<g><circle cx="7.0" cy="3.0" r="3.0" stroke="[158 chars]</g>'
> E - <g><polyline fill="none" stroke="#66cc99" stroke-width="2.0"
> points="4.0,2.0 8.0,4.0" opacity="0.8" /><circle cx="7.0" cy="3.0" r="3.0"
> stroke="#555555" stroke-width="1.0" fill="#66cc99" opacity="0.6" /></g>
> E + <g><circle cx="7.0" cy="3.0" r="3.0" stroke="#555555"
> stroke-width="1.0" fill="#66cc99" opacity="0.6" /><polyline fill="none"
> stroke="#66cc99" stroke-width="2.0" points="4.0,2.0 8.0,4.0" opacity="0.8"
> /></g>
> ========== 1 failed, 354 passed, 2 skipped, 2 xfailed in 1.37 seconds
> ==========
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_shapely/build; python3.9 -m pytest
> tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/12/26/python-shapely_1.7.1-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.