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.

CCS/PROCESSOR-SDK-AM57X: Yocto build fails

Part Number: PROCESSOR-SDK-AM57X

Tool/software: Code Composer Studio

Hi,

I am following this phytec guide for the AM57XX dev kit that needs the BSP: Linux PD17.1.0. I retrieved the CCS6.1.3.00034_linux.tar.gz package from the TI website. The package and the touched *.done file are in the DL_DIR directory. When I run MACHINE=am57xx-phycore-rdk bitbake arago-core-tisdk-image I get a yocto error that says a LIC_FILES_CHKSUM points to an invalid EULA.doc for ccsv6.From ti-ccsv6-native_6.1.3.00034.bb, it looks like LIC_FILES_CHKSUM expects the EULA to be at file://${WORKDIR}/ccsv6/doc/EULA/EULA.doc but that is not the case in my build directory.

Here is the error from yocto:

bitbake-arago-core-tisdk-image.txt
➜  build MACHINE=am57xx-phycore-rdk bitbake arago-core-tisdk-image
Loading cache: 100% |#################################################################| ETA:  00:00:00
Loaded 2853 entries from dependency cache.
WARNING: No recipes available for:
  /opt/PHYTEC_BSPs/yocto_ti/sources/meta-arago/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
  /opt/PHYTEC_BSPs/yocto_ti/sources/meta-processor-sdk/recipes-core/udev/udev_182.bbappend
  /opt/PHYTEC_BSPs/yocto_ti/sources/meta-phytec/meta-phytec-ti/recipes-support/cpuset/cpuset_1.5.6.bbappend
WARNING: No bb files matched BBFILE_PATTERN_phytec '^/opt/PHYTEC_BSPs/yocto_ti/sources/meta-phytec/common/'
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "am57xx-phycore-rdk"
DISTRO            = "arago"
DISTRO_VERSION    = "2016.10"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-processor-sdk = "HEAD:3678d672c9c47a646897286281d4260ac4ace960"
meta-arago-distro 
meta-arago-extras = "HEAD:76381bbc10b93ffc6c014154814872b170b93796"
meta-qt5          = "HEAD:2b1871f0d139dc3caaa779a32a1931409c245a36"
meta-networking   
meta-python       
meta-ruby         
meta-oe           = "HEAD:851a064b53dca3b14dd33eaaaca9573b1a36bf0e"
meta-ti           = "HEAD:d8aa76970a0ba48762c631dfd79dbed49222373b"
meta-linaro-toolchain = "HEAD:9b616ce6d4293387d254f36800389b2910895420"
meta              = "HEAD:28da89a20b70f2bf0c85da6e8af5d94a3b7d76c9"
meta-phytec       
meta-phytec-ti    = "HEAD:086a659eb42b85ca68d21f4bee8eb51cb9ea3019"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: QA Issue: ti-ccsv6-native: LIC_FILES_CHKSUM points to an invalid file: /opt/PHYTEC_BSPs/yocto_ti/build/arago-tmp-external-linaro-toolchain/work/x86_64-li
nux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/doc/EULA/EULA.doc [license-checksum]
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: Fatal QA errors found, failing task.
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /opt/PHYTEC_BSPs/yocto_ti/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/temp/log.do_configure.21940
ERROR: Task 6624 (/opt/PHYTEC_BSPs/yocto_ti/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1506 tasks of which 1502 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /opt/PHYTEC_BSPs/yocto_ti/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb, do_configure
Summary: There were 2 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

 

This thread looks the most relevant. I' ve tried cleaning and rerunning the build, but that didn't help. I looked at the ccsv6 install_logs which says the CCS_ERROR: Code Composer Studio v6 installation failed and it seem to be related to CCS_INFO: error message: unknown user id: 30474.


I can't find the reason for this error message. I am not running the installation as root since yocto disallows that by default.

 

Thanks,

Jared

  • Hello Jared,

    CCS_INFO: error message: unknown user id: 30474 error may indicate an issue with Linux PAM or LDAP configuration. Not sure how to fix this.

    As per the error that says a LIC_FILES_CHKSUM points to an invalid EULA.doc install the CCS6.1.3.00034_linux.tar.gz to separate directory, then copy the files from installed ccsv6 directory to /opt/PHYTEC_BSPs/yocto_ti/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/. Then rerun the bitbake command to continue the build process.

    Best regards,
    Kemal

  • Hi Kemal,

    Thanks for getting back to me. Your suggestion about installing CCS locally and moving the files back to the yocto directory helped me progress a little further in the build. Unfortunately, I am running into a similar LIC_FILES_CHKSUM issue with ti-cg-xml-native:

    ERROR: ti-cg-xml-native-2_41_00-r0 do_configure: QA Issue: ti-cg-xml-native: LIC_FILES_CHKSUM points to an invalid file: /opt/PHYTEC_BSPs/yocto_ti/build/arago-tmp-external-linaro-toolchain/work/x86_64-linu
    x/ti-cg-xml-native/2_41_00-r0/cg_xml_2_41_00/cg_xml_2_41_00_Manifest.pdf [license-checksum]
    ERROR: ti-cg-xml-native-2_41_00-r0 do_configure: Fatal QA errors found, failing task.
    ERROR: ti-cg-xml-native-2_41_00-r0 do_configure: Function failed: do_qa_configure
    ERROR: Logfile of failure stored in: /opt/PHYTEC_BSPs/yocto_ti/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cg-xml-native/2_41_00-r0/temp/log.do_configure.8393
    ERROR: Task 8564 (virtual:native:/opt/PHYTEC_BSPs/yocto_ti/sources/meta-ti/recipes-ti/devtools/ti-cg-xml_2.41.00.bb, do_configure) failed with exit code '1'

    If I try the same trick and install this locally from a different directory, I get the same unknown user id error as before:

    ➜ 2_41_00-r0 ./cg_xml-v2_41_00-Linux-x86-Install
    unknown user id: 30474
    while executing
    "id user"
    (procedure "::InstallJammer::CommonInit" line 217)
    invoked from within
    "::InstallJammer::CommonInit"
    (procedure "::InstallJammer::InitInstall" line 19)
    invoked from within
    "::InstallJammer::InitInstall"
    (file "/installkitvfs/main.tcl" line 25760)


    So I am working through this now. I checked with the person responsible for LDAP config and he said everything seems normal/good on that end. Other people in the company with the same setup have not experienced this with their yocto builds either.

    Thanks,
    Jared
  • Please, see this page. You need to install nscd on your host.

    $ sudo apt-get install nscd

  • Hi Kemal,

    Thanks for helping me work through this. Installing nscd did not resolve my issue. We have moved onto a different board for the time being but may come back to this later.

    Thanks,
    Jared