Hello.
I’m trying to build linux image from source. My build machine has Ubuntu 16.04. I’ve followed steps with: openembedded-(core)
- installed required software
- installed ‘repo’ with ‘phablet-tools’
- used ‘LinuxImageV2.7’ with ‘repo init…’
- edited ‘local.conf’ for target machine
Now when I run ‘bitbake -k angstrom-lxde-image’ command, I get error:
ERROR: Execution of event handler 'config_reparse_eventhandler' failed
Traceback (most recent call last):
File "/home/(***)/oe-core/layers/openembedded-core/bitbake/lib/bb/build.py", line 261, in exec_func(func='oecore_update_bblayers', d=<bb.data_smart.DataSmart object at 0x7f73925e2588>, dirs=None, pythonexception=True):
if ispython:
> exec_func_python(func, d, runfile, cwd=adir, pythonexception=pythonexception)
else:
File "/home/(***)/oe-core/layers/openembedded-core/bitbake/lib/bb/build.py", line 306, in exec_func_python(func='oecore_update_bblayers', d=<bb.data_smart.DataSmart object at 0x7f73925e2588>, runfile='/home/(***)/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/defaultpkgname/1.0-r0/temp/run.oecore_update_bblayers.20348', cwd=None, pythonexception=True):
comp = utils.better_compile(code, func, "exec_python_func() autogenerated")
> utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated", pythonexception=pythonexception)
except (bb.parse.SkipRecipe, bb.build.FuncFailed):
File "/home/(***)/oe-core/layers/openembedded-core/bitbake/lib/bb/utils.py", line 399, in better_exec(code=<code object <module> at 0x7f73920dc8a0, file "exec_python_func() autogenerated", line 2>, context={'d': <bb.data_smart.DataSmart object at 0x7f73925e2588>}, text='\noecore_update_bblayers(d)\n', realfile='exec_python_func() autogenerated', pythonexception=True):
try:
> exec(code, get_context(), context)
except (bb.BBHandledException, bb.parse.SkipRecipe, bb.build.FuncFailed, bb.data_smart.ExpansionError):
File "exec_python_func() autogenerated", line 2, in <module>
File "/home/(***)/oe-core/build/../layers/openembedded-core/meta/classes/sanity.bbclass", line 84, in oecore_update_bblayers(d=<bb.data_smart.DataSmart object at 0x7f73925e2588>):
current_lconf = int(d.getVar('LCONF_VERSION', True))
> lconf_version = int(d.getVar('LAYER_CONF_VERSION', True))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/home/(***)/oe-core/layers/openembedded-core/bitbake/lib/bb/build.py", line 261, in exec_func(func='oecore_update_bblayers', d=<bb.data_smart.DataSmart object at 0x7f73925e2588>, dirs=None, pythonexception=True):
if ispython:
> exec_func_python(func, d, runfile, cwd=adir, pythonexception=pythonexception)
else:
File "/home/(***)/oe-core/layers/openembedded-core/bitbake/lib/bb/build.py", line 306, in exec_func_python(func='oecore_update_bblayers', d=<bb.data_smart.DataSmart object at 0x7f73925e2588>, runfile='/home/(***)/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/defaultpkgname/1.0-r0/temp/run.oecore_update_bblayers.20348', cwd=None, pythonexception=True):
comp = utils.better_compile(code, func, "exec_python_func() autogenerated")
> utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated", pythonexception=pythonexception)
except (bb.parse.SkipRecipe, bb.build.FuncFailed):
File "/home/(***)/oe-core/layers/openembedded-core/bitbake/lib/bb/utils.py", line 399, in better_exec(code=<code object <module> at 0x7f73920dc8a0, file "exec_python_func() autogenerated", line 2>, context={'d': <bb.data_smart.DataSmart object at 0x7f73925e2588>}, text='\noecore_update_bblayers(d)\n', realfile='exec_python_func() autogenerated', pythonexception=True):
try:
> exec(code, get_context(), context)
except (bb.BBHandledException, bb.parse.SkipRecipe, bb.build.FuncFailed, bb.data_smart.ExpansionError):
File "exec_python_func() autogenerated", line 2, in <module>
File "/home/(***)/oe-core/build/../layers/openembedded-core/meta/classes/sanity.bbclass", line 84, in oecore_update_bblayers(d=<bb.data_smart.DataSmart object at 0x7f73925e2588>):
current_lconf = int(d.getVar('LCONF_VERSION', True))
> lconf_version = int(d.getVar('LAYER_CONF_VERSION', True))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Any suggestions what to do with it?
Thanks in advance.