On 09/18/2011 09:42 AM, Nikos Chantziaras wrote: > On 09/12/2011 05:42 PM, Nikos Chantziaras wrote: >> Thanks! A bashrc with the following in it seems to work here just fine: >> >> post_src_unpack() { >> epatch_user >> } >> >> Also, the epatch_user() docs mention that it's safe to call epatch_user >> multiple times, so I support no breakages should be expected with >> ebuilds and eclasses that call this function on their own. > > I came across some ebuilds that result in: > > * QA Notice: command not found: > * > * /etc/portage/bashrc: line 3: epatch_user: command not found > > How do I solve that one?
The epatch_user() is defined in /usr/portage/ebuild/eutils.eclass, so I would guess that the ebuild would need the line "inherit eutils", or at least inherit some other eclass that inherits it.