Gentoo Archives: gentoo-dev

From: Michael Cummings <mcummings@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Need Help: Creating a new third party package
Date: Thu, 17 Nov 2005 11:24:48
Message-Id: 437C6729.6000100@gentoo.org
In Reply to: [gentoo-dev] Need Help: Creating a new third party package by "Zou
1 Zou, Yixiong wrote:
2 > Hi,
3 >
4 > I am trying to create a gentoo package for some internal software. I
5 > followed
6 > several Howtos online and created the ebuild file for my package. But
7 > somehow
8 > ebuild always return me the same error over and over again:
9 >
10 > $ ebuild ./component-template-0.1.0.ebuild digest
11 > Invalid package name in package.provided: component-template-0.1
12 > !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
13 > specified:
14 > !!! None
15 > !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
16 > specified:
17 > !!! None
18 > doebuild(): aux_get() error reading mycat/component-template-0.1.0;
19 > aborting.
20
21 * Double check that the path is right, i.e. if your category is foo, and
22 your overlay is set as /usr/local/portage, that you are actually in
23 /usr/local/portage/foo/ when you do this.
24 * Make sure the name of the directory and the base name of the ebuild
25 are the same, ie
26 $OVERLAY/foo/component-template/component-template-0.1.0.ebuild should
27 be right. Any differentiation in the above would fail (like case, names,
28 etc.)
29 * Check permissions from the top down as the user doing this :)
30 * Is the source file already in distfiles? If not, can the user doing
31 this write to distfiles?
32 * Finally, believe it or not, make sure you don't have a typo in the
33 ebuild. I've seen a misplaced " cause this error.
34
35 ~mcummings
36 --
37 gentoo-dev@g.o mailing list