Bug 6506 - Toasters reports 0 packages included for uhd-dev-image (meta-sdr)
Summary: Toasters reports 0 packages included for uhd-dev-image (meta-sdr)
Status: RESOLVED WORKSFORME
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.7 M2
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-07-04 11:53 UTC by Belen Barros Pena
Modified: 2014-08-27 09:43 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2014-07-04 11:53:01 UTC

    
Comment 1 Belen Barros Pena 2014-07-04 12:03:49 UTC
How to reproduce:

I used: 

* poky/master/a5531a2b8983318b99c119a87b78a92cf84160b8
* openembedded-core/master/e2b05be5e1262d51ff70d1fc01941bb34fb01b58
* meta-oe/master/87bbe91686e1bbc9036aacd924162f17db214aad
* meta-sdr/master/c94e83afe85b6b9e249f9e8d7cad6a7aba96d749

Step 1: add meta-oe and meta-sdr to bblayers.conf
Step 2: start Toaster (interactive mode: source toaster start)
Step 3: build uhd-dev-image 

I run an sstate build (from a clean tmp directory). I am not sure if this also happens with clean builds. Toaster reports 794 packages built, but 0 packages included.
Comment 2 Phlip Balister 2014-07-04 12:25:34 UTC
Thanks for confirming this. Let me know if you want me to try anything locally.
Comment 3 Belen Barros Pena 2014-07-04 13:45:22 UTC
I've built both base-dev-image (from meta-sdr) and core-image-minimal: I get 0 included packages for base-dev-image as well, but the correct number of included packages for core-image-minimal, so the problem seems to be specific to meta-sdr images.
Comment 4 Belen Barros Pena 2014-07-18 09:37:59 UTC
I've got another report from the community about image information (packages included and directory structure) not coming in when building image recipes from custom layers, so this doesn't seem to be meta-sdr specific. 

We should really have a look at this problem. Image information is probably the most important data in Toaster. If that's not coming in, the utility of the application is seriously undermined.
Comment 5 Alexandru Damian 2014-07-24 17:35:28 UTC
I can't build (missing dependencies) unless my BBLAYERS look like this:

BBLAYERS ?= " \
  /home/ddalex/ssd/yocto/poky/meta \
  /home/ddalex/ssd/yocto/poky/meta-yocto \
  /home/ddalex/ssd/yocto/poky/meta-yocto-bsp \
  /home/ddalex/ssd/yocto/layers/meta-openembedded/meta-oe \
  /home/ddalex/ssd/yocto/layers/meta-openembedded/meta-filesystems \
  /home/ddalex/ssd/yocto/layers/meta-openembedded/meta-networking \
  /home/ddalex/ssd/yocto/layers/meta-sdr \
  "


I.E meta-oe doesn't automatically import meta-filesystems and meta-networking.

Is this setup correct ?
Comment 6 Belen Barros Pena 2014-07-25 08:53:56 UTC
I believe it is, yes
Comment 7 Alexandru Damian 2014-08-08 14:37:40 UTC
This was fixed in master by an unrelated patch. 

Moved to WorksForMe as to get tested by QA.
Comment 8 Phlip Balister 2014-08-08 18:00:37 UTC
Thanks for the update. I will also verify when I get home from vacation.