[yocto] Problem on building sdk on Docker container

AKASH BHARDWAJ akash12bhardwaj at gmail.com
Thu Jul 5 16:34:56 PDT 2018


Actually I was facing the following issue while building my Yocto SDK on
Docker container

[04:25] <ak4721269> Removing intermediate container 4f3743321874  --->
674e007553da Step 4/5 : RUN chmod +x /tmp/$META_TOOLCHAIN  ---> Running in
ababb0649ea1 Removing intermediate container ababb0649ea1  --->
5f558946851e Step 5/5 : RUN /tmp/$META_TOOLCHAIN  ---> Running in
929c7ea6af59 Poky (Yocto Project Reference Distro) SDK installer version
2.4.3 ================================================================= You
are about to install the SDK to "/home/akash/rpil/rpi-build/tmp"
  Extracting SDK.............done Setting it up...ls: cannot access
'/home/akash/rpil/rpi-build/tmp/environment-setup-cortexa7hf-neon-vfpv4-poky-linux-gnueabi':
No such file or directory SDK relocate failed, could not get executalbe
files The command '/bin/sh -c /tmp/$META_TOOLCHAIN' returned a non-zero
code: 1

I was facing this issue even if when
environment-setup-cortexa7hf-neon-vfpv4-poky-linux-gnueabi  is present in
my tmp directory.
My sysroots directory is empty .I am assuming that ,that may be the reason
for SDK.I have tried including the target directory in my toolchain(
poky-glibc-x86_64-meta-toolchain-cortexa7hf-neon-vfpv4-toolchain-2.4.3.sh)
to /home/akash/rpil/rpi-build/tmp but it is still not working out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180706/6e3ce3a5/attachment.html>


More information about the yocto mailing list