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.

GLSDK building issue

Hello,

I am building "ti-glsdk_dra7xx-evm_6_10_00_02" for DRA7xx. I followed steps from "DRA7xx GLSDK Software Developers Guide".

But I was not able to build it.

I am getting following errors. Please help on this.

vaibhav@CPU-194:~/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers$
vaibhav@CPU-194:~/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers$ ./build-core-sdk.sh dra7xx-evm
In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
Ensure that complete path is provided.
[ /home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads ]
[GLSDK]>
[GLSDK]> Current Directory is /home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers
[GLSDK]> PATH is /usr/local/cuda-6.5/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cuda-6.5/bin:/usr/local/cuda-6.5/bin:/home/vaibhav/home/miracast_final/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin
[GLSDK]> Building on CPU-194 running Linux CPU-194 3.5.0-54-generic #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[GLSDK]> Starting Yocto build at Fri Dec 12 14:46:57 IST 2014
[GLSDK]>
[GLSDK]> ./oe-layertool-setup.sh -f configs/glsdk/glsdk-6.10.00.02-config.txt
/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers


cloning repo bitbake

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/bitbake'...
remote: Counting objects: 32549, done.
remote: Compressing objects: 100% (12830/12830), done.
remote: Total 32549 (delta 23201), reused 26426 (delta 18305)
Receiving objects: 100% (32549/32549), 6.86 MiB | 149 KiB/s, done.
Resolving deltas: 100% (23201/23201), done.
Branch 1.20 set up to track remote branch 1.20 from origin.
Switched to a new branch '1.20'
Already up-to-date.
Note: checking out '3bb3f1823bdd46ab34577d43f1e39046a32bca77'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 3bb3f18... fetch2/__init__.py: let try_mirror_url return correct value


cloning repo meta-glsdk

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-glsdk'...
remote: Counting objects: 369, done.
remote: Compressing objects: 100% (245/245), done.
remote: Total 369 (delta 122), reused 305 (delta 91)
Receiving objects: 100% (369/369), 93.41 KiB | 39 KiB/s, done.
Resolving deltas: 100% (122/122), done.
Branch dora set up to track remote branch dora from origin.
Switched to a new branch 'dora'
Already up-to-date.
Note: checking out 'e1b48fc60cd16ba7a12c1d0394901c0152c26f76'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at e1b48fc... dspdce: Updated binary location


cloning repo meta-arago

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-arago'...
remote: Counting objects: 9956, done.
remote: Compressing objects: 100% (8866/8866), done.
remote: Total 9956 (delta 6193), reused 1587 (delta 750)
Receiving objects: 100% (9956/9956), 9.06 MiB | 739 KiB/s, done.
Resolving deltas: 100% (6193/6193), done.
Branch dora set up to track remote branch dora from origin.
Switched to a new branch 'dora'
Already up-to-date.
Note: checking out 'fb6e3d530f71a533bea720eca091002fd772e8e1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at fb6e3d5... wl18xx: scripts: update scripts to match OOB configuration


cloning repo meta-qt5

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-qt5'...
remote: Counting objects: 4269, done.
remote: Compressing objects: 100% (1766/1766), done.
remote: Total 4269 (delta 2319), reused 4073 (delta 2210)
Receiving objects: 100% (4269/4269), 1.16 MiB | 432 KiB/s, done.
Resolving deltas: 100% (2319/2319), done.
Branch dora set up to track remote branch dora from origin.
Switched to a new branch 'dora'
Already up-to-date.
Note: checking out '5b5616b63bdf163ea3eb2ca8857c56a393435fe3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 5b5616b... licenses: rename NOKIA-TPLA-2.4 to DIGIA-TPLA-2.4


cloning repo meta-openembedded

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-openembedded'...
remote: Counting objects: 43803, done.
remote: Compressing objects: 100% (17577/17577), done.
remote: Total 43803 (delta 26178), reused 40789 (delta 24182)
Receiving objects: 100% (43803/43803), 20.53 MiB | 57 KiB/s, done.
Resolving deltas: 100% (26178/26178), done.
Branch dora set up to track remote branch dora from origin.
Switched to a new branch 'dora'
Already up-to-date.
Note: checking out 'ee173678383683e972c7d4d6f0ef5790bfa50274'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at ee17367... cloud9: Fix branch param


cloning repo meta-ti

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-ti'...
remote: Counting objects: 13900, done.
remote: Compressing objects: 100% (8890/8890), done.
remote: Total 13900 (delta 7935), reused 8600 (delta 4346)
Receiving objects: 100% (13900/13900), 6.95 MiB | 352 KiB/s, done.
Resolving deltas: 100% (7935/7935), done.
Branch dora set up to track remote branch dora from origin.
Switched to a new branch 'dora'
Already up-to-date.
Note: checking out 'd1578c08bdf114bc0f1606c65bd39f0c8293c562'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at d1578c0... u-boot-ti-staging:_2013.10: Update to pull in critical fixes


