Lukas

Thanks for your effort.

I updated my checkouts to be inline with yours 

bitbaking ros-comm works fine but when I add my recipe i goes sour
like this:

initial bblayers.conf


# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"


BBPATH = "${TOPDIR}"
BBFILES ?= ""


BBLAYERS ?= " \
  /home/lars/poky/meta \
  /home/lars/poky/meta-yocto \
  /home/lars/poky/meta-yocto-bsp \
  /home/lars/poky/meta-ros \
  /home/lars/poky/meta-openembedded/meta-oe \ 
  "
  
BBLAYERS_NON_REMOVABLE ?= " \
  /home/lars/poky/meta \
  /home/lars/poky/meta-yocto \
"


LICENSE_FLAGS_WHITELIST = "commercial"










then:
*lars@lars-ThinkPad-W520:~/poky/build$  bitbake packagegroup-ros-comm*
*Loading cache: 100% 
|##############################################################################################################################################################################|
 
ETA:  00:00:00*
*Loaded 2320 entries from dependency cache.*
*Parsing recipes: 100% 
|############################################################################################################################################################################|
 
Time: 00:00:00*
*Parsing of 1800 .bb files complete (1797 cached, 3 parsed). 2322 targets, 
73 skipped, 0 masked, 0 errors.*
*NOTE: Resolving any missing task queue dependencies*
*NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)*
*NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg*

*Build Configuration:*
*BB_VERSION        = "1.28.0"*
*BUILD_SYS         = "x86_64-linux"*
*NATIVELSBSTRING   = "Ubuntu-14.04"*
*TARGET_SYS        = "i686-poky-linux"*
*MACHINE           = "genericx86"*
*DISTRO            = "poky"*
*DISTRO_VERSION    = "2.0.1"*
*TUNE_FEATURES     = "m32 core2"*
*TARGET_FPU        = ""*
*meta              *
*meta-yocto        *
*meta-yocto-bsp    = "jethro:5b12268f6e17574999f91628a60e21711cf62ee4"*
*meta-ros          = "master:63ebe5bfe6312b6e67fbbd379ff83f2b42b85a5c"*
*meta-oe           = "jethro:7bc138a365e20653ddfb9229561e3e9e50b89ee8"*

*NOTE: Preparing RunQueue*
*NOTE: Executing SetScene Tasks*
*NOTE: Executing RunQueue Tasks*
*NOTE: Tasks Summary: Attempted 1657 tasks of which 1657 didn't need to be 
rerun and all succeeded.*


*All good, but after updating bblayes.conf with my layer*

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"


BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/lars/poky/meta \
  /home/lars/poky/meta-yocto \
  /home/lars/poky/meta-yocto-bsp \
  /home/lars/poky/meta-ros \
  /home/lars/poky/meta-openembedded/meta-oe \
  /home/lars/poky/meta-fpe \
  "
  
BBLAYERS_NON_REMOVABLE ?= " \
  /home/lars/poky/meta \
  /home/lars/poky/meta-yocto \
"


LICENSE_FLAGS_WHITELIST = "commercial"


The meta-fpe layout shown below important files attached (I invalidated the 
Xreceipes-robovator it is not found by layer.conf)


.
├── conf
│   └── layer.conf
├── license
│   └── FPE
├── README
├── recipes-core
│   ├── images
│   │   └── robovator-image.bb
│   └── packagegroups
│       └── packagegroup-robovator-basic.bb
├── recipes-kernel
│   └── linux
│       ├── linux-yocto
│       │   └── genericx86
│       │       └── defconfig
│       └── linux-yocto_4.1.bbappend
└── Xrecipes-robovator
    ├── filepopulation
    │   ├── filepopulation.bb
    │   └── README
    └── initscript


And as you can see my robovator-image.bb pulls in ros-comm the same way 
 core-image-ros-world.bb does

This yeild the following:

lars@lars-ThinkPad-W520:~/poky/build$ bitbake robovator-image
Loading cache: 100% 
|##############################################################################################################################################################################|
 
ETA:  00:00:00
Loaded 2323 entries from dependency cache.
Parsing recipes: 100% 
|############################################################################################################################################################################|
 
Time: 00:00:00
Parsing of 1802 .bb files complete (1799 cached, 3 parsed). 2324 targets, 
73 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg

*Build Configuration:*
*BB_VERSION        = "1.28.0"*
*BUILD_SYS         = "x86_64-linux"*
*NATIVELSBSTRING   = "Ubuntu-14.04"*
*TARGET_SYS        = "i686-poky-linux"*
*MACHINE           = "genericx86"*
*DISTRO            = "poky"*
*DISTRO_VERSION    = "2.0.1"*
*TUNE_FEATURES     = "m32 core2"*
*TARGET_FPU        = ""*
*meta              *
*meta-yocto        *
*meta-yocto-bsp    = "jethro:5b12268f6e17574999f91628a60e21711cf62ee4"*
*meta-ros          = "master:63ebe5bfe6312b6e67fbbd379ff83f2b42b85a5c"*
*meta-oe           = "jethro:7bc138a365e20653ddfb9229561e3e9e50b89ee8"*
*meta-fpe          = "jethro:5b12268f6e17574999f91628a60e21711cf62ee4"*

*NOTE: Preparing RunQueue*
*NOTE: Executing SetScene Tasks*
*NOTE: Executing RunQueue Tasks*
*ERROR: QA Issue: python-imaging: The compile log indicates that host 
include and/or library paths were used.*
*         Please check the log 
'/home/lars/poky/build/tmp/work/core2-32-poky-linux/python-imaging/1.1.7-r5/temp/log.do_compile'
 
for more information. [compile-host-path]*
*ERROR: QA run found fatal errors. Please consider fixing them.*
*ERROR: Function failed: do_package_qa*
*ERROR: Logfile of failure stored in: 
/home/lars/poky/build/tmp/work/core2-32-poky-linux/python-imaging/1.1.7-r5/temp/log.do_package_qa.5020*
*ERROR: Task 3367 
(/home/lars/poky/meta/recipes-devtools/python/python-imaging_1.1.7.bb, 
do_package_qa) failed with exit code '1'*
*NOTE: Tasks Summary: Attempted 3350 tasks of which 3338 didn't need to be 
rerun and 1 failed.*
*Waiting for 0 running tasks to finish:*

*Summary: 1 task failed:*
*  /home/lars/poky/meta/recipes-devtools/python/python-imaging_1.1.7.bb, 
do_package_qa*
*Summary: There were 3 ERROR messages shown, returning a non-zero exit 
code.*


Something is wrong with my layer - but what ?
A 'funny' note on the side:  it is reported that meta-fpe originates from 
*jethro:5b12268f6e17574999f91628a60e21711cf62ee4", *but meta-fpe is NOT 
under git control at all.
I hope this some how makes sense to you

-Lars

# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "fpe-layer"
BBFILE_PATTERN_fpe-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_fpe-layer = "7"


LICENSE_FLAGS_WHITELIST = "commercial"


Attachment: robovator-image.bb
Description: Binary data

Attachment: packagegroup-robovator-basic.bb
Description: Binary data

Attachment: linux-yocto_4.1.bbappend
Description: Binary data

Reply via email to