[meta-freescale] can't install meta-toolchain because sysroot is missing (chicken and egg problem)

Thanassis Silis djnass_18 at hotmail.com
Mon Jun 3 10:12:21 PDT 2013


Hello there,
I have successfully bitbaked the meta-toolchain on my system and I now want to extract this toolchain on the same system.
notice that I have already bitbaked images fsl-image-test (&gui) on the same system.

Well, the toolchain installation fails with:

nass at starland ~/yocto/sources/poky/build $ sudo ./tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.2.sh 
Enter target directory for SDK (default: /opt/poky/1.3.2): 
The directory "/opt/poky/1.3.2" already contains a SDK for this architecture.
If you continue, existing files will be overwritten! Proceed[y/N]?y
Extracting SDK...done
Setting it up...find: `/opt/poky/1.3.2/sysroots/x86_64-pokysdk-linux/lib': No such file or directory
SDK could not be set up. Relocate script failed. Abort!


So in the reference it states that in order to install the toolchain I need to extract the image first (in order to have the correct sysroots folder ?).
http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#using-an-existing-toolchain-tarball

but if you read the guide. in order to extract the image, you need to source a corresponding environment-setup* file.

so I searched for those:
nass at starland ~/yocto/sources/poky/build $ find . -name *environment-setup*
./tmp/work/armv5te-poky-linux-gnueabi/meta-toolchain-1.0-r7/sdk/image/opt/poky/1.3.2/environment-setup-armv5te-poky-linux-gnueabi
./tmp/work/x86_64-nativesdk-pokysdk-linux/meta-environment-arm-1.0-r8/sdk/image/opt/poky/1.3.2/environment-setup-armv5te-poky-linux-gnueabi
./tmp/work/x86_64-nativesdk-pokysdk-linux/meta-environment-arm-1.0-r8/packages-split/meta-environment-arm/opt/poky/1.3.2/environment-setup-armv5te-poky-linux-gnueabi
./tmp/work/x86_64-nativesdk-pokysdk-linux/meta-environment-arm-1.0-r8/image/opt/poky/1.3.2/environment-setup-armv5te-poky-linux-gnueabi
./tmp/work/x86_64-nativesdk-pokysdk-linux/meta-environment-arm-1.0-r8/package/opt/poky/1.3.2/environment-setup-armv5te-poky-linux-gnueabi


I tried sourcing the 1st and 2nd. but the result with the installation is the same.
Am I missing something?
Thank you for your help.

Nass
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130603/31eb1890/attachment.html>


More information about the meta-freescale mailing list