Tim, Darrell,
Both pre/post TQt3 namechange, I am experiencing tdegraphics build fails due to no matching function for call to 'PSOutputDev::PSOutputDev(const char*, XRef*, Catalog*, NULL, int, int, PSOutMode, int&, int&)'. Does this fall under the "still fixing stuff - wait another week and try again" realm of errors, or is this a separate issue we need to dig into?
The full 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 make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
Anybody?
It looks like the crash is due to a poppler function prototype confusion. Is this gcc 4.7.1 related? Anybody familiar with the poppler-tqt call involved? Moreover -- how to fix it?
On 06/21/2012 11:43 PM, David C. Rankin wrote:
Tim, Darrell,
Both pre/post TQt3 namechange, I am experiencing tdegraphics build fails due to no matching function for call to 'PSOutputDev::PSOutputDev(const char*, XRef*, Catalog*, NULL, int, int, PSOutMode, int&, int&)'. Does this fall under the "still fixing stuff - wait another week and try again" realm of errors, or is this a separate issue we need to dig into?
The full 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 make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
Anybody?
It looks like the crash is due to a poppler function prototype confusion. Is this gcc 4.7.1 related? Anybody familiar with the poppler-tqt call involved? Moreover -- how to fix it?
It looks like HAVE_POPPLER_016 is not being set. tdegraphics builds fine here, so I suspect that there is an upstream API change that is confusing the Poppler version check in kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake.
Tim
Anybody?
It looks like the crash is due to a poppler function prototype confusion. Is this gcc 4.7.1 related? Anybody familiar with the poppler-tqt call involved? Moreover -- how to fix it?
It looks like HAVE_POPPLER_016 is not being set. tdegraphics builds fine here, so I suspect that there is an upstream API change that is confusing the Poppler version check in kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake.
Tim
Come to think of it, the gcc change might also interfere with that check. It would help if you could post the following files from your tdegraphics build: CMakeFiles/CMakeError.log CMakeFiles/CMakeOutput.log
Thanks!
Tim
On 06/22/2012 11:15 AM, Timothy Pearson wrote:
Come to think of it, the gcc change might also interfere with that check. It would help if you could post the following files from your tdegraphics build: CMakeFiles/CMakeError.log CMakeFiles/CMakeOutput.log
Thanks!
Tim
OK on it (have to rebuild to crash because chroot build wipes earlier package) should have it in 5 min :)
On 06/22/2012 11:24 AM, David C. Rankin wrote:
On 06/22/2012 11:15 AM, Timothy Pearson wrote:
Come to think of it, the gcc change might also interfere with that check. It would help if you could post the following files from your tdegraphics build: CMakeFiles/CMakeError.log CMakeFiles/CMakeOutput.log
Thanks!
Tim
OK on it (have to rebuild to crash because chroot build wipes earlier package) should have it in 5 min :)
I have them attached Tim. Also note, this is with the following installed:
poppler 0.20.0-1 poppler-data 0.4.5-1
Could this be a dependency issue?
On 06/22/2012 11:24 AM, David C. Rankin wrote:
On 06/22/2012 11:15 AM, Timothy Pearson wrote:
Come to think of it, the gcc change might also interfere with that check. It would help if you could post the following files from your tdegraphics build: CMakeFiles/CMakeError.log CMakeFiles/CMakeOutput.log
Thanks!
Tim
OK on it (have to rebuild to crash because chroot build wipes earlier package) should have it in 5 min :)
I have them attached Tim. Also note, this is with the following installed:
poppler 0.20.0-1 poppler-data 0.4.5-1
Could this be a dependency issue?
No, the logs confirm a Poppler API change. I don't see any mention of it in their changelogs at http://poppler.freedesktop.org/releases.html, but I suspect it took place after 0.18.x. This will need to be fixed.
Tim
On 06/22/2012 11:50 AM, Timothy Pearson wrote:
No, the logs confirm a Poppler API change. I don't see any mention of it in their changelogs at http://poppler.freedesktop.org/releases.html, but I suspect it took place after 0.18.x. This will need to be fixed.
Tim
Roger! Added http://bugs.pearsoncomputing.net/show_bug.cgi?id=1061 as Blocker with logs attached.
It looks like the crash is due to a poppler function prototype confusion. Is this gcc 4.7.1 related? Anybody familiar with the poppler-tqt call involved? Moreover -- how to fix it?
There were some recent nominal poppler related patches for tdegraphics, but they are not causing problems here.
Despite not yet having 4.7.1, I hope to run full build sets the next few days with all of the Slackware releases I am supporting. If there are no tdegraphics failures then I'll have to wait until 4.7.1 is available before trying to share meaningful results. I have to wait for 4.7.1 anyway before I can confirm no kate/kwrite issues here.
Darrell