Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653250 - emerge --depclean tries to remove needed package oxygen-icons
Summary: emerge --depclean tries to remove needed package oxygen-icons
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-04-15 16:54 UTC by Marius Stoica
Modified: 2021-10-02 15:12 UTC (History)
2 users (show)

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


Attachments
emerge-info (emerge.info,6.25 KB, text/plain)
2018-04-15 16:56 UTC, Marius Stoica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Stoica 2018-04-15 16:54:30 UTC
I tried to run emerge -a --depclean and it tried to remove oxygen-icons, even tough there are a lot of packages that depend on it

$ equery depends kde-frameworks/oxygen-icons
 * These packages depend on kde-frameworks/oxygen-icons:
... long list of packages, among them are kdebase-meta and plasma-meta

$ equery depends kde-frameworks/oxygen-icons | wc -l
149

$ sudo emerge -a --depclean


>>> These are the packages that would be unmerged:

 kde-frameworks/oxygen-icons
    selected: 5.44.0 
   protected: none 
     omitted: none 

All selected packages: =kde-frameworks/oxygen-icons-5.44.0




Reproducible: Always
Comment 1 Marius Stoica 2018-04-15 16:56:25 UTC
Created attachment 527532 [details]
emerge-info
Comment 2 Brian Evans (RETIRED) gentoo-dev 2018-04-15 17:05:24 UTC
Prove it really is needed.

Don't rely on 'equery depends' as it cheats and shows what might depend and not does depend based on USE flags or other settings.
Comment 3 Zac Medico gentoo-dev 2018-04-15 17:57:11 UTC
You'll get differing results with equery depends because it does not account for USE flags in the Dependencies._parser method:

https://gitweb.gentoo.org/proj/gentoolkit.git/tree/pym/gentoolkit/dependencies.py?h=gentoolkit-0.4.2#n285
Comment 4 Andreas Sturmlechner gentoo-dev 2021-10-02 15:12:22 UTC
I doubt this is legit.

ecm.eclass has this:

> # gui applications need breeze or oxygen for basic iconset, bug #564838
> RDEPEND+=" || (
>         kde-frameworks/breeze-icons:*
>         kde-frameworks/oxygen-icons:*
> )"