Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284587 - dev-util/pkgcheck: check for RDEPEND=$RDEPEND cases
Summary: dev-util/pkgcheck: check for RDEPEND=$RDEPEND cases
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PkgCore (show other bugs)
Hardware: All Linux
: High normal
Assignee: PkgCore project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 11:19 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2022-10-15 01:17 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-11 11:19:56 UTC
Seems like quite a few ebuilds have typos in them that nills RDEPEND by setting it to itself (instead of DEPEND). I stumbled across hostapd today that was installed broken in my router for instance.

Adding a warning for these cases is probably a good idea:

flame@yamato tree % egrep '(RDEPEND="\${RDEPEND}"|RDEPEND=\${RDEPEND}|\<DEPEND="\${DEPEND}"|\<DEPEND=\${DEPEND})' */*/*.ebuild | wc -l
41
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-24 23:43:21 UTC
On the other hand, I had to set RDEPEND=$RDEPEND in ruby-ng.eclass because otherwise I get RDEPEND unset (and thus defaulted to DEPEND)… fun!
Comment 2 Zac Medico gentoo-dev 2009-09-25 01:18:47 UTC
(In reply to comment #1)
> On the other hand, I had to set RDEPEND=$RDEPEND in ruby-ng.eclass because
> otherwise I get RDEPEND unset (and thus defaulted to DEPEND)… fun!

Doesn't RDEPEND="" work in that case?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:27 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.