we use linux sdk 8.0
yacto can compile successfully
but in linux sdk 7.3
have this error:
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 4008 at 2021-11-15 19:15:35.874949 ---
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
ERROR: Execution of event handler 'base_eventhandler' failed
Traceback (most recent call last):
File "/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/sources/oe-core/meta/classes/base.bbclass", line 243, in base_eventhandler(e=<bb.event.ConfigParsed object at 0x7f66dc1b9d30>):
# Works with the line in layer.conf which changes PATH to point here
> setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS_NONFATAL', d, fatal=False)
File "/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/sources/oe-core/meta/classes/base.bbclass", line 122, in setup_hosttools_dir(dest=None, toolsvar='HOSTTOOLS', d=<bb.data_smart.DataSmart object at 0x7f66dd0f4a90>, fatal=True):
def setup_hosttools_dir(dest, toolsvar, d, fatal=True):
> tools = d.getVar(toolsvar).split()
origbbenv = d.getVar("BB_ORIGENV", False)
AttributeError: 'NoneType' object has no attribute 'split'
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/sources/bitbake/lib/bb/event.py", line 214, in fire(event=<bb.event.ConfigParsed object at 0x7f66dc1b9d30>, d=<bb.data_smart.DataSmart object at 0x7f66dd0f4a90>):
> fire_class_handlers(event, d)
if worker_fire:
File "/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/sources/bitbake/lib/bb/event.py", line 121, in fire_class_handlers(event=<bb.event.ConfigParsed object at 0x7f66dc1b9d30>, d=<bb.data_smart.DataSmart object at 0x7f66dd0f4a90>):
continue
> execute_handler(name, handler, event, d)
File "/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/sources/bitbake/lib/bb/event.py", line 93, in execute_handler(name='base_eventhandler', handler=<function base_eventhandler at 0x7f66dd00f6a8>, event=<bb.event.ConfigParsed object at 0x7f66dc1b9d30>, d=<bb.data_smart.DataSmart object at 0x7f66dd0f4a90>):
try:
> ret = handler(event)
except (bb.parse.SkipRecipe, bb.BBHandledException):
File "/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/sources/oe-core/meta/classes/base.bbclass", line 243, in base_eventhandler(e=<bb.event.ConfigParsed object at 0x7f66dc1b9d30>):
# Works with the line in layer.conf which changes PATH to point here
> setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS_NONFATAL', d, fatal=False)
File "/home/hlj/ti-processor-sdk-linux-j7-evm-07_03_00_05/yocto-build/sources/oe-core/meta/classes/base.bbclass", line 122, in setup_hosttools_dir(dest=None, toolsvar='HOSTTOOLS', d=<bb.data_smart.DataSmart object at 0x7f66dd0f4a90>, fatal=True):
def setup_hosttools_dir(dest, toolsvar, d, fatal=True):
> tools = d.getVar(toolsvar).split()
origbbenv = d.getVar("BB_ORIGENV", False)
AttributeError: 'NoneType' object has no attribute 'split'
python tried both with 2.7 and 3.6
command:
./oe-layertool-setup.sh -f configs/processor-sdk-linux/processor-sdk-linux-07_03_00.txt
cd build
echo "INHERIT += \"own-mirrors\"" >> conf/local.conf
echo "SOURCE_MIRROR_URL = \""">software-dl.ti.com/.../\"" >> conf/local.conf
echo "ARAGO_BRAND = \"psdkla\"" >> conf/local.conf
echo "DISTRO_FEATURES_append = \" virtualization\"" >> conf/local.conf
echo "IMAGE_INSTALL_append = \" docker\"">> conf/local.conf
. conf/setenv
TOOLCHAIN_BASE=/home/xxx/ti-processor-sdk-linux-j7-evm-07_03_00_05 MACHINE=j7-evm bitbake -k meta-toolchain-arago-tisdk