Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-19 Thread Alexander Kanavin
On Fri, 19 Nov 2021 at 00:14, Andre McCurdy wrote: > > So everything that is supposed to be there is actually present, and the > patch is indeed unneeded. > > Looks good. If you have the full strace logs for both cases then it > might still be useful to check which (if any) command lines are > ch

Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-19 Thread Andre McCurdy
On Fri, Nov 19, 2021 at 12:17 AM Alexander Kanavin wrote: > > On Fri, 19 Nov 2021 at 00:14, Andre McCurdy wrote: >> >> > So everything that is supposed to be there is actually present, and the >> > patch is indeed unneeded. >> >> Looks good. If you have the full strace logs for both cases then i

Re: [OE-core] [PATCH] scripts/lnr: remove

2021-11-19 Thread Ross Burton
On Wed, 17 Nov 2021 at 18:24, Quentin Schulz wrote: > We could have a simple wrapper instead which would be a simple shell script: > > #!/bin/sh > > ln --relative --symbolic $1 $2 > > To not require a change in layers? > Not sure it's that important considering that one could do a simple sed > ac

Re: [OE-core] [PATCH] buildhistory.bbclass: fix regression from FILES_INFO changes

2021-11-19 Thread Richard Purdie
On Tue, 2021-11-16 at 17:06 -0800, S. Lockwood-Childs wrote: > Started getting a stack trace during packagedata task for a > recipe that built fine in hardknott > > *** 0002:buildhistory_emit_pkghistory(d) > 0003: > File: 'meta/classes/buildhistory.bbclass', lineno: 313, function: > buildhi

[OE-core] [PATCH] gcc: Tweak Upstream-Status formatting

2021-11-19 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch | 2 +- meta/recipes-devtools/gcc/gcc/0002-CVE-2021-35465.patch | 2 +- meta/recipes-devtools/gcc/gcc/0003-CVE-2021-35465.patch | 2 +- meta/recipes-devtools/gcc/gcc/0004-CVE-2021-35465.patch | 2 +- 4 files

