Skip to contentSkip to conversation

error while adding meta-python layer

DISCUSSION Pankaj Vinadrao Joshi 2 participants 2 messages Jun 2, 2020

lore
Share & tools
lore
#0 lore raw

i have cloned *meta-openembedded* layer and from that i am trying to add meta-python layer but i am getting following error i am adding this to my poky

*pankaj@exaleap-Inspiron-3584:~/raspberrypi4_image$ bitbake-layers add-layer /home/pankaj/meta-openembedded/meta-python/*
NOTE: Starting bitbake server...
Traceback (most recent call last):
File "/home/pankaj/Yocto-practice/poky/bitbake/bin/bitbake-layers", line 95, in <module>
ret = main()
File "/home/pankaj/Yocto-practice/poky/bitbake/bin/bitbake-layers", line 63, in main
tinfoil.prepare(True)
File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/tinfoil.py", line 414, in prepare
self.run_command('parseConfiguration')
File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/tinfoil.py", line 470, in run_command
raise TinfoilCommandFailed(result[1])
bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/command.py", line 74, in runCommand
result = command_method(self, commandline)
File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/command.py", line 275, in parseConfiguration
command.cooker.parseConfiguration()
File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/cooker.py", line 433, in parseConfiguration
self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
F *ile "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/cooker.py", line 1225, in handleCollections*
*raise CollectionError("Errors during parsing layer configuration")*
*bb.cooker.CollectionError: Errors during parsing layer configuration*

this is bblayer.conf
my  bblayer.conf is as following

POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf

# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

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

BBLAYERS ?= " \
/home/pankajjoshi/Yocto_practice/poky/meta \
/home/pankajjoshi/Yocto_practice/poky/meta-poky \
/home/pankajjoshi/Yocto_practice/poky/meta-yocto-bsp \
/home/pankajjoshi/source_meta/meta-raspberrypi \
/home/pankajjoshi/source_meta/meta-openembedded/meta-oe \
/home/pankajjoshi/source_meta/meta-openembedded/meta-filesystems \
/home/pankajjoshi/source_meta/meta-openembedded/meta-networking \
"
i am doing anything wrong???why i am getting this error??

#1 lore raw
Quoted 36 lines · Pankaj Vinadrao Joshi

i have cloned meta-openembedded layer and from that i am trying to add meta-python layer but i am getting following error i am adding this to my poky

pankaj@exaleap-Inspiron-3584:~/raspberrypi4_image$ bitbake-layers add-layer /home/pankaj/meta-openembedded/meta-python/
NOTE: Starting bitbake server...
Traceback (most recent call last):
  File "/home/pankaj/Yocto-practice/poky/bitbake/bin/bitbake-layers", line 95, in <module>
    ret = main()
  File "/home/pankaj/Yocto-practice/poky/bitbake/bin/bitbake-layers", line 63, in main
    tinfoil.prepare(True)
  File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/tinfoil.py", line 414, in prepare
    self.run_command('parseConfiguration')
  File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/tinfoil.py", line 470, in run_command
    raise TinfoilCommandFailed(result[1])
bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
  File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/command.py", line 74, in runCommand
    result = command_method(self, commandline)
  File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/command.py", line 275, in parseConfiguration
    command.cooker.parseConfiguration()
  File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/cooker.py", line 433, in parseConfiguration
    self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
  File "/home/pankaj/Yocto-practice/poky/bitbake/lib/bb/cooker.py", line 1225, in handleCollections
    raise CollectionError("Errors during parsing layer configuration")
bb.cooker.CollectionError: Errors during parsing layer configuration

this is bblayer.conf
my bblayer.conf is as following

POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf

# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

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

Quoted 10 lines

BBLAYERS ?= " \
/home/pankajjoshi/Yocto_practice/poky/meta \
/home/pankajjoshi/Yocto_practice/poky/meta-poky \
/home/pankajjoshi/Yocto_practice/poky/meta-yocto-bsp \
/home/pankajjoshi/source_meta/meta-raspberrypi \
/home/pankajjoshi/source_meta/meta-openembedded/meta-oe \
/home/pankajjoshi/source_meta/meta-openembedded/meta-filesystems \
/home/pankajjoshi/source_meta/meta-openembedded/meta-networking \
"
i am doing anything wrong???why i am getting this error??

Are those paths in BBLAYERS correct? I see /home/pankaj/Yocto-practice/poky in the bitbake output vs /home/pankajjoshi/Yocto_practice/poky in BBLAYERS.

Signature · 2 lines
Paul Barker
Konsulko Group