Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 645964

Summary: Recursive dependencies not detected during --depclean for build-time packages
Product: Portage Development Reporter: Cedric Sodhi <manday>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal CC: manday
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: webkit-gtk ebuild causing the dependency

Description Cedric Sodhi 2018-01-28 13:50:35 UTC
I noticed this in the case of webkit-gtk (in a personal overlay, but that shouldn't matter), which DEPENDs on rubygems, which in turn has a recursive RDEPENDency on dev-lang/ruby. `emerge --depclean --with-bdeps=y` would not clean any of the ruby packages unless webkit-gtk was fully deselected. I suspect it did not detect the recursive dependency.

I attach the ebuild of the overlay (I just use it to pull in the dependencies) for review, just in case.
Comment 1 Cedric Sodhi 2018-01-28 13:51:08 UTC
Created attachment 516992 [details]
webkit-gtk ebuild causing the dependency
Comment 2 Zac Medico gentoo-dev 2018-01-28 14:07:39 UTC
If you want to remove DEPEND packages, you need to use --with-bdeps=n instead.
Comment 3 Cedric Sodhi 2018-01-28 14:31:34 UTC
Thank you and apologies for the false bug.