Hi! pkgcheck 0.10.10 reports… UnusedInherits: version 1.12-r6: unused eclass: gnome2-utils …on x11-misc/redshift which turned out a false positive, given that the ebuild's uses three gnome2_* functions from that very eclass. Is there anything I can do on my end to not get false positives like that? Thanks and best, Sebastian
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.