Summary: | dev-util/pkgcheck-0.10.10 UnusedInherits false positive | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Sebastian Pipping <sping> |
Component: | PkgCore | Assignee: | PkgCore project <pkgcore> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | arthurzam, gentoo, mgorny, sam, t |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=846353 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sebastian Pipping
2022-05-22 13:20:25 UTC
gnome2_icon_savelist and gnome2_icon_cache_update are only defined for EAPI 5 and EAPI 6: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/gnome2-utils.eclass#n491 You should migrate to xdg-utils eclass. That's a great point, but the warning is also produced for ebuilds that are indeed EAPI 6: DeprecatedEapi: version 1.12-r5: uses deprecated EAPI 6 UnusedInherits: version 1.12-r5: unused eclass: gnome2-utils So the eclass is not unused on those ebuilds. Am I missing something else? I suspect the eclass parsing/caching code does not handle functions that are only defined for specific EAPI values. Therefore, pkgcheck does not think that gnome2-utils.eclass defines those functions. |