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.

Linux/DRA72XEVM: Yocto build failure

Part Number: DRA72XEVM

Tool/software: Linux

Hi,

I am trying to build Processor SDK as mentioned in this wiki

processors.wiki.ti.com/index.php?title=Processor_SDK_Linux_Automotive_Software_Developers_Guide

The SDK version i am using is ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03 and the host operating system is Ubuntu 16.04 with kernel version 4.13.0-36

My yocto build is getting continuous fetcher failure error and is not building image. I am having a high speed internet connections i tried the urls but is not available on browser

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-ti-staging-4.4.84+gitAUTOINC+742f84423d-r7a.arago5 do_fetch: Failed to fetch URL git://git.omapzoom.org/kernel/omap;protocol=git;branch=p-ti-lsk-linux-4.4.y-3.x, attempting MIRRORS if available
WARNING: libloki-0.1.7-r0 do_fetch: Failed to fetch URL libloki.sourcearchive.com/.../libloki_0.1.7.orig.tar.gz, attempting MIRRORS if available
ERROR: linux-ti-staging-4.4.84+gitAUTOINC+742f84423d-r7a.arago5 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
error: could not lock config file .git/config: Permission denied
fatal: Could not set 'remote.origin.url' to 'git://git.omapzoom.org/kernel/omap'

ERROR: linux-ti-staging-4.4.84+gitAUTOINC+742f84423d-r7a.arago5 do_fetch: Function failed: Fetcher failure for URL: 'git://git.omapzoom.org/kernel/omap;protocol=git;branch=p-ti-lsk-linux-4.4.y-3.x'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/linux-ti-staging/4.4.84+gitAUTOINC+742f84423d-r7a.arago5/temp/log.do_fetch.3780
ERROR: Task 52 (/home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.4.bb, do_fetch) failed with exit code '1'
ERROR: libloki-0.1.7-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 4, output:
failed: Connection refused.

ERROR: libloki-0.1.7-r0 do_fetch: Function failed: Fetcher failure for URL: 'libloki.sourcearchive.com/.../libloki_0.1.7.orig.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/libloki/0.1.7-r0/temp/log.do_fetch.3781
ERROR: Task 4988 (/home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-support/loki/libloki_0.1.7.bb, do_fetch) failed with exit code '1'
WARNING: hevc-arm-decoder-01.00.00.01-r3 do_fetch: Failed to fetch URL gforge.ti.com/.../REL.HEVC.D.ARM.OBJ.01.00.00.01.tar.gz, attempting MIRRORS if available
ERROR: hevc-arm-decoder-01.00.00.01-r3 do_fetch: Fetcher failure: Fetch command failed with exit code 4, output:
failed: Connection timed out.
failed: Connection timed out.

ERROR: hevc-arm-decoder-01.00.00.01-r3 do_fetch: Function failed: Fetcher failure for URL: 'gforge.ti.com/.../REL.HEVC.D.ARM.OBJ.01.00.00.01.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/hevc-arm-decoder/01.00.00.01-r3/temp/log.do_fetch.3787
ERROR: Task 3008 (/home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/hevc-arm-decoder/hevc-arm-decoder_01.00.00.01.bb, do_fetch) failed with exit code '1'
WARNING: amsdk-av-files-1.4-r1 do_fetch: Failed to fetch URL gforge.ti.com/.../amsdk-av-files_1.4.tar.gz;name=avfilestarball, attempting MIRRORS if available
WARNING: point-cloud-viewer-2.0-r0 do_fetch: Failed to fetch URL gforge.ti.com/.../point-cloud-viewer-2.0.tar.gz, attempting MIRRORS if available
ERROR: amsdk-av-files-1.4-r1 do_fetch: Fetcher failure: Fetch command failed with exit code 4, output:
failed: Connection timed out.
failed: Connection timed out.

ERROR: amsdk-av-files-1.4-r1 do_fetch: Function failed: Fetcher failure for URL: 'gforge.ti.com/.../amsdk-av-files_1.4.tar.gz;name=avfilestarball'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/amsdk-av-files/1.4-r1/temp/log.do_fetch.3808
ERROR: Task 2964 (/home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-multimedia/amsdk-av-files/amsdk-av-files_1.4.bb, do_fetch) failed with exit code '1'
ERROR: point-cloud-viewer-2.0-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 4, output:
failed: Connection timed out.
failed: Connection timed out.

