#1142653 xpdf: will FTBFS with poppler >= 26.05

Package:
src:xpdf
Source:
src:xpdf
Submitter:
Nadzeya Hutsko
Date:
2026-08-10 20:23:03 UTC
Severity:
normal
Tags:
#1142653#5
Date:
2026-07-23 17:36:26 UTC
From:
To:
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-----

#1142653#10
Date:
2026-07-23 17:54:18 UTC
From:
To:
Hi Nadzeya,
(which is the source for xpdf) - the Debian package just needs updating
to the current version as usual.

There's also a more subtle bit of breakage: Poppler 26.05 silently
removed support for piped command output in PSOutputDev, where writing
PostScript to a filename like "|foo" opens the output using popen.
I've worked around this in xpopple, which depends on it for printing,
but if you're doing Poppler updates, you might want to check that the
same thing doesn't break other programs...

Cheers,

#1142653#15
Date:
2026-07-23 18:04:39 UTC
From:
To:
Hi Adam!

Thanks, good to know it's already handled upstream.

And thanks for the PSOutputDev pipe heads-up, I'll check the other
poppler rdeps for that!

#1142653#22
Date:
2026-08-10 20:21:22 UTC
From:
To:
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 1142653@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florian Schlichting <fsfs@debian.org> (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 ftpmaster@ftp-master.debian.org)
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 <fsfs@debian.org>
Changed-By: Florian Schlichting <fsfs@debian.org>
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-----