Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645964 - Recursive dependencies not detected during --depclean for build-time packages
Summary: Recursive dependencies not detected during --depclean for build-time packages
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-28 13:50 UTC by Cedric Sodhi
Modified: 2018-01-28 14:31 UTC (History)
1 user (show)

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


Attachments
webkit-gtk ebuild causing the dependency (webkit-gtk-9999.ebuild,823 bytes, text/plain)
2018-01-28 13:51 UTC, Cedric Sodhi
Details

Note You need to log in before you can comment on or make changes to this bug.
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.