pkgcheck
pkgcheck copied to clipboard
[Bug]: Missing detection of invalid := in PDEPEND
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
As a silly example:
diff --git a/sys-apps/sed/sed-4.9-r1.ebuild b/sys-apps/sed/sed-4.9-r1.ebuild
index 96c05b2fc320..b5cf28c830fe 100644
--- a/sys-apps/sed/sed-4.9-r1.ebuild
+++ b/sys-apps/sed/sed-4.9-r1.ebuild
@@ -32,6 +32,7 @@ DEPEND="${RDEPEND}
"
BDEPEND="nls? ( sys-devel/gettext )
verify-sig? ( sec-keys/openpgp-keys-sed )"
+PDEPEND="sys-libs/readline:="
src_prepare() {
default
No warning or error raised.
Expected Behavior
An invalid dependency result to be raised.
pkgcheck version
pkgcheck 0.10.31-4-g722236d -- Sat, 6 Jul 2024 19:23:36 +0300
pkgcore version
pkgcore 0.12.28-3-gaa9418b -- Thu, 4 Jul 2024 22:32:44 +0300
This was pointed out by radhermit on IRC.