I get an error when I run bitbake, how can I resolve this error?
Also, how much free space is required on the HDD when executing bitbake?
It was carried out with reference to the procedure in the guide below.
1.2.2.2. Build Steps( downloads.ti.com/.../Overview_Building_the_SDK.html )
I'm using the SDK below:
ti-processor-sdk-linux-am65xx-evm-07_00_01_06
I'm using the toolchain below:
gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
The error contents when executing bitbake are as follows:
-------------------------------------------------------------------------------------------------------------------------------
user@user-VirtualBox:~/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/build$ TOOLCHAIN_BASE=$HOME MACHINE=am65xx-evm bitbake -k tisdk-default-image
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.
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.
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.
NOTE: Started PRServer with DBfile: /home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 36557, PID: 2012
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.
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.
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.
Loading cache: 100% |############################################| Time: 0:00:02
Loaded 3825 entries from dependency cache.
WARNING: /home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/meta-aws/recipes-sdk/aws-iot-device-sdk-python-v2/aws-iot-device-sdk-python-v2_git.bb: Exception during build_dependencies for AUTOREV
WARNING: /home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/meta-aws/recipes-sdk/aws-iot-device-sdk-python-v2/aws-iot-device-sdk-python-v2_git.bb: Error during finalise of /home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/meta-aws/recipes-sdk/aws-iot-device-sdk-python-v2/aws-iot-device-sdk-python-v2_git.bb
ERROR: ExpansionError during parsing /home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/meta-aws/recipes-sdk/aws-iot-device-sdk-python-v2/aws-iot-device-sdk-python-v2_git.bb
Traceback (most recent call last):
File "/home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/bitbake/lib/bb/fetch2/git.py", line 230, in Git.urldata_init(ud=<bb.fetch2.FetchData object at 0x7fcccd09ca58>, d=<bb.data_smart.DataSmart object at 0x7fcccbda1a20>):
> ud.setup_revisions(d)
File "/home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/bitbake/lib/bb/fetch2/__init__.py", line 1314, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart object at 0x7fcccbda1a20>):
for name in self.names:
> self.revisions[name] = srcrev_internal_helper(self, d, name)
File "/home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/bitbake/lib/bb/fetch2/__init__.py", line 1177, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7fcccd09ca58>, d=<bb.data_smart.DataSmart object at 0x7fcccbda1a20>, name='aws-iot-device-sdk-python-v2'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)
File "/home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/bitbake/lib/bb/fetch2/__init__.py", line 1592, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7fcccd09ca58>, d=<bb.data_smart.DataSmart object at 0x7fcccbda1a20>, name='aws-iot-device-sdk-python-v2'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/home/user/ti-processor-sdk-linux-am65xx-evm-07_00_01_06/yocto-build/sources/bitbake/lib/bb/fetch2/git.py", line 645, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7fcccd09ca58>, d=<bb.data_smart.DataSmart object at 0x7fcccbda1a20>, name='aws-iot-device-sdk-python-v2'):
raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
> (ud.unresolvedrev[name], ud.host+ud.path))
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve 'master' in upstream git repository in git ls-remote output for github.com/aws/aws-iot-device-sdk-python-v2.git
Summary: There were 8 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
-------------------------------------------------------------------------------------------------------------------------------