public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Need Help: Creating a new third party package
@ 2005-11-16 23:43 Zou, Yixiong
  2005-11-16 23:50 ` Georgi Georgiev
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Zou, Yixiong @ 2005-11-16 23:43 UTC (permalink / raw
  To: gentoo-dev

Hi, 

I am trying to create a gentoo package for some internal software.  I
followed 
several Howtos online and created the ebuild file for my package.  But
somehow 
ebuild always return me the same error over and over again:

$ ebuild ./component-template-0.1.0.ebuild digest
Invalid package name in package.provided: component-template-0.1
!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
specified:
!!!            None
!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
specified:
!!!            None
doebuild(): aux_get() error reading mycat/component-template-0.1.0;
aborting.

I did google for this error, most say that it is because of the
PORTDIR_OVERLAY. 
But I do have PORTDIR_OVERLAY="/usr/local/portage" in my /etc/make.conf
file.  
And I can upgrade existing Gentoo packages after modifying them.  For
example, 
I copied over the xmlrpc-c-0.9 to the /usr/local/portage/dev-libs/ and
changed
it to xmlrpc-c-1.03.07 and it worked liked a charm.  It is just my
packages
are somehow not recognized by portage.  

I read it somewhere that the category name "mycat" has to be an entry
listed in 
/usr/portage/profiles/categories.  I added "mycat" into the categories,
still
the same result.  Plus, this doesn't make sense because the "emerge
--sync"
would remove it.  

Any body has any ideas where I am doing wrong?  It can't be this
difficult to
create a new package for Gentoo, can it?  

Or do I have to use gensync to create my own portage tree for this?  And
if 
I have to, anyone can point me to how to do that?  There are documents
on how
to use gensync, but not how to create a 3rd-party portage tree.  

BTW, my "emerge --sync" takes more than 15 minutes to finish.  Anybody
has the
same problem?  

Thank you very much for your help. 

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Need Help: Creating a new third party package
  2005-11-16 23:43 [gentoo-dev] Need Help: Creating a new third party package Zou, Yixiong
@ 2005-11-16 23:50 ` Georgi Georgiev
  2005-11-17  1:10   ` Marius Mauch
  2005-11-16 23:51 ` Dan Meltzer
  2005-11-17 11:19 ` Michael Cummings
  2 siblings, 1 reply; 7+ messages in thread
From: Georgi Georgiev @ 2005-11-16 23:50 UTC (permalink / raw
  To: gentoo-dev

maillog: 16/11/2005-15:43:25(-0800): Zou, Yixiong types
> I read it somewhere that the category name "mycat" has to be an entry
> listed in /usr/portage/profiles/categories.  I added "mycat" into the
> categories, still the same result.  Plus, this doesn't make sense
> because the "emerge --sync" would remove it.  

It may be that the category name has to have a dash in it. Try with
"my-cat" instead.

-- 
\    Georgi Georgiev   \  We tend to become like the worst in those  \
/     chutz@gg3.net    /  we oppose. -- Bene Gesserit Coda           /
\  http://www.gg3.net/ \                                             \
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Need Help: Creating a new third party package
  2005-11-16 23:43 [gentoo-dev] Need Help: Creating a new third party package Zou, Yixiong
  2005-11-16 23:50 ` Georgi Georgiev
