[OE-core] [PATCH] binutils: Bump to latest 2.38 release branch

2022-05-16 Thread Samuli Piippo
Fixes Qt build with GCC 12.1. Brings following fixes * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps specified * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check * 8d1187516e3 Adjust ld ctf test for 32-bit targets * 9c67f6382ac x86: Properly handle function

Re: [OE-core] [kirkstone] [PATCH 1/1] mmc-utils: upgrade to latest revision

2022-05-16 Thread Ming Liu
Hi, Richard: Our products are based on LTS kirkstone, we found a build issue of mmc-utils, which has been fixed by https://kernel.googlesource.com/pub/scm/utils/mmc/mmc-utils/+/0d493fb091b592bde6004a618c28f1c3619af1a4 this uplift only involves in two commits including the above fix: ``` b7e4d5a

Re: [OE-core] [PATCH] sanity.bbclass: grammar/typo fixes re: Python install

2022-05-16 Thread Luca Ceresoli via lists.openembedded.org
Hi Robert, Il giorno Thu, 12 May 2022 04:45:57 -0400 (EDT) "Robert P. J. Day" ha scritto: > Clean up various spelling/grammar oopsies in a small section of > sanity.bbclass. > > Signed-off-by: Robert P. J. Day > > --- > > diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass

Re: [OE-core] [PATCH] eudev: create static nodes from modules

2022-05-16 Thread Alex Kiernan
Untested, but if its useful (I suspect cut & paste will have broken spaces): diff --git a/meta/recipes-core/udev/eudev/init b/meta/recipes-core/udev/eudev/init index c60dbbf6d512..64cd0ea3ef39 100644 --- a/meta/recipes-core/udev/eudev/init +++ b/meta/recipes-core/udev/eudev/init @@ -23,6 +23,38 @@

Re: [OE-core] [PATCH] python3-cryptography: add python3-pytest-benchmark rdepends

2022-05-16 Thread Luca Ceresoli via lists.openembedded.org
Hi Yu, Il giorno Sat, 14 May 2022 10:13:15 +0800 "Yu, Mingli" ha scritto: > From: Mingli Yu > > The new version introduced below change, so add > python3-pytest-benchmark to rdepends to fix the gap. > 496703c8 Refs #7079 -- added basic scaffholding for benchmarks (#7087) > > Fixes: > # ./ru

[OE-core] [kirkstone][PATCH 1/2] qemu: backport patch for CVE-2021-4206

2022-05-16 Thread Davide Gardenal
CVE: CVE-2021-4206 Upstream fix: https://git.qemu.org/?p=qemu.git;a=commit;h=fa892e9abb728e76afcf27323ab29c57fb0fe7aa Signed-off-by: Davide Gardenal --- meta/recipes-devtools/qemu/qemu.inc | 1 + .../qemu/qemu/CVE-2021-4206.patch | 89 +++ 2 files changed,

[OE-core] [kirkstone][PATCH 2/2] qemu: backport patch for CVE-2021-4207

2022-05-16 Thread Davide Gardenal
CVE: CVE-2021-4207 Upstream fix: https://git.qemu.org/?p=qemu.git;a=commit;h=9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895 Signed-off-by: Davide Gardenal --- meta/recipes-devtools/qemu/qemu.inc | 1 + .../qemu/qemu/CVE-2021-4207.patch | 43 +++ 2 files changed,

[OE-core] [kirkstone][PATCH] libxml2: Upgrade 2.9.13 -> 2.9.14

2022-05-16 Thread Davide Gardenal
Signed-off-by: Jiaqing Zhao Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie Cherry-picked from master/c4ba21f4012e8859fc793bec7df76e56eb8058ec Signed-off-by: Davide Gardenal --- .../CVE-2022-23308-fix-regression.patch | 99 --- .../libxml2/libxml-m4-use-pkgco

[OE-core] [PATCH] staging: Fix rare sysroot corruption issue

2022-05-16 Thread Richard Purdie
We've seen failures on the autobuilder in oe-selftest where things which should be in the sysroot aren't. The exact steps to reproduce the exact failure are elusive and probably hash equivalance dependency but this set of steps does reproduce corruption which is probably of the same origin: Add DI

[OE-core] [poky][dunfell][PATCH] curl: Fix CVEs for curl

2022-05-16 Thread sana kazi
From: Sana Kazi Fix below listed CVEs: CVE-2022-22576 Link: https://github.com/curl/curl/commit/852aa5ad351ea53e5f01d2f44b5b4370c2bf5425.patch CVE-2022-27775 Link: https://github.com/curl/curl/commit/058f98dc3fe595f21dc26a5b9b1699e519ba5705.patch CVE-2022-27776 Link: https://github.com/curl/

[OE-core] [PATCH] squashfs-tools: always install prebuilt manpage

