[OE-core] systemd_create_users broken even more

2022-02-04 Thread Chuck Wolber
When relying on useradd-staticids, this commit [1] made the problems that this [2] bug causes, much worse. Prior to that commit we could predict with surprising accuracy what the UID and GID would be for the very small number of systemd-* accounts that were created (or simply patch the expected

Re: [OE-core][dunfell 01/20] glibc: update to lastest 2.31 release HEAD

2022-02-04 Thread Ranjitsinh Rathod
It seems in commit message you have mentioned 2 times CVE-2022-23218 instead of CVE-2022-23218 and CVE-2022-23219. On Fri, 4 Feb, 2022, 1:21 am Steve Sakoman, wrote: > Includes the following fixes: > > 3ef8be9b89 CVE-2022-23218: Buffer overflow in sunrpc svcunix_create (bug > 28768) >

Re: [OE-core] [PATCH] runqemu: preload uninative libraries when host gl drivers are in use

2022-02-04 Thread Alexander Kanavin
The dynamic loader will print an error about missing libraries, but will execute the binary regardless. Alex On Fri, 4 Feb 2022 at 22:17, Christopher Larson wrote: > What will this do if uninative isn't enabled? > > On Fri, Feb 4, 2022 at 1:40 PM Alexander Kanavin > wrote: > >> Some of the

Re: [OE-core] [PATCH] runqemu: preload uninative libraries when host gl drivers are in use

2022-02-04 Thread Christopher Larson
What will this do if uninative isn't enabled? On Fri, Feb 4, 2022 at 1:40 PM Alexander Kanavin wrote: > Some of the host distributions build the drivers in a way (RPATH/RUNPATH) > that tricks uninative loader into loading pieces of the host libc, if > the same pieces haven't been previously

Re: [OE-core] [PATCH] gcc: enable zstd compression of LTO bytecode

2022-02-04 Thread Khem Raj
On Fri, Feb 4, 2022 at 11:00 AM Enrico Scholz via lists.openembedded.org wrote: > > Richard Purdie writes: > > >> | lto1: internal compiler error: original not compressed with zstd > >> > >> DEPENDS =+ "mpfr gmp libmpc zlib flex-native" > >> -NATIVEDEPS = "mpfr-native gmp-native libmpc-native

[OE-core] [PATCH] runqemu: preload uninative libraries when host gl drivers are in use

2022-02-04 Thread Alexander Kanavin
Some of the host distributions build the drivers in a way (RPATH/RUNPATH) that tricks uninative loader into loading pieces of the host libc, if the same pieces haven't been previously loaded by native binaries. Mixing the two libc versions leads to failures. This change ensures that the correct

Re: [oe] [OE-core] Inclusive Language Proposal for YP/OE

2022-02-04 Thread Enrico Scholz via lists.openembedded.org
Alexander Kanavin writes: >> > Would CANCEL be clearer to you than HALT? >> >> mmmh for me as a developer (and non-native english speaker), "cancel" >> means some ordered ending of an operation. >> >> But the condition above causes an emergency abort. >> > > Cancel is the same as abort: a

Re: [oe] [OE-core] Inclusive Language Proposal for YP/OE

2022-02-04 Thread Alexander Kanavin
On Fri, 4 Feb 2022 at 19:39, Enrico Scholz wrote: > > Would CANCEL be clearer to you than HALT? > > mmmh for me as a developer (and non-native english speaker), "cancel" > means some ordered ending of an operation. > > But the condition above causes an emergency abort. > Cancel is the same

Re: [OE-core] [PATCH] gcc: enable zstd compression of LTO bytecode

2022-02-04 Thread Enrico Scholz via lists.openembedded.org
Richard Purdie writes: >> | lto1: internal compiler error: original not compressed with zstd >> >> DEPENDS =+ "mpfr gmp libmpc zlib flex-native" >> -NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native" >> +NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native

[OE-core] [PATCH] python3-pyobject: Add patch to fix resource leak that causes mem leak & OOM

2022-02-04 Thread Geoff Parker
From: Geoff Parker Memory leak and OOM in our code involving dbus was traced to a resource leak in python3-gobject above v3.24.1 noted in these links. https://github.com/LEW21/pydbus/issues/83 https://gitlab.gnome.org/GNOME/pygobject/-/issues/307 This patch fixed the leak for us. This issue

Re: [oe] [OE-core] Inclusive Language Proposal for YP/OE

2022-02-04 Thread Enrico Scholz via lists.openembedded.org
Bryan Evenson writes: >> >> > For BB_DISKMON_DIRS, the actions "ABORT, STOPTASKS and WARN" >> >> > would become "HALT, NO_NEW_TASKS and "WARN". >> >> >> >> I am not an native english speaker, but for "HALT" I will have to >> >> think twice whether it will pause the operation or abort it. I

[OE-core] [PATCH] oqea/runtime/oe_syslog: Improve test

2022-02-04 Thread Richard Purdie
We're seeing failures on the autobuilder where the log message isn't present in the log. This could just be a race in the compound command but it is hard to say due to the poor log output from the test. Splittng the command into two sections should add more of a delay whilst ssh reconnects and

Re: [OE-core] [PATCH 01/33] seatd: add recipe

2022-02-04 Thread Khem Raj
fails on mips/arm64 https://errors.yoctoproject.org/Errors/Details/623915/ you might need something like https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/breakpad/breakpad/0001-Turn-off-sign-compare-for-musl-libc.patch On Wed, Feb 2, 2022 at 10:28 AM Alexander

Re: [OE-core] [PATCH 5/5] documentation: Update for skip_recipe rename

2022-02-04 Thread Quentin Schulz
Hi Saul, On 2/4/22 18:01, Saul Wold wrote: This change better aligns the name of the variable with it's purpose. Since we removed the odler class, the associated documentation is also removed. Signed-off-by: Saul Wold --- meta/conf/documentation.conf | 2 +- 1 file changed, 1 insertion(+),

[OE-core] [PATCH 2/5] imagefeatures: selftest: Change variable to be more descriptive

2022-02-04 Thread Saul Wold
This changes a couple of variables to be more representive of their usage. Signed-off-by: Saul Wold --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py

[OE-core] [PATCH 0/5] Use more descriptive variable for skipping recipes

2022-02-04 Thread Saul Wold
This patchset in conjuction with a meta-yocto and documentation patch change the varFlag for skipping a recipe to be SKIP_RECIPE. This removes the need to have to explicitly use the class by moving the code to base.bbclass. Tested with the Autobuilder (a-quick) and by using the PNBLACKLIST

[OE-core] [PATCH 1/5] skip_recipe: remove old class and rename VarFlag to SKIP_RECIPE

2022-02-04 Thread Saul Wold
This change better describes what the VarFlag is doing since it is implemeted with the SkipRecipe() function. By moving this into base.bbclass we simplify the distro inherit. Signed-off-by: Saul Wold --- meta/classes/base.bbclass | 10 ++ meta/classes/blacklist.bbclass |

[OE-core] [PATCH 5/5] documentation: Update for skip_recipe rename

2022-02-04 Thread Saul Wold
This change better aligns the name of the variable with it's purpose. Since we removed the odler class, the associated documentation is also removed. Signed-off-by: Saul Wold --- meta/conf/documentation.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 4/5] dnf: Use renamed SKIP_RECIPE varFlag

2022-02-04 Thread Saul Wold
This is a more descriptive variable name updated in base.bbclass Signed-off-by: Saul Wold --- meta/recipes-devtools/dnf/dnf_4.10.0.bb | 2 +- meta/recipes-devtools/libdnf/libdnf_0.65.0.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH 3/5] multilib: Use renamed SKIP_RECIPE varFlag

