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.

Error while building yocto filesystem for DRA7xx Processor SDK Linux Automotive 3.00.00.03



Hello,

I am using SDK Linux Automotive 3.00.00.03 for JACINTO board (processors.wiki.ti.com/.../Category:Processor_SDK_Linux_Automotive).
When I try to build yocto file system I get following error for command "./build-core-sdk.sh dra7xx-evm"
Please help me in resolving this error.

The logs are as below
[PSDKLA]> cd build
[PSDKLA]> . conf/setenv
[PSDKLA]> cp conf/local.conf conf/local.conf.pristine
[PSDKLA]> MACHINE=dra7xx-evm bitbake tisdk-rootfs-image
NOTE: Started PRServer with DBfile: /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45587, PID: 11644
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |#################################################################################################| ETA:  00:00:00
Loaded 2824 entries from dependency cache.
Parsing recipes: 100% |###############################################################################################| Time: 00:00:02
Parsing of 2231 .bb files complete (2116 cached, 115 parsed). 2823 targets, 447 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-arago/meta-arago-distro/recipes-multimedia/libav/libav_9.16.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "dra7xx-evm"
DISTRO            = "arago"
DISTRO_VERSION    = "2016.07"
TUNE_FEATURES     = "arm armv7ve vfp thumb neon       callconvention-hard       cortexa15"
TARGET_FPU        = "hard"
meta-glsdk        = "HEAD:fa59a61ec4ff277c2a6b4a884841f35f17431319"
meta-arago-distro
meta-arago-extras = "HEAD:674d98f4997efa2e60f7ce39e6d7f908eaacb999"
meta-qt5          = "HEAD:d715f2c1d340fa38f8a9860acc73de5e14a38b75"
meta-networking   
meta-ruby         
meta-python       
meta-oe           = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-ti           = "HEAD:a00cd08b1173400b0afbeaf8891f8fb9c1861ac0"
meta-linaro-toolchain = "HEAD:85faf6c6824597e7fd9e2d35fc9d8da2e9f90bc7"
meta              = "HEAD:dd330056ace289c8a9c5d77b6bb6e860b9f0913e"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: ti-ccsv6-native-6.1.3.00033-r0 do_configure: QA Issue: ti-ccsv6-native: LIC_FILES_CHKSUM points to an invalid file: /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/ccsv6/doc/EULA/EULA.doc [license-checksum]
ERROR: ti-ccsv6-native-6.1.3.00033-r0 do_configure: Fatal QA errors found, failing task.
ERROR: ti-ccsv6-native-6.1.3.00033-r0 do_configure: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/temp/log.do_configure.11714
ERROR: Task 4597 (/home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00033.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1446 tasks of which 1442 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00033.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
[PSDKLA]>
[PSDKLA]> Completed Yocto build at Thu Aug  4 12:46:18 IST 2016



Regards,
Anjali

  • Hi Anjali,

    I have forwarded your question to a Yocto expert.

    BR,
    Dobrin
  • Hello Anjali,

    The error that you are facing is because your environment does not have the required CCS version downloaded and available for the build.

    To proceed further, you would need to do the following:

    1. Download the CCS version 6.1.3.00033 from the TI CCS Downloads page.
    2. Copy the downloaded CCS version into the Yocto downloads directory.
    3. Let Yocto know that you have done this action manually by adding the .done file.

    These steps are documented in the Software Developers Guide and further details are available here:

    Please go through this and it should help resolving the issue.

    Regards

    Karthik

  • Sorry but did not help much.....

    Now errors are still there, please refer below:

    =============================================================================

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: ti-cg-xml-native-2_41_00-r0 do_install: Function failed: do_install (log file is located at /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/temp/log.do_install.9190)
    ERROR: Logfile of failure stored in: /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/temp/log.do_install.9190
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat '/home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/cg_xml_2_41_00/*': No such file or directory
    | WARNING: /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/temp/run.do_install.9190:1 exit 1 from 'cp -pPrf /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/cg_xml_2_41_00/* /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/image/home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/ti-cg-xml-tree'
    | ERROR: Function failed: do_install (log file is located at /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/temp/log.do_install.9190)
    ERROR: Task 6816 (virtual:native:/home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-ti/recipes-ti/devtools/ti-cg-xml_2.41.00.bb, do_install) failed with exit code '1'
    ERROR: ti-ccsv6-native-6.1.3.00033-r0 do_install: Function failed: do_install (log file is located at /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/temp/log.do_install.9167)
    ERROR: Logfile of failure stored in: /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/temp/log.do_install.9167
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat '/home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/.': No such file or directory
    | WARNING: /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/temp/run.do_install.9167:1 exit 1 from 'cp -r /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/. /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/image/home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/ti-cgt-arm'
    | ERROR: Function failed: do_install (log file is located at /home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/temp/log.do_install.9167)
    ERROR: Task 4593 (/home/anjali.m/GLSDK/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00033.bb, do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1646 tasks of which 1638 didn't need to be rerun and 2 failed.
    NOTE: Writing buildhistory
    Waiting for 0 running tasks to finish:

    =============================================================================

  • I wonder for yacto based build system compared to other platforms taking more time and having so many build issues.

    Is there any specific link or chat-window for addressing issues ?

    br,

    kaustubh

  • hi,

    I am trying same setup; followed same steps.

    Getting below errors:

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: ti-ccsv6-native-6.1.3.00033-r0 do_configure: QA Issue: ti-ccsv6-native: The LIC_FILES_CHKSUM does not match for file:///home/kaustubh.j/TIDRA7xx0303BUILD/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/ccsv6/doc/EULA/EULA.doc;md5=d95121970f8bcee944bf8b8e576bf3ec
    ti-ccsv6-native: The new md5 checksum is a512faf8c5db92eba12aa98622e8564d
    ti-ccsv6-native: Check if the license information has changed in /home/kaustubh.j/TIDRA7xx0303BUILD/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/ccsv6/doc/EULA/EULA.doc to verify that the LICENSE value "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" remains valid [license-checksum]
    ERROR: ti-ccsv6-native-6.1.3.00033-r0 do_configure: Fatal QA errors found, failing task.
    ERROR: ti-ccsv6-native-6.1.3.00033-r0 do_configure: Function failed: do_qa_configure
    ERROR: Logfile of failure stored in: /home/kaustubh.j/TIDRA7xx0303BUILD/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00033-r0/temp/log.do_configure.24491
    ERROR: Task 4597 (/home/kaustubh.j/TIDRA7xx0303BUILD/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00033.bb, do_configure) failed with exit code '1'
    Waiting for 1 running tasks to finish:

    Here as i used new suggested checksum in .bb file and EULA.doc it is failing with above errors giving new checksum.

    What are the exact steps or work around for same.

    BR,

    kaustubh