https://bugs.kde.org/show_bug.cgi?id=442261

            Bug ID: 442261
           Summary: undefined references to `DIGIKAM_WEBSERVICES_LOG()'
           Product: digikam
           Version: 7.3.0
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Plugin-WebService-Vkontakte
          Assignee: digikam-bugs-n...@kde.org
          Reporter: ges...@blackrosetech.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to