Tool/software: Linux
Hello,
I am facing the compilation and build failure.
Environment Used:
1. Am57XX sitata
2.Used the yocto build kit
Steps Followed:
$ wget releases.linaro.org/.../gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz $ tar -Jxvf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk $ cd tisdk $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.00.00.04-config.txt $ cd build $ . conf/setenv $ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH $ MACHINE=am57xx-evm bitbake arago-core-tisdk-image
Observation:
1. For the 1stime build i got below error
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: external-linaro-toolchain-cross-arm-1.0-r1 do_populate_sysroot: The recipe external-linaro-toolchain-cross-arm is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/lnt/Desktop/Work/Philips/Workspace/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sysroot-providers/external-linaro-toolchain-cross-arm
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above
I removed arago-tmp-external-linaro-toolchain and it move forward in compiling and struck in the below step.
2. After that i am getting the below error
NOTE: Executing RunQueue Tasks
WARNING: linux-libc-headers-4.4-r0.arago0.tisdk1 do_fetch: Failed to fetch URL git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.4.y, attempting MIRRORS if available
ERROR: linux-libc-headers-4.4-r0.arago0.tisdk1 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/lnt/tisdk/downloads/git2/git.ti.com.ti-linux-kernel.ti-linux-kernel.git'...
fatal: unable to access 'git.ti.com/.../': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Can anyone tell me how to resolve the above Error
Thanks
Manu