yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: Quentin Schulz <foss@0leil.net>
To: yocto@lists.yoctoproject.org, Trevor Woerner <twoerner@gmail.com>
Subject: Re: [yocto] pseudo error building master with kas-container
Date: Wed, 05 Jan 2022 00:08:15 +0100	[thread overview]
Message-ID: <5A44F13B-F383-449C-8FB9-87BEBEF1272D@0leil.net> (raw)
In-Reply-To: <20220104192528.GA25696@localhost>

Hi Trevor,

On January 4, 2022 8:25:28 PM GMT+01:00, Trevor Woerner <twoerner@gmail.com> wrote:
>Hi,
>
>I'm seeing a build failure with pseudo performing a qemux86 build using
>kas-container. Note that I'm using kas-container, and not using kas inside a
>container of my own making.
>
>build host: openSUSE 15.3
>container tool: podman
>steps:
>	$ git clone https://github.com/siemens/kas.git
>	$ mkdir layers
>	$ git clone git://git.openembedded.org/bitbake layers/bitbake
>	$ git clone git://git.openembedded.org/openembedded-core layers/openembedded-core
>	create the file "simple.yml" containing -----------------+
>        | header:                                                |
>        |        version: 11                                     |
>        | machine: qemux86                                       |
>        | distro: nodistro                                       |
>        | target:                                                |
>        |        - core-image-base                               |
>        | repos:                                                 |
>        |         bitbake:                                       |
>        |                 path: layers/bitbake                   |
>        |                 layers:                                |
>        |                         conf: disabled                 |
>        |         openembedded-core:                             |
>        |                 path: layers/openembedded-core         |
>        |                 layers:                                |
>        |                         meta:                          |
>        +--------------------------------------------------------+
>→ NOTE: do not use real tabs in the yml file
>→ NOTE: if this is your first time using kas-container and/or podman you'll
>        probably have to do some one-time/first-time setup of podman in order
>        to use containers as a non-root user
>→ NOTE: the head revisions of the following repos are as follows:
>  kas: 75d1a5cce49f363b4dacd702a48d3b11195a353c
>  layers/bitbake: bdf5739c5d831dc97a7d81568f94a0953c71017f
>  layers/openembedded-core: 24c1b8346a2ab8bdea2e140282e33814166d9113
>
>	$ DL_DIR=/path/to/your/DL_DIR kas/kas-container build simple.yml
>
>the above steps always result in the following build error for me:
>
>	ERROR: Task (/work/layers/openembedded-core/meta/recipes-support/icu/icu_70.1.bb:do_install) failed with exit code '1'
>	Pseudo log:
>	path mismatch [1 link]: ino 47078782 db '/tmp/sh-thd.8MYMaq' req '/tmp/sh-thd.s6sVVG'.
>	Setup complete, sending SIGUSR1 to pid 5494.

I've had similar issues recently with kas-container and podman. What was required were two things:
 - passing --tmpfs /tmp to podman run,
 - increase pids_limit in container.conf (your system's), we've set it to 1000000 abritrarily for now and it seems to run fine for the few builds we've made so far),

Hope this helps,
Cheers,
Quentin



       reply	other threads:[~2022-01-04 23:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220104192528.GA25696@localhost>
2022-01-04 23:08 ` Quentin Schulz [this message]
2022-01-06 13:50   ` [yocto] pseudo error building master with kas-container Trevor Woerner
2022-01-06 14:28     ` Jan Kiszka
2022-01-06 19:28     ` Quentin Schulz
     [not found]       ` <20220107201240.GA13417@localhost>
2022-01-07 22:21         ` Quentin Schulz
2022-01-08  2:13           ` Trevor Woerner
2022-01-08 15:32             ` Quentin Schulz
     [not found]               ` <20220108191515.GA21494@localhost>
2022-01-09 11:16                 ` Jan Kiszka

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=5A44F13B-F383-449C-8FB9-87BEBEF1272D@0leil.net \
    --to=foss@0leil.net \
    --cc=twoerner@gmail.com \
    --cc=yocto@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).