Gentoo Archives: gentoo-user

From: Jeremi Piotrowski <jeremi.piotrowski@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] This is what I get for trying...
Date: Thu, 19 Nov 2015 16:01:29
Message-Id: 20151119160112.GA17926@fedora-tp.localdomain
In Reply to: [gentoo-user] This is what I get for trying... by Alan Grimes
1 On Thu, Nov 19, 2015 at 10:17:03AM -0500, Alan Grimes wrote:
2 > Naturally, the instructions on the gentoo wiki FAIL....
3 >
4 > https://wiki.gentoo.org/wiki/Basic_guide_to_write_Gentoo_Ebuilds
5 > ############################
6 >
7 > atg@tortoise ~/archive $ ebuild seamonkey-2.35.ebuild clean merge
8 > Appending /home to PORTDIR_OVERLAY...
9 > !!! Repository 'x-home' is missing masters attribute in
10 > '/home/metadata/layout.conf'
11 > !!! Set 'masters = gentoo' in this file for future compatibility
12
13 This part tells you all that you need to know:
14
15 > ebuild: /home/atg/archive/seamonkey-2.35.ebuild: does not seem to have a
16 > valid PORTDIR structure
17
18 I quote from the link that you posted:
19
20 > Now, you can't just create a file /usr/portage/hello-world.ebuild and be
21 > done with it; there are several reasons:
22 > ...
23 > 2. The ebuild file is not in the right directory: An ebuild has to be
24 > located in the "package name" subdirectory of "category" directory;
25 > so, for an ebuild to work you have to place it in a directory like
26 > /usr/local/portage/app-misc/hello-world/.
27
28 So move your seamonkey-2.35.ebuild to a subdirectory ww-client/seamonkey/
29 and run ebuild again.