cloning repo meta-linaro

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-linaro'...
remote: Counting objects: 6656, done.
remote: Compressing objects: 100% (3144/3144), done.
remote: Total 6656 (delta 3287), reused 6432 (delta 3113)
Receiving objects: 100% (6656/6656), 2.14 MiB | 520 KiB/s, done.
Resolving deltas: 100% (3287/3287), done.
Branch dora set up to track remote branch dora from origin.
Switched to a new branch 'dora'
Already up-to-date.
Note: checking out '2d06310e96959f3bf90f25a3fdd0f8dd0ed7a0b2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 2d06310... linux-linaro-aarch64: use ;nobranch=1


cloning repo oe-core

Cloning into '/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/oe-core'...
remote: Counting objects: 202349, done.
remote: Compressing objects: 100% (56620/56620), done.
remote: Total 202349 (delta 143988), reused 198971 (delta 141380)
Receiving objects: 100% (202349/202349), 82.61 MiB | 112 KiB/s, done.
Resolving deltas: 100% (143988/143988), done.
Branch dora set up to track remote branch dora from origin.
Switched to a new branch 'dora'
Already up-to-date.
Note: checking out '5c51dd2e9bab54013652475888554bc4660dcff3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 5c51dd2... qt4: Fix Qt 4.8.5 source to new location


################################################################################
The bblayers.conf configuration file has been created for you with some
default values. Please verify the contents of your conf/bblayers.conf
file for correctness.

NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh
script is run again. To add entries permanently to this file
please add them to the config file used and rerun the
./oe-layertool-setup.sh script.

################################################################################
The local.conf configuration file has been created for you with some
default values. Please verify the contents of your conf/local.conf
file for correctness.

By default the number of threads used by the build is set to the number
of CPUs found on your system.

NOTE: You will probably want to change the default MACHINE setting in the
local.conf file to the machine you are trying to build.

################################################################################
A setenv file has been created for you in the conf directory. Please verify
The contents of this file. Once you have verified the contents please source
this file to configure your environment for building:

. conf/setenv

You can then start building using the bitbake command. You will likely want
to set the MACHINE option if you have not done so in your local.conf file.

For example:
MACHINE=xxxxx bitbake <target>

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support
[GLSDK]> cd build
[GLSDK]> . conf/setenv
[GLSDK]> cp conf/local.conf conf/local.conf.pristine
[GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
[GLSDK]> MACHINE=dra7xx-evm bitbake arago-glsdk-multimedia-image
ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
Traceback (most recent call last):
File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x2d3df90>)
File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x2cdd890>)
IndexError: list index out of range

Parsing recipes: 100% |##########################################################################################################| Time: 00:01:48
Parsing of 1714 .bb files complete (0 cached, 1714 parsed). 2124 targets, 106 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-arago/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_3.8.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.20.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "dra7xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2013.10"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-glsdk = "(nobranch):e1b48fc60cd16ba7a12c1d0394901c0152c26f76"
meta-arago-distro
meta-arago-extras = "(nobranch):fb6e3d530f71a533bea720eca091002fd772e8e1"
meta-qt5 = "(nobranch):5b5616b63bdf163ea3eb2ca8857c56a393435fe3"
toolchain-layer
meta-networking
meta-ruby
meta-oe = "(nobranch):ee173678383683e972c7d4d6f0ef5790bfa50274"
meta-ti = "(nobranch):d1578c08bdf114bc0f1606c65bd39f0c8293c562"
meta-linaro-toolchain = "(nobranch):2d06310e96959f3bf90f25a3fdd0f8dd0ed7a0b2"
meta = "(nobranch):5c51dd2e9bab54013652475888554bc4660dcff3"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
Traceback (most recent call last):
File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x67047d0>)
File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x331b190>)
IndexError: list index out of range

WARNING: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-1.4.8.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-util-1.5.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.10.tar.bz2, attempting MIRRORS if available
ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
Traceback (most recent call last):
File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x5225810>)
File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x1fac1d0>)
IndexError: list index out of range

ERROR: Function failed: do_install (log file is located at /home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.10-oe-linux-gnueabi/external-linaro-toolchain/-r2-arago6/temp/log.do_install.30728)
ERROR: Logfile of failure stored in: /home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.10-oe-linux-gnueabi/external-linaro-toolchain/-r2-arago6/temp/log.do_install.30728
Log data follows:
| DEBUG: Executing shell function do_install
| cp: cannot stat `/usr/arm-linux-gnueabihf/libc/lib/*': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.10-oe-linux-gnueabi/external-linaro-toolchain/-r2-arago6/temp/log.do_install.30728)
ERROR: Task 46 (/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 422 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/vaibhav/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb, do_install
Summary: There were 5 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
[GLSDK]>
[GLSDK]> Completed Yocto build at Fri Dec 12 15:30:05 IST 2014
[GLSDK]>
vaibhav@CPU-194:~/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers$
vaibhav@CPU-194:~/home/miracast_final/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers$