Again, poppler-tqt stuff ftbfs because of updated poppler library. Poppler version is 22.04.0 .
Build
[ 18%] Building CXX object tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cpp.o cd /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/build/tdefile-plugins/dependencies/poppler-tqt && /usr/bin/c++ -DHAVE_CONFIG_H -Dpoppler_tqt_shared_EXPORTS -I/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/build/tdefile-plugins/dependencies/poppler-tqt -I/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/build -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt -I/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/tdefile-plugins/dependencies/poppler-tqt -I/usr/include/poppler -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fdebug-prefix-map=/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12=. -fmacro-prefix-map=/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12=. -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG -fPIC -MD -MT tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cpp.o -MF CMakeFiles/poppler-tqt-shared.dir/poppler-document.cpp.o.d -o CMakeFiles/poppler-tqt-shared.dir/poppler-document.cpp.o -c /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp In file included from /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp:34: /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h: In constructor 'Poppler::DocumentData::DocumentData(GooString*, GooString*)': /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h:107:62: error: no matching function for call to 'PDFDoc::PDFDoc(GooString*&, GooString*&)' 107 | DocumentData(GooString *filePath, GooString *password) : doc(filePath,password), m_fontInfoScanner(0), m_outputDev(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp:27: /usr/include/poppler/PDFDoc.h:371:5: note: candidate: 'PDFDoc::PDFDoc()' 371 | PDFDoc(); | ^~~~~~ /usr/include/poppler/PDFDoc.h:371:5: note: candidate expects 0 arguments, 2 provided /usr/include/poppler/PDFDoc.h:139:14: note: candidate: 'PDFDoc::PDFDoc(BaseStream*, const std::optional<GooString>&, const std::optional<GooString>&, void*, const std::function<void()>&)' 139 | explicit PDFDoc(BaseStream *strA, const std::optional<GooString> &ownerPassword = {}, const std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr, const std::function<void()> &xrefReconstructedCallback = {}); | ^~~~~~ /usr/include/poppler/PDFDoc.h:139:33: note: no known conversion for argument 1 from 'GooString*' to 'BaseStream*' 139 | explicit PDFDoc(BaseStream *strA, const std::optional<GooString> &ownerPassword = {}, const std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr, const std::function<void()> &xrefReconstructedCallback = {}); | ~~~~~~~~~~~~^~~~ In file included from /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp:27: /usr/include/poppler/PDFDoc.h:132:14: note: candidate: 'PDFDoc::PDFDoc(std::unique_ptr<GooString>&&, const std::optional<GooString>&, const std::optional<GooString>&, void*, const std::function<void()>&)' 132 | explicit PDFDoc(std::unique_ptr<GooString> &&fileNameA, const std::optional<GooString> &ownerPassword = {}, const std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr, | ^~~~~~ /usr/include/poppler/PDFDoc.h:132:50: note: no known conversion for argument 1 from 'GooString*' to 'std::unique_ptr<GooString>&&' 132 | explicit PDFDoc(std::unique_ptr<GooString> &&fileNameA, const std::optional<GooString> &ownerPassword = {}, const std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[3]: *** [tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/build.make:79: tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cpp.o] Error 1 make[3]: Leaving directory '/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/build' make[2]: *** [CMakeFiles/Makefile2:4143: tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make[2]: Leaving directory '/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/build' make[1]: *** [Makefile:139: all] Error 2 make[1]: Leaving directory '/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.12/build'
Please, can you try to add a patch from #45 to your packaging files?
Thanks, I confirm the patch has solved the build issue.
Thank you for your confirmation, so I close this issue as solved by #45.
No due date set.
No dependencies set.
Deleting a branch is permanent. It CANNOT be undone. Continue?
Basic information
Description
Again, poppler-tqt stuff ftbfs because of updated poppler library.
Poppler version is 22.04.0 .
Steps to reproduce
Build
Screenshots
Please, can you try to add a patch from #45 to your packaging files?
Thanks, I confirm the patch has solved the build issue.
Thank you for your confirmation, so I close this issue as solved by #45.
MicheleC referenced this issue from TDE/tde 2 years ago