Gentoo Archives: gentoo-dev

From: "Zou
To: gentoo-dev@l.g.o
Subject: RE: [gentoo-dev] Need Help: Creating a new third party package
Date: Thu, 17 Nov 2005 00:10:00
Message-Id: 44BDAFB888F59F408FAE3CC35AB47041025CAC90@orsmsx409
1 You are correct. This is the error.
2
3 I wish ebuild could give me a better clue though.
4
5 Thank you.
6
7 -----------------------------------
8
9 Yixiong Zou (yixiong.zou@×××××.com)
10 Open Source Technology Center
11 Intel Corp.
12
13
14
15
16 >-----Original Message-----
17 >From: Dan Meltzer [mailto:parallelgrapefruit@×××××.com]
18 >Sent: Wednesday, November 16, 2005 3:51 PM
19 >To: gentoo-dev@l.g.o
20 >Subject: Re: [gentoo-dev] Need Help: Creating a new third party package
21 >
22 >On 11/16/05, Zou, Yixiong <yixiong.zou@×××××.com> wrote:
23 >> Hi,
24 >>
25 >> I am trying to create a gentoo package for some internal software. I
26 >> followed
27 >> several Howtos online and created the ebuild file for my
28 >package. But
29 >> somehow
30 >> ebuild always return me the same error over and over again:
31 >>
32 >> $ ebuild ./component-template-0.1.0.ebuild digest
33 >> Invalid package name in package.provided: component-template-0.1
34 >> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
35 >> specified:
36 >> !!! None
37 >> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
38 >> specified:
39 >> !!! None
40 >> doebuild(): aux_get() error reading mycat/component-template-0.1.0;
41 >> aborting.
42 >Most likely the ebuild is not in the component-template folder.
43 >
44 >This is a requirement.
45 >>
46 >> I did google for this error, most say that it is because of the
47 >> PORTDIR_OVERLAY.
48 >> But I do have PORTDIR_OVERLAY="/usr/local/portage" in my
49 >/etc/make.conf
50 >> file.
51 >> And I can upgrade existing Gentoo packages after modifying them. For
52 >> example,
53 >> I copied over the xmlrpc-c-0.9 to the
54 >/usr/local/portage/dev-libs/ and
55 >> changed
56 >> it to xmlrpc-c-1.03.07 and it worked liked a charm. It is just my
57 >> packages
58 >> are somehow not recognized by portage.
59 >>
60 >> I read it somewhere that the category name "mycat" has to be an entry
61 >> listed in
62 >> /usr/portage/profiles/categories. I added "mycat" into the
63 >categories,
64 >> still
65 >> the same result. Plus, this doesn't make sense because the "emerge
66 >> --sync"
67 >> would remove it.
68 >put it in /etc/portage/profiles/categories
69 >>
70 >> Any body has any ideas where I am doing wrong? It can't be this
71 >> difficult to
72 >> create a new package for Gentoo, can it?
73 >>
74 >> Or do I have to use gensync to create my own portage tree
75 >for this? And
76 >> if
77 >> I have to, anyone can point me to how to do that? There are
78 >documents
79 >> on how
80 >> to use gensync, but not how to create a 3rd-party portage tree.
81 >>
82 >> BTW, my "emerge --sync" takes more than 15 minutes to
83 >finish. Anybody
84 >> has the
85 >> same problem?
86 >http://dev.gentoo.org/~ferringb/blog/archives/2005-10.html#e200
87 >5-10-12T23_59_53.txt
88 >>
89 >> Thank you very much for your help.
90 >>
91 >> --
92 >> gentoo-dev@g.o mailing list
93 >>
94 >>
95 >
96 >--
97 >gentoo-dev@g.o mailing list
98 >
99 >
100
101 --
102 gentoo-dev@g.o mailing list