Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917572 - [guru] gui-apps/nwg-shell gui-apps/nwg-shell-config circular dependencies
Summary: [guru] gui-apps/nwg-shell gui-apps/nwg-shell-config circular dependencies
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal blocker
Assignee: Pascal Jäger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-18 19:41 UTC by sozuba
Modified: 2023-11-20 09:42 UTC (History)
2 users (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 sozuba 2023-11-18 19:41:55 UTC
Trying to install gui-apps/nwg-shell, but it leads to circular dependency conflict with gui-apps/nwg-shell-config.

----

emerge --ask --verbose gui-apps/nwg-shell

These are the packages that would be merged, in order:

Calculating dependencies           ... done!
Dependency resolution took 4.26 s.



[nomerge       ] gui-apps/nwg-shell-0.5.22::guru  PYTHON_TARGETS="python3_11 -python3_10"
[ebuild  N    ~]  gui-apps/nwg-shell-config-0.5.25::guru  PYTHON_TARGETS="python3_11 -python3_10" 111 KiB
[ebuild  N    ~]   gui-apps/nwg-shell-0.5.22::guru  PYTHON_TARGETS="python3_11 -python3_10" 2130 KiB

Total: 2 packages (2 new), Size of downloads: 2241 KiB

 * Error: circular dependencies:

(gui-apps/nwg-shell-config-0.5.25:0/0::guru, ebuild scheduled for merge) depends on
 (gui-apps/nwg-shell-0.5.22:0/0::guru, ebuild scheduled for merge) (buildtime)
  (gui-apps/nwg-shell-config-0.5.25:0/0::guru, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.
Comment 1 Alfred Wingate 2023-11-18 19:59:13 UTC
First of all gui-apps/nwg-shell and gui-apps/nwg-shell-config are both python packages meaning they *shouldn't* need dependencies in DEPEND. 

Secondly I'm sceptical of these dependencies, it seems something where a meta package should exist to pull in all these packages, instead of depending on each other (as they don't appear to have imports on each and such)

If the RDEPEND circular dependency is real then PDEPEND should be use to try and break it.
Comment 2 Pascal Jäger 2023-11-19 07:36:12 UTC
Yes I wanted to make a meta package for that as well. I think nwg-shell itself  should be the meta package, it is an installer of the configs for the other packages and installs a few helper scripts and functions. 

I am not so familiar with Python packages. I added the dependencies of nwg packages to another because those package call each other at runtime.
Comment 3 Pascal Jäger 2023-11-20 09:40:41 UTC
I removed the dependency on nwg-shell-config from gui-apps/nwg-shell and added the package gui-apps/nwg as a meta package. 

gui-apps/nwg-shell as meta package does not work.
Comment 4 Pascal Jäger 2023-11-20 09:42:23 UTC
Things still need to get merged from dev to master