Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: /etc/portage/patches/
Date: Sun, 18 Sep 2011 20:29:16
Message-Id: j55k8c$q8k$1@dough.gmane.org
In Reply to: [gentoo-user] Re: /etc/portage/patches/ by Nikos Chantziaras
1 On 09/18/2011 09:42 AM, Nikos Chantziaras wrote:
2 > On 09/12/2011 05:42 PM, Nikos Chantziaras wrote:
3 >> Thanks! A bashrc with the following in it seems to work here just fine:
4 >>
5 >> post_src_unpack() {
6 >> epatch_user
7 >> }
8 >>
9 >> Also, the epatch_user() docs mention that it's safe to call epatch_user
10 >> multiple times, so I support no breakages should be expected with
11 >> ebuilds and eclasses that call this function on their own.
12 >
13 > I came across some ebuilds that result in:
14 >
15 > * QA Notice: command not found:
16 > *
17 > * /etc/portage/bashrc: line 3: epatch_user: command not found
18 >
19 > How do I solve that one?
20
21 The epatch_user() is defined in /usr/portage/ebuild/eutils.eclass, so
22 I would guess that the ebuild would need the line "inherit eutils", or
23 at least inherit some other eclass that inherits it.

Replies

Subject Author
[gentoo-user] Re: /etc/portage/patches/ Nikos Chantziaras <realnc@×××××.de>