2022-05-16 Thread Changqing Li
From: Changqing Li When other feature enabled, and involve help2man into squashfs-tools's recipe-sysroot-native, install-manpages.sh will run target binary on build host, eg: mksquashfs --help, which will cause error. Eg: ../squashfs-tools/mksquashfs: /lib/x86_64-linux-gnu/libc.so.6: version `G

Re: [OE-core] [PATCH] squashfs-tools: always install prebuilt manpage

2022-05-16 Thread Richard Purdie
On Mon, 2022-05-16 at 18:42 +0800, Changqing Li wrote: > From: Changqing Li > > When other feature enabled, and involve help2man into squashfs-tools's > recipe-sysroot-native, install-manpages.sh will run target binary on > build host, eg: mksquashfs --help, which will cause error. > Eg: > ../sq

[OE-core] [PATCH] selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES

2022-05-16 Thread Richard Purdie
Using += unintentionally removes all over entries from DISTRO_FEATURES and this reduces sstate reusage on the autobuilder. Fix this to speed up builds. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 +- meta/lib/oeqa/selftest/cases/overlayfs.py | 16

Re: [OE-core] [PATCH] selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES

2022-05-16 Thread Jacob Kroon
Hi Richard, On 5/16/22 13:28, Richard Purdie wrote: Using += unintentionally removes all over entries from DISTRO_FEATURES and "over", you mean "other" ? If so, how is that possible ? this reduces sstate reusage on the autobuilder. Fix this to speed up builds. /Jacob -=-=-=-=-=-=-=-=-=-=-

Re: [OE-core] [PATCH] selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES

2022-05-16 Thread Richard Purdie
On Mon, 2022-05-16 at 13:43 +0200, Jacob Kroon wrote: > Hi Richard, > > On 5/16/22 13:28, Richard Purdie wrote: > > Using += unintentionally removes all over entries from DISTRO_FEATURES and > > "over", you mean "other" ? If so, how is that possible ? I mean other, I'll fix the typo. It happens

Re: [OE-core] [PATCH] selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES

2022-05-16 Thread Jacob Kroon
On 5/16/22 14:38, richard.pur...@linuxfoundation.org wrote: On Mon, 2022-05-16 at 13:43 +0200, Jacob Kroon wrote: Hi Richard, On 5/16/22 13:28, Richard Purdie wrote: Using += unintentionally removes all over entries from DISTRO_FEATURES and "over", you mean "other" ? If so, how is that possi

Re: [OE-core] [PATCH] selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES

2022-05-16 Thread Richard Purdie
On Mon, 2022-05-16 at 14:52 +0200, Jacob Kroon wrote: > On 5/16/22 14:38, richard.pur...@linuxfoundation.org wrote: > > On Mon, 2022-05-16 at 13:43 +0200, Jacob Kroon wrote: > > > Hi Richard, > > > > > > On 5/16/22 13:28, Richard Purdie wrote: > > > > Using += unintentionally removes all over entr

Re: [OE-core] [PATCH] selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES

2022-05-16 Thread Quentin Schulz
Hi Jacob, On 5/16/22 14:52, Jacob Kroon wrote: On 5/16/22 14:38, richard.pur...@linuxfoundation.org wrote: On Mon, 2022-05-16 at 13:43 +0200, Jacob Kroon wrote: Hi Richard, On 5/16/22 13:28, Richard Purdie wrote: Using += unintentionally removes all over entries from DISTRO_FEATURES and "o

Re: [OE-core] [PATCH] selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES

2022-05-16 Thread Jacob Kroon
On 5/16/22 15:01, Quentin Schulz wrote: Hi Jacob, On 5/16/22 14:52, Jacob Kroon wrote: On 5/16/22 14:38, richard.pur...@linuxfoundation.org wrote: On Mon, 2022-05-16 at 13:43 +0200, Jacob Kroon wrote: Hi Richard, On 5/16/22 13:28, Richard Purdie wrote: Using += unintentionally removes all ov

Re: [OE-core] [PATCH] eudev: create static nodes from modules

2022-05-16 Thread Alex Kiernan
On Mon, May 16, 2022 at 9:07 AM Alex Kiernan via lists.openembedded.org wrote: > > Untested, but if its useful (I suspect cut & paste will have broken spaces): > > diff --git a/meta/recipes-core/udev/eudev/init > b/meta/recipes-core/udev/eudev/init > index c60dbbf6d512..64cd0ea3ef39 100644 > --- a

[OE-Core][dunfell][PATCH] tiff: Add patches to fix multiple CVEs

