Public bug reported: gambas3 fails to build from source against poppler >= 26.02 (currently 26.07.0 in stonking) on all architectures. All failures are in the gb.pdf component (gb.pdf/src/CPdfDocument.cpp):
* poppler 26.02 changed the PDFDoc stream constructor to take a std::unique_ptr<BaseStream>, and dropped the reverseVideo parameter from the SplashOutputDev constructor * poppler 26.04 changed Object::getString() to return const std::string& instead of const GooString* * Links::getLinks() returns shared_ptr<AnnotLink>, whose dereference now needs the complete AnnotLink type ``` CPdfDocument.cpp:182:42: error: cannot convert 'const std::string' to'const GooString*' in assignment CPdfDocument.cpp:523:33: error: no matching function for call to 'PDFDoc::PDFDoc(MemStream*&)' CPdfDocument.cpp:542:70: error: no matching function for call to 'SplashOutputDev::SplashOutputDev(SplashColorMode, int, bool, SplashColor)' CPdfDocument.cpp:1124:50: error: invalid use of incomplete type 'class AnnotLink' ``` Build log: https://launchpad.net/~nadzeya/+archive/ubuntu/poppler-26.07/+build/33418573 ** Affects: gambas3 (Ubuntu) Importance: Medium Assignee: Nadzeya Hutsko (nadzeya) Status: In Progress ** Changed in: gambas3 (Ubuntu) Assignee: (unassigned) => Nadzeya Hutsko (nadzeya) ** Changed in: gambas3 (Ubuntu) Status: New => In Progress ** Changed in: gambas3 (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2161669 Title: FTBFS with poppler 26.02+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gambas3/+bug/2161669/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
