Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546134 - emerge gnome ends up with circular dependencies issue
Summary: emerge gnome ends up with circular dependencies issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 547830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-10 08:29 UTC by Pacho Ramos
Modified: 2015-07-13 20:27 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 Pacho Ramos gentoo-dev 2015-04-10 08:29:28 UTC
I myself suffered it a few days ago and, even if it can be workarounded easily with the trick portage suggests (and, then, installing the old notification-daemon temporally to unbreak it), maybe we could find a better solution :/

The circular dep issue is reported also at:
https://forums.gentoo.org/viewtopic-p-7638298.html

and many other places. In summary it is caused by:
gnome-shell rdepends on gnome-control-center
gnome-control-center rdepends on nm-applet
nm-applet rdepends on virtual/notification-daemon
virtual/notification-daemon rdepends on gnome-shell => dep issue
Comment 1 Pacho Ramos gentoo-dev 2015-04-10 08:32:33 UTC
the problem is that I am unsure if there is any place where we could use PDEPEND instead of RDEPEND. Looking to the ebuilds I think the best candidate is nm-applet.

In summary: move virtual/notification-daemon RDEPEND to PDEPEND in nm-applet ebuild

But, I would like to let you review it as maybe I am missing something

Thanks
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-04-11 15:21:57 UTC
gnome-control-center links to nm-applet - so that cannot be changed to pdepend.

I think any of the other deps could in theory be changed to pdepend. However, IMHO the most logical place is gnome-shell -> gnome-control-center. This is because gnome-control-center has a huge number of dependencies which is growing with every release, and tracking that they don't start pulling in notification-daemon somewhere in their dep graph becomes problematic.

+  11 Apr 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  gnome-shell-3.14.3.ebuild, gnome-shell-3.14.4.ebuild:
+  Break circular dependency between gnome-shell and gnome-control-center (bug
+  #546134, thanks to Pacho).
Comment 3 Pacho Ramos gentoo-dev 2015-04-11 15:25:31 UTC
I agree, thanks for the reasoning :)
Comment 4 Pacho Ramos gentoo-dev 2015-04-26 18:27:04 UTC
*** Bug 547830 has been marked as a duplicate of this bug. ***
Comment 5 Pacho Ramos gentoo-dev 2015-04-26 18:27:57 UTC
This is occurring again because gnome-shell was missing a RDEPEND (and also DEPEND) on nm-applet :( (we cannot move that to PDEPEND as configure will check for nm-applet) -> bug 546606
Comment 6 Pacho Ramos gentoo-dev 2015-04-26 18:31:57 UTC
Moving virtual/notification-daemon to PDEPEND in nm-applet should work, right? @gnome, could you confirm? Thanks
Comment 7 Pacho Ramos gentoo-dev 2015-07-09 09:54:01 UTC
I will do it then
Comment 8 Pacho Ramos gentoo-dev 2015-07-13 20:27:30 UTC
+  13 Jul 2015; Pacho Ramos <pacho@gentoo.org> nm-applet-1.0.2.ebuild:
+  virtual/notification-daemon as PDEPEND to try to avoid circular dep issues,
+  bug #546134
+