On 5/17/06, Jason Ausmus <[EMAIL PROTECTED]> wrote:
Okay, not to brow-beat the subject, but I'm kind of desperate here.  I
haven't been able to find anything about this at all, including in the
forums.

In case I haven't gotten any bites because I haven't provided enough
info, let me try again...

By way of example, the atk ebuild has this near the top of it:

   inherit gnome2 autotools

This should bring all of the functions defined in
/usr/portage/eclass/gnome2.eclass into the environment.  One of these
is the gnome2_src_unpack function.

Either:
1. your gnome2.eclass file is broken
2. portage is using a different gnome2.eclass file for some reason

The solution to #1 is to emerge --sync again.

For #2, my guess is you will find a gnome2.eclass in one of your
overlay directories.  In fact, I am almost sure this is the problem.
From my own system:

carcharias rjf # ls -l /usr/local/portage/eclass/gnome2.eclass
ls: /usr/local/portage/eclass/gnome2.eclass: No such file or directory
carcharias rjf # ebuild /usr/portage/dev-libs/atk/atk-1.11.4.ebuild unpack
checking ebuild checksums ;-)
checking auxfile checksums ;-)
checking miscfile checksums ;-)
checking atk-1.11.4.tar.bz2 ;-)
Unpacking source...
Unpacking atk-1.11.4.tar.bz2 to /var/tmp/portage/atk-1.11.4/work
...
Source unpacked.
carcharias rjf # touch /usr/local/portage/eclass/gnome2.eclass
carcharias rjf # rm -rf /var/tmp/portage/atk-1.11.4/
carcharias rjf # ebuild /usr/portage/dev-libs/atk/atk-1.11.4.ebuild unpack
checking ebuild checksums ;-)
checking auxfile checksums ;-)
checking miscfile checksums ;-)
Unpacking source...
/usr/portage/dev-libs/atk/atk-1.11.4.ebuild: line 24:
gnome2_src_unpack: command not found

If you don't find a gnome.2eclass in your portage overlay, try:

find / -name gnome2.eclass
(or "locate gnome2.eclass" if you use slocate).

HTH,
-Richard

PS, the emerge --info output was what prompted this reply...seeing
that you used a portage overlay got me thinking about how that could
be messing up things...

--
[email protected] mailing list

Reply via email to