[yocto] [meta-mono] Question about Q/A installed vs shipped failure

Søren Holm sgh at sgh.dk
Fri Nov 1 04:08:39 PDT 2013


Fredag den 1. november 2013 10:03:44 skrev Alex J Lennon:
> Hi,
> 
> I'm looking at at the gtk-sharp recipe in meta-mono:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-mono/tree/recipes-mono/gtk-sh
> arp/gtk-sharp_2.10.2.bb
> 
> This defines the contents of various gtk-sharp related packages making
> use of FILES_foo = and PACKAGES =
> 
> When I try to build against the Yocto head it fails a Q/A check with
> "ERROR: QA Issue: gtk-sharp: Files/directories were installed but not
> shipped"
> 
> Normally I would expect the extraneous files to be found in the image
> tree and add do_install_append() to rm the unneeded files from {$}D/foo/bar
> 
> However the behaviour of this recipe seems different.
> 
> For some reason the extraneous files are being found in the ../package
> tree. They are put there by the do_package() step, which is executed
> after my do_install_append().

I have expecienced a simillar behaviour while building an application using 
qmake. In my case all the source-files where for some reason copied into the 
package-directory like you descrive.

> 
> I have tried adding a do_package_append() which I thought might help but
> bitbake won't accept this.
> 
> Can anybody advise:
> 
> (a) if files being in ./package indicates a problem with the recipe or
> if this is correct behaviour, and
> (b) what is recommended practice to deal with this?
> 
> For now I am adding INSANE_SKIP_${PN} = "installed-vs-shipped" to the
> recipe but I'd rather not disable Q/A in this manner.

I did the same thing.

> 
> Thanks,
> 
> Alex

-- 
Søren Holm



More information about the yocto mailing list