Article View: linux.debian.bugs.rc
Article #3771Bug#1154361: marked as done (xhtml2pdf: FTBFS: FAILED tests/test_document.py::DocumentTest::test_document_background_image)
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 12:40
Date: Sat, 21 Nov 2026 12:40
188 lines
10817 bytes
10817 bytes
This is a multi-part message in MIME format...
------------=_1795264501-3440212-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Sat, 21 Nov 2026 13:33:52 +0100
with message-id <awGPsLHIwg9Q-BSu@duagon-BXN3S64.localdomain>
and subject line xhtml2pdf: FTBFS: FAILED tests/test_document.py::DocumentT=
est::test_document_background_image
has caused the Debian Bug report #1154361,
regarding xhtml2pdf: FTBFS: FAILED tests/test_document.py::DocumentTest::te=
st_document_background_image
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1154361: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1154361
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795264501-3440212-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 18 Nov 2026 18:01:23 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-118.1 required=4.0 tests=BAYES_00,
BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,LONGWORD,
RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST,
X_DEBBUGS_CC autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 150; neutral, 95; spammy,
0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--pkgbuilddir,
0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky
Return-path: <sanvila@debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:38398)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1xTjyG-003FNU-1f
for submit@bugs.debian.org;
Wed, 18 Nov 2026 18:01:23 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1xTjyE-001yOC-0G
for submit@bugs.debian.org;
Wed, 18 Nov 2026 18:01:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=QBjGVgov7kXjKBt7Wtz+mn172WIupZGSlcG8uhhBzn8=; b=YlbRA980Xsbt7eHwaudv7syk1w
WWlhPwIFqCFcUb6aX17DogA+Yt7Q1sAJva88bEv8UDibFTUG/azDFRRuN8tL1O/vPTx3Z9deOcuxl
AAXZ26dpsTljK61oNZEjXnb/+pcmHgzt1Wksdfl65lseBEFcF070DuTqxJIo+L0orgpHiqxMTtLdP
7z552SqkA26zQpl408bzNtqzOohEPfWkglseoYeGxthZJkqJX/erR1hjWvIHUXBFxxcvPHqMZT1cn
ITAfuMHxn8BecfAn+mnVP8EiXkYUwLR5Y0sxPkffy2fd15JrTtjRnxQzSckFIv54hrF0iIBF8MKbH
buqQLxcw==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
(envelope-from <sanvila@debian.org>)
id 1xTjyC-001yge-1b
for submit@bugs.debian.org;
Wed, 18 Nov 2026 18:01:20 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: xhtml2pdf: FTBFS: FAILED tests/test_document.py::DocumentTest::test_document_background_image
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1xTjyC-001yge-1b@paradis.debian.org>
Date: Wed, 18 Nov 2026 18:01:20 +0000
Delivered-To: submit@bugs.debian.org
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
--------------------------------------------------------------------------------
------------=_1795264501-3440212-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1154361-done) by bugs.debian.org; 21 Nov 2026 12:33:54 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-106.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
FROMDEVELOPER,LONGWORD,SPF_HELO_NONE,SPF_PASS,TVD_SPACE_RATIO,
USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 68; neutral, 12; spammy, 2.
spammytokens:0.872-+--H*MI:localdomain, 0.867-+--H*M:localdomain
hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <bage@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47624)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <bage@debian.org>)
id 1xUkHz-00EQoJ-0u
for 1154361-done@bugs.debian.org;
Sat, 21 Nov 2026 12:33:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=S1qrNCHJ3Z8TF6pC14Rif5cnZfUzvG2Bx1DDVHsEc3Q=; b=uSIyrVQMcRKrLxmSI/NyEUFpx2
QlM3u0eh9tFGSg4k7zMRdvRNiEntpVqsj8C/kgrDhqcBYkPfXqpv0NprCFknjppzu9KvKUCioamuk
sofWi3onrdQ7gnaH6YA9hx5PXoRMSyI5Rh7KgxfGb2YpbGYjI/DSW+XuhPm1DvV1vT9G+/IygT+2+
7vYVO+3PCxqwe3ETri4k9jCn56OgRXU3SgM8pzEfEoGYWYq0/nIEzmR4FJwbRvmp47TBUDhNhJNud
0gJahFz0PCvE/JU/aqyEUU9adfVw/OLwvI267IIL53am4qFOoDFVVaH1XyZQL1QEyVV4Gz+vYBGIc
zGPRAVhg==;
Received: from authenticated-user
by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <bage@debian.org>)
id 1xUkHw-003eiz-2y
for 1154361-done@bugs.debian.org;
Sat, 21 Nov 2026 12:33:53 +0000
Date: Sat, 21 Nov 2026 13:33:52 +0100
From: Bastian Germann <bage@debian.org>
To: 1154361-done@bugs.debian.org
Subject: xhtml2pdf: FTBFS: FAILED
tests/test_document.py::DocumentTest::test_document_background_image
Message-ID: <awGPsLHIwg9Q-BSu@duagon-BXN3S64.localdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: bage
Version: 0.2.28+dfsg-1
------------=_1795264501-3440212-0--
Technical Details
Message-ID:
<O1SxP-dgPe-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O1SxP-dgPe-15@gated-at.bofh.it> <O0SgA-cJsU-113@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1154361: marked as done (xhtml2pdf: FTBFS: FAILED tests/test_document.py::DocumentTest::test_document_background_image) Date: Sat, 21 Nov 2026 13:40:01 +0100 Message-ID: <O1SxP-dgPe-13@gated-at.bofh.it> References: <O1SxP-dgPe-15@gated-at.bofh.it> <O0SgA-cJsU-113@gated-at.bofh.it> X-Original-To: Bastian Germann <bage@debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sat Nov 21 12:35:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -2 MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1154361 X-Debian-Pr-Package: src:xhtml2pdf X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: xhtml2pdf Reply-To: 1154361@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1795264501-3440212-0" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839053 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 188 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2026 12:35:01 +0000 X-Original-Message-ID: <handler.1154361.D1154361.17952644343439672.ackdone@bugs.debian.org> X-Original-References: <awGPsLHIwg9Q-BSu@duagon-BXN3S64.localdomain> <E1xTjyC-001yge-1b@paradis.debian.org>