All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Asselstine <mark.asselstine@windriver.com>
To: Massimiliano Malisan <max.malisan.uk@gmail.com>
Cc: "meta-virtualization@yoctoproject.org"
	<meta-virtualization@yoctoproject.org>
Subject: Re: Problems building criu recipe for morty
Date: Mon, 24 Apr 2017 12:46:55 -0400	[thread overview]
Message-ID: <CAPuovEKxpUZsPZ5LknxfisUF59S6BpVAqLj9SHPReo=_xOg+Og@mail.gmail.com> (raw)
In-Reply-To: <CADM9VcsY1xjqGuuzH_=Kky3wP8aB3Cj1gBbtcPHKPRp3TwiO4A@mail.gmail.com>

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
>


      reply	other threads:[~2017-04-24 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-18  8:05 Problems building criu recipe for morty Massimiliano Malisan
2017-04-24 16:46 ` Mark Asselstine [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPuovEKxpUZsPZ5LknxfisUF59S6BpVAqLj9SHPReo=_xOg+Og@mail.gmail.com' \
    --to=mark.asselstine@windriver.com \
    --cc=max.malisan.uk@gmail.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.