2022-02-04 Thread Saul Wold
This is a more descriptive variable name updated in base.bbclass Signed-off-by: Saul Wold --- meta/classes/multilib.bbclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 4a3e582816d..ec2013198ce

Re: [oe] [OE-core] Inclusive Language Proposal for YP/OE

2022-02-04 Thread Bryan Evenson
Enrico, > -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Enrico Scholz via > lists.openembedded.org > Sent: Friday, February 4, 2022 9:16 AM > To: Alexander Kanavin > Cc: Jon Mason ; Yocto-mailing-list > ; Patches and

Re: [OE-core] [PATCH] recipetool/create: Scan for SDPX-License-Identifier

2022-02-04 Thread Stefan Herbrechtsmeier
Am 04.02.2022 um 14:41 schrieb Richard Purdie: On Fri, 2022-02-04 at 10:05 +0100, Stefan Herbrechtsmeier wrote: Am 03.02.2022 um 22:24 schrieb Richard Purdie via lists.openembedded.org: On Thu, 2022-02-03 at 09:07 -0800, Saul Wold wrote: When a file can not be identified by checksum and they

Re: [oe] [OE-core] Inclusive Language Proposal for YP/OE

2022-02-04 Thread Enrico Scholz via lists.openembedded.org
Alexander Kanavin writes: >> > For BB_DISKMON_DIRS, the actions "ABORT, STOPTASKS and WARN" would >> > become "HALT, NO_NEW_TASKS and "WARN". >> >> I am not an native english speaker, but for "HALT" I will have to >> think twice whether it will pause the operation or abort it. I would >> stay

