Hi Folks (please CC, I am not subscribed), I ported packagesearch to QT5 due to the removal of QT4. On my machine everything compiled fine. But when I uploaded the package, almost all buildds failed to build (except for the amd64 one). https://buildd.debian.org/status/package.php?p=packagesearch&suite=sid
I am a bit at a loss, what could cause the problem, and searching the web for a solution did not reveal much either. Is there someone who could provide some help or take over the investigation? Am I missing some dependencies or do I invoke qt the wrong way? You can get the source via "apt-get source" or from SourceForge https://git.code.sf.net/p/packagesearch/git The compilation (moc) fails with the following message: /usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include .moc/moc_predefs.h -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src -I/usr/include/tagcoll-2.0.14 -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtXml -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include packagesearchimpl.h -o .moc/moc_packagesearchimpl.cpp usr/include/c++/7/bits/stl_relops.:67: Parse error at "std" Makefile:520: recipe for target '.moc/moc_packagesearchimpl.cpp' failed make[3]: *** [.moc/moc_packagesearchimpl.cpp] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from packagesearchimpl.cpp:70:0: extalgorithm.h:124:7: warning: 'template<class _Operation> class std::binder2nd' is deprecated [-Wdeprecated-declarations] class binder2nd<mem_fun1_ref_t<A,B,C> > : public unary_function<B,A> { ^~~~~~~~~ In file included from /usr/include/c++/7/bits/stl_function.h:1127:0, from /usr/include/c++/7/bits/stl_tree.h:65, from /usr/include/c++/7/map:60, from packagesearchimpl.h:18, from packagesearchimpl.cpp:13: /usr/include/c++/7/backward/binders.h:143:11: note: declared here class binder2nd ^~~~~~~~~ In file included from packagesearchimpl.cpp:70:0: extalgorithm.h:145:7: warning: 'template<class _Operation> class std::binder2nd' is deprecated [-Wdeprecated-declarations] class binder2nd<mem_fun1_t<A,B,C> > : public unary_function<B,A> { ^~~~~~~~~ In file included from /usr/include/c++/7/bits/stl_function.h:1127:0, from /usr/include/c++/7/bits/stl_tree.h:65, from /usr/include/c++/7/map:60, from packagesearchimpl.h:18, from packagesearchimpl.cpp:13: /usr/include/c++/7/backward/binders.h:143:11: note: declared here class binder2nd ^~~~~~~~~ make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' Makefile:15: recipe for target 'all' failed make[2]: *** [all] Error 2 Best regards Ben