[meta-xilinx] Yocto inside docker
Peter Smith
salerio at gmail.com
Tue Feb 20 08:50:57 PST 2018
Hi, I have used the "official" Yocto project crops containers without
issue. You can find them here : https://github.com/crops/. There is some
material about using them in the Yocto rocko manual.
Best Regards
Peter
On 20 February 2018 at 16:12, Giordon Stark <kratsg at gmail.com> wrote:
> Hi all,
>
> I found a docker image which looks to work for yocto builds here (
> https://hub.docker.com/r/gmacario/build-yocto/) like so:
>
> docker run -ti --rm gmacario/build-yocto
>
> and then cloning poky and the other layers and running bitbake. However,
> what works on my ubuntu machine seems to be failing in this docker image on
> the unpack step for a recipe (see below).
>
> Has anyone seen this or has an idea why it's failing? I ran it by hand
> manually, and I don't have issues.
>
> Giordon
>
> ERROR: linux-libc-headers-4.10-r0 do_unpack: Unpack failure for URL: '
> http://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.10.tar.xz'. Unpack
> command PATH="/home/build/poky/build/tmp/sysroots-uninative/x86_64-
> linux/usr/bin:/home/build/openembedded-core/scripts:/
> home/build/poky/build/tmp/work/aarch64-poky-linux/linux-
> libc-headers/4.10-r0/recipe-sysroot-native/usr/bin/
> aarch64-poky-linux:/home/build/poky/build/tmp/work/
> aarch64-poky-linux/linux-libc-headers/4.10-r0/recipe-
> sysroot/usr/bin/crossscripts:/home/build/poky/build/tmp/
> work/aarch64-poky-linux/linux-libc-headers/4.10-r0/recipe-
> sysroot-native/usr/sbin:/home/build/poky/build/tmp/work/
> aarch64-poky-linux/linux-libc-headers/4.10-r0/recipe-
> sysroot-native/usr/bin:/home/build/poky/build/tmp/work/
> aarch64-poky-linux/linux-libc-headers/4.10-r0/recipe-
> sysroot-native/sbin:/home/build/poky/build/tmp/work/
> aarch64-poky-linux/linux-libc-headers/4.10-r0/recipe-
> sysroot-native/bin:/home/build/poky/bitbake/bin:/home/
> build/poky/build/tmp/hosttools" xz -dc /home/build/poky/build/downloads/linux-4.10.tar.xz
> | tar x --no-same-owner -f - failed with return value 2
> ERROR: linux-libc-headers-4.10-r0 do_unpack: Function failed:
> base_do_unpack
> ERROR: Logfile of failure stored in: /home/build/poky/build/tmp/
> work/aarch64-poky-linux/linux-libc-headers/4.10-r0/temp/log.do_unpack.4320
> ERROR: Task (/home/build/openembedded-core/meta/recipes-kernel/
> linux-libc-headers/linux-libc-headers_4.10.bb:do_unpack) failed with exit
> code '1'
> NOTE: Tasks Summary: Attempted 278 tasks of which 256 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
> /home/build/openembedded-core/meta/recipes-kernel/linux-
> libc-headers/linux-libc-headers_4.10.bb:do_unpack
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> --
> Giordon Stark
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20180220/596f48e4/attachment.html>
More information about the meta-xilinx
mailing list