Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@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 02:12:20
Message-Id: 437BD8A6.6080807@gentoo.org
In Reply to: Re: [gentoo-dev] Need Help: Creating a new third party package by Dan Meltzer
1 Dan Meltzer wrote:
2 > On 11/16/05, Zou, Yixiong <yixiong.zou@×××××.com> wrote:
3 >
4 >>Hi,
5 >>
6 >>I am trying to create a gentoo package for some internal software. I
7 >>followed
8 >>several Howtos online and created the ebuild file for my package. But
9 >>somehow
10 >>ebuild always return me the same error over and over again:
11 >>
12 >>$ ebuild ./component-template-0.1.0.ebuild digest
13 >>Invalid package name in package.provided: component-template-0.1
14 >>!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
15 >>specified:
16 >>!!! None
17 >>!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
18 >>specified:
19 >>!!! None
20 >>doebuild(): aux_get() error reading mycat/component-template-0.1.0;
21 >>aborting.
22 >
23 > Most likely the ebuild is not in the component-template folder.
24 >
25 > This is a requirement.
26 >
27 >>I did google for this error, most say that it is because of the
28 >>PORTDIR_OVERLAY.
29 >>But I do have PORTDIR_OVERLAY="/usr/local/portage" in my /etc/make.conf
30 >>file.
31 >>And I can upgrade existing Gentoo packages after modifying them. For
32 >>example,
33 >>I copied over the xmlrpc-c-0.9 to the /usr/local/portage/dev-libs/ and
34 >>changed
35 >>it to xmlrpc-c-1.03.07 and it worked liked a charm. It is just my
36 >>packages
37 >>are somehow not recognized by portage.
38 >>
39 >>I read it somewhere that the category name "mycat" has to be an entry
40 >>listed in
41 >>/usr/portage/profiles/categories. I added "mycat" into the categories,
42 >>still
43 >>the same result. Plus, this doesn't make sense because the "emerge
44 >>--sync"
45 >>would remove it.
46 >
47 > put it in /etc/portage/profiles/categories
48
49 It's /etc/portage/categories
50
51 Marius
52 --
53 gentoo-dev@g.o mailing list