Public bug reported: gdcm fails to build from source against poppler >= 26.02 (currently 26.07.0 in stonking) on all architectures.
Two poppler API changes break the build: * poppler 26.02 changed the PDFDoc stream constructor to take std::unique_ptr<BaseStream>. This also breaks gdcm's LIBPOPPLER_PDFDOC_HAS_OPTIONAL configure probe (which tested the removed raw-pointer variant), so both gdcminfo.cxx and gdcmpdf.cxx 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*&)' ``` Build log: https://launchpad.net/~nadzeya/+archive/ubuntu/poppler-26.07/+build/33418636 ** Affects: gdcm (Ubuntu) Importance: Medium Assignee: Nadzeya Hutsko (nadzeya) Status: In Progress ** Changed in: gdcm (Ubuntu) Status: New => In Progress ** Changed in: gdcm (Ubuntu) Importance: Undecided => Medium ** Changed in: gdcm (Ubuntu) Assignee: (unassigned) => Nadzeya Hutsko (nadzeya) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2161630 Title: FTBFS with poppler 26.02+: PDFDoc stream constructor and Object::getString() API changes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdcm/+bug/2161630/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
