Build issue: ftbfs on opensuse tumbleweed using poppler 22.04.0 #46

Closed
opened 2 months ago by Francois · 3 comments
Collaborator

Basic information

  • TDE version: 14.0.12
  • Distribution: opensuse tumbleweed
  • Hardware: amd64

Description

Again, poppler-tqt stuff ftbfs because of updated poppler library.
Poppler version is 22.04.0 .

Steps to reproduce

Build

Screenshots

[ 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'
<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: 14.0.12 - Distribution: opensuse tumbleweed - Hardware: amd64 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description Again, poppler-tqt stuff ftbfs because of updated poppler library. Poppler version is 22.04.0 . ## Steps to reproduce Build ## Screenshots ``` [ 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' ```
Francois added this to the R14.0.13 release milestone 2 months ago
Francois added the
SL/major
label 2 months ago
Owner

Please, can you try to add a patch from #45 to your packaging files?

Please, can you try to add a patch from #45 to your packaging files?
Poster
Collaborator

Thanks, I confirm the patch has solved the build issue.

Thanks, I confirm the patch has solved the build issue.
Owner

Thank you for your confirmation, so I close this issue as solved by #45.

Thank you for your confirmation, so I close this issue as solved by #45.
SlavekB closed this issue 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.