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 [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
