[yocto] yocto layer dependencies

Fabian Knapp knapp at ambibox.de
Sat Sep 2 15:59:12 PDT 2017


One of the first bitbake steps is parsing of all available recipes. The error says it: you do not have a recipe called petalinux (try bitbake petalinux-image instead).

Same with openlte (try openlte-git).

I really recommend the yocto mega manual.

Fabian



Von: ktreddy 70
Gesendet: Sonntag, 3. September 00:36
Betreff: Re: [yocto] yocto layer dependencies
An: Fabian Knapp
Cc: yocto at yoctoproject.org


Hi,
Thank you,  issue got resolved after updating build/conf/bblayers.conf file,
Sorry to trouble you but now I am getting the following error what could be the reason

zcu102/build$ bitbake petalinux
Loading cache: 100% |#############################################################################################################################################| Time: 0:00:00
Loaded 3126 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################################################################| Time: 0:00:00
Parsing of 2368 .bb files complete (2366 cached, 2 parsed). 3127 targets, 216 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/ktreddy/zcu102/sources/poky/../meta-petalinux/recipes-extended/images/xen-image-minimal.bbappend
  /home/ktreddy/zcu102/sources/poky/../meta-petalinux/recipes-extended/xen/xen_4.8.0.bbappend
ERROR: Nothing PROVIDES 'petalinux'. Close matches:
  petalinux-image
  pptp-linux

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

zcu102/build$ bitbake openlte
Parsing recipes: 100% |###########################################################################################################################################| Time: 0:00:51
Parsing of 2368 .bb files complete (0 cached, 2368 parsed). 3127 targets, 216 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/ktreddy/zcu102/sources/poky/../meta-petalinux/recipes-extended/images/xen-image-minimal.bbappend
  /home/ktreddy/zcu102/sources/poky/../meta-petalinux/recipes-extended/xen/xen_4.8.0.bbappend
ERROR: Nothing PROVIDES 'openlte'. Close matches:
  openl2tp
  openlte-git
  openct

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

On Sat, Sep 2, 2017 at 12:34 PM, Fabian Knapp <knapp at ambibox.de<mailto:knapp at ambibox.de>> wrote:
Do you have configured /meta-openembedded/meta-qt4/ in your bblayers.conf (build/conf/bblayers.conf)?


Fabian

Von: yocto-bounces at yoctoproject.org<mailto:yocto-bounces at yoctoproject.org> [mailto:yocto-bounces at yoctoproject.org<mailto:yocto-bounces at yoctoproject.org>] Im Auftrag von ktreddy 70
Gesendet: Samstag, 2. September 2017 20:30
An: yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
Betreff: [yocto] yocto layer dependencies

I am trying to set up yocto build environment for openlte, meta-sdr has most of the openlte depends
I am getting following error when I try to build sdr,


/build$ bitbake sdr
Loading cache: 100% |############################################################################################################################################| Time: 0:00:00
Loaded 1642 entries from dependency cache.
ERROR: ParseError at /home/ktreddy/zcu102/sources/poky/../meta-openembedded/meta-sdr/recipes-applications/gqrx/gqrx_git.bb:8<http://gqrx_git.bb:8/>: Could not inherit file classes/qt4x11.bbclass


I do have meta-qt4 under meta-openembedded layer  as below.

zcu102/sources$ ls meta-openembedded/meta-qt4/classes/
qmake2.bbclass  qmake_base.bbclass  qt4e.bbclass  qt4x11.bbclass


could you please help me on why am I getting this error ?
How can I make one layer visible to another layer ?
Ex:  How can I make meta-sdr visible to openlte ? I mean how can I say to openlte that the dependency recipes are available under meta-sdr ?

if new recipes are available for a layer how can I get those on to my build environment ?

Thanks for your help.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170902/4c177392/attachment.html>


More information about the yocto mailing list