[OE-core] [honister][PATCH 17/17] libxml2: Backport python3-lxml workaround patch

2022-02-04 Thread Anuj Mittal
From: Carlos Rafael Giani This is a workaround for the following issue that affects python3-lxml: https://gitlab.gnome.org/GNOME/libxml2/-/issues/255 Signed-off-by: Carlos Rafael Giani Signed-off-by: Richard Purdie (cherry picked from commit 2f52be7c42ea37243f9aea1898ef7052904f9290)

[OE-core] [honister][PATCH 16/17] core-image-sato-sdk: allocate more memory when in qemu

2022-02-04 Thread Anuj Mittal
From: Ross Burton Compiling code is memory-intensive, especially kernel modules like the SystemTap probes, so give the VM 768MB of RAM. Using 1GB appears to cause PCI error, interestingly. Hopefully this solves the intermittent failures caused by OOMs during the SystemTap test. [ YOCTO #14673

[OE-core] [honister][PATCH 15/17] vim: upgrade to patch 4269

2022-02-04 Thread Anuj Mittal
From: Ross Burton Upgrade to the latest patch release to fix the following CVEs: - CVE-2022-0261 - CVE-2022-0318 - CVE-2022-0319 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 96442e681c3acd82b09e3becd78e902709945f1f) Signed-off-by: Anuj Mittal ---

[OE-core] [honister][PATCH 14/17] expat: upgrade to 2.4.4

2022-02-04 Thread Anuj Mittal
From: Ross Burton Fixes CVE-2022-23852 and CVE-2022-23990. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 4ed96683893e7433804ccf7a4000a2dd18318ef5) Signed-off-by: Anuj Mittal --- meta/recipes-core/expat/{expat_2.4.3.bb => expat_2.4.4.bb} | 2 +- 1 file

[OE-core] [honister][PATCH 13/17] libusb1: correct SRC_URI

2022-02-04 Thread Anuj Mittal
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit d4c37ca1f1e97d53045521e9894dc9ed5b1c22a1) Signed-off-by: Anuj Mittal --- meta/recipes-support/libusb/libusb1_1.0.24.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[OE-core] [honister][PATCH 12/17] yocto-check-layer: add debug output for the layers that were found

