Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Dmitry Baryshkov <dbaryshkov@gmail.com>,
	Alexander Kanavin <alex.kanavin@gmail.com>,
	Vishal Bhoj <vishal.bhoj@linaro.org>
Cc: openembedded-core@lists.openembedded.org,
	Alexander Kanavin <alex@linutronix.de>
Subject: Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant
Date: Thu, 18 Jan 2024 09:59:23 +0000	[thread overview]
Message-ID: <e9283815ee1dc83b09470cefc75b0bb74bda974a.camel@linuxfoundation.org> (raw)
In-Reply-To: <CALT56yMAYUiu8VLbH1HLLYGm=TkVZx31nZu_M5+bhDp=OnqMXg@mail.gmail.com>

On Wed, 2024-01-17 at 14:46 +0200, Dmitry Baryshkov wrote:
> On Thu, 11 Jan 2024 at 15:15, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
> > 
> > shadow 4.14.x adds a number of libraries it dynamically links with
> > (md, bsd, attr). This causes troubles in setscene tasks where
> > shadow executables are used (such as useradd), as pulling in
> > the needed dynamic libraries needs unpleasant special-casing.
> > 
> > Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> 
> It seems, this is causing issues with the TuxOE builds. We have been
> observing issues with the TuxOE build environment with the image
> creation choking on the home dirs. Reverting this patch seems to fix
> the problem. The build environment is Ubuntu 20.04 running in a
> container on Ubuntu 22.04.
> 
> ERROR: rpb-weston-image-1.0-r0 do_image_tar:
> ExecutionError('/oe/build/tmp-rpb_wayland-glibc/work/qcom_armv8a-linaro-linux/rpb-weston-image/1.0/temp/run.do_image_tar.160075',
> 1, None, None)
> ERROR: Logfile of failure stored in:
> /oe/build/tmp-rpb_wayland-glibc/work/qcom_armv8a-linaro-linux/rpb-weston-image/1.0/temp/log.do_image_tar.160075
> Log data follows:
> > DEBUG: Executing python function set_image_size
> > DEBUG: 1402908.000000 = 1079160 * 1.300000
> > DEBUG: 1402908.000000 = max(1402908.000000, 65536)[1402908.000000] + 0
> > DEBUG: 1402908.000000 = int(1402908.000000)
> > DEBUG: 1404928 = aligned(1402908)
> > DEBUG: returning 1404928
> > DEBUG: Python function set_image_size finished
> > DEBUG: Executing shell function do_image_tar
> > tar: ./home/linaro/.bashrc: Unknown file type; file ignored
> > tar: ./home/linaro/.profile: Unknown file type; file ignored
> > tar: Exiting with failure status due to previous errors
> > WARNING: /oe/build/tmp-rpb_wayland-glibc/work/qcom_armv8a-linaro-linux/rpb-weston-image/1.0/temp/run.do_image_tar.160075:146
> exit 1 from '[ $? -eq 1 ]'
> 

The error is coming from tar during archive creation, "Unknown file
type; file ignored". I'm a little confused/concerned about what it is
seeing which it can't handle.

It might also be good to work out if that is tar from the host or tar
from tar-native. Is the host's tar unable to support something we're
relying upon?

If it were me, I'd probably have a look into the tar source code too,
see what might trigger an error like that.

Cheers,

Richard




  parent reply	other threads:[~2024-01-18  9:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11 13:15 [PATCH v3 1/2] shadow: update 4.13 -> 4.14.2 Alexander Kanavin
2024-01-11 13:15 ` [PATCH v3 2/2] shadow: link executables statically for -native variant Alexander Kanavin
2024-01-17 12:46   ` [OE-core] " Dmitry Baryshkov
2024-01-18  9:50     ` Dmitry Baryshkov
2024-01-18  9:59     ` Richard Purdie [this message]
2024-01-18 10:13       ` Alexander Kanavin
2024-01-18 13:32         ` Dmitry Baryshkov
2024-01-18 13:37       ` Dmitry Baryshkov
2024-01-18 13:51         ` Richard Purdie
2024-01-18 15:12           ` Dmitry Baryshkov
2024-01-19  3:06 ` [OE-core] [PATCH v3 1/2] shadow: update 4.13 -> 4.14.2 ChenQi
2024-01-19 10:12   ` Alexander Kanavin
2024-01-19 10:24     ` Richard Purdie
2024-01-19 10:44       ` Alexander Kanavin
2024-01-19 12:13     ` Chen, Qi
2024-01-19 12:24       ` Alexander Kanavin
2024-02-08 10:40         ` Vyacheslav Yurkov
2024-02-08 10:45           ` Alexander Kanavin
2024-02-08 10:52             ` Vyacheslav Yurkov
     [not found]             ` <17B1DDC9333F50F1.20876@lists.openembedded.org>
2024-02-08 12:11               ` Vyacheslav Yurkov
2024-02-08 12:16                 ` Richard Purdie
2024-02-08 13:09                   ` Vyacheslav Yurkov
2024-02-08 13:27                     ` Richard Purdie
2024-02-08 18:57                       ` Alexander Kanavin

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=e9283815ee1dc83b09470cefc75b0bb74bda974a.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=alex.kanavin@gmail.com \
    --cc=alex@linutronix.de \
    --cc=dbaryshkov@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=vishal.bhoj@linaro.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