2022-05-16 Thread Ranjitsinh Rathod
From: Ranjitsinh Rathod Add patches to fix below CVE issues CVE-2022-0865 CVE-2022-0907 CVE-2022-0908 CVE-2022-0909 CVE-2022-0924 Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../libtiff/files/CVE-2022-0865.patch | 39 .../libtiff/files/CVE-2022-0907.

Re: [OE-core] [kirkstone] [PATCH 1/1] mmc-utils: upgrade to latest revision

2022-05-16 Thread Steve Sakoman
On Sun, May 15, 2022 at 9:17 PM Ming Liu wrote: > Our products are based on LTS kirkstone, we found a build issue of mmc-utils, > which has been fixed by > https://kernel.googlesource.com/pub/scm/utils/mmc/mmc-utils/+/0d493fb091b592bde6004a618c28f1c3619af1a4 So this error only occurs if you ar

Re: [OE-core] [AUH] u-boot-tools: upgrading to 2022.04 FAILED

2022-05-16 Thread Alexander Kanavin
On Sun, 15 May 2022 at 19:15, Auto Upgrade Helper wrote: > do_compile failed The u-boot update is held by https://source.denx.de/u-boot/u-boot/-/issues/12 Please address :) Alex -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#165686): https://li

Re: [OE-core] [AUH] u-boot-tools: upgrading to 2022.04 FAILED

2022-05-16 Thread Tom Rini
On Mon, May 16, 2022 at 04:43:47PM +0200, Alexander Kanavin wrote: > On Sun, 15 May 2022 at 19:15, Auto Upgrade Helper > wrote: > > do_compile failed > > The u-boot update is held by > https://source.denx.de/u-boot/u-boot/-/issues/12 > > Please address :) I've followed up in the issue tracker

Re: [OE-core] [PATCH] binutils: Bump to latest 2.38 release branch

2022-05-16 Thread Khem Raj
On 5/16/22 12:11 AM, Samuli Piippo wrote: Fixes Qt build with GCC 12.1. Brings following fixes * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps specified * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check * 8d1187516e3 Adjust ld ctf test for 32-bit tar

[OE-core] [PATCH 1/2] python3-setuptools: upgrade to 62.2.0

2022-05-16 Thread Ross Burton
Drop 0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch as the in-tree copy of sysconfig now simply calls the one in Python, so this is not needed anymore. Drop 0001-change-shebang-to-python3.patch as it is patching a file which never gets executed directly, so is pointless. Signed-o

[OE-core] [PATCH 2/2] python3-setuptools-scm: add DEPENDS on tomli to self-build

2022-05-16 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb b/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb index e09c598bf52..bc483f0

Re: [OE-core] [PATCH 1/2] python3-setuptools: upgrade to 62.2.0

2022-05-16 Thread Alexander Kanavin
I'm afraid a bit more fixing is necessary (specifically the side-porting of the (in)famous 'mikey special'): https://git.yoctoproject.org/poky-contrib/commit/?h=akanavin/package-version-updates&id=847bfe3baf5a6117ca9e7053502335d0edc68ed6 Alex On Mon, 16 May 2022 at 19:10, Ross Burton wrote: > >

[OE-core] [PATCHv2 2/2] base-passwd: Update to 3.5.52

2022-05-16 Thread Peter Kjellerstedt
* Add a patch to allow the use of debconf to be disabled. * Replace 0007-Disable-generation-of-the-documentation.patch with a new patch to disable the generation of the documentation using a configuration option. * Replace 0006-Disable-shell-for-default-users.patch with a sed expression that

[OE-core] [PATCHv2 1/2] base-passwd: Regenerate the patches

2022-05-16 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt --- PATCHv2: No changes. .../0001-Add-a-shutdown-group.patch | 26 +++ ...nstead-of-bin-bash-for-the-root-user.patch | 23 + ...t-since-we-do-not-have-an-etc-shadow.patch | 21 ...nput-group-for-the-dev-input-devic

[OE-Core][PATCH] cve-check: Fix rootfs CVE generation

2022-05-16 Thread Alex Kiernan
Building an image with INHERIT += "cve-check" fails with undefined variables and fails to pass d into pure python functions: ERROR: core-image-minimal-1.0-r0 do_rootfs: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in thi

[OE-Core][PATCH 3/3] eudev: Use PACKAGE_BEFORE_PN/${PN}

2022-05-16 Thread Alex Kiernan
Use PACKAGE_BEFORE_PN for packages which need to capture files early, switch to idiomatic ${PN} for additional packages. Signed-off-by: Alex Kiernan Signed-off-by: Alex Kiernan --- meta/recipes-core/udev/eudev_3.2.11.bb | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff -

[OE-Core][PATCH 1/3] eudev: Convert dependencies to PACKAGECONFIG