2022-02-04 Thread Anuj Mittal
From: Ross Burton When debugging weird yocto-check-layer output it is useful to know what the tool found when looking for layers. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 711e2d4d7baf36f8497741c14268d7f72d0db016) Signed-off-by: Anuj Mittal ---

[OE-core] [honister][PATCH 10/17] linux-yocto/5.10: update to v5.10.93

2022-02-04 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: fd187a492557 Linux 5.10.93 bed97c903621 mtd: fixup CFI on ixp4xx f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from

[OE-core] [honister][PATCH 11/17] linux-firmware: Add CLM blob to linux-firmware-bcm4373 package

2022-02-04 Thread Anuj Mittal
From: Rudolf J Streif The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not included with the files for the linux-firmware-bcm4373 package but instead packaged with linux-firmware. Signed-off-by: Rudolf J Streif Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [honister][PATCH 09/17] linux-yocto/5.10: update to v5.10.92

2022-02-04 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: c982c1a83932 Linux 5.10.92 c0091233f3d8 staging: greybus: fix stack size warning with UBSAN 66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in

[OE-core] [honister][PATCH 08/17] tiff: backport fix for CVE-2022-22844

2022-02-04 Thread Anuj Mittal
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit daf2880b7431aa641e02ebba8cbca40d81389088) Signed-off-by: Anuj Mittal --- ...al-buffer-overflow-for-ASCII-tags-wh.patch | 43 +++ meta/recipes-multimedia/libtiff/tiff_4.3.0.bb

[OE-core] [honister][PATCH 07/17] icu: fix make_icudata dependencies

2022-02-04 Thread Anuj Mittal
From: Kory Maincent The make_icudata task is set before the configure task then the dependencies for this task are not populate yet. Fixed it by adding do_prepare_recipe_sysroot task dependency to the make_icudata task. Signed-off-by: Kory Maincent Signed-off-by: Richard Purdie (cherry

[OE-core] [honister][PATCH 06/17] glibc : Fix CVE-2021-3999

2022-02-04 Thread Anuj Mittal
From: Pgowda Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=8c8a71c85f2ed5cc90d08d82ce645513fc907cb6] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=472e799a5f2102bc0c3206dbd5a801765fceb39c] Signed-off-by: pgowda Signed-off-by:

[OE-core] [honister][PATCH 05/17] glibc : Fix CVE-2021-3998

2022-02-04 Thread Anuj Mittal
From: Pgowda Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=062ff490c1467059f6cd64bb9c3d85f6cc6cf97a] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f7a79879c0b2bef0dadd6caaaeeb0d26423e04e5] Signed-off-by: pgowda Signed-off-by:

[OE-core] [honister][PATCH 04/17] sstate: Improve failure to obtain archive message/handling

2022-02-04 Thread Anuj Mittal
From: Richard Purdie The bb.fatal() case where sstate failed to find/use an archive in setcene tasks is suboptimal. Bitbakes handling of setscene tasks will be to warn but the fatal will turn this into an error, despite the real task being rerun. In these failure cases other messages would

[OE-core] [honister][PATCH 03/17] insane.bbclass: Correct package_qa_check_empty_dirs()

2022-02-04 Thread Anuj Mittal
From: Peter Kjellerstedt The oe.qa.add_message() method is not available in Honister, use package_qa_add_message() instead. Signed-off-by: Peter Kjellerstedt Signed-off-by: Anuj Mittal --- meta/classes/insane.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [honister][PATCH 00/17] Patch review

