By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2954 - Build issue: tdegraphics FTBFS on opensuse TW
Summary: Build issue: tdegraphics FTBFS on opensuse TW
Status: RESOLVED DUPLICATE of bug 2957
Alias: None
Product: TDE
Classification: Unclassified
Component: tdegraphics (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2018-08-01 13:14 CDT by Francois Andriot
Modified: 2018-08-06 06:23 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2018-08-01 13:14:58 CDT
Hello, opensuse TW is currently using poppler version 0.66, which is causing a FTBFS in poppler-tqt:

[ 16%] Building CXX object tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o
cd /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/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.4/build/tdefile-plugins/dependencies/poppler-tqt -I/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/build -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt -I/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/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 -DNDEBUG  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -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   -o CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o -c /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc
/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc: In member function 'TQString Poppler::Document::getInfo(const TQString&) const':
/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc:180:23: error: invalid conversion from 'const GooString*' to 'GooString*' [-fpermissive]
     s1 = obj.getString();
          ~~~~~~~~~~~~~^~
/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc: In member function 'TQDateTime Poppler::Document::getDate(const TQString&) const':
/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc:252:51: error: invalid conversion from 'const GooString*' to 'GooString*' [-fpermissive]
     TQString s = UnicodeParsedString(obj.getString());
                                      ~~~~~~~~~~~~~^~
In file included from /tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc:34:
/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h:44:41: note:   initializing argument 1 of 'TQString Poppler::UnicodeParsedString(GooString*)'
 TQString UnicodeParsedString(GooString *s1);
                              ~~~~~~~~~~~^~
/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc: In member function 'TQDomDocument* Poppler::Document::toc() const':
/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc:323:38: error: invalid conversion from 'const GooList*' to 'GooList*' [-fpermissive]
   GooList * items = outline->getItems();
                     ~~~~~~~~~~~~~~~~~^~
make[3]: *** [tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/build.make:66: tdefile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1
make[3]: Leaving directory '/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/build'
make[2]: *** [CMakeFiles/Makefile2:2405: 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.4/build'
make[1]: *** [Makefile:133: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.osstw.x86_64/trinity-tdegraphics-14.0.4/build'
error: Bad exit status from /tmp/rpm-tmp.rZZ5pS (%build)
Comment 1 Michele Calgaro 2018-08-06 06:23:56 CDT
Duplicate of 2957. Same error on same file.
Francois, can you try building with the patch suggested there?

*** This bug has been marked as a duplicate of bug 2957 ***