Update to plasma 6 broke KF5

Hi,

I have updated kde neon system to use new plasma 6 (it wasn’t easy) and now i cannot build my krunner plugin. When i try to build it i get:

CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find KF5 (missing: Runner) (found suitable version "5.115.0",
  minimum required is "5.90")
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
  CMakeLists.txt:15 (find_package)

It’s weird it look like update downgraded this packege form 5.92 to 5.115.
So i try to install correct version of libkf5kio-dev using comand sudo apt install libkf5kio-dev=5.92.0-0ubuntu1 and I got conflicts:

Starting pkgProblemResolver with broken count: 2
Starting 2 pkgProblemResolver with broken count: 2
Investigating (0) maliit-keyboard:amd64 < 2.3.1-0xneon+22.04+jammy+release+build9 @ii mK Ib >
Broken maliit-keyboard:amd64 Wymaga on libqt5feedback5:amd64 < 5.0+p22.04+vrelease+git20231007.0449-0 -> 5.0~git20180903.a14bd0b-3 @ii mD > (>= 5.0+p22.04+vrelease+git20231007.0449)
  Considering libqt5feedback5:amd64 0 as a solution to maliit-keyboard:amd64 101
  Added libqt5feedback5:amd64 to the remove list
  Fixing maliit-keyboard:amd64 via keep of libqt5feedback5:amd64
 Try to Re-Instate (0) libqt5feedback5:amd64
Investigating (0) libkf5kio-dev:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 -> 5.92.0-0ubuntu1 @ii pmD Ib >
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiofilewidgets5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiofilewidgets5:amd64 1 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiowidgets5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiowidgets5:amd64 13 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiocore5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiocore5:amd64 23 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiogui5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiogui5:amd64 15 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiontlm5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiontlm5:amd64 0 as a solution to libkf5kio-dev:amd64 0
Investigating (1) libkf5kio-dev:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 -> 5.92.0-0ubuntu1 @ii pmD Ib >
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiofilewidgets5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiofilewidgets5:amd64 1 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiowidgets5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiowidgets5:amd64 13 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiocore5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiocore5:amd64 23 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiogui5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiogui5:amd64 15 as a solution to libkf5kio-dev:amd64 0
Broken libkf5kio-dev:amd64 Wymaga on libkf5kiontlm5:amd64 < 5.115.0-0xneon+22.04+jammy+release+build64 @ii mK > (= 5.92.0-0ubuntu1)
  Considering libkf5kiontlm5:amd64 0 as a solution to libkf5kio-dev:amd64 0
Done
Obliczanie aktualizacji... Błąd!
Nie udało się zainstalować niektórych pakietów. Może to oznaczać,
że zażądano niemożliwej sytuacji lub użyto dystrybucji niestabilnej,
w której niektóre pakiety nie zostały jeszcze utworzone lub przeniesione
z katalogu Incoming ("Przychodzące").
Następujące informacje mogą pomóc rozwiązać sytuację:

Następujące pakiety mają niespełnione zależności:
 libkf5kio-dev : Wymaga: libkf5kiofilewidgets5 (= 5.92.0-0ubuntu1) ale 5.115.0-0xneon+22.04+jammy+release+build64 ma zostać zainstalowany
                 Wymaga: libkf5kiowidgets5 (= 5.92.0-0ubuntu1) ale 5.115.0-0xneon+22.04+jammy+release+build64 ma zostać zainstalowany
                 Wymaga: libkf5kiocore5 (= 5.92.0-0ubuntu1) ale 5.115.0-0xneon+22.04+jammy+release+build64 ma zostać zainstalowany
                 Wymaga: libkf5kiogui5 (= 5.92.0-0ubuntu1) ale 5.115.0-0xneon+22.04+jammy+release+build64 ma zostać zainstalowany
                 Wymaga: libkf5kiontlm5 (= 5.92.0-0ubuntu1) ale 5.115.0-0xneon+22.04+jammy+release+build64 ma zostać zainstalowany
                 Poleca: libkf5kio-doc (= 5.92.0-0ubuntu1) ale 5.115.0-0xneon+22.04+jammy+release+build64 ma zostać zainstalowany
E: Nie udało się naprawić problemów, zatrzymano uszkodzone pakiety.

To remind you i didn’t change anything in my krunner plugin code, and before the update everything worked.

Please help, I’m tierd of seeng so many packages conflicts…

(You shoudn’t need it but here is code for krunner plugin I’m building)

If I understand correctly, don’t you need libkf5runner-dev and not libkf5kio-dev? You don’t need 5.92, 5.115 will work because it just needs 5.90 as a minimum.

1 Like

that’s true, thanks!
But sadly it’s still not working…
I have allready libkf5runner-dev installed:
libkf5runner-dev is already the newest version (6.0.0-0xneon+22.04+jammy+release+build8).
I try to reinstalling it - didn’t help…

Here are full logs form build process (so you will have better picture):

-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found Gettext: /usr/bin/msgmerge (found version "0.21") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.115.0") 
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.115.0") 
-- Could NOT find KF5Runner (missing: KF5Runner_DIR)
-- Could NOT find KF5Runner: found neither KF5RunnerConfig.cmake nor kf5runner-config.cmake 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.115.0") 
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.115.0") 
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find KF5 (missing: Runner) (found suitable version "5.115.0",
  minimum required is "5.90")
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
  CMakeLists.txt:15 (find_package)

This is a Neon packaging problem, see 483092 – libkf5runner-dev is missing most files

1 Like