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

Reply via email to