Bug 458045 - skanpage: Could NOT find KF5Purpose
Summary: skanpage: Could NOT find KF5Purpose
Status: RESOLVED WORKSFORME
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-18 20:52 UTC by Alexander Wilms
Modified: 2024-04-15 12:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
cmake.log (2.23 KB, text/x-log)
2022-08-18 20:52 UTC, Alexander Wilms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wilms 2022-08-18 20:52:51 UTC
Created attachment 151415 [details]
cmake.log

SUMMARY
Building Skanpage with kdesrc-build fails on openSUSE Tumbleweed


STEPS TO REPRODUCE
1. Use openSUSE Tumbleweed and kdesrc-build 22.07 (v22.07-36-g67a88e0)
2. kdesrc-build skanpage
3. Follow steps under https://community.kde.org/Get_Involved/development#Applications

OBSERVED RESULT
Building skanpage from kdeutils (9/9)
        Fetching remote changes to skanpage
        Merging skanpage changes from branch master
        Source update complete for skanpage: no files affected
          Rebuilding because the last configure failed
        Preparing build system for skanpage.
        Removing files in build directory for skanpage
        Old build system cleaned, starting new build system.
        Running cmake targeting Unix Makefiles...
        Unable to configure skanpage with KDE CMake

skanpage didn't build, stopping here.

CMake log excerpt:

-- Could NOT find KF5Purpose (missing: KF5Purpose_DIR)
-- Could NOT find KF5Purpose: found neither KF5PurposeConfig.cmake nor kf5purpose-config.cmake 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find KF5 (missing: Purpose) (found suitable version "5.98.0",
  minimum required is "5.94")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /home/alexander/kde/usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
  CMakeLists.txt:40 (find_package)

<<<  PACKAGES FAILED TO BUILD  >>>
skanpage - file:///home/alexander/kde/src/log/2022-08-18-03/skanpage/cmake.log

:-(

EXPECTED RESULT
A successful build of Skanpage

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20220817
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Comment 1 Ömer Fadıl USTA 2022-08-19 19:42:07 UTC
Alexander : Hello , and sorry about the problem
Normally it should also compile it and use it but maybe its dependency thing might be wrong so
it is not trying to compile it,  so you can try A) kdesrc-build purpose  B) install purpose from your package manager
i suggest go with kdesrc-build so you will have latest/git version of purpose library/framework then try to compile
 skanpage again with kdesrc-build
Comment 2 Alexander Wilms 2022-08-19 20:07:44 UTC
No problem, thanks for the suggestion. I tried kdesrc-build purpose, but that failed as well: https://bugs.kde.org/show_bug.cgi?id=458076
Comment 3 Alexander Wilms 2022-08-19 20:44:29 UTC
This worked:

sudo zypper install *qca* *gpgmepp*
kdesrc-build purpose
kdesrc-build skanpage
Comment 4 Andrew Shark 2024-04-15 12:34:41 UTC
Cannot reproduce. `kde-builder  skanpage` on opensuse Tumbleweed works as expected. Created mr for missing dependencies: https://invent.kde.org/sysadmin/repo-metadata/-/merge_requests/361