2022-02-04 Thread Anuj Mittal
Next set of changes for honister. Please review. No problems seen while testing. https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3185 Thanks, Anuj The following changes since commit 2d3c5b078feb34cb729902292d2805c9288ebc4c: glibc : Fix CVE-2022-23219 (2022-01-25 11:11:18

[OE-core] [honister][PATCH 02/17] sstate: A third fix for for touching files inside pseudo

2022-02-04 Thread Anuj Mittal
From: Peter Kjellerstedt This continues where commit676757f "sstate: fix touching files inside pseudo" and commit 29fc8599 "sstate: another fix for touching files inside pseudo" left off. The previous changes switched from trying to check if the sstate file is writable before touching it, to

[OE-core] [honister][PATCH 01/17] kernel: introduce python3-dtschema-wrapper

2022-02-04 Thread Anuj Mittal
From: Bruce Ashfield The 5.16 kernel introduced mandatory schema checking on any dtb file built through the kernel. That funcionality is provided via python3-dt-schema. The dependencies to enable that functionality is not small, and may not always be desired (in particular on architectures

Re: [oe] [OE-core] Inclusive Language Proposal for YP/OE

2022-02-04 Thread Alexander Kanavin
On Fri, 4 Feb 2022 at 14:21, Enrico Scholz via lists.openembedded.org wrote: > "Jon Mason" writes: > > > For BB_DISKMON_DIRS, the actions "ABORT, STOPTASKS and WARN" would > > become "HALT, NO_NEW_TASKS and "WARN". > > I am not an native english speaker, but for "HALT" I will have to think >

Re: [OE-core] [PATCH] recipetool/create: Scan for SDPX-License-Identifier

2022-02-04 Thread Richard Purdie
On Fri, 2022-02-04 at 10:05 +0100, Stefan Herbrechtsmeier wrote: > Hi Richard, > > Am 03.02.2022 um 22:24 schrieb Richard Purdie via lists.openembedded.org: > > On Thu, 2022-02-03 at 09:07 -0800, Saul Wold wrote: > > > When a file can not be identified by checksum and they contain an SPDX > > >

Re: [OE-core] Inclusive Language Proposal for YP/OE

2022-02-04 Thread Enrico Scholz via lists.openembedded.org
"Jon Mason" writes: > For BB_DISKMON_DIRS, the actions "ABORT, STOPTASKS and WARN" would > become "HALT, NO_NEW_TASKS and "WARN". I am not an native english speaker, but for "HALT" I will have to think twice whether it will pause the operation or abort it. I would stay at "ABORT" because it

[OE-core] [PATCH] common-licences: remove ambiguous "BSD" license

2022-02-04 Thread Ross Burton
Our "BSD" license is the 3-clause BSD license, but many recipes were using "BSD" for any variation of the license. We've mostly moved recipes away from the vague "BSD" license to concrete names such as "BSD-3-Clause", so delete the BSD license to force the remaining users to update their license

Re: [OE-core] [PATCH] recipetool/create: Scan for SDPX-License-Identifier

2022-02-04 Thread Stefan Herbrechtsmeier
Hi Richard, Am 03.02.2022 um 22:24 schrieb Richard Purdie via lists.openembedded.org: On Thu, 2022-02-03 at 09:07 -0800, Saul Wold wrote: When a file can not be identified by checksum and they contain an SPDX License-Identifier tag, use it as the found license. [YOCTO #14529] Tested with

Re: [OE-core] [hardknott] qemu CVE backports

2022-02-04 Thread Anuj Mittal
On Fri, 2022-02-04 at 03:36 +, Anuj Mittal wrote: > On Wed, 2022-02-02 at 12:01 -0500, Sakib Sajal wrote: > > Hi Anuj, > > > > The patches did go through. However, the patches are sent in two > > different threads, the first patch in one thread and patches 2 to 8 > > in > > another thread.

Re: [OE-core] [PATCH] recipetool/create: Scan for SDPX-License-Identifier

2022-02-04 Thread Stefan Herbrechtsmeier
Hi Saul, Am 03.02.2022 um 18:07 schrieb Saul Wold via lists.openembedded.org: When a file can not be identified by checksum and they contain an SPDX License-Identifier tag, use it as the found license. [YOCTO #14529] Tested with LICENSE files that contain 1 or more SPDX-License-Identifier