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.

K2L EVM rootfs Yocto build error



Hi,

I am trying to build the K2l evm rootfs using Yocto referring to link below

http://processors.wiki.ti.com/index.php?title=Processor_SDK_Building_The_SDK&oldid=218732

However, I encountered error when execute command below:

MACHINE=k2l-evm bitbake tisdk-rootfs-image

May I know how I can resolve those errors?

NOTE: Your conf/bblayers.conf has been automatically updated.
Parsing recipes: 100% |##################################################################################################| Time: 00:04:01
Parsing of 2243 .bb files complete (0 cached, 2243 parsed). 2835 targets, 428 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/khor/Yocto/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/libav/libav_9.16.bbappend
/home/khor/Yocto/tisdk/sources/meta-processor-sdk/recipes-core/udev/udev_182.bbappend
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libgles2' (but /home/khor/Yocto/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb DEPENDS on or otherwise requires it)
ERROR: ti-sgx-ddk-um PROVIDES virtual/libgles2 but was skipped: PREFERRED_PROVIDER_virtual/egl set to mesa, not ti-sgx-ddk-um
ERROR: mesa PROVIDES virtual/libgles2 but was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: mesa PROVIDES virtual/libgles2 but was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
NOTE: Runtime target 'qtbase-examples' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['qtbase-examples', 'virtual/libgles2']
NOTE: Runtime target 'packagegroup-arago-tisdk-qte' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-arago-tisdk-qte', 'qtbase-examples', 'virtual/libgles2']
ERROR: Required build target 'tisdk-rootfs-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['tisdk-rootfs-image', 'packagegroup-arago-tisdk-qte', 'qtbase-examples', 'virtual/libgles2']

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Thanks

Khor

  • Hi Khor,

    Do you follow all prerequisites and build steps? What toolchain you are using?

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin ,

    I am using   ubuntu14.04 machine.

    I did installed prerequisites packages and followed the build steps

    Prerequisites  Installation:

    sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386

    Build steps.

    1) git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk

    2) cd tisdk/

    3) ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.00.00.04-config.txt

    4) cd build/

    5).  conf/setenv

    6)export PATH=/opt/toolchain/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH

    7)MACHINE=k2l-evm bitbake tisdk-rootfs-image

    I tried to build different type of image. Failed as well but with different error message.

    ~/Yocto/tisdk/build$ MACHINE=k2l-evm bitbake arago-base-image

    Parsing recipes: 100% |#########################################################################################################################| Time: 00:00:21

    Parsing of 2243 .bb files complete (0 cached, 2243 parsed). 2835 targets, 428 skipped, 0 masked, 0 errors.

    WARNING: No recipes available for:

     /home/khor/Yocto/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/libav/libav_9.16.bbappend

     /home/khor/Yocto/tisdk/sources/meta-processor-sdk/recipes-core/udev/udev_182.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           = "k2l-evm"

    DISTRO            = "arago"

    DISTRO_VERSION    = "2016.05"

    TUNE_FEATURES     = "arm armv7ve vfp thumb neon       callconvention-hard       cortexa15"

    TARGET_FPU        = "hard"

    meta-processor-sdk = "HEAD:1686d851985872f34ca3a2c30d4a0726a20a5c99"

    meta-arago-distro

    meta-arago-extras = "HEAD:36598b78a6d9fbe442f93111f64d3413c04418a8"

    meta-qt5          = "HEAD:d715f2c1d340fa38f8a9860acc73de5e14a38b75"

    meta-networking  

    meta-ruby        

    meta-python      

    meta-oe           = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"

    meta-ti           = "HEAD:1ae0cadb1200d0007a779958e852a48379d42c26"

    meta-linaro-toolchain = "HEAD:0f2a4dd08ab06768cc998fe3f7236e3942f4a2cc"

    meta              = "HEAD:b0b91490e4ede61a302eb547da2cc65aa7da87ff"

    NOTE: Preparing RunQueue

    NOTE: Executing SetScene Tasks

    NOTE: Executing RunQueue Tasks

    WARNING: pigz-native-2.3.3-r0 do_fetch: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.3.tar.gz, attempting MIRRORS if available

    WARNING: binutils-native-linaro-2.25-r2015.01 do_fetch: Failed to fetch URL http://releases.linaro.org/15.01/components/toolchain/binutils-linaro/binutils-linaro-2.25.0-2015.01-2.tar.xz, attempting MIRRORS if available

    ERROR: binutils-native-linaro-2.25-r2015.01 do_fetch: Fetcher failure: Fetch command failed with exit code 8, output:

    http://releases.linaro.org/15.01/components/toolchain/binutils-linaro/binutils-linaro-2.25.0-2015.01-2.tar.xz:

    2016-11-24 16:32:12 ERROR 404: NOT FOUND.

    ERROR: binutils-native-linaro-2.25-r2015.01 do_fetch: Function failed: Fetcher failure for URL: 'http://releases.linaro.org/15.01/components/toolchain/binutils-linaro/binutils-linaro-2.25.0-2015.01-2.tar.xz'. Unable to fetch URL from any source.

    ERROR: Logfile of failure stored in: /home/khor/Yocto/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/binutils-native/linaro-2.25-r2015.01/temp/log.do_fetch.6966

    ERROR: Task 572 (virtual:native:/home/khor/Yocto/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb, do_fetch) failed with exit code '1'

    NOTE: Tasks Summary: Attempted 417 tasks of which 0 didn't need to be rerun and 1 failed.

    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:

     virtual:native:/home/khor/Yocto/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.25.bb, do_fetch

    Summary: There were 3 WARNING messages shown.

    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

     

    Actually I managed to build those images 2 months ago. I just recloned the arago project recently and encountered problem when building. 

    Wonder could you clone a new arago project and build the same image that I built?

    Khor

  • I have the exact same problem with these exact errors.

    Perhaps someone from TI can help?

  • Ok, I managed to solve this (and a few similar build errors with linaro).

     It appears like the end URL has changed for some of these dependencies.

    Go and edit /sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.25.inc (or a respective file you are having similar build error with)

    In the URL replace

    https://releases.linaro.org/${MMYY}/components/toolchain/...


    with

    https://releases.linaro.org/archive/${MMYY}/components/toolchain/...

  • Hi everyone,

    I'm having the same problem reported in the first post when building the rootfs for evmk2h
    MACHINE=k2hk-evm ARAGO_RT_ENABLE=1 bitbake tisdk-rootfs-image
    Any ideas about it?

    NOTE: Resolving any missing task queue dependencies
    ERROR: Nothing PROVIDES 'virtual/libgles2' (but /home/khor/Yocto/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb DEPENDS on or otherwise requires it)
    ERROR: ti-sgx-ddk-um PROVIDES virtual/libgles2 but was skipped: PREFERRED_PROVIDER_virtual/egl set to mesa, not ti-sgx-ddk-um
    ERROR: mesa PROVIDES virtual/libgles2 but was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
    ERROR: mesa PROVIDES virtual/libgles2 but was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
    NOTE: Runtime target 'qtbase-examples' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['qtbase-examples', 'virtual/libgles2']
    NOTE: Runtime target 'packagegroup-arago-tisdk-qte' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['packagegroup-arago-tisdk-qte', 'qtbase-examples', 'virtual/libgles2']
    ERROR: Required build target 'tisdk-rootfs-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['tisdk-rootfs-image', 'packagegroup-arago-tisdk-qte', 'qtbase-examples', 'virtual/libgles2']

    Summary: There was 1 WARNING message shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


    I appreciate any help