🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Santiago Vila Wed, 18 Nov 2026 18:10
Bug#1154361: xhtml2pdf: FTBFS: FAILED tests/test_document.py::DocumentTest::test_document_background_image
#4990
Author: Santiago Vila
Date: Wed, 18 Nov 2026 18:10
42 lines
3755 bytes
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
--------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads