You are not logged in.

#1 2021-06-27 06:21:16

ShnorpSinkledonk
Member
Registered: 2021-02-06
Posts: 24

Dependency cycle in plasma-workspace-git

Hello,

I am trying to compile plasma-workspace-git from source, but when I do, I get the error:

==> Checking runtime dependencies...
==> Missing dependencies:
  -> kde-cli-tools-git
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

However, when installing "kde-cli-tools-git":

==> Checking buildtime dependencies...
==> Missing dependencies:
  -> plasma-workspace-git
==> ERROR: Could not resolve all dependencies.

Is this a problem in the repos or am I doing something wrong?

Thank you.

Offline

#2 2021-06-27 08:42:58

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: Dependency cycle in plasma-workspace-git

plasma-workspace-git can be built without kde-cli-tools-git,  you will need to add kdesu-git in its place.

Last edited by loqs (2021-06-27 08:48:36)

Offline

#3 2021-06-27 19:23:40

ShnorpSinkledonk
Member
Registered: 2021-02-06
Posts: 24

Re: Dependency cycle in plasma-workspace-git

kdesu-git is already installed, so nothing has changed. Do I have to tell plasma-workspace-git to use kdesu instead?

Offline

#4 2021-06-27 19:30:41

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: Dependency cycle in plasma-workspace-git

Yes change the dependency from plasma-workspace-git to kdesu-git .

Offline

#5 2021-06-27 19:35:51

ShnorpSinkledonk
Member
Registered: 2021-02-06
Posts: 24

Re: Dependency cycle in plasma-workspace-git

Can you please describe how I would do that? I'm just new to the Arch build process.

Offline

#6 2021-06-27 19:46:34

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: Dependency cycle in plasma-workspace-git

Edit the PKGBUILD for plasma-workspace-git and change the dependency

git diff
diff --git a/PKGBUILD b/PKGBUILD
index 1ae620e..1ad8020 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc='KDE Plasma Workspace'
 arch=($CARCH)
 url='https://kde.org/plasma-desktop/'
 license=(LGPL)
-depends=(knotifyconfig-git libksysguard-git ktexteditor-git libqalculate kde-cli-tools-git appstream-qt phonon-qt5-git
+depends=(knotifyconfig-git libksysguard-git ktexteditor-git libqalculate kdesu-git appstream-qt phonon-qt5-git
          xorg-xrdb xorg-xsetroot kactivitymanagerd-git kholidays-git xorg-xmessage milou-git prison-git kwin-git
          plasma-integration-git kdelibs4support-git kpeople-git kactivities-stats-git libkscreen-git kquickcharts-git kuserfeedback-git layer-shell-qt-git)
 makedepends=(git extra-cmake-modules-git kdoctools-git gpsd baloo-git networkmanager-qt-git kdesignerplugin-git kinit-git plasma-wayland-protocols-git)

I would not advise replacing tens of packages with their git counterparts if you are not familiar with the Arch build process.

Offline

Board footer

Powered by FluxBB