Skip to contentSkip to conversation

Question about Q/A installed vs shipped failure

meta-mono Alex J Lennon 3 participants 4 messages Nov 1, 2013

lore
Share & tools
lore
#0 lore raw

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-sharp/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 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.

Thanks,

Alex

Signature · 22 lines
Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>

Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA

mobile: +44 (0)7956 668178

Linkedin <http://www.linkedin.com/in/alexjlennon> Skype
<skype:alexjlennon?add>

This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended
recipient(s). Any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is prohibited. E-mails are not secure and cannot be guaranteed to
be error free as they can be intercepted, amended, or contain viruses.
Anyone who communicates with us by e-mail is deemed to have accepted
these risks. Company Name is not responsible for errors or omissions in
this message and denies any responsibility for any damage arising from
the use of e-mail. Any opinion and other statement contained in this
message and any attachment are solely those of the author and do not
necessarily represent those of the company.
#1 lore raw

Fredag den 1. november 2013 10:03:44 skrev Alex J Lennon:

Quoted 13 lines

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"

Quoted 8 lines

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.

Quoted 4 lines

I have tried adding a do_package_append() which I thought might help but bitbake won't accept this.

Quoted 8 lines

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.

Quoted 4 lines

Thanks,

Alex

Signature · 1 line
Søren Holm
#2 lore raw
In reply to Alex J Lennon

Hi Alex,

Quoted 11 lines · On Friday 01 November 2013 10:03:44 Alex J Lennon wrote:

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"

Quoted 8 lines

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().

This sounds a bit odd. Out of curiosity I just built gtk-sharp and it seems to me the files it's reporting as unpackages are under image/, which should allow them to be deleted. What are you adding to the recipe to try to fix this?

Quoted 2 lines

I have tried adding a do_package_append() which I thought might help but bitbake won't accept this.

This shouldn't be necessary.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
Quoted 17 lines · Paul Eggleton

Hi Alex,

Quoted 14 lines · On Friday 01 November 2013 10:03:44 Alex J Lennon wrote:

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

Quoted 8 lines
Quoted 5 lines

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().

This sounds a bit odd. Out of curiosity I just built gtk-sharp and it seems to me the files it's reporting as unpackages are under image/, which should allow them to be deleted. What are you adding to the recipe to try to fix this?

Hi Paul,

I've been into a devshell and can see the files, on my system at least, are definitely in package/ not image/

I'm currently in the midst of adding support for Mono 3.2.3 into a fork I took of the Yocto latest meta-mono repo

My current sandbox repo is here: [email protected]:ciseco-eve.meta-mono.git (web: https://www.assembla.com/code/ciseco-eve/git-2/nodes)

It's now building Mono 3.2.3 and running console only .exes but I'm having some trouble with support for Windows Forms which I'm looking into.

I'm building for qemux86 with, what I believe is, Yocto head:

Build Configuration:

BB_VERSION        = "1.21.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5+snapshot-20131101"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""

meta
meta-yocto = "master:523f2a9ea970713fb775bc48f84b67420b1106a0"
meta-oe
meta-efl = "master:3000970fcd979ac2d68ef406778dbc4da86da73f"
meta-fsl-arm = "master:88117e976c16f22b9bbfeb26a52088e31f1d0c4d"
meta-fsl-arm-extra = "master:5b753d3d130ed6932715329d0e887a015e628766"
meta-fsl-demos = "master:87233da97fe0ead245773e092acb56faa24f3835"
meta-mono = "master:0c2655fc8037d9aa46e884f9bac5c52c7ff7ae8e"

Best Regards,

Alex

Quoted 7 lines
Quoted 2 lines

I have tried adding a do_package_append() which I thought might help but bitbake won't accept this.

This shouldn't be necessary.

Cheers,
Paul

Signature · 10 lines
Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>

Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA

mobile: +44 (0)7956 668178

Linkedin <http://www.linkedin.com/in/alexjlennon> Skype <skype:alexjlennon?add>

This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.