Package: src:fpdf2 Version: 2.8.9-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202610/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:fpdf2, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] # to avoid .assertSequenceEqual to take forever to finish, that itself calls difflib.ndiff, # that has cubic complexity from this comment by Tim Peters: https://bugs.python.org/issue6931#msg223459 actual_lines = subst_streams_with_hashes(actual_lines) expected_lines = subst_streams_with_hashes(expected_lines) > assert actual_lines == expected_lines E assert [b'%PDF-1.3',...1 0 obj', ...] == [b'%PDF-1.3',...1 0 obj', ...] E E At index 99 diff: b"\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2}\xc0\xa2~\xc0\xa2~\xc0\xa2}\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2}\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa2~\xc0\xa... E E ...Full output truncated (93558 lines hidden), use '-vv' to show test/conftest.py:172: AssertionError =============================== warnings summary =============================== test/image/test_load_image.py::test_svg_image_per_call_policy_override_applies_to_nested_resources /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/test/image/test_load_image.py:363: UserWarning: <svg> has no "viewBox", using its "width" & "height" as default "viewBox" pdf.image( test/image/test_vector_image.py::test_svg_image_no_viewbox /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/test/image/test_vector_image.py:44: UserWarning: <svg> has no "viewBox", using its "width" & "height" as default "viewBox" img = pdf.image(SVG_SRCDIR / "simple_rect_no_viewbox.svg") test/image/test_vector_image.py::test_svg_image_with_custom_width_and_no_viewbox /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/test/image/test_vector_image.py:74: UserWarning: <svg> has no "viewBox", using its "width" & "height" as default "viewBox" img = pdf.image(SVG_SRCDIR / "simple_rect_no_viewbox.svg", w=60) test/image/test_vector_image.py::test_svg_image_with_custom_size_and_no_viewbox /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/test/image/test_vector_image.py:105: UserWarning: <svg> has no "viewBox", using its "width" & "height" as default "viewBox" img = pdf.image(SVG_SRCDIR / "simple_rect_no_viewbox.svg", x=50, y=50, w=30, h=60) test/image/test_vector_image.py::test_svg_image_style_inherited_from_fpdf /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/test/image/test_vector_image.py:139: UserWarning: <svg> has no "viewBox", using its "width" & "height" as default "viewBox" pdf.image( test/image/test_vector_image.py::test_svg_image_from_bytesio /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/test/image/test_vector_image.py:152: UserWarning: <svg> has no "viewBox", using its "width" & "height" as default "viewBox" pdf.image( test/image/test_vector_image.py::test_svg_image_from_bytes /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/test/image/test_vector_image.py:165: UserWarning: <svg> has no "viewBox", using its "width" & "height" as default "viewBox" pdf.image( test/text/test_multi_cell.py::test_multi_cell_j_paragraphs /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build/fpdf/fpdf.py:261: UserWarning: Dimensions for page format A5 were fixed in release 2.8.5 warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.14.8-final-0 ________________ Coverage XML written to file coverage.xml =========================== short test summary info ============================ FAILED test/image/test_full_page_image.py::test_image_with_explicit_dimensions = 1 failed, 1779 passed, 16 skipped, 1 xfailed, 8 warnings in 84.85s (0:01:24) = E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fpdf2/build; python3.14 -m pytest test dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13 make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

