Package: src:xhtml2pdf
Version: 0.2.17+dfsg-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/202611/

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:xhtml2pdf, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
E       pypdf.errors.DeprecationError: Calling `PageObject.replace_contents()` 
for pages not assigned to a writer is deprecated and has been removed in pypdf 
7.0.0. Attach the page to the writer first or use `PdfWriter(clone_from=...)` 
directly. The existing approach has proved being unreliable.

/usr/lib/python3/dist-packages/pypdf/_utils.py:470: DeprecationError
=========================== short test summary info ============================
FAILED tests/test_document.py::DocumentTest::test_document_background_image
FAILED 
tests/test_document.py::DocumentTest::test_document_background_image_not_on_all_pages
================= 2 failed, 168 passed, 2 deselected in 1.06s ==================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_xhtml2pdf/build; python3.14 -m pytest 
-k 'not test_document_cannot_identify_image and not 
test_document_with_broken_image'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 
3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to