@ 2005-11-16 23:51 ` Dan Meltzer
  2005-11-17  1:11   ` Marius Mauch
  2005-11-17 11:19 ` Michael Cummings
  2 siblings, 1 reply; 7+ messages in thread
From: Dan Meltzer @ 2005-11-16 23:51 UTC (permalink / raw
  To: gentoo-dev

On 11/16/05, Zou, Yixiong <yixiong.zou@intel.com> wrote:
> Hi,
>
> I am trying to create a gentoo package for some internal software.  I
> followed
> several Howtos online and created the ebuild file for my package.  But
> somehow
> ebuild always return me the same error over and over again:
>
> $ ebuild ./component-template-0.1.0.ebuild digest
> Invalid package name in package.provided: component-template-0.1
> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
> specified:
> !!!            None
> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
> specified:
> !!!            None
> doebuild(): aux_get() error reading mycat/component-template-0.1.0;
> aborting.
Most likely the ebuild is not in the component-template folder.

This is a requirement.
>
> I did google for this error, most say that it is because of the
> PORTDIR_OVERLAY.
> But I do have PORTDIR_OVERLAY="/usr/local/portage" in my /etc/make.conf
> file.
> And I can upgrade existing Gentoo packages after modifying them.  For
> example,
> I copied over the xmlrpc-c-0.9 to the /usr/local/portage/dev-libs/ and
> changed
> it to xmlrpc-c-1.03.07 and it worked liked a charm.  It is just my
> packages
> are somehow not recognized by portage.
>
> I read it somewhere that the category name "mycat" has to be an entry
> listed in
> /usr/portage/profiles/categories.  I added "mycat" into the categories,
> still
> the same result.  Plus, this doesn't make sense because the "emerge
> --sync"
> would remove it.
put it in /etc/portage/profiles/categories
>
> Any body has any ideas where I am doing wrong?  It can't be this
> difficult to
> create a new package for Gentoo, can it?
>
> Or do I have to use gensync to create my own portage tree for this?  And
> if
> I have to, anyone can point me to how to do that?  There are documents
> on how
> to use gensync, but not how to create a 3rd-party portage tree.
>
> BTW, my "emerge --sync" takes more than 15 minutes to finish.  Anybody
> has the
> same problem?
http://dev.gentoo.org/~ferringb/blog/archives/2005-10.html#e2005-10-12T23_59_53.txt
>
> Thank you very much for your help.
>
> --
> gentoo-dev@gentoo.org mailing list
>
>

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [gentoo-dev] Need Help: Creating a new third party package
@ 2005-11-17  0:05 Zou, Yixiong
  0 siblings, 0 replies; 7+ messages in thread
From: Zou, Yixiong @ 2005-11-17  0:05 UTC (permalink / raw
  To: gentoo-dev

You are correct.  This is the error.  

I wish ebuild could give me a better clue though.  

Thank you. 

-----------------------------------

Yixiong Zou (yixiong.zou@intel.com)
Open Source Technology Center
Intel Corp.


   

>-----Original Message-----
>From: Dan Meltzer [mailto:parallelgrapefruit@gmail.com] 
>Sent: Wednesday, November 16, 2005 3:51 PM
>To: gentoo-dev@lists.gentoo.org
>Subject: Re: [gentoo-dev] Need Help: Creating a new third party package
>
>On 11/16/05, Zou, Yixiong <yixiong.zou@intel.com> wrote:
>> Hi,
>>
>> I am trying to create a gentoo package for some internal software.  I
>> followed
>> several Howtos online and created the ebuild file for my 
>package.  But
>> somehow
>> ebuild always return me the same error over and over again:
>>
>> $ ebuild ./component-template-0.1.0.ebuild digest
>> Invalid package name in package.provided: component-template-0.1
>> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
>> specified:
>> !!!            None
>> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
>> specified:
>> !!!            None
>> doebuild(): aux_get() error reading mycat/component-template-0.1.0;
>> aborting.
>Most likely the ebuild is not in the component-template folder.
>
>This is a requirement.
>>
>> I did google for this error, most say that it is because of the
>> PORTDIR_OVERLAY.
>> But I do have PORTDIR_OVERLAY="/usr/local/portage" in my 
>/etc/make.conf
>> file.
>> And I can upgrade existing Gentoo packages after modifying them.  For
>> example,
>> I copied over the xmlrpc-c-0.9 to the 
>/usr/local/portage/dev-libs/ and
>> changed
>> it to xmlrpc-c-1.03.07 and it worked liked a charm.  It is just my
>> packages
>> are somehow not recognized by portage.
>>
>> I read it somewhere that the category name "mycat" has to be an entry
>> listed in
>> /usr/portage/profiles/categories.  I added "mycat" into the 
>categories,
>> still
>> the same result.  Plus, this doesn't make sense because the "emerge
>> --sync"
>> would remove it.
>put it in /etc/portage/profiles/categories
>>
>> Any body has any ideas where I am doing wrong?  It can't be this
>> difficult to
>> create a new package for Gentoo, can it?
>>
>> Or do I have to use gensync to create my own portage tree 
>for this?  And
>> if
>> I have to, anyone can point me to how to do that?  There are 
>documents
>> on how
>> to use gensync, but not how to create a 3rd-party portage tree.
>>
>> BTW, my "emerge --sync" takes more than 15 minutes to 
>finish.  Anybody
>> has the
>> same problem?
>http://dev.gentoo.org/~ferringb/blog/archives/2005-10.html#e200
>5-10-12T23_59_53.txt
>>
>> Thank you very much for your help.
>>
>> --
>> gentoo-dev@gentoo.org mailing list
>>
>>
>
>-- 
>gentoo-dev@gentoo.org mailing list
>
>

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Need Help: Creating a new third party package
  2005-11-16 23:50 ` Georgi Georgiev
