Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284587 - repoman should check for RDEPEND=$RDEPEND cases
Summary: repoman should check for RDEPEND=$RDEPEND cases
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 11:19 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2020-09-17 05:15 UTC (History)
2 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?