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.

TDA4VM: Building of tisdk-adas-image image fails due to bitbake error.

Part Number: TDA4VM

Tool/software:

I am using 09_02_00 Release to compile tisdk-adas-image for J784S4 using the build steps mentioned in the link - Build Steps. I get errors for ti-psdk-rtos and docker-ce while performing bitbake operations. Error logs for both tasks are mentioned below. For docker-ce as the repo as been deprecated and it gets redirected to moby, I tried by replacing the SRC_URI of docker-ce with moby but still observe the error.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR: ti-vision-apps-1.0-r0_edgeai_4 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus"; export SSH_AUTH_SOCK="/run/user/1001/keyring/ssh"; export PATH="/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/sources/oe-core/scripts:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/recipe-sysroot/usr/bin/crossscripts:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/recipe-sysroot-native/usr/sbin:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/recipe-sysroot-native/usr/bin:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/recipe-sysroot-native/sbin:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/recipe-sysroot-native/bin:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/sources/bitbake/bin:/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/tcs"; /usr/bin/env repo sync failed with exit code 1, output:
error: command 'sync' requires repo to be installed first.
        Use "repo init" to install it here.

ERROR: ti-vision-apps-1.0-r0_edgeai_4 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'repo://git.ti.com/git/processor-sdk/psdk_repo_manifests.git;protocol=https;branch=refs/tags/REL.PSDK.ANALYTICS.09.02.00.05;manifest=vision_apps_yocto.xml')
ERROR: Logfile of failure stored in: /home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/temp/log.do_fetch.2143093
DEBUG: Marking task /home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/sources/oe-core/meta/recipes-graphics/pango/pango_1.50.4.bb:do_prepare_recipe_sysroot as buildable
ERROR: Task (/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_fetch) failed with exit code '1'

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

####################################################################################################################################################

ERROR: docker-ce-20.10.25-ce+git791d8ab87747169b4cbfcdf2fd57c81952bae6d5-r0.arago0_tisdk_0 do_fetch: Bitbake Fetcher Error: FetchError("Please set a valid SRCREV for url ['SRCREV_moby:pn-docker-ce', 'SRCREV_moby', 'SRCREV:pn-docker-ce', 'SRCREV'] (possible key names are git://github.com/moby/moby.git;branch=20.10;name=moby;protocol=https, or use a ;rev=X URL parameter)", 'git://github.com/moby/moby.git;branch=20.10;name=moby;protocol=https')
ERROR: Logfile of failure stored in: /home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/build/arago-tmp-default-glibc/work/aarch64-oe-linux/docker-ce/20.10.25-ce+git791d8ab87747169b4cbfcdf2fd57c81952bae6d5-r0.arago0_tisdk_0/temp/log.do_fetch.2143199
ERROR: Task (/home/tcs/ti-processor-sdk-linux-adas-j784s4-evm-09_02_00_05/yocto-build/sources/meta-virtualization/recipes-containers/docker/docker-ce_git.bb:do_fetch) failed with exit code '1'

####################################################################################################################################################

  • Hi Arjav,

    Regarding ti-psdk-rtos, are you behind a proxy that blocks the link? Are you able to clone the repo outside of the yocto build?

    For docker-ce, looks like the SRCREV is wrong, does the commit hash that it's using exist? Alternatively, is the SRCREV being set to a commit hash?

    Best,
    Jared

  • Hi Jared,

    No, I am not behind proxy. I am also unable to clone the ti-psdk-rtos repo outside of yocto build.

    For docker-ce, the commit hash used is the same mentioned in the moby.bb file present in the yocto build and I cross checked the commit hash from the repo's.  

  • Hi Arjav,

    I was able to clone the https://git.ti.com/git/processor-sdk/psdk_repo_manifests.git repository outside of the yocto build.

    Are you running this within a docker container?

    Another thing to try would be to clean the packages before trying to rebuild them:

    $ bitbake -c cleanall ti-psdk-rtos
    $ bitbake -c cleanall docker-ce

    Best,
    Jared

  • Hi Jared,

    I changed the network performed clean all operation and fetched the repo's individually. Able to perform the build operation.

    Thanks for your support.