Re: [OE-core] [PATCH 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Richard Purdie
On Wed, 2021-11-17 at 16:34 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/recipes-extended/groff/files/0001-Include-config.h.patch | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-extended/groff/files/0001-Include-config.h.pa

Re: [OE-core] [PATCH 0/8] systemd: allow building for nativesdk

2021-11-19 Thread Luca Bocassi
On Fri, 2021-11-19 at 09:43 +0800, ChenQi wrote: > Hi Luca, > > If the real useful part is only about systemd-analyze in case of > nativesdk/native, I'd suggest adding systemd-analyze-native or > nativesdk-systemd-analyze instead of extending the current systemd > recipe. > This is because systemd

Re: [OE-core] [PATCH 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Alexander Kanavin
This is the upstream fix: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=979f3f4266151c7681a68a40d2c4913842a7271d I can backport that, rebase the existing patch on top and see what's left, sure. Alex On Fri, 19 Nov 2021 at 12:15, Richard Purdie < richard.pur...@linuxfoundation.org> wrote:

[OE-core] [PATCH v2 1/7] systemd: skip chown when building for nativesdk

2021-11-19 Thread Luca Bocassi
From: Luca Boccassi The useradd class is a no-op in the nativesdk case, so chown will fail. Skip them. Signed-off-by: Luca Boccassi --- v2: use "${PN}" = "${BPN}" as suggested by reviewers meta/recipes-core/systemd/systemd_249.5.bb | 10 -- 1 file changed, 8 insertions(+), 2 deletions

[OE-core] [PATCH v2 2/7] systemd: skip postinst in nativesdk builds

2021-11-19 Thread Luca Bocassi
From: Luca Boccassi They will fail, as there's nowhere to run them Signed-off-by: Luca Boccassi --- v2: use "${PN}" = "${BPN}" as suggested by reviewers meta/recipes-core/systemd/systemd_249.5.bb | 12 1 file changed, 12 insertions(+) diff --git a/meta/recipes-core/systemd/syste

[OE-core] [PATCH v2 4/7] systemd: remove volatile-binds RDEPENDS for nativesdk

2021-11-19 Thread Luca Bocassi
From: Luca Boccassi Not needed for SDK binaries Signed-off-by: Luca Boccassi --- v2: remove dependency instead of adding nativesdk to volatile-binds meta/recipes-core/systemd/systemd_249.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_249.5.bb b/met

[OE-core] [PATCH v2 3/7] systemd: remove /var in nativesdk builds

2021-11-19 Thread Luca Bocassi
From: Luca Boccassi Nothing picks it up, so it fails QA checks Signed-off-by: Luca Boccassi --- meta/recipes-core/systemd/systemd_249.5.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_249.5.bb b/meta/recipes-core/systemd/systemd_249.5.bb index ec9

[OE-core] [PATCH v2 5/7] kbd: add nativesdk

2021-11-19 Thread Luca Bocassi
From: Luca Boccassi Required to build systemd tools Signed-off-by: Luca Boccassi --- meta/recipes-core/kbd/kbd_2.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/kbd/kbd_2.4.0.bb b/meta/recipes-core/kbd/kbd_2.4.0.bb index 7cb45eff77..7efc7af312 1006

[OE-core] [PATCH v2 6/7] os-release: add nativesdk

2021-11-19 Thread Luca Bocassi
From: Luca Boccassi Required to build systemd tools Signed-off-by: Luca Boccassi --- meta/recipes-core/os-release/os-release.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb index 8847fe30c3..2f2aa

[OE-core] [PATCH v2 7/7] systemd: add nativesdk

2021-11-19 Thread Luca Bocassi
From: Luca Boccassi Allows using tools like systemd-analyze at build time and in CI systems Signed-off-by: Luca Boccassi --- meta/recipes-core/systemd/systemd-conf_1.0.bb| 2 ++ meta/recipes-core/systemd/systemd-serialgetty.bb | 2 ++ meta/recipes-core/systemd/systemd_249.5.bb | 2 ++

Re: [OE-core] [PATCH 1/8] systemd: skip chown when building for nativesdk

2021-11-19 Thread Luca Bocassi
On Wed, 2021-11-17 at 18:32 +, Luca Boccassi wrote: > On Wed, 2021-11-17 at 18:14 +, Peter Kjellerstedt wrote: > > > -Original Message- > > > From: openembedded-core@lists.openembedded.org > > > On Behalf Of Luca > > > Bocassi > > > Sent: den 17 november 2021 13:32 > > > To: openem

Re: [OE-core] [PATCH 5/8] volatile-binds: add nativesdk

2021-11-19 Thread Luca Bocassi
On Wed, 2021-11-17 at 17:42 +, Luca Boccassi wrote: > On Wed, 2021-11-17 at 17:40 +, Richard Purdie wrote: > > On Wed, 2021-11-17 at 12:31 +, Luca Bocassi wrote: > > > From: Luca Boccassi > > > > > > Signed-off-by: Luca Boccassi > > > --- > > >  meta/recipes-core/volatile-binds/volat

Re: [OE-core] [PATCH v2 7/7] systemd: add nativesdk

2021-11-19 Thread Alexander Kanavin
Once again, I do not want this accepted in oe-core, not until there's equivalent native functionality. Alex On Fri, 19 Nov 2021 at 12:35, Luca Bocassi wrote: > From: Luca Boccassi > > Allows using tools like systemd-analyze at build time and in > CI systems > > Signed-off-by: Luca Boccassi >

Re: [OE-core] [PATCH v2 7/7] systemd: add nativesdk

2021-11-19 Thread Luca Bocassi
On Fri, 2021-11-19 at 12:39 +0100, Alexander Kanavin wrote: > Once again, I do not want this accepted in oe-core, not until there's > equivalent native functionality. > > Alex As already mentioned, that's completely unrelated, and I do not have the time nor the interest to invest weeks of my time

Re: [OE-core] [PATCH 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Alexander Kanavin
I checked; the patches are the same, except the upstream one misses one file, which is fixed in a different upstream patch. I'd say we can keep things as they are. Alex On Fri, 19 Nov 2021 at 12:34, Alexander Kanavin via lists.openembedded.org wrote: > This is the upstream fix: > > https://git.

Re: [OE-core] [PATCH 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Richard Purdie
On Fri, 2021-11-19 at 13:08 +0100, Alexander Kanavin wrote: > I checked; the patches are the same, except the upstream one misses one file, > which is fixed in a different upstream patch. I'd say we can keep things as > they are. Can we mark as a backport of those two commits then? Cheers, Richa

Re: [OE-core] [PATCH 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Alexander Kanavin
On Fri, 19 Nov 2021 at 13:29, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2021-11-19 at 13:08 +0100, Alexander Kanavin wrote: > > I checked; the patches are the same, except the upstream one misses one > file, > > which is fixed in a different upstream patch. I'd say we c

[OE-core] [PATCH] oeqa: fix warnings for append operators combined with +=

2021-11-19 Thread Yi Zhao
Signed-off-by: Yi Zhao --- meta/lib/oeqa/runtime/cases/ksample.py| 2 +- meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py index 4d12d1d07d..

[OE-core] [PATCH] ncurses: disable big core only for target

2021-11-19 Thread Alibek Omarov
Building some terminal emulators(foot, for example) may require tic to be built with enabled big core. It's highly likely that tic will be used as native or in SDK, so we can lift memory restriction. Signed-off-by: Alibek Omarov --- meta/recipes-core/ncurses/ncurses.inc | 4 ++-- 1 file changed

[OE-core] [PATCH] dev-manual: how to purge duplicate sstate cache files

2021-11-19 Thread Michael Opdenacker
Signed-off-by: Michael Opdenacker --- documentation/dev-manual/common-tasks.rst | 25 ++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index 3eead147a3..37612c84b7 100644 --

Re: [OE-core] pls comment on weston non-PAM patch (link inside)

2021-11-19 Thread Alexander Kanavin
Hello guys, reminding you to speak up in the patch submission; if you don't, upstream will close it without merging, and I will start working towards removing the patch from Yocto as well. Alex On Fri, 12 Nov 2021 at 10:48, Alexander Kanavin wrote: > Hello folks, > > I sent the weston non-PAM

Re: [OE-core] pls comment on weston non-PAM patch (link inside)

2021-11-19 Thread Tom Hochstein
Thanks Alex. @Otavio pushed the hardest for the use case and I don't really have anything to add. Given that Pekka has suggested that there is a better approach without weston-launch, it seems that removing the patch is fine. In the worst case we can back

[OE-core][PATCH v2] classes/meson: Add optional rust definitions

2021-11-19 Thread Joshua Watt
Adds the rust tools to the cross and native files if present so that projects that use both rust and meson can build Signed-off-by: Joshua Watt --- V2: Fixes so that cross-compiling works correctly by passing --target and RUSTFLAGS meta/classes/meson.bbclass | 11 ++- 1 file changed,

[OE-core] [PATCH] rootfs-postcommands: update systemd_create_users

2021-11-19 Thread Vyacheslav Yurkov
Process all systemd-sysusers configuration files in order to create users/groups at build time. systemd-sysusers would try to create them at run-time, but for read-only rootfs that's not possible and results in warnings from different services: systemd-udevd[166]: /lib/udev/rules.d/50-udev-default