This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM62X: bitbake is failing to compile

Part Number: PROCESSOR-SDK-AM62X

Hi ,

Observed that throwing below issues , while compiling . is there any issues from server side ?

Could you please help me on this .

NOTE: Started PRServer with DBfile: /home/test/yocto/tisdk/build/cache/prserv.sqlite3, Address: 127.0.0.1:38195, PID: 1028064
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:01
Loaded 9638 entries from dependency cache.
ERROR: ExpansionError during parsing /home/test/yocto/tisdk/sources/meta-edgeai/recipes-tisdk/edgeai-components/edgeai-gui-app_0.1.bb | ETA: 0:00:01
Traceback (most recent call last):
File "/home/test/yocto/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 1214, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f561adf7550>, d=<bb.data_smart.DataSmart object at 0x7f561adf55a0>, name='default'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)

File "/home/test/yocto/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 1626, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f561adf7550>, d=<bb.data_smart.DataSmart object at 0x7f561adf55a0>, name='default'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/home/test/yocto/tisdk/sources/bitbake/lib/bb/fetch2/git.py", line 748, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f561adf7550>, d=<bb.data_smart.DataSmart object at 0x7f561adf55a0>, name='default'):

> output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
File "/home/test/yocto/tisdk/sources/bitbake/lib/bb/fetch2/git.py", line 731, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f561adf7550>, d=<bb.data_smart.DataSmart object at 0x7f561adf55a0>, search=''):
bb.fetch2.check_network_access(d, cmd, repourl)
> output = runfetchcmd(cmd, d, True)
if not output:
File "/home/test/yocto/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 929, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/test/yocto/tisdk/sources/oe-core/scripts:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/test/yocto/tisdk/sources/bitbake/bin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/test"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote git://git.ti.com/apps/edgeai-gui-app.git ', d=<bb.data_smart.DataSmart object at 0x7f561adf7af0>, quiet=True, cleanup=[], log=None, workdir=None):

> raise FetchError(error_message)

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/test/yocto/tisdk/sources/oe-core/scripts:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/test/yocto/tisdk/sources/bitbake/bin:/home/test/yocto/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/test"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote git://git.ti.com/apps/edgeai-gui-app.git failed with exit code 128, output:
fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.207]: errno=Connection refused


The variable dependency chain for the failure is: SRCPV -> PV -> BP -> FILESPATH

ERROR: Parsing halted due to errors, see error messages above

Summary: There were 2 ERROR messages, returning a non-zero exit code.

Thanks,

Naresh

  • Are you directly connected to the internet (no corporate firewall)?  If not, can you try this on another computer that is directly connected, just to see if you can get it to work this way?

    Also, can you try to completely clean out this recipe, and force re-download/build attempt?

    $ MACHINE=am62axx-evm bitbake -k -c cleanall edgeai-gui-app
    $ MACHINE=am62axx-evm bitbake -k edgeai-gui-app

    I just tried the above on my PC in the context of the SDK v9.1 sources and it worked without issues.

    Regards, Andreas

  • Hi Andreas,

    Thanks for your response !

    It works for me .

    Thanks,

    Naresh