Bug 453992

Summary: Build error in digiKam Setup
Product: [Applications] digikam Reporter: maderios <leoutation>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:
Attachments: build error

Description maderios 2022-05-18 15:37:07 UTC
Created attachment 148959 [details]
build error

Hi
I got build error  with showfoto.  See attachment
May be from qtav ? But mediaplayer is disabled...
Arch system
KDE Frameworks Version:  5.94
Qt Version: 5.15.4
Cmake 3.23.1

    -DBUILD_TESTING=OFF \
    -DBUILD_WITH_CCACHE=ON \
    -DENABLE_KFILEMETADATASUPPORT=ON \
    -DENABLE_MEDIAPLAYER=OFF \
    -DENABLE_AKONADICONTACTSUPPORT=OFF \
    -DENABLE_MYSQLSUPPORT=ON \
    -DENABLE_APPSTYLES=ON \
    -DENABLE_QWEBENGINE=ON

[ 92%] [32mBuilding CXX object core/dplugins/generic/tools/panorama/CMakeFiles/Generic_Panorama_Plugin.dir/wizard/panowizard.cpp.o[0m
[ 92%] [32mBuilding CXX object core/dplugins/generic/tools/panorama/CMakeFiles/Generic_Panorama_Plugin.dir/panoramaplugin.cpp.o[0m
collect2: error: ld returned 1 exit status
make[2]: *** [core/app/CMakeFiles/digikamgui.dir/build.make:1149: bin/libdigikamgui.so.8.0.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:8912: core/app/CMakeFiles/digikamgui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 92%] [32m[1mLinking CXX shared module ../../../../../bin/Generic_Panorama_Plugin.so[0m
[ 92%] Built target Generic_Panorama_Plugin
[ 92%] [32m[1mLinking CXX executable ../../bin/showfoto[0m
[ 92%] Built target showfoto
make: *** [Makefile:136: all] Error 2
Comment 1 Maik Qualmann 2022-05-18 18:06:22 UTC
Git commit 662021ecda1aa2cfe6f6b2496ecbd4855f52c3b3 by Maik Qualmann.
Committed on 18/05/2022 at 18:05.
Pushed by mqualmann into branch 'master'.

this should fix compiling without media player support

M  +9    -1    core/utilities/setup/CMakeLists.txt
M  +18   -1    core/utilities/setup/setup.cpp
M  +2    -0    core/utilities/setup/setup.h

https://invent.kde.org/graphics/digikam/commit/662021ecda1aa2cfe6f6b2496ecbd4855f52c3b3
Comment 2 maderios 2022-05-18 19:50:41 UTC
It works. Thanks :)