SUMMARY building 7.3.0 from git clone source, barfs at 90% with errors in building vkontakte. STEPS TO REPRODUCE 1. git clone (etc.) 2. standard build process 3. barf OBSERVED RESULT [ 90%] Linking CXX executable frequentrequests_utest Scanning dependencies of target photos_utest /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::start()': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::urlChanged(QUrl const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o): in function `Vkontakte::VkontakteJob::handleError(QJsonValue const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o):/home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: more undefined references to `DIGIKAM_WEBSERVICES_LOG()' follow collect2: error: ld returned 1 exit status make[2]: *** [core/tests/vkontakte/CMakeFiles/frequentrequests_utest.dir/build.make:129: core/tests/vkontakte/frequentrequests_utest] Error 1 make[1]: *** [CMakeFiles/Makefile2:28475: core/tests/vkontakte/CMakeFiles/frequentrequests_utest.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 90%] Linking CXX executable albums_utest [ 90%] Building CXX object core/tests/vkontakte/CMakeFiles/photos_utest.dir/photos_utest_autogen/mocs_compilation.cpp.o [ 90%] Building CXX object core/tests/vkontakte/CMakeFiles/photos_utest.dir/photos_utest.cpp.o /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::start()': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::urlChanged(QUrl const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o): in function `Vkontakte::VkontakteJob::handleError(QJsonValue const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o):/home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: more undefined references to `DIGIKAM_WEBSERVICES_LOG()' follow collect2: error: ld returned 1 exit status make[2]: *** [core/tests/vkontakte/CMakeFiles/albums_utest.dir/build.make:129: core/tests/vkontakte/albums_utest] Error 1 make[1]: *** [CMakeFiles/Makefile2:28505: core/tests/vkontakte/CMakeFiles/albums_utest.dir/all] Error 2 [ 90%] Linking CXX executable userinfo_utest /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::start()': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::urlChanged(QUrl const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o): in function `Vkontakte::VkontakteJob::handleError(QJsonValue const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o):/home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: more undefined references to `DIGIKAM_WEBSERVICES_LOG()' follow collect2: error: ld returned 1 exit status make[2]: *** [core/tests/vkontakte/CMakeFiles/userinfo_utest.dir/build.make:129: core/tests/vkontakte/userinfo_utest] Error 1 make[1]: *** [CMakeFiles/Makefile2:28535: core/tests/vkontakte/CMakeFiles/userinfo_utest.dir/all] Error 2 [ 90%] Linking CXX executable photos_utest /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::start()': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:184: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_authenticationdialog.cpp.o): in function `Vkontakte::AuthenticationDialog::urlChanged(QUrl const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_authenticationdialog.cpp:202: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o): in function `Vkontakte::VkontakteJob::handleError(QJsonValue const&)': /home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: undefined reference to `DIGIKAM_WEBSERVICES_LOG()' /usr/bin/ld: ../../dplugins/generic/webservices/vkontakte/libvkontaktebackend.a(vkontakte_jobs.cpp.o):/home/gessel/projects/digikam/core/dplugins/generic/webservices/vkontakte/backend/vkontakte_jobs.cpp:109: more undefined references to `DIGIKAM_WEBSERVICES_LOG()' follow collect2: error: ld returned 1 exit status make[2]: *** [core/tests/vkontakte/CMakeFiles/photos_utest.dir/build.make:129: core/tests/vkontakte/photos_utest] Error 1 make[1]: *** [CMakeFiles/Makefile2:28565: core/tests/vkontakte/CMakeFiles/photos_utest.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 EXPECTED RESULT SUCCESS! SOFTWARE/OS VERSIONS Linux/KDE Plasma: 20.04.2 LTS (Focal Fossa) 5.11.0-27-generic (available in About System) KDE Plasma Version: plasmashell 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 mariadb Ver 15.1 Distrib 10.3.31-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 ADDITIONAL INFORMATION Given that a lot of us would never use any of the web services and perhaps quite a few of the other plugins, a build/config option to omit those might make build times faster and avoid some of these dependency hangs.
Fixed with this commit: https://invent.kde.org/graphics/digikam/-/commit/8587be8fbb5806a0c53ee2ad43ded389c3eaf524 Maik
Thanks - I gather not backported to 7.3.0? I did a git clone -b v7.3.0 https://invent.kde.org/graphics/digikam.git and then built, running into the bug. I'll redo without the branch spec and verify... big honkin' git pull...
Thanks, I originally built with git clone -b v7.3.0 https://invent.kde.org/graphics/digikam.git to get stable this time I used git clone https://invent.kde.org/graphics/digikam.git to get Master and got stuck at a different spot: make[1]: *** [CMakeFiles/Makefile2:28565: core/tests/vkontakte/CMakeFiles/photos_utest.dir/all] Error 2 [ 90%] Built target Generic_Panorama_Plugin_autogen [ 90%] Linking CXX executable filesaveoptionsbox_utest [ 90%] Built target filesaveoptionsbox_utest [ 90%] Linking CXX executable dimghistorygraph_utest [ 90%] Built target dimghistorygraph_utest make: *** [Makefile:141: all] Error 2
retried: success!