Hi all, Forewords: * I am learning to use Yocto, so maybe I am missing something that should be obvious.. * I do not have any selinux support in my configuration as I don't need it atm (and I suppose it isn't necessary, otherwise it should be in the dependency list of the layer). * The system I am building for uses sysvinit and not systemd as init (just mentioning due to the systemd-related warning in the second problem, which I deem unrelated to the error I get..). I've been trying to build the criu recipe for morty (I have all repositories: poky, meta-openembedded, meta-intel (I have a x86_64 Intel CPU) and meta-virtualization - on morty branch) but I have some issues: 1) If I run the recipe "as is" I get the following error: ERROR: criu-2.5+gitAUTOINC+c031417255-r0 do_patch: Command Error: 'quilt --quiltrc /opt/yocto/virt-builder/meta-virt-builder/tmp/sysroots/x86_64-linux/etc/quiltrc push' exited with 0 Output: Applying patch disable-selinux.patch can't find file to patch at input line 15 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Upstream-Status: Inappropriate [disable feature] | |It shows warning when build crius if libselinux has been built already: | | WARNING: QA Issue: criu rdepends on libselinux, but it isn't a build dependency? [build-deps] | |Apply this patch to disable selinux support when 'selinux' is not in PACKAGECONF. | |Signed-off-by: Kai Kang | |diff --git a/Makefile.config b/Makefile.config |index ce4b8d8..3ac2780 100644 |--- a/Makefile.config |+++ b/Makefile.config -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Patch disable-selinux.patch does not apply (enforce with -f) ERROR: criu-2.5+gitAUTOINC+c031417255-r0 do_patch: Function failed: patch_do_patch ERROR: Logfile of failure stored in: /opt/yocto/virt-builder/meta- virt-builder/tmp/work/corei7-64-poky-linux/criu/2.5+ gitAUTOINC+c031417255-r0/temp/log.do_patch.24372 ERROR: Task (/opt/yocto/repository/meta-virtualization/recipes- containers/criu/criu_git.bb:do_patch) failed with exit code '1' 2) If I remove the patch reference from the recipe the compilation seems run fine but in the end I get this error: ERROR: criu-2.5+gitAUTOINC+c031417255-r0 do_package_qa: QA Issue: criu: The compile log indicates that host include and/or library paths were used. Please check the log '/opt/yocto/virt-builder/meta- virt-builder/tmp/work/corei7-64-poky-linux/criu/2.5+ gitAUTOINC+c031417255-r0/temp/log.do_compile' for more information. [compile-host-path] WARNING: criu-2.5+gitAUTOINC+c031417255-r0 do_package_qa: QA Issue: /usr/libexec/criu/scripts/systemd-autofs-restart.sh contained in package criu requires /bin/bash, but no providers found in RDEPENDS_criu? [file-rdeps] ERROR: criu-2.5+gitAUTOINC+c031417255-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. ERROR: criu-2.5+gitAUTOINC+c031417255-r0 do_package_qa: Function failed: do_package_qa ERROR: Logfile of failure stored in: /opt/yocto/virt-builder/meta- virt-builder/tmp/work/corei7-64-poky-linux/criu/2.5+ gitAUTOINC+c031417255-r0/temp/log.do_package_qa.27615 ERROR: Task (/opt/yocto/repository/meta-virtualization/recipes- containers/criu/criu_git.bb:do_package_qa) failed with exit code '1' Any idea on how to solve this? Best regards, Max