I'm using archlinux x86_64. The tar utility version is 1.27. Bitbake failed when using tar option -c and -ps together. See the output [chunfeng@haha build]$ bitbake core-image-minimal Pseudo is not present but is required, building this first before the main build WARNING: Host distribution "Unknown" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Parsing recipes: 100% |###############################################################################################################| Time: 00:04:39 Parsing of 1278 .bb files complete (0 cached, 1278 parsed). 1646 targets, 70 skipped, 0 masked, 0 errors. Build Configuration: BB_VERSION = "1.18.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Unknown" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "imx6qsabresd" DISTRO = "poky" DISTRO_VERSION = "1.4.2" TUNE_FEATURES = "armv7a vfp neon" TARGET_FPU = "vfp-neon" meta meta-yocto = "(nobranch):4e399f08d596197859214fdb3b06403b87bf8789" meta-oe = "(nobranch):a108b2203a997634f87ac687e81712badaf3c546" meta-fsl-arm = "(nobranch):afe2162644544a92a517f1d51211fdcb76bb1a29" meta-fsl-arm-extra = "(nobranch):5f5a9cfcad223f5a1c623346780510ffcdc012ab" meta-fsl-demos = "(nobranch):724cfb929748f47782dea3b1dc412b028f6f3515" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: sysroot_stage_all (see /home/chunfeng/projects/fsl-community-bsp/build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.21890 for further information) ERROR: Logfile of failure stored in: /home/chunfeng/projects/fsl-community-bsp/build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.21890 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing python function do_populate_sysroot | DEBUG: Executing shell function sysroot_stage_all | tar: --same-order option cannot be used with -c | Try 'tar --help' or 'tar --usage' for more information. | tar: This does not look like a tar archive | tar: Exiting with failure status due to previous errors | DEBUG: Python function do_populate_sysroot finished | ERROR: Function failed: sysroot_stage_all (see /home/chunfeng/projects/fsl-community-bsp/build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.21890 for further information) ERROR: Task 10 (/home/chunfeng/projects/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot) failed with exit code '1' NOTE: Tasks Summary: Attempted 10 tasks of which 0 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish: Summary: 1 task failed: /home/chunfeng/projects/fsl-community-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
This is a known issue with the latest version of tar, since ArchLinux is a rolling release we can not directly support it. There is a patch pending for this issue that will go into master soon. The workaround is either to downgrade that patch or to use the buildtools-tarball which contains the correct version of tar. https://www.yoctoproject.org/download/buildtools-sdk
Fixed in master with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=bf19a8617d05f17506dcb7154e19e2aa2b61838b and the preceding patch.