Your message dated Mon, 10 Aug 2026 20:21:22 +0000
with message-id <[email protected]>
and subject line Bug#1142653: fixed in xpdf 3.04+git20260802-1
has caused the Debian Bug report #1142653,
regarding xpdf: will FTBFS with poppler >= 26.05
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 [email protected]
immediately.)
--
1142653: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142653
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xpdf
Version: 3.04+git20260220-1
Severity: normal
Tags: ftbfs patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear Maintainer,
xpdf fails to build against poppler >= 26.05 (26.07.0 has been uploaded to
experimental and is currently in NEW). Two poppler API changes break the
build:
* poppler 26.05 added a required EndOfLineHyphenMode parameter to
TextPage::getText()
* poppler 26.07 removed appendToPath() from goo/gfile.h
```
xpdf/PDFCore.cc:1684:38: error: no matching function for call to
'TextPage::getText(PDFRectangle&, EndOfLineKind, bool)'
xpdf/XPDFCore.cc:736:3: error: 'appendToPath' was not declared in this scope
```
The attached patch adds poppler version probes to configure.ac following
the existing convention, passes EndOfLineHyphenMode::RemoveAll (matching
the previous hard-coded behaviour), and inlines the trivial Unix path
append. All changes are version-guarded, so the patch is a no-op with the
current poppler (26.01) and is safe to apply now, ahead of the transition
Thanks,
Nadzeya
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmpiURcACgkQ/lAdKwFe
ZPtXQg//VRIO/7cgED6Pe/g6XhgHWAWPGr4QLy3C3FcvRzfIHcE9aNXjfa+g5nHG
wPiZ9PWtxJOcc8U9E/yrl45RHkbg6af+bNAw4uAuPxa81GSMOKy8rzWGYL3ti5vm
jLmL4+59YdDF9GbBwDQu3RRjOz+7ib/6Kv9vSVa6yAc0WG5sOq1K0W3OrAjRosDY
6PX3oOGcfqAx3B5gWIv91GAKjD76zut3zZwL4zAxHSgfw16d7Xtj8/KKe35LHRjl
qKhUt6Zvbr4GS4X+JQq0aO2I2wvN+mwGa5x471upmUZ9JBlx+ybkq14Q3Nir8oXk
5xmhlAXbPXUTo4LztgiKQvr5sa9agvP5KEDSmg0mKr4WvfLGS5u7bv8GdX2g4u8Q
+o8asWcS5VSmjLrwzT/Bph31TDpQ1aO5OGpQxpEX673rt3/Y6SNbjRs5QgJaATRF
bn0G1YaPNIGRgw6zAJofaokDvMfUbEc4DVAE+itykGcaT6qDJivG8qIQPrjFcaBt
3AzttDnoDaiUG5l8S/I410j5GGf2TbHiRdGtRd8+dh1OtPqSOqNICcbiGe1bRQ6U
KFSCu7VEl11GTM9D2x9rjLKXpfqMJMhn8NfxCFEEFOaDI3wKodL0nB9P+eLaryus
hrRkFJZUWWHp3Hcnf0KgksrO0x134MB6iYiEQePkvoGsmyIjBXg=
=Do3o
-----END PGP SIGNATURE-----
Description: Fix FTBFS with poppler >= 26.05
Two poppler API changes break the build: 26.05 added a required
EndOfLineHyphenMode parameter to TextPage::getText() (pass RemoveAll,
matching the previous hard-coded behaviour), and 26.07 removed
appendToPath() from goo/gfile.h (inline the trivial Unix path
append). Both are guarded by version checks following the existing
convention, so older poppler still builds
Author: Nadzeya Hutsko <[email protected]>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2161658
Forwarded: no
Last-Update: 2026-07-23
--- a/configure.ac
+++ b/configure.ac
@@ -98,6 +98,12 @@
AC_DEFINE([TEXTPAGE_NO_REFCOUNT])
AC_DEFINE([SPLASHOUTPUTDEV_NO_REVERSEVIDEO])
])
+PKG_CHECK_EXISTS([poppler >= 26.05.0], [
+ AC_DEFINE([TEXTPAGE_GETTEXT_HYPHENMODE])
+])
+PKG_CHECK_EXISTS([poppler >= 26.07.0], [
+ AC_DEFINE([NO_APPENDTOPATH])
+])
CPPFLAGS="$CPPFLAGS -std=c++${cxx_standard}"
--- a/xpdf/PDFCore.cc
+++ b/xpdf/PDFCore.cc
@@ -1681,7 +1681,12 @@
#ifdef TEXTOUTPUTDEV_GETTEXT_RECTANGLE
PDFRectangle rect(selectULX, selectULY, selectLRX, selectLRY);
+#ifdef TEXTPAGE_GETTEXT_HYPHENMODE
+ text = toString(page->text->getText(rect, eolUnix, true,
+ EndOfLineHyphenMode::RemoveAll));
+#else
text = toString(page->text->getText(rect, eolUnix, true));
+#endif
#else
text = toString(page->text->getText(selectULX, selectULY, selectLRX,
selectLRY
#ifdef TEXTPAGE_GETTEXT_EOL
--- a/xpdf/XPDFCore.cc
+++ b/xpdf/XPDFCore.cc
@@ -733,7 +733,15 @@
std::unique_ptr<GooString> absPath =
makeGooStringPtr(xpdfDirName(docFileName));
+#ifdef NO_APPENDTOPATH
+ // poppler 26.07 removed appendToPath from goo/gfile.h
+ if (!absPath->empty() && absPath->getChar(absPath->size() - 1) != '/') {
+ absPath->push_back('/');
+ }
+ absPath->append(relPath);
+#else
appendToPath(absPath.get(), relPath.c_str());
+#endif
return toString(absPath.get());
}
--- End Message ---
--- Begin Message ---
Source: xpdf
Source-Version: 3.04+git20260802-1
Done: Florian Schlichting <[email protected]>
We believe that the bug you reported is fixed in the latest version of
xpdf, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Florian Schlichting <[email protected]> (supplier of updated xpdf 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 10 Aug 2026 21:46:22 +0200
Source: xpdf
Architecture: source
Version: 3.04+git20260802-1
Distribution: unstable
Urgency: medium
Maintainer: Florian Schlichting <[email protected]>
Changed-By: Florian Schlichting <[email protected]>
Closes: 1142653
Changes:
xpdf (3.04+git20260802-1) unstable; urgency=medium
.
* Import new upstream version 3.04+git20260802 (closes: #1142653)
* Update to dh compat 14
* Update d/watch to version 5
* Declare compliance with Debian Policy 4.7.4
Checksums-Sha1:
99d64dd1b8f3d6083d6534c63f8a33553985e7a1 2098 xpdf_3.04+git20260802-1.dsc
80e2013f811f9852698e20735e8a8db90fb606fa 100612
xpdf_3.04+git20260802.orig.tar.xz
f29782a27672bd38d33ec4dbf239657629931569 24908
xpdf_3.04+git20260802-1.debian.tar.xz
Checksums-Sha256:
6c862da006241bd93b11da2a60f07ead6982aff39f54d5cd4cc17981db257f04 2098
xpdf_3.04+git20260802-1.dsc
3d08a47306ac7515736cb256d63ea2f0cbaeafa4f05961fcd6cf38e3dbea83e6 100612
xpdf_3.04+git20260802.orig.tar.xz
ba67fb623d94b32f7c682349ae26d566da22b6cf1f373c091427924dc248f228 24908
xpdf_3.04+git20260802-1.debian.tar.xz
Files:
41c90cbed93fb00ba457ebdae981ec66 2098 text optional xpdf_3.04+git20260802-1.dsc
723ffa555827987e273ceb61eebc6819 100612 text optional
xpdf_3.04+git20260802.orig.tar.xz
68a5b53eb371696e61b31cb0200f6e11 24908 text optional
xpdf_3.04+git20260802-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEEMLI8i05qOwnqprZSEpc7bnLcB7UFAmp6LrcQHGZzZnNAZGVi
aWFuLm9yZwAKCRASlztuctwHteRNEACclT0VarP+OqAVxtJFFo++sTIw6qVWfhzf
puskA3J9K2+j9YLC0Mf5Dur2JXGfvqq+kCXUo/GyrNWLYtxkgPvbwJqkFxcssTwi
bPztlmg3Fr5gXAy8CBJrIYLOUNiQxIrxc6jhhjLfq7rNZVN9stomwJk2mxGDGIxz
jW5P0sUn7d8Sy6AU/BLt0DVs3bfNtiYfOKeQg+amBx5EICiiWt3nq1K7Xbs56cRv
pbIahuyseHCMG8T/i32jMjTthf/1VQ/2O0cEKpkqrms+mdV8kWAyCrr260CaTqJF
2q2l9rOri+ylNXfssn6rcqSNHZrAJgAcvUpd3DgHYjkbuhGgrbnj31woRWHUq0MU
rt4YPhYt+x0tRktsTgj/2aWzuuhvGietr2SzpJmyEusLkRcpPvh3mbh2G2VTBuk1
PLRhtQDQselDniY1MiT4g0Y6mUQMRA+ZHlxFZH/Am/zxa6vJcEOQFCIB2MPqC66Y
eylUNXBwLKsnLtPwleem3caikSJ04gUQMlBh2cCJEqdsV/5RnLpBN2S/h2Ls+R3w
XLOPNc306odVwoUHXoj+MXGkW7rarmkTpLOr1gL8U8V7ZavpoFvB5i6PgFCGXsoI
++6cC/8afPLfYKpTI8chuE2uf7IEp3IiPvs9UDf0vghosVuwMSCu2CejACxxL/+R
nnO69YERJQ==
=vQn6
-----END PGP SIGNATURE-----
pgpzYS2qBd2YU.pgp
Description: PGP signature
--- End Message ---