1 |
Hi, |
2 |
|
3 |
I am trying to create a gentoo package for some internal software. I |
4 |
followed |
5 |
several Howtos online and created the ebuild file for my package. But |
6 |
somehow |
7 |
ebuild always return me the same error over and over again: |
8 |
|
9 |
$ ebuild ./component-template-0.1.0.ebuild digest |
10 |
Invalid package name in package.provided: component-template-0.1 |
11 |
!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not |
12 |
specified: |
13 |
!!! None |
14 |
!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not |
15 |
specified: |
16 |
!!! None |
17 |
doebuild(): aux_get() error reading mycat/component-template-0.1.0; |
18 |
aborting. |
19 |
|
20 |
I did google for this error, most say that it is because of the |
21 |
PORTDIR_OVERLAY. |
22 |
But I do have PORTDIR_OVERLAY="/usr/local/portage" in my /etc/make.conf |
23 |
file. |
24 |
And I can upgrade existing Gentoo packages after modifying them. For |
25 |
example, |
26 |
I copied over the xmlrpc-c-0.9 to the /usr/local/portage/dev-libs/ and |
27 |
changed |
28 |
it to xmlrpc-c-1.03.07 and it worked liked a charm. It is just my |
29 |
packages |
30 |
are somehow not recognized by portage. |
31 |
|
32 |
I read it somewhere that the category name "mycat" has to be an entry |
33 |
listed in |
34 |
/usr/portage/profiles/categories. I added "mycat" into the categories, |
35 |
still |
36 |
the same result. Plus, this doesn't make sense because the "emerge |
37 |
--sync" |
38 |
would remove it. |
39 |
|
40 |
Any body has any ideas where I am doing wrong? It can't be this |
41 |
difficult to |
42 |
create a new package for Gentoo, can it? |
43 |
|
44 |
Or do I have to use gensync to create my own portage tree for this? And |
45 |
if |
46 |
I have to, anyone can point me to how to do that? There are documents |
47 |
on how |
48 |
to use gensync, but not how to create a 3rd-party portage tree. |
49 |
|
50 |
BTW, my "emerge --sync" takes more than 15 minutes to finish. Anybody |
51 |
has the |
52 |
same problem? |
53 |
|
54 |
Thank you very much for your help. |
55 |
|
56 |
-- |
57 |
gentoo-dev@g.o mailing list |