2022-05-16 Thread Alex Kiernan
GObject support was dropped in 252150e181c5 ("src/gudev: remove Gobject libudev support."), but some gir support appears to still exist. Fill out PACKAGECONFIG options. Signed-off-by: Alex Kiernan Signed-off-by: Alex Kiernan --- meta/recipes-core/udev/eudev_3.2.11.bb | 9 ++--- 1 file chan

[OE-Core][PATCH 2/3] eudev: Cleanup redundant configuration

2022-05-16 Thread Alex Kiernan
hid2hci moved to bluez4 in 2011. The FILES changes for ${PN} and ${PN}-dev only added existing defaults into the set. Signed-off-by: Alex Kiernan Signed-off-by: Alex Kiernan --- meta/recipes-core/udev/eudev_3.2.11.bb | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/me

[OE-core] Installing locale.alias from glibc

2022-05-16 Thread Charlie Johnston
Hi, What's the proper way to install the "/usr/share/locale/locale.alias" file from glibc? I'm trying to use it to work around some legacy locale problems. I can see it's included in "glibc-locale-locale.alias" when I look at built feeds but that package isn't provided/rprovided by a recipe any

Re: [OE-core] [PATCHv2 2/2] base-passwd: Update to 3.5.52

2022-05-16 Thread Richard Purdie
On Mon, 2022-05-16 at 20:14 +0200, Peter Kjellerstedt wrote: > * Add a patch to allow the use of debconf to be disabled. > * Replace 0007-Disable-generation-of-the-documentation.patch with a new > patch to disable the generation of the documentation using a > configuration option. > * Replace 0

[OE-core] [PATCH] musl-locales: Switch SRC_URI to new location

2022-05-16 Thread Khem Raj
Original repository has been less maintained and thusly adelie linux community has picked up the package and started to maintain it also applied long standing bug fixes. Now we use new fork by Adélie Linux, which includes more supported locales. Signed-off-by: Khem Raj --- meta/recipes-core/mus

Re: [OE-core] [PATCH] eudev: create static nodes from modules

2022-05-16 Thread Changqing Li
From: Alex Kiernan Sent: Monday, May 16, 2022 9:25 PM To: Alex Kiernan Cc: Li, Changqing ; richard.pur...@linuxfoundation.org ; Patches and discussions about the oe-core layer Subject: Re: [OE-core] [PATCH] eudev: create static nodes from modules [Please no

[OE-core] OpenEmbedded Developer meeting reminder

2022-05-16 Thread Philip Balister
We are finalizing the agenda for the developer meeting this Friday (May 20). The agenda has some topics carried from prior meetings and some new ideas we will cover at the bottom. We would like to get additional topics that matter to users and developers. Please review: https://www.openembedde

Re: [OE-core] [PATCH] squashfs-tools: always install prebuilt manpage

2022-05-16 Thread Changqing Li
From: richard.pur...@linuxfoundation.org Sent: Monday, May 16, 2022 6:54 PM To: Li, Changqing ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH] squashfs-tools: always install prebuilt manpage [Please note: This e-mail is from an EXTERN

[OE-core] [PATCH] librepo: upgrade 1.14.2 -> 1.14.3

2022-05-16 Thread wangmy
Signed-off-by: Wang Mingyu --- .../librepo/{librepo_1.14.2.bb => librepo_1.14.3.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/librepo/{librepo_1.14.2.bb => librepo_1.14.3.bb} (94%) diff --git a/meta/recipes-devtools/librepo/librepo_1.14.2.bb

Re: [OE-core] [PATCH] binutils: Bump to latest 2.38 release branch

2022-05-16 Thread Samuli Piippo
Previous update brought caa6172de4b x86: Disallow invalid relocation against protected symbol and it was later fixed in 9c67f6382ac x86: Properly handle function pointer reference https://bugreports.qt.io/browse/QTBUG-103465 On Mon, 16 May 2022 at 19:12, Khem Raj wrote: > > > On 5/16/22 12:11 A

Re: [OE-Core][PATCH] cve-check: Fix rootfs CVE generation

2022-05-16 Thread Marta Rybczynska
On Mon, May 16, 2022 at 9:45 PM Alex Kiernan wrote: > Building an image with INHERIT += "cve-check" fails with undefined > variables and fails to pass d into pure python functions: > > Thank you Alex for this fix. It fixes the case of a standard build. I will be sending a followup for a case of r

[OE-core] [PATCH] cve-check: Fix report generation

2022-05-16 Thread Marta Rybczynska
The addition of summary output caused two issues: error when building an image and the fact that JSON output was generated even when CVE_CHECK_FORMAT_JSON. When generating an image it caused an error like: ERROR: core-image-minimal-1.0-r0 do_rootfs: Error executing a python function in exec_func_

[OE-core] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2022-05-16 Thread Stephen Jolley
All, The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading: https://wiki.yoctoproject.org/wiki/Bug_Triage#Newc