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.

SK-AM62A-LP: Unable to build SDK 9.0

Part Number: SK-AM62A-LP

I'm unable to build SDK 9.0 when following the instructions here: software-dl.ti.com/.../Overview_Building_the_SDK.html

For one thing, I need 2 passes to compile vulkan-cts and opengl. Here are the errors from my first pass:

| ninja: build stopped: subcommand failed.
| WARNING: /home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opengl-es-cts/3.2.9.3-r0/temp/run.do_compile.1951847:159 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opengl-es-cts/3.2.9.3-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| WARNING: Backtrace (BB generated script):
| 	#1: cmake_runcmake_build, /home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opengl-es-cts/3.2.9.3-r0/temp/run.do_compile.1951847, line 159
| 	#2: cmake_do_compile, /home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opengl-es-cts/3.2.9.3-r0/temp/run.do_compile.1951847, line 153
| 	#3: do_compile, /home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opengl-es-cts/3.2.9.3-r0/temp/run.do_compile.1951847, line 148
| 	#4: main, /home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/opengl-es-cts/3.2.9.3-r0/temp/run.do_compile.1951847, line 172
ERROR: Task (/home/osmans/git/tisdk/sources/meta-arago/meta-arago-distro/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 11381 tasks of which 886 didn't need to be rerun and 3 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 6 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds

Summary: 3 tasks failed:
  /home/osmans/git/tisdk/sources/oe-core/meta/recipes-support/iso-codes/iso-codes_4.15.0.bb:do_fetch
  /home/osmans/git/tisdk/sources/meta-arago/meta-arago-distro/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.3.1.bb:do_compile
  /home/osmans/git/tisdk/sources/meta-arago/meta-arago-distro/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb:do_compile
Summary: There were 28 WARNING messages.
Summary: There were 4 ERROR messages, returning a non-zero exit code.



The other issue I'm having is w/ iso-codes. I looked at the solution posted here:https://e2e.ti.com/support/processors-group/processors/f/processors-forum/924508/faq-yocto-build-error-for-recipe-iso-codes-in-psdkla_07-00-00-04?tisearch=e2e-sitesearch&keymatch=iso-codes# but it doesn't seem to apply as the branch is already set to 'main' as seen in the errors from my second pass:

WARNING: iso-codes-4.15.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=https;branch=main;, attempting MIRRORS if available
ERROR: iso-codes-4.15.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=06e9401bdfc0dae6e59857fd65099d78"; export SSH_AGENT_PID="3077"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/osmans/git/tisdk/sources/oe-core/scripts:/home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/all-oe-linux/iso-codes/4.15.0-r0/recipe-sysroot-native/usr/bin/allarch-oe-linux:/home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/all-oe-linux/iso-codes/4.15.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/all-oe-linux/iso-codes/4.15.0-r0/recipe-sysroot-native/usr/sbin:/home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/all-oe-linux/iso-codes/4.15.0-r0/recipe-sysroot-native/usr/bin:/home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/all-oe-linux/iso-codes/4.15.0-r0/recipe-sysroot-native/sbin:/home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/all-oe-linux/iso-codes/4.15.0-r0/recipe-sysroot-native/bin:/home/osmans/git/tisdk/sources/bitbake/bin:/home/osmans/git/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/osmans"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://salsa.debian.org/iso-codes-team/iso-codes.git /home/osmans/git/tisdk/downloads/git2/salsa.debian.org.iso-codes-team.iso-codes.git --progress failed with exit code 128, no output
ERROR: iso-codes-4.15.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=https;branch=main;')
ERROR: Logfile of failure stored in: /home/osmans/git/tisdk/build/arago-tmp-default-glibc/work/all-oe-linux/iso-codes/4.15.0-r0/temp/log.do_fetch.3576508
ERROR: Task (/home/osmans/git/tisdk/sources/oe-core/meta/recipes-support/iso-codes/iso-codes_4.15.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 11393 tasks of which 11378 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds

Summary: 1 task failed:
  /home/osmans/git/tisdk/sources/oe-core/meta/recipes-support/iso-codes/iso-codes_4.15.0.bb:do_fetch
Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

How do I move past these errors? 

Thanks

  • Hello,

    Can you try the following:

    1. bitbake <machine_name> -c cleanall vulkan-cts
    2. bitbake <machine_name> vulkan-cts

    I have seen similar error from Yocto in the past and the error logs do not seem to indicate anything meaningful. In most cases it's some system configuration such as issue with lack of RAM/swap, to many parallel processing and lack of cores . I recommend trying to build it as a standalone target and see if it help.

    Regards,
    Krunal