Bug 455718

Summary: digiKam binary factory : Mingw, AppImage, MacOS : build are broken due to KDEPIM failure.
Product: [Unmaintained] Craft Reporter: caulier.gilles
Component: BlueprintsAssignee: Hannah von Reth <vonreth>
Status: RESOLVED FIXED    
Severity: normal CC: kde-windows, metzpinguin
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description caulier.gilles 2022-06-21 13:20:38 UTC
Hi,

For a reason that i don't find the settings, digiKam is compiled with a dependency to KDEPIM, where, it don't depend. For ex, an application as KMyMoney compile fine for this target and don't depend of KDEPIM at all.

exemple of error reported from AppImage build:

19:47:28 * Action: unpack for kde/pim/libkleo *
19:47:28 executing command: /home/appimage/Craft/BinaryFactory/linux-64-gcc/dev-utils/bin/7za x /home/appimage/Craft/BinaryFactory/downloads/archives/kde/pim/libkleo/libkleo-22.04.2.tar.xz -so | /usr/bin/tar --directory /home/appimage/Craft/BinaryFactory/linux-64-gcc/build/kde/pim/libkleo/work -xf -
19:47:28 * Action: compile for kde/pim/libkleo *
19:47:28 executing command: "/home/appimage/Craft/BinaryFactory/linux-64-gcc/dev-utils/bin/cmake" -G Ninja -DBUILD_TESTING=ON -DBUILD_SHARED_LIBS=ON -DUSE_UNITY_CMAKE_SUPPORT=ON -DCMAKE_INSTALL_PREFIX=/home/appimage/Craft/BinaryFactory/linux-64-gcc -DCMAKE_PREFIX_PATH=/home/appimage/Craft/BinaryFactory/linux-64-gcc -DCMAKE_REQUIRED_INCLUDES=/home/appimage/Craft/BinaryFactory/linux-64-gcc/include -DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=/home/appimage/Craft/BinaryFactory/linux-64-gcc/include -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_LIBDIR:PATH=lib -S /home/appimage/Craft/BinaryFactory/linux-64-gcc/build/kde/pim/libkleo/work/libkleo-22.04.2
19:47:28 -- The C compiler identification is GNU 9.3.1
19:47:28 -- The CXX compiler identification is GNU 9.3.1
...
19:47:29 -- Found Gettext: /home/appimage/Craft/BinaryFactory/linux-64-gcc/bin/msgmerge (found version "0.21")
19:47:29 CMake Error at CMakeLists.txt:50 (find_package):
19:47:29 Could not find a package configuration file provided by "Gpgmepp"
19:47:29 (requested version 1.15.0) with any of the following names:
19:47:29
19:47:29 GpgmeppConfig.cmake
19:47:29 gpgmepp-config.cmake
19:47:29
19:47:29 Add the installation prefix of "Gpgmepp" to CMAKE_PREFIX_PATH or set
19:47:29 "Gpgmepp_DIR" to a directory containing one of the above files. If
19:47:29 "Gpgmepp" provides a separate development package or SDK, be sure it has
19:47:29 been installed.
19:47:29
19:47:29
19:47:29 -- Configuring incomplete, errors occurred!

Thanks for helping

Best

Gilles Caulier
Comment 1 caulier.gilles 2022-06-24 16:36:45 UTC
Problem is fixed in Craft digiKam config and digiKam cmake scripts

Gilles Caulier