Dear Maintainer, gdcm fails to build against poppler >= 26.02 (26.07.0 should be available in experimental soon). Two poppler API changes break the build: * poppler 26.02 changed the PDFDoc stream constructor to take std::unique_ptr<BaseStream>. This also breaks the LIBPOPPLER_PDFDOC_HAS_OPTIONAL configure probe (it tested the removed raw-pointer variant), so gdcminfo.cxx and gdcmpdf.cxx silently fall back to even older, long-removed poppler APIs * poppler 26.04 changed Object::getString() to return const std::string& instead of const GooString* ``` Applications/Cxx/gdcminfo.cxx:207:34: error: cannot convert 'const std::string' to 'const GooString*' in initialization Applications/Cxx/gdcminfo.cxx:517:51: error: no matching function for call to 'PDFDoc::PDFDoc(MemStream*&, GooString*&, GooString*&)' ``` The attached patch re-tests the optional-passwords probe via PDFDocFactory, adds compile probes for the two new APIs, and adds code branches for them. Everything follows the existing compile-probe convention, 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//lAdKwFeZPsFAmpiJaAACgkQ/lAdKwFe ZPuPTg//QPojsqkd71zylZOCHowAbVBQmsoQ32Dd+z7YU6ImhBmf294EEkNuhj2B Wx0zRGIBS+UI6gZ17wO+CJjVSuPfhkXhamiaYRsU5BFTUHQwzF7AzUF24ZkubmGh Ms9ctesVkLFjHa4lrSb3UlcY9MeqQLaUSBV2K3p/63WWlUGMOaQGW9EV19DZx3sE CU2Mo/c2nD4HcScsJSvhgkVnwkPKLOO97Wpdl+H3kHrZKkOg8R5/HcelwgyQMHn9 KfuPfNqi4bRdvn3OOyt1IN+DfL2N6slY5FsF2IoaHTVCcnRKIBugBUoGZXTVQ6P/ RucB6qme+ftgalhbbTbLcwhMXmBW1o3mYqa9Ok6P2JVeYg5GILUQZpNOyqxfWJEw 5JoriUsxFvCkFvYYekcx3ixp2NLek/A5xkOLXW7cHUWaVao8I4V+LcqAd+FfZmso c3T6gsyWZcvBIF781NoMEwvy+Y4n6sWYvFwSJG8N6Nas/gI5PKwf1rg7hMPSXDLS OpdQ9DSBXnriCuMlPxqP8O5zD5NRaDgITRIsPIt+/XMaXdQGYs/vVuZv01zkxKoF iTgtfhc+jIUWV3GUyy5FU3vTpzoJCp6rh98zJ2C9kyBEvLB/fhYwtICVBk0Hq+ji ZdmgN0J1VUifoS+2EB6BEQ99w49z5S8CT2H7yYXRKZkwF7lXZA8= =r62O -----END PGP SIGNATURE-----
Hello, Bug #1142648 in gdcm 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/med-team/gdcm/-/commit/837a376971a2eafae3578e35d72fe03bf0e4ab6f ------------------------------------------------------------------------ Add patch to fix build with poppler 26.07 LP: #2161630 Closes: #1142648 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1142648
We believe that the bug you reported is fixed in the latest version of gdcm, 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 1142648@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Nadzeya Hutsko <nadzeya@ubuntu.com> (supplier of updated gdcm 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: Thu, 23 Jul 2026 14:45:34 +0200 Source: gdcm Built-For-Profiles: derivative.ubuntu noudeb Architecture: source Version: 3.0.24-13 Distribution: unstable Urgency: medium Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> Changed-By: Nadzeya Hutsko <nadzeya@ubuntu.com> Closes: 1142648 Launchpad-Bugs-Fixed: 2161630 Changes: gdcm (3.0.24-13) unstable; urgency=medium . * Add patch to fix build with poppler 26.07 (LP: #2161630) (Closes: #1142648) Checksums-Sha1: 20f8b7728d9292ca20ea26f7973b14ebe472c013 3133 gdcm_3.0.24-13.dsc 8145b1b1b84cb0b006694dba8953617e13c1bb0b 290512 gdcm_3.0.24-13.debian.tar.xz 0cea6a53e6d3209735cfd9acbd2b4221f2012fd7 6872 gdcm_3.0.24-13_source.buildinfo Checksums-Sha256: 058d09f5a453a0d6454fcb9acb122a0700fde9119f1c17ffb688268022529ecc 3133 gdcm_3.0.24-13.dsc c1fd3aa460cc32bd7afd22d0a86c382a0ee05050e465a90878b0545e5704800b 290512 gdcm_3.0.24-13.debian.tar.xz 87ed592834fe116ce40ef40f5f7d163ac344e6a445b5bb24befdc9c3fa665159 6872 gdcm_3.0.24-13_source.buildinfo Files: 4a3e61d65e69c038ea785883b0ee9206 3133 libs optional gdcm_3.0.24-13.dsc 8ba669d36124cb11db0935ce9e37c5b6 290512 libs optional gdcm_3.0.24-13.debian.tar.xz 9084d5dc7ef09676824e4122d36e26b5 6872 libs optional gdcm_3.0.24-13_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmpwtAUACgkQ5mx3Wuv+ bH2Ljg/+OkTUf195PZO7LAW77Ko/Cr3uZDbzM0ITLHplrbsmwfYPlkqI/bik8Lh0 RgZDt34nI86Uh8KXBjzVlPrb7s+gIpQxWrw0uJmz9/B+FW+gxZadZXnoNb7fC92I mQ0upGpX5czmg0yjEzJ4IIGVE7Cur3btkU3NOkPWHZf1v0+RtTKRyO7JXwceDdVR jwPK+3oqd2R226PowguYi+zbWG9+vNP71HHYMxZH7PZ77Oz8AUJKjWieXcsRKeml HWW+XaaR96og/7DSgjFoKVE93L3LTU3DMTZ/5y9AylR1bKd0lYSL4MlyOmy6hH2A l4UTwUGr9O8934Dz+b+lnziAxMyAZxoX7AgoDWAZLgWnpwaRzwBx1LAoi4GROdNA /+Kb03B6ogyTO5p2GISTxbe/OhbmEihD5DRgv/72twWNsRgt7p+VAVtvJMIz1bQQ pV56fFXrcpP2qE3M9Kmq2pGddlNIVBMBCjmgNFgARiNlKqFFkSEIx1M+wO3+O7SF ja8rfhvLwa3cuB4eHAbRbvsROFTBy4TR6Q6FUIMGhjNapD72Oza05v+EdmgXRHQW KNLYUMkmbY2J/XIYUb2xcLmTuAXn+MCUNcS/nLa6OCKOqywgNrHrHLbodZypGGGt 5KwOTgS2ugFAZHVEVNeFLeA9Swl4ZKz0u4iPrZGfgD/T/gf5Cvc= =MIaN -----END PGP SIGNATURE-----