Hello,
I am building the "ti-glsdk_dra7xx-evm_6_10_00_02". I am following the steps given in "DRA7xx GLSDK Software Developers Guide".
But I am getting error during building.
Please find following log for reference.
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.
Hello,
I am building the "ti-glsdk_dra7xx-evm_6_10_00_02". I am following the steps given in "DRA7xx GLSDK Software Developers Guide".
But I am getting error during building.
Please find following log for reference.
Vaibhav,
It is recommended that you do ./setup.sh after exporting GLSDK environment variable to point to the GLSDK installation directory.
What this would do is, it would run bin/setup-package-install.sh which will install all the pre-requisite packages. Have you already done this?
Just want to rule out the possibility of missing packages before proceeding to debug this further.
Can you please confirm this or try this suggestion and then invoke the build-core-sdk?
Regards
Karthik
Hi karthik,
I made a new setup of GLSDK. Now I am getting following errors.
vaibhav@CPU-194:~/home/miracast_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers$
vaibhav@CPU-194:~/home/miracast_new/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_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads ]
[GLSDK]>
[GLSDK]> Current Directory is /home/vaibhav/home/miracast_new/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_new/ti-glsdk_dra7xx-evm_6_10_00_02/bin/:/home/vaibhav/home/miracast_new/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/:/home/vaibhav/home/miracast_new/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/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 Wed Dec 10 16:03:01 IST 2014
[GLSDK]>
[GLSDK]> ./oe-layertool-setup.sh -f configs/glsdk/glsdk-6.10.00.02-config.txt
/home/vaibhav/home/miracast_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers
cloning repo bitbake
Fetching origin
Switched to 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
Fetching origin
Switched to 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
Fetching origin
Switched to 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
Fetching origin
Switched to 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
Fetching origin
Previous HEAD position was ee17367... cloud9: Fix branch param
Switched to 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
Fetching origin
Switched to 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
Fetching origin
Switched to 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
Fetching origin
Previous HEAD position was 5c51dd2... qt4: Fix Qt 4.8.5 source to new location
Switched to 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.
WARNING: Found existing /home/vaibhav/home/miracast_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/build/conf/local.conf
Saving a backup to /home/vaibhav/home/miracast_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/build/conf/local.conf.bak
################################################################################
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 0x4c20d50>)
File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x1eb7fd0>)
IndexError: list index out of range
Loading cache: 100% |############################################################################################################| ETA: 00:00:00
Loaded 2124 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################################| Time: 00:00:01
Parsing of 1714 .bb files complete (1703 cached, 11 parsed). 2124 targets, 106 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/vaibhav/home/miracast_new/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 0x600a7d0>)
File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x2c8d190>)
IndexError: list index out of range
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 0x56cb810>)
File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x23601d0>)
IndexError: list index out of range
ERROR: Function failed: do_install (log file is located at /home/vaibhav/home/miracast_new/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.7271)
ERROR: Logfile of failure stored in: /home/vaibhav/home/miracast_new/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.7271
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_new/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.7271)
ERROR: Task 46 (/home/vaibhav/home/miracast_new/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'
WARNING: Checksum failure encountered with download of - will attempt other sources if available
WARNING: Renaming /home/vaibhav/home/miracast_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads/expat-2.1.0.tar.gz to /home/vaibhav/home/miracast_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers/downloads/expat-2.1.0.tar.gz_bad-checksum_d3c19b88223a8b762226f5c5ae3b1613
NOTE: Tasks Summary: Attempted 223 tasks of which 218 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/vaibhav/home/miracast_new/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 3 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
[GLSDK]>
[GLSDK]> Completed Yocto build at Wed Dec 10 16:03:38 IST 2014
[GLSDK]>
vaibhav@CPU-194:~/home/miracast_new/ti-glsdk_dra7xx-evm_6_10_00_02/yocto-layers$