ERROR: point-cloud-viewer-2.0-r0 do_fetch: Function failed: Fetcher failure for URL: 'gforge.ti.com/.../point-cloud-viewer-2.0.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/point-cloud-viewer/2.0-r0/temp/log.do_fetch.3811
ERROR: Task 6013 (/home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-apps/point-cloud-viewer/point-cloud-viewer_2.0.bb, do_fetch) failed with exit code '1'
Currently 1 running tasks (2056 of 7428):
0: linux-libc-headers-4.4-r0.arago1 do_fetch (pid 3777)

  • Hi Ganesh,

    I see a few different problems from the log file that you have shared.

    a. Please follow the recommendations in this post it will resolve a few of the errors that you have observed. e2e.ti.com/.../2520990

    b. Regarding the linux-ti-staging build error, it says "could not lock .git/config: Permission denied", are you using a shared downloads folder and you don't have permissions on this folder? Alternately you can just "bump the PR" for the kernel recipe and check.

    c. Ideally for the Processor SDK Linux Automotive 3.04.00.03 release, the linux recipe should be picked up from meta-glsdk layer, but I notice that in your case it is using the meta-ti recipes. Could you please clarify if you have intentionally done any changes to the default Yocto configuration for any purpose?

    Regards
    Karthik
  • Hi Karthik,

    As per your point no A) i added the mirrors to conf/local.conf

    and started the build will update you soon about the progress.

    As per point C) i didn't do any change to Yocto configuration, i used the default steps mentioned in TI Wiki.

  • Hi Ganesh,

    I hope that the build has proceeded and you are able to build, kindly post if there are any further updates.

    Regards
    Karthik
  • Hi karthik,

    I successfully build the PSDK. I tired to add qt-gstreamer to the yocto build.
    From searching i found that qt-gstreamer is in meta-qt5-extra

    i edited build/conf/local.conf and added

    IMAGE_INSTALL_append = " qt-gstreamer"

    then edited build/conf/bblayers.conf

    /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-qt5-extra \
    /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-openembedded/meta-multimedia \

    Enabled meta-multimedia because it was required for qt-gstreamer

    But i got a Parse Error

    ERROR: ParseError at /home/telits/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-qt5-extra/recipes-misc/recipes-multimedia/kokkinizita/zita-resampler_1.6.0.bb:6: Could not inherit file classes/manpages.bbclass
  • Hi Ganesh,

    Thanks for the update.

    The typical guideline on the E2E is to create a different post for follow-up questions that are not related to the original question.
    But I will answer it here in brief here, the manpages.bbclass is present in oe-core/meta/classes/manpages.bbclass, please check your edits on the bblayers.conf and the local.conf. Please check this.

    Should there be a different/follow-on question, then you should create a new thread.

    Regards
    Karthik
  • Hi Karthik,

    I will create another thread for previous question, regrading the previous successfully build of Yocto i have some question,

    The yocto build created dtb's and zImage but didnt create a a rootfs. I am having some erros in my console is it because of that the rootfs build got failed.

    ERROR: input-utils-1.0-r0 do_compile: oe_runmake failed
    ERROR: input-utils-1.0-r0 do_compile: Function failed: do_compile (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/input-utils/1.0-r0/temp/log.do_compile.16039)
    ERROR: Logfile of failure stored in: /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/input-utils/1.0-r0/temp/log.do_compile.16039
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 4 DESTDIR=/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/input-utils/1.0-r0/image STRIP=
    | Make.config:1: *** empty variable name.  Stop.
    | ERROR: oe_runmake failed
    | ERROR: Function failed: do_compile (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/input-utils/1.0-r0/temp/log.do_compile.16039)
    ERROR: Task 1829 (/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb, do_compile) failed with exit code '1'
    ERROR: edma3-lld-rtos-2.12.05.30-r0.0 do_compile: Function failed: do_compile (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.05.30-r0.0/temp/log.do_compile.16024)
    ERROR: Logfile of failure stored in: /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.05.30-r0.0/temp/log.do_compile.16024
    Log data follows:
    
     ERROR: Function failed: do_compile (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/edma3-lld-rtos/2.12.05.30-r0.0/temp/log.do_compile.16024)
    ERROR: Task 6733 (/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-ti/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb, do_compile) failed with exit code '1'
    ERROR: openmp-rtos-2_06_00_00-r0 do_install: Function failed: do_install (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/openmp-rtos/2_06_00_00-r0/temp/log.do_install.16029)
    ERROR: Logfile of failure stored in: /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/openmp-rtos/2_06_00_00-r0/temp/log.do_install.16029
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot overwrite directory '/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/openmp-rtos/2_06_00_00-r0/image/usr/share/ti/ti-omp-tree/.' with non-directory
    | WARNING: exit code 1 from a shell command.
    | ERROR: Function failed: do_install (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-linux-gnueabi/openmp-rtos/2_06_00_00-r0/temp/log.do_install.16029)
    ERROR: Task 5163 (/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-ti/recipes-ti/openmp-rtos/openmp-rtos_git.bb, do_install) failed with exit code '1'
    ERROR: ti-llvm3.6-3.6-r5 do_compile: oe_runmake failed
    ERROR: ti-llvm3.6-3.6-r5 do_compile: Function failed: do_compile (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/temp/log.do_compile.16025)
    ERROR: Logfile of failure stored in: /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/temp/log.do_compile.16025
    
    | collect2: error: ld returned 1 exit status
    | /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/git/Makefile.rules:1199: recipe for target '/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/llvm-3.6.build/Release/lib/libLLVM-3.6.so' failed
    | make[1]: *** [/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/llvm-3.6.build/Release/lib/libLLVM-3.6.so] Error 1
    | make[1]: Leaving directory '/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/llvm-3.6.build/tools/llvm-shlib'
    | /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/git/Makefile.rules:873: recipe for target 'all' failed
    | make: *** [all] Error 1
    | WARNING: exit code 1 from a shell command.
    | ERROR: oe_runmake failed
    | ERROR: Function failed: do_compile (log file is located at /home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-llvm3.6/3.6-r5/temp/log.do_compile.16025)
    ERROR: Task 4943 (/home/ganesh/ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb, do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 7245 tasks of which 7241 didn't need to be rerun and 4 failed.
    NOTE: Writing buildhistory

    These are the errors appeared. I am also attaching the whole build messages which i got in console.8407.build.txt

  • Hi Ganesh,

    Since you posted the another question: e2e.ti.com/.../698063, which is the same as above, I will go ahead and close this one. Lets discuss on the other thread.

    Regards
    Karthik