This forum has been archived. All content is frozen. Please use KDE Discuss instead.

cmake error "KF5PackageMacros.cmake"

Tags: None
(comma "," separated)
leolist
Registered Member
Posts
47
Karma
0
Trying to build amarok on Ubuntu 19 and am getting the following errors for cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde -DCMAKE_BUILD_TYPE=debugfull $HOME/kde/src/amarok

Code: Select all
-- Found KF5: success (found suitable version "5.56.0", minimum required is "5.41.0") found components:  Archive Attica Codecs Config ConfigWidgets CoreAddons Crash DBusAddons Declarative DNSSD GlobalAccel GuiAddons I18n IconThemes KCMUtils KIO NewStuff Notifications NotifyConfig Package Solid TextEditor ThreadWeaver WidgetsAddons WindowSystem
-- Taglib found: -L/usr/lib/x86_64-linux-gnu -ltag
-- Taglib-Extras found: -L/usr/lib -ltag-extras
-- Found libofa: /usr/include/ofa1, /usr/lib/x86_64-linux-gnu/libofa.so
--    Include directory: /usr/include/gdk-pixbuf-2.0
-- Libgcrypt found: /usr/lib/x86_64-linux-gnu/libgcrypt.so
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:127 (message):
  couldn't generate metainfo for org.kde.amarok.albums:
  kf5.kcoreaddons.desktopparser: Unable to find service type for service
  "Amarok/ContextApplet" listed in
  "/home/llist/kde/src/amarok/src/context/applets/albums/package//metadata.desktop"


  kf5.kcoreaddons.desktopparser: Unable to find service type for service
  "Amarok/ContextApplet" listed in
  "/home/llist/kde/src/amarok/src/context/applets/albums/package/metadata.desktop"


  Package type "Amarok/ContextApplet" not found

  kf5.kcoreaddons.desktopparser: Unable to find service type for service
  "Amarok/ContextApplet" listed in
  "/home/llist/kde/src/amarok/src/context/applets/albums/package/metadata.desktop"


  Error: description missing, will result in broken appdata field as
  <sumary/> is mandatory at
  /home/llist/kde/src/amarok/src/context/applets/albums/package/metadata.desktop
Call Stack (most recent call first):
  src/context/applets/albums/CMakeLists.txt:22 (kpackage_install_bundled_package)


CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/KF5Package/KF5PackageMacros.cmake:127 (message):
  couldn't generate metainfo for org.kde.amarok.currenttrack:
  kf5.kcoreaddons.desktopparser: Unable to find service type for service
  "Amarok/ContextApplet" listed in
  "/home/llist/kde/src/amarok/src/context/applets/currenttrack/package//metadata.desktop"


  kf5.kcoreaddons.desktopparser: Unable to find service type for service
  "Amarok/ContextApplet" listed in
  "/home/llist/kde/src/amarok/src/context/applets/currenttrack/package/metadata.desktop"


  Package type "Amarok/ContextApplet" not found

  kf5.kcoreaddons.desktopparser: Unable to find service type for service
  "Amarok/ContextApplet" listed in
  "/home/llist/kde/src/amarok/src/context/applets/currenttrack/package/metadata.desktop"


  Error: description missing, will result in broken appdata field as
  <sumary/> is mandatory at
  /home/llist/kde/src/amarok/src/context/applets/currenttrack/package/metadata.desktop
Call Stack (most recent call first):
  src/context/applets/currenttrack/CMakeLists.txt:18 (kpackage_install_bundled_package)



cmake completes with the following
Code: Select all
* ZLIB, zlib
 * PkgConfig
 * FFTW3, A C subroutine library for computing the discrete Fourier transform, <http://www.fftw.org/>
 * KF5Wallet
 * KF5

-- The following OPTIONAL packages have not been found:

 * Googlemock
 * LibLastFm, Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists, <http://cdn.last.fm/client/liblastfm-1.0.3.tar.gz>

-- Configuring done
-- Generating done
-- Build files have been written to: /home/llist/kde/build/amarok
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
This is simply because the current applets will not work, as that part has not been ported yet. It will build without it for the time being. You are welcome to give a hand in porting the plasma applets to QML

Please subscribe to the Amarok-devel@kde.org mailing list and report your findings there.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
leolist
Registered Member
Posts
47
Karma
0
Thanks for the quick response.
Happy to help out, but right now I'm just getting things set up.
Not sure what everybody is using for development, but am planning to use QtCreator
Cheers,
Leo


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]