Compilation failure with latest git
Hello, with git revision up until 2022-07-11 included, KStars compiled fine on all systems. Then I've pushed the 2022-07-12 changes and compilation failed on some systems. The error(s) is/are:
[ 134s] In file included from /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/moc_catalogsdb.cpp:10:0,
[ 134s] from /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/mocs_compilation.cpp:20:
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h: In member function 'void CatalogsDB::AsyncDBManager::find_objects_by_name(const QString&, int)':
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:849:31: error: no matching function for call to 'CatalogsDB::AsyncDBManager::execute<const QString&, const int, const bool>(<unresolved overloaded function type>, const QString&, const int&, bool)'
[ 134s] name, limit, false);
[ 134s] ^
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:809:10: note: candidate: template<class ... Args> void CatalogsDB::AsyncDBManager::execute(CatalogsDB::AsyncDBManager::DBManagerMethod<Args ...>, Args ...)
[ 134s] void execute(DBManagerMethod<Args...> dbManagerMethod, Args... args)
[ 134s] ^~~~~~~
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:809:10: note: template argument deduction/substitution failed:
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:849:31: note: could not resolve address from overloaded function '& CatalogsDB::DBManager::find_objects_by_name'
[ 134s] name, limit, false);
[ 134s] ^
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h: In member function 'void CatalogsDB::AsyncDBManager::find_objects_by_name_exact(const QString&)':
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:856:26: error: no matching function for call to 'CatalogsDB::AsyncDBManager::execute<const QString&, const int, const bool>(<unresolved overloaded function type>, const QString&, int, bool)'
[ 134s] name, 1, true);
[ 134s] ^
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:809:10: note: candidate: template<class ... Args> void CatalogsDB::AsyncDBManager::execute(CatalogsDB::AsyncDBManager::DBManagerMethod<Args ...>, Args ...)
[ 134s] void execute(DBManagerMethod<Args...> dbManagerMethod, Args... args)
[ 134s] ^~~~~~~
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:809:10: note: template argument deduction/substitution failed:
[ 134s] /home/abuild/rpmbuild/BUILD/kstars-git-3.6.0~git.20220712/build/kstars/KStarsLib_autogen/XFVY5Q5QA5/../../../../kstars/catalogsdb/catalogsdb.h:856:26: note: could not resolve address from overloaded function '& CatalogsDB::DBManager::find_objects_by_name'
[ 134s] name, 1, true);
[ 134s] ^
Failed on:
- openSUSE Leap 15.4 x64 and aarch64
- openSUSE Leap 15.3 x64 and aarch64
Passed on:
- openSUSE Tumbleweed x64 and aarch64
Full log for failed build on 15.4 available here.
Edited by Paolo Stivanin