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 1061

Summary: Build issue: Poppler API change causes FTBFS for tdegraphics
Product: TDE Reporter: David C. Rankin <trin>
Component: tdegraphicsAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: blocker CC: bugwatch, darrella
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: CMakeError.log and CMakeOutput.log files

Description David C. Rankin 2012-06-22 12:15:46 CDT
Created attachment 691 [details]
CMakeError.log and CMakeOutput.log files

tdegraphics fails to build from source with poppler 0.20.0-1 and poppler-data 0.4.5-1 installed. There appears to be an API change between 0.18.x and 0.20.x. I will attach the CMakeError and Output logs. The full build time error is:

[ 10%] Building CXX object
kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o
cd /build/src/build/kfile-plugins/dependencies/poppler-tqt && /usr/bin/c++
-Dpoppler_tqt_shared_EXPORTS -DHAVE_CONFIG_H -fpermissive  -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/opt/tqt3/include
-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 -fPIC -I/build/src/build/kfile-plugins/dependencies/poppler-tqt
-I/build/src/build -I/opt/trinity/include -I/opt/tqt3/include -I/usr/include/tqt
-I/build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt
-I/usr/include/poppler    -o
CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o -c
/build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc
/build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:
In member function 'bool Poppler::Document::print(const TQString&,
TQValueList<int>, double, double, int, int, int)':
/build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:323:167:
error: no matching function for call to 'PSOutputDev::PSOutputDev(const char*,
XRef*, Catalog*, NULL, int, int, PSOutMode, int&, int&)'
/build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:323:167:
note: candidates are:
In file included from
/build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:28:0:
/usr/include/poppler/PSOutputDev.h:108:3: note:
PSOutputDev::PSOutputDev(PSOutputFunc, void*, char*, PDFDoc*, int, int,
PSOutMode, int, int, GBool, int, int, int, int, GBool, GBool,
PSOutCustomCodeCbk, void*)
/usr/include/poppler/PSOutputDev.h:108:3: note:   no known conversion for
argument 1 from 'const char*' to 'PSOutputFunc {aka void (*)(void*, const char*,
int)}'
/usr/include/poppler/PSOutputDev.h:95:3: note: PSOutputDev::PSOutputDev(const
char*, PDFDoc*, char*, int, int, PSOutMode, int, int, GBool, int, int, int, int,
GBool, GBool, PSOutCustomCodeCbk, void*)
/usr/include/poppler/PSOutputDev.h:95:3: note:   no known conversion for
argument 2 from 'XRef*' to 'PDFDoc*'
/usr/include/poppler/PSOutputDev.h:91:7: note: PSOutputDev::PSOutputDev(const
PSOutputDev&)
/usr/include/poppler/PSOutputDev.h:91:7: note:   candidate expects 1 argument, 9
provided
Comment 1 Darrell 2012-06-22 12:22:49 CDT
Added "Build issue" to Summary for easier identification and querying.
Comment 2 Timothy Pearson 2012-06-22 13:12:45 CDT
This is the offending commit in Poppler GIT:
http://cgit.freedesktop.org/poppler/poppler/commit/poppler/PSOutputDev.h?id=7d794f6411499fb8f26778bf2b54cb9734d004af
Comment 3 Timothy Pearson 2012-06-22 13:39:06 CDT
This should be fixed in GIT hash 44d1a52.

Thanks for reporting!