Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920188 - [kde] Circular dependency kde-plasma/plasma-workspace-9999 - kde-plasma/plasma-integration-9999 - kde-plasma/xdg-desktop-portal-kde-9999
Summary: [kde] Circular dependency kde-plasma/plasma-workspace-9999 - kde-plasma/plasm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-17 10:55 UTC by Eugene Shalygin
Modified: 2023-12-17 12:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2023-12-17 10:55:06 UTC
When trying to merge Plasma 6, portage complain on a circular dependency:

* Error: circular dependencies:

(kde-plasma/xdg-desktop-portal-kde-9999:6/6::kde, ebuild scheduled for merge) depends on
 (kde-plasma/plasma-workspace-9999:6/6::kde, ebuild scheduled for merge) (buildtime)
  (kde-plasma/plasma-integration-9999:6/6::kde, ebuild scheduled for merge) (runtime)
   (kde-plasma/xdg-desktop-portal-kde-9999:6/6::kde, ebuild scheduled for merge) (runtime)

All the deps in the chain are unconditional.
Comment 1 Larry the Git Cow gentoo-dev 2023-12-17 12:11:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=fa690a7b01cc743955de1549ab409683edc0994c

commit fa690a7b01cc743955de1549ab409683edc0994c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-17 12:11:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-17 12:11:20 +0000

    kde-plasma/plasma-integration: lift xdg-desktop-portal-kde from RDEPEND->PDEPEND
    
    We only need it at runtime so let's lift it to PDEPEND to avoid a circular dependency.
    
    ```
    * Error: circular dependencies:
    
    (kde-plasma/xdg-desktop-portal-kde-9999:6/6::kde, ebuild scheduled for merge) depends on
     (kde-plasma/plasma-workspace-9999:6/6::kde, ebuild scheduled for merge) (buildtime)
      (kde-plasma/plasma-integration-9999:6/6::kde, ebuild scheduled for merge) (runtime)
       (kde-plasma/xdg-desktop-portal-kde-9999:6/6::kde, ebuild scheduled for merge) (runtime)
    ```
    
    Closes: https://bugs.gentoo.org/920188
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-plasma/plasma-integration/plasma-integration-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)