Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-18 Thread Dmitry Baryshkov
On Thu, 18 Jan 2024 at 15:51, Richard Purdie wrote: > > On Thu, 2024-01-18 at 15:37 +0200, Dmitry Baryshkov wrote: > > On Thu, 18 Jan 2024 at 11:59, Richard Purdie > > wrote: > > > > > > On Wed, 2024-01-17 at 14:46 +0200, Dmitry Baryshkov wrote: > > > > On Thu, 11 Jan 2024 at 15:15, Alexander

Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-18 Thread Richard Purdie
On Thu, 2024-01-18 at 15:37 +0200, Dmitry Baryshkov wrote: > On Thu, 18 Jan 2024 at 11:59, Richard Purdie > wrote: > > > > On Wed, 2024-01-17 at 14:46 +0200, Dmitry Baryshkov wrote: > > > On Thu, 11 Jan 2024 at 15:15, Alexander Kanavin > > > wrote: > > > > > > > > shadow 4.14.x adds a number

Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-18 Thread Dmitry Baryshkov
On Thu, 18 Jan 2024 at 11:59, Richard Purdie wrote: > > On Wed, 2024-01-17 at 14:46 +0200, Dmitry Baryshkov wrote: > > On Thu, 11 Jan 2024 at 15:15, Alexander Kanavin > > wrote: > > > > > > shadow 4.14.x adds a number of libraries it dynamically links with > > > (md, bsd, attr). This causes

Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-18 Thread Dmitry Baryshkov
On Thu, 18 Jan 2024 at 12:13, Alexander Kanavin wrote: > > I'd like to clarify the 'randomly' part: does the failure disappear if > you re-run bitbake on the same build directory, or is it random only > between different builds? It is random between different builds. Rerunning the build

Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-18 Thread Alexander Kanavin
I'd like to clarify the 'randomly' part: does the failure disappear if you re-run bitbake on the same build directory, or is it random only between different builds? If it's deterministic in the same build directory, then you can narrow it down to the specific tar invocation directly from command

Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-18 Thread Richard Purdie
On Wed, 2024-01-17 at 14:46 +0200, Dmitry Baryshkov wrote: > On Thu, 11 Jan 2024 at 15:15, Alexander Kanavin > 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

Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-18 Thread Dmitry Baryshkov
On Wed, 17 Jan 2024 at 14:46, Dmitry Baryshkov wrote: > > On Thu, 11 Jan 2024 at 15:15, Alexander Kanavin > 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

Re: [OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-17 Thread Dmitry Baryshkov
On Thu, 11 Jan 2024 at 15:15, Alexander Kanavin 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

[OE-core] [PATCH v3 2/2] shadow: link executables statically for -native variant

2024-01-11 Thread Alexander Kanavin
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 --- v2: