Part Number: AM5728
Hello.
My SDK version is 05.02.00.10
I created my own recipe for rootfs based on tisdk-rootfs-image.
I built and used it succesfful.
Now i want to build devkit, based on my image.
I try to execute
MACHINE=am57xx-evm bitbake 218-rootfs-image -c populate_sdk
and get this output:
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:38 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: nativesdk-glibc-2.26-r0 do_patch: Command Error: 'quilt --quiltrc /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc/2.26-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output: Patch 0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch is already applied; check your series file ERROR: nativesdk-glibc-2.26-r0 do_patch: Function failed: patch_do_patch ERROR: Logfile of failure stored in: /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc/2.26-r0/temp/log.do_patch.3673 ERROR: Task (virtual:nativesdk:/home/user/Sitara/tisdk/sources/oe-core/meta/recipes-core/glibc/glibc_2.26.bb:do_patch) failed with exit code '1' ERROR: nativesdk-glibc-initial-2.26-r0 do_configure: Function failed: do_configure (log file is located at /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/log.do_configure.3672) ERROR: Logfile of failure stored in: /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/log.do_configure.3672 Log data follows: | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_configure | /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/run.do_configure.3672: ../git/configure: /bin/sh^M: bad interpreter: No such file or directory | WARNING: /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/run.do_configure.3672:1 exit 126 from '$cfgscript --host=x86_64-arago-linux --build=x86_64-linux --prefix=/usr --without-cvs --disable-sanity-checks --with-headers=/home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/recipe-sysroot/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include --enable-hacker-mode --enable-addons' | ERROR: Function failed: do_configure (log file is located at /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/log.do_configure.3672) ERROR: Task (virtual:nativesdk:/home/user/Sitara/tisdk/sources/oe-core/meta/recipes-core/glibc/glibc-initial_2.26.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 275 tasks of which 273 didn't need to be rerun and 2 failed. Summary: 2 tasks failed: virtual:nativesdk:/home/user/Sitara/tisdk/sources/oe-core/meta/recipes-core/glibc/glibc_2.26.bb:do_patch virtual:nativesdk:/home/user/Sitara/tisdk/sources/oe-core/meta/recipes-core/glibc/glibc-initial_2.26.bb:do_configure Summary: There were 2 WARNING messages shown. Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
I run dos2unix util on not binary files in /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/ dir but result still the same.
Also i tried
MACHINE=am57xx-evm bitbake meta-toolchain-arago-tisdk
And get this output, also with errors
ERROR: nativesdk-glibc-initial-2.26-r0 do_configure: Function failed: do_configure (log file is located at /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/log.do_configure.3963) ERROR: Logfile of failure stored in: /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/log.do_configure.3963 Log data follows: | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Executing shell function autotools_preconfigure | DEBUG: Shell function autotools_preconfigure finished | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_configure | /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/run.do_configure.3963: ../git/configure: /bin/sh^M: bad interpreter: No such file or directory | WARNING: /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/run.do_configure.3963:1 exit 126 from '$cfgscript --host=x86_64-arago-linux --build=x86_64-linux --prefix=/usr --without-cvs --disable-sanity-checks --with-headers=/home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/recipe-sysroot/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/include --enable-hacker-mode --enable-addons' | ERROR: Function failed: do_configure (log file is located at /home/user/Sitara/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-glibc-initial/2.26-r0/temp/log.do_configure.3963) ERROR: Task (virtual:nativesdk:/home/user/Sitara/tisdk/sources/oe-core/meta/recipes-core/glibc/glibc-initial_2.26.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 324 tasks of which 322 didn't need to be rerun and 1 failed. Summary: 1 task failed: virtual:nativesdk:/home/user/Sitara/tisdk/sources/oe-core/meta/recipes-core/glibc/glibc-initial_2.26.bb:do_configure Summary: There were 2 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Can you explain me what should i do to build devkit?