Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gnome2_src_unpack: command not found
Date: Thu, 18 May 2006 04:43:40
Message-Id: 7573e9640605172132x100145f9v49737753807f0913@mail.gmail.com
In Reply to: RE: [gentoo-user] gnome2_src_unpack: command not found by Jason Ausmus
1 On 5/17/06, Jason Ausmus <AusmusJa@××××.com> wrote:
2 > Okay, not to brow-beat the subject, but I'm kind of desperate here. I
3 > haven't been able to find anything about this at all, including in the
4 > forums.
5 >
6 > In case I haven't gotten any bites because I haven't provided enough
7 > info, let me try again...
8
9 By way of example, the atk ebuild has this near the top of it:
10
11 inherit gnome2 autotools
12
13 This should bring all of the functions defined in
14 /usr/portage/eclass/gnome2.eclass into the environment. One of these
15 is the gnome2_src_unpack function.
16
17 Either:
18 1. your gnome2.eclass file is broken
19 2. portage is using a different gnome2.eclass file for some reason
20
21 The solution to #1 is to emerge --sync again.
22
23 For #2, my guess is you will find a gnome2.eclass in one of your
24 overlay directories. In fact, I am almost sure this is the problem.
25 >From my own system:
26
27 carcharias rjf # ls -l /usr/local/portage/eclass/gnome2.eclass
28 ls: /usr/local/portage/eclass/gnome2.eclass: No such file or directory
29 carcharias rjf # ebuild /usr/portage/dev-libs/atk/atk-1.11.4.ebuild unpack
30 >>> checking ebuild checksums ;-)
31 >>> checking auxfile checksums ;-)
32 >>> checking miscfile checksums ;-)
33 >>> checking atk-1.11.4.tar.bz2 ;-)
34 >>> Unpacking source...
35 >>> Unpacking atk-1.11.4.tar.bz2 to /var/tmp/portage/atk-1.11.4/work
36 ...
37 >>> Source unpacked.
38 carcharias rjf # touch /usr/local/portage/eclass/gnome2.eclass
39 carcharias rjf # rm -rf /var/tmp/portage/atk-1.11.4/
40 carcharias rjf # ebuild /usr/portage/dev-libs/atk/atk-1.11.4.ebuild unpack
41 >>> checking ebuild checksums ;-)
42 >>> checking auxfile checksums ;-)
43 >>> checking miscfile checksums ;-)
44 >>> Unpacking source...
45 /usr/portage/dev-libs/atk/atk-1.11.4.ebuild: line 24:
46 gnome2_src_unpack: command not found
47
48 If you don't find a gnome.2eclass in your portage overlay, try:
49
50 find / -name gnome2.eclass
51 (or "locate gnome2.eclass" if you use slocate).
52
53 HTH,
54 -Richard
55
56 PS, the emerge --info output was what prompted this reply...seeing
57 that you used a portage overlay got me thinking about how that could
58 be messing up things...
59
60 --
61 gentoo-user@g.o mailing list