@ 2005-11-17  1:10   ` Marius Mauch
  0 siblings, 0 replies; 7+ messages in thread
From: Marius Mauch @ 2005-11-17  1:10 UTC (permalink / raw
  To: gentoo-dev

Georgi Georgiev wrote:
> maillog: 16/11/2005-15:43:25(-0800): Zou, Yixiong types
> 
>>I read it somewhere that the category name "mycat" has to be an entry
>>listed in /usr/portage/profiles/categories.  I added "mycat" into the
>>categories, still the same result.  Plus, this doesn't make sense
>>because the "emerge --sync" would remove it.  
> 
> 
> It may be that the category name has to have a dash in it. Try with
> "my-cat" instead.

No, that's not a requirement for portage.

Marius
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Need Help: Creating a new third party package
  2005-11-16 23:51 ` Dan Meltzer
@ 2005-11-17  1:11   ` Marius Mauch
  0 siblings, 0 replies; 7+ messages in thread
From: Marius Mauch @ 2005-11-17  1:11 UTC (permalink / raw
  To: gentoo-dev

Dan Meltzer wrote:
> On 11/16/05, Zou, Yixiong <yixiong.zou@intel.com> wrote:
> 
>>Hi,
>>
>>I am trying to create a gentoo package for some internal software.  I
>>followed
>>several Howtos online and created the ebuild file for my package.  But
>>somehow
>>ebuild always return me the same error over and over again:
>>
>>$ ebuild ./component-template-0.1.0.ebuild digest
>>Invalid package name in package.provided: component-template-0.1
>>!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
>>specified:
>>!!!            None
>>!!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
>>specified:
>>!!!            None
>>doebuild(): aux_get() error reading mycat/component-template-0.1.0;
>>aborting.
> 
> Most likely the ebuild is not in the component-template folder.
> 
> This is a requirement.
> 
>>I did google for this error, most say that it is because of the
>>PORTDIR_OVERLAY.
>>But I do have PORTDIR_OVERLAY="/usr/local/portage" in my /etc/make.conf
>>file.
>>And I can upgrade existing Gentoo packages after modifying them.  For
>>example,
>>I copied over the xmlrpc-c-0.9 to the /usr/local/portage/dev-libs/ and
>>changed
>>it to xmlrpc-c-1.03.07 and it worked liked a charm.  It is just my
>>packages
>>are somehow not recognized by portage.
>>
>>I read it somewhere that the category name "mycat" has to be an entry
>>listed in
>>/usr/portage/profiles/categories.  I added "mycat" into the categories,
>>still
>>the same result.  Plus, this doesn't make sense because the "emerge
>>--sync"
>>would remove it.
> 
> put it in /etc/portage/profiles/categories

It's /etc/portage/categories

Marius
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Need Help: Creating a new third party package
  2005-11-16 23:43 [gentoo-dev] Need Help: Creating a new third party package Zou, Yixiong
  2005-11-16 23:50 ` Georgi Georgiev
  2005-11-16 23:51 ` Dan Meltzer
@ 2005-11-17 11:19 ` Michael Cummings
  2 siblings, 0 replies; 7+ messages in thread
From: Michael Cummings @ 2005-11-17 11:19 UTC (permalink / raw
  To: gentoo-dev

Zou, Yixiong wrote:
> Hi, 
> 
> I am trying to create a gentoo package for some internal software.  I
> followed 
> several Howtos online and created the ebuild file for my package.  But
> somehow 
> ebuild always return me the same error over and over again:
> 
> $ ebuild ./component-template-0.1.0.ebuild digest
> Invalid package name in package.provided: component-template-0.1
> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
> specified:
> !!!            None
> !!! aux_get(): ebuild path for 'mycat/component-template-0.1.0' not
> specified:
> !!!            None
> doebuild(): aux_get() error reading mycat/component-template-0.1.0;
> aborting.

* Double check that the path is right, i.e. if your category is foo, and
 your overlay is set as /usr/local/portage, that you are actually in
/usr/local/portage/foo/ when you do this.
* Make sure the name of the directory and the base name of the ebuild
are the same, ie
$OVERLAY/foo/component-template/component-template-0.1.0.ebuild should
be right. Any differentiation in the above would fail (like case, names,
etc.)
* Check permissions from the top down as the user doing this :)
* Is the source file already in distfiles? If not, can the user doing
this write to distfiles?
* Finally, believe it or not, make sure you don't have a typo in the
ebuild. I've seen a misplaced " cause this error.

~mcummings
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-17 11:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 23:43 [gentoo-dev] Need Help: Creating a new third party package Zou, Yixiong
2005-11-16 23:50 ` Georgi Georgiev
2005-11-17  1:10   ` Marius Mauch
2005-11-16 23:51 ` Dan Meltzer
2005-11-17  1:11   ` Marius Mauch
2005-11-17 11:19 ` Michael Cummings
  -- strict thread matches above, loose matches on Subject: below --
2005-11-17  0:05 Zou, Yixiong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox