#1142561 ipe-tools: will FTBFS with poppler >= 26.06: Page box accessors now return a reference #1142561
- Package:
- src:ipe-tools
- Source:
- src:ipe-tools
- Submitter:
- Nadzeya Hutsko
- Date:
- 2026-08-10 15:07:05 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, poppler 26.06 changed the Page box accessors (getMediaBox(), getCropBox() and friends) to return a const reference instead of a pointer, in upstream commit d50a4510 "Some const PDFRectangle * to const PDFRectangle &" pdftoipe still assigns the result to a pointer, so it will FTBFS once poppler >= 26.06 reaches unstable: ``` xmloutputdev.cpp:68:48: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in initialization xmloutputdev.cpp:69:46: error: cannot convert 'const PDFRectangle' to 'const PDFRectangle*' in initialization ``` This was found in a test rebuild against poppler 26.07.0. Unstable is still at 26.01.0-5, so the package builds fine today. The attached patch takes the address of the returned reference, guarded with the POPPLER_VERSION_AT_LEAST macro pdftoipe already defines and uses for poppler. It is a no-op with the current poppler in unstable, so it can be applied now, ahead of the transition -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmpfsD0ACgkQ/lAdKwFe ZPsSsA//U47xS+LN683/szDYw4NXyTdQ7hcbvfdL3iIueKOCqOrFBxLHUBCF76Ea QNuIiIX+kWBdyfAf3pnTA+3qjxr0+ktbHHBcGjgwrwhTrxQjN37uznjn/RK0aqe7 qvToCFkRRGq0G+/tvvygaPT63PJjxS7ke/4lvdZfYOQGrT2Ze5DhbwXRlHccYVvY XA6BLXB41T1revnLgwCcZgVworgIb6LUNVyVJMo6fyi8V8MzLbd21waIsCxIwXNL E9Z/EA4Ahws6fYtfdQtKdVzID23Utjh+xPcabpOeREkY9Fb9zWXqOt9FtIvfYCY6 xUhjZvgkx9yPd/Iwt8bK6huJUhtU2EBGYwV8FsBsKxXnHBOyD1ulDI11CKvPAc0+ ZVMHZaXFFp0+bmhBBC7sFDEbAVQHt+zPllqclg5PvoFJ70Sfjp17TcIPTenqR075 ZBOb32W8TjxBOCj08MCRa8pZka9qtmJD4JoaX9juKE+rl1APQCH3dSslf4w6soZ4 FrCYOL7yzV1dKipC/QfvxZqnR1MJfNLVB4Cv6ihuU6NlFP8E/9URi0nt4iipUNdK 6mh+Z0LAbHcyw1er6/OJUsJfImtdwj6Sl3ZIrn4CgyP8kwPYhtucALYL4HyV+qQe 4fWzUQOUB1tUt+lphgtxNtHYEaHjqoio0SknSZ/ZmwwGtGUelG0= =UoD6 -----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of ipe-tools, 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 1142561@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Nadzeya Hutsko <nadzeya@debian.org> (supplier of updated ipe-tools 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 15:36:08 +0200 Source: ipe-tools Architecture: source Version: 1:7.2.29.2-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Nadzeya Hutsko <nadzeya@debian.org> Closes: 1142561 Changes: ipe-tools (1:7.2.29.2-2) unstable; urgency=medium . * Team upload. * Add patch to fix build with poppler 26.07 (Closes: #1142561) Checksums-Sha1: 5b090df6541c796294ac65df12653d16400ec72c 2234 ipe-tools_7.2.29.2-2.dsc 9a3f023bcb85d0bc6fbf1db8a1e734b304891d4d 5808 ipe-tools_7.2.29.2-2.debian.tar.xz 0f57ab108cbd08c4c656560354e15986566ce5f4 7127 ipe-tools_7.2.29.2-2_source.buildinfo Checksums-Sha256: c74d29581f6922392fddf2da70d4a2bd5ed1419ecbd0453b6d2d5039ed085e06 2234 ipe-tools_7.2.29.2-2.dsc 45a2a34180d16bdedc0140343f8c81159e28629f5362f3fcd767d86aa71a979c 5808 ipe-tools_7.2.29.2-2.debian.tar.xz 7a29495cede3ce7ee11e6e78efe73d40bb621f285056e7a79294a6500715e0c4 7127 ipe-tools_7.2.29.2-2_source.buildinfo Files: 07f177ad8337ab2a1b4be98ae6b78087 2234 graphics optional ipe-tools_7.2.29.2-2.dsc 936d9bbab04304a556cf591b64c7f330 5808 graphics optional ipe-tools_7.2.29.2-2.debian.tar.xz aef2da7531ad8804d0305d7bc3cedd4d 7127 graphics optional ipe-tools_7.2.29.2-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmp545cTHG5hZHpleWFA ZGViaWFuLm9yZwAKCRD+UB0rAV5k+38KD/0cUMSLgbWTub/tsA8zIhTHqJHnHFUw QiL+i34lx9o8sGvi7v4OFmJYRJNzvT2rJpBKCrIDDbdeDVuWxYfmsF2ZpyXhCanD 9UYhfugAGUo6ylM+JIGKcNWzykgt4GvPBlKtRSb1gnSJMXfXvrIqXpWMKVyVpiD2 Qrn8swpdNnp1dxvDT3dAly+saQ/KEq5Oq+aLzblMYX3epfkqWJjFR0Zou9iFRCZh AOFKVAnAySi3XHtK6M4lKp7r8mChBa2STea3T20wxkE7CZf2YmXmFyCPC9ZNWCs8 VfosF7wr3eWNCwBF62YOfVZ7N4tn3DIuEXE933EBFhyMXiOHfAH5tfvlv7xUzZI9 7C159ndcfUEM5ZuQYg2OvqT62HPKuEqVlV+0awdlLAQOf8ASRajaLro1WL6fOdKx FcOa9owbZjkAQcZXUW7Q3T0sxtKOwZqRuxN0gjSHu765lnyzBDv4HXP+gI/T4q3a srCdufdo9W4csB+1NSvpyILyvbuc7mt525gkgSJho21ahwfaHTKWrat8rQ8fOqzq 3FMNkvM+VFw8QGPi0aKbbxy3+cQXPMlN4cNFaxXJxOIV5BbSmZBD4PDUtRXSxunu Z9WlQ2SwJ5bRWhYjJg81vLRYg58eB6LAc8RYlBk2ui/ky31lZ6FIV+b05QFv/Ujs QhEsFkSdu18gzQ== =mwNT -----END PGP SIGNATURE-----