pkgcheck
pkgcheck copied to clipboard
RedundantVersion false positives
RedundantVersion does not check if package is really redundant with respect to it's reverse dependencies:
$ pkgcheck scan dev-util/radare2
dev-util/radare2
UnstableOnly: for arches: [ amd64, arm, arm64, x86 ], all versions are unstable: [ 4.5.0, 4.5.1 ]
RedundantVersion: version 4.5.0: slot(0) keywords are overshadowed by version: 4.5.1
dev-util/radare2-4.5.0 is not redundant:
$ git grep dev-util/radare2
dev-util/cutter/cutter-1.11.0.ebuild: ~dev-util/radare2-4.5.0
dev-util/cutter/cutter-1.12.0.ebuild: ~dev-util/radare2-4.5.1
This is how the result has been since its inception over a decade ago. To do it properly, it needs a revdeps cache (https://github.com/pkgcore/pkgcheck/issues/285) which a number of other issues require as well.