All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems building criu recipe for morty
@ 2017-04-18  8:05 Massimiliano Malisan
  2017-04-24 16:46 ` Mark Asselstine
  0 siblings, 1 reply; 2+ messages in thread
From: Massimiliano Malisan @ 2017-04-18  8:05 UTC (permalink / raw)
  To: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 3470 bytes --]

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 <kai.kang@windriver.com>
|
|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

[-- Attachment #2: Type: text/html, Size: 4879 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems building criu recipe for morty
  2017-04-18  8:05 Problems building criu recipe for morty Massimiliano Malisan
@ 2017-04-24 16:46 ` Mark Asselstine
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Asselstine @ 2017-04-24 16:46 UTC (permalink / raw)
  To: Massimiliano Malisan; +Cc: meta-virtualization

On Tue, Apr 18, 2017 at 4:05 AM, Massimiliano Malisan
<max.malisan.uk@gmail.com> wrote:
> 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:


I can confirm this issue. Possibly broken for some time now and nobody
noticed. At any rate keep an eye out on the list I will try to get a
fix sent.

Mark

> 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 <kai.kang@windriver.com>
> |
> |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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-24 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-18  8:05 Problems building criu recipe for morty Massimiliano Malisan
2017-04-24 16:46 ` Mark Asselstine

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.