Hi Augustin,

On Wed, 20 Feb 2008 11:17:04 -0800
"March, Agustin M" <[EMAIL PROTECTED]> wrote:

> Hi I want to generate a kit from a binary tar file. I create the kit
> structure an selected the components as BinaryPackage() but is seem
> that it is no the corrects choice.
> Someone do you know hot to do it? 
> 
> Verifying the Kit Source directory found
> in /root/kitsdevelop/firefox.. Setting up BuildProfile for this kit..
----------8<---------
>   File "/opt/kusu/lib/python/kusu/buildkit/builder.py", line 532, in
> install
>     cpio_copytree(self.buildsrc,destroot)
>   File "/opt/kusu/lib/python/kusu/util/tools.py", line 139, in
> cpio_copytree
>     if not cwd.exists(): raise IOError, "Source directory does not
> exist!"
> IOError: Source directory does not exist!

From this error it looks that when your tarball is extracted it does
not create a directory with the same name as the tarball (minus the
extension). For example, if I have a tarball called myapp.tar.gz,
buildkit expects the following:

/tmp $ pwd
/tmp
/tmp $ ls
myapp.tar.gz
/tmp $ tar zxf myapp.tar.gz
/tmp $ ls
myapp  <-------- this directory created when myapp.tar.gz is extracted
myapp.tar.gz

Either rename your tarball to have the same name as the directory
created during extraction, or change the directory name stored in the
tarball.

Also, could you post your build.kit file?

Hope that helps!
Mike
_______________________________________________
Kusu-users mailing list
[email protected]
http://mail.osgdc.org/mailman/listinfo/kusu-users

Reply via email to