#1143108 inkscape: will FTBFS with poppler 26.07

Package:
src:inkscape
Source:
src:inkscape
Submitter:
Nadzeya Hutsko
Date:
2026-08-03 15:23:03 UTC
Severity:
normal
Tags:
#1143108#5
Date:
2026-07-30 13:20:59 UTC
From:
To:
Dear Maintainer,

poppler 26.07 is currently in experimental. Once it migrates to unstable,
inkscape 1.4.3-1 will fail to build from source as the PDF import extension
(src/extension/internal/pdfinput/) does not compile against it

poppler 26.02-26.07 reshaped much of the internal C++ API it uses.
GfxColor*/PDFRectangle* parameters became const references,
Object::getString() returns const std::string&, Gfx8BitFont::getEncoding()
returns a std::array, GfxFont::getWMode() returns a scoped enum, and
GfxState::setPath(), Object::streamGetDict()/arrayGetNF()/dictGetKey()/
dictGetValNF() and the Object(Dict*) constructor were removed, while
Catalog::indexToLabel() now takes a std::string*

All of these have already been fixed upstream. You may prefer to package a
newer upstream release (1.4.4+, which contains them natively) rather than
carry a patch. If a backport is more convenient, the attached patch combines
the relevant upstream merge requests -- !7780, !7839, !7919, !7968, !8034 and
!8037 -- rebased onto 1.4.3. Every change is guarded on POPPLER_CHECK_VERSION,
so it is a no-op with the poppler currently in unstable and can be applied now,
ahead of the transition

Thanks,
Nadzeya
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmprT7gACgkQ/lAdKwFe
ZPskrg/+KPi8GT3siGW/atvAaPQkE8PZyJfDwEZHBGDS4CK9OfMpkwph38c5yOlB
kShnMqVWqOHXPsX+V2c773CyQsu9wZrubYhT03DcGXmjHZrFUMSUhjS2zqUkjNHq
ImK/uMo8KUDVtlRS7DdoZ8gJ8/bDGxvgu2NQwjZ1Jv2CbqNgKQxEAtaanvEJBvUZ
rVLkl+bkkJHeKBNhUaa77E+1nw5SOlBBFFKAb4fPs/UPahyvHRwH0QaiLL/vvnem
2+rpRAp+rvGKtBA0PVHkwAOeP7Zxlkwx4CBHy4GXw5PCpFko8yZh7zIXfLOu3tzc
rPR902qZDT1t5hXaD6i6rklujY8Dw/Sqho5sCCNCNrWY2cAHAVP3pIuWNjHcAb+G
vR9lPcfAZSP4mtXKCVqkIISLm9YwIjNfhsGZ+cwPBQyG9Ji+u2IQ6CtvBcMsbNbq
jX4hOddb3BRNUpsWZ6kPlcDctL1TYTzqt6eP+eVzB3RushozsJ1ejJq9JBgFkAb6
f0+s8GNfsIsFROCKsOVs3ti9dWUSuSgrL67/9U/zCbc81wDG4Cy/ESqhVZ0UxnSD
Qv26Iqq1kkf2wJDd2iUbdh0gzMkSsfs+miyucQ0jIWKV3AZp/2L0rVSntpi5v9hA
8VAlOM35yNsuHaxuSIIpA9nEvogJu+USPj26uPjQGs8WyI1soXs=
=lqz7
-----END PGP SIGNATURE-----

#1143108#10
Date:
2026-08-03 15:00:53 UTC
From:
To:
Hello,

Bug #1143108 in inkscape reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/multimedia-team/inkscape/-/commit/ff8cf960946f83f748810ab499924fdbdbce8c14
------------------------------------------------------------------------
Cherry-pick patches to fix build with poppler 26.07

Closes: #1143108
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1143108

#1143108#17
Date:
2026-08-03 15:20:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
inkscape, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143108@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated inkscape package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 03 Aug 2026 16:58:15 +0200
Source: inkscape
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 1.4.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1133504 1136171 1143108
Changes:
 inkscape (1.4.3-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Jeremy Bícha ]
   * Cherry-pick patch to fix build with gcc-16 (Closes: #1133504)
   * Remove Build-Depends: libdbus-1-dev, libdbus-glib-1-dev (Closes: #1136171)
   * Update debhelper compat to 14
 .
   [ Nadzeya Hutsko ]
   * Cherry-pick patches to fix build with poppler 26.07 (Closes: #1143108)
Checksums-Sha1:
 e1e27f7a3801820d9013feee303a6fcec4a4cd47 3004 inkscape_1.4.3-2.dsc
 1074fb24a6c6b034acc209b28c496718a5bbb2cf 42660 inkscape_1.4.3-2.debian.tar.xz
 e43f3382e52b3d5626cf7dce996ff14edf5dec97 7208 inkscape_1.4.3-2_source.buildinfo
Checksums-Sha256:
 3b6d71cb52ccfde01bbd59fac2403409a3454618adb6a3307caf24e31cc7b582 3004 inkscape_1.4.3-2.dsc
 b5d67d31aa2833a0d03106e6496ecf4b07b12b8052e2c1a044b5a93653b7d64f 42660 inkscape_1.4.3-2.debian.tar.xz
 faa54f11e338aa1285aa2e622d4bf8afea33ef907570ba37796d98c037e51aea 7208 inkscape_1.4.3-2_source.buildinfo
Files:
 3ce230cd29006e6d62874aa3a0b76b5a 3004 graphics optional inkscape_1.4.3-2.dsc
 a17d5798f54afadeb37c333983fc4fb6 42660 graphics optional inkscape_1.4.3-2.debian.tar.xz
 a248571865181c18853fd6081234eb2b 7208 graphics optional inkscape_1.4.3-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmpwrQEACgkQ5mx3Wuv+
bH1D+A//aNg4Zdgx9hd0Kp507im69rYAPr7v+lg+l780nD11Lz8GRYcCAPz6pSeC
GHf3vzVpB63175f4P23sQt9CqVQYKdbOpiboXt94kRa+EabNyQLQIYXY6ogbh/nZ
8IqDblF2Vv2pPemJfdtwlil15ap8kqblkda9+xM5n0qwI/8GJTPnugBSKp/xDjsI
5lTsdoeASqJiGLtu3x9S450D/swx/RN3UVRRT6hEaiMqdXMDTaYp41RG6ZHp8qqT
Z7VT8gH1oJJz3qz1dYCvTPYixRTcQ8Bq9hMqBJe8IOPR1LPaK6LURf0ZQMBNRPgu
Py0UGg4VjQ++zr3btdhnGdtKmVLkbjBPwX82JjKfSfFRfMFqMyGq6UySzLDKISww
AEgoJ8wkTt3aq+s/IsDo7aPGvrACKJ9434fU/G22sYwqwAXas0Tl/K2W29WxTQpO
zx4+TGGa5EXJC9u0J55aJFURTJs0kp6gpwUb4Z6uZhd/Vm61ivqgIUKqEpmSmKTq
Ky4xAt4tvt22Te2khIm14+ILo+6mEcT2Iw1E7XQfCrW2a4N+wWg3AJgGqPqjuXct
oxHfXvfGq35UHUwvZq2MWBUmXncabW6Wi5tli30PeH20qhE9Dj4anloqVWPxdN4F
Uwmt1mfHZgS52PxiRGeHyx+iJ1D5JQm1B4YmrIx6gGNB4EjiN94=
=r/Tq
-----END PGP SIGNATURE-----