[OE-core] [PATCH][honister] ghostscript: fix CVE-2021-45949

2022-02-24 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- .../ghostscript/CVE-2021-45949.patch | 68 +++ .../ghostscript/ghostscript_9.54.0.bb | 1 + 2 files changed, 69 insertions(+) create mode 100644

[OE-core] [PATCH 2/2] selftest: drop distutils3 test from recipetool

2022-02-24 Thread Tim Orling
The distutils*.bbclasses have been moved from oe-core to meta-python, so drop test_recipetool_create_python3_distutils test case. [YOCTO #14610] Signed-off-by: Tim Orling --- meta/lib/oeqa/selftest/cases/recipetool.py | 19 --- 1 file changed, 19 deletions(-) diff --git

[OE-core] [PATCH 1/2] disutils*.bbclasses: move to meta-python

2022-02-24 Thread Tim Orling
distutils has been deprecated in Python 3.10 and will be removed in Python 3.12 (predicted release date October 2023). For now, move these classes from oe-core to meta-python to allow users to migrate. [YOCTO #14610] Signed-off-by: Tim Orling --- meta/classes/distutils-common-base.bbclass | 28

Re: [OE-core] [PATCH v2 1/2] setuptools3.bbclass: add check for pyproject.toml

2022-02-24 Thread Tim Orling
Hold off on this one On Thu, Feb 24, 2022 at 8:04 PM Tim Orling wrote: > From: Tim Orling > > With help from Peter Kjellerstedt via IRC. > > Add a check for pyproject.toml in ${S} and if so check if it has a > [build-system] build-backend. Give the user a helpful warning that > the recipe

Re: [oe-core][PATCH 1/1] zip: modify when match.S is built

2022-02-24 Thread Khem Raj
On Thu, Feb 24, 2022 at 6:48 PM Joe Slater wrote: > > Use the correct $CPP to test if match.S is buildable, > and do not build it if QA checks require PIC code. > > Signed-off-by: Joe Slater > --- > .../0001-configure-use-correct-CPP.patch | 47 +++ >

[OE-core] [PATCH v2 2/2] pip_install_wheel: improved wheel filename guess

2022-02-24 Thread Tim Orling
From: Tim Orling Rather than only use PYPI_PACKAGE as a guess, fall back on PN for cases where a recipe does not inherit pypi. Wheels can only have alphanumeric characters in the 'distribution' name [1]. Any other characters are replaced with an underscore. Provide a function to replace dash

[OE-core] [PATCH v2 1/2] setuptools3.bbclass: add check for pyproject.toml

2022-02-24 Thread Tim Orling
From: Tim Orling With help from Peter Kjellerstedt via IRC. Add a check for pyproject.toml in ${S} and if so check if it has a [build-system] build-backend. Give the user a helpful warning that the recipe should be changed to one of the PEP-517 classes (instead of setuptools3.bbclass). Add

[oe-core][PATCH 1/1] zip: modify when match.S is built

2022-02-24 Thread Joe Slater
Use the correct $CPP to test if match.S is buildable, and do not build it if QA checks require PIC code. Signed-off-by: Joe Slater --- .../0001-configure-use-correct-CPP.patch | 47 +++ ...002-configure-support-PIC-code-build.patch | 34 ++

[OE-core] [PATCH] python3-flit-core: inherit pip_install_wheel

2022-02-24 Thread Tim Orling
Keep the pip install logic, especially --root in one place to ensure that we fix e.g. reproducible issues in one place. Signed-off-by: Tim Orling --- .../python/python3-flit-core_3.6.0.bb | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git

[OE-core] [PATCH v2] license.py: rename variables

2022-02-24 Thread Saul Wold
Update the comment to reflect new variable names Signed-off-by: Saul Wold --- v2: Update comment and change include -> include_licenses, exclude -> exclude_licenses meta/lib/oe/license.py | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git

Re: [OE-core] [PATCH v2] systemd: move systemd shared library into its own package

2022-02-24 Thread Richard Purdie
On Wed, 2022-02-23 at 17:17 +0100, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier > > Move the systemd shared library (libsystemd-shared.so) into its own > package to prevent a runtime dependency from udev package to systemd > package and thereby to a second init manager. > >

Re: [OE-core] [PATCH v4] Rust Oe-Selftest implementation

2022-02-24 Thread Randy MacLeod
On 2022-02-24 10:22, Pgowda wrote: The patch implements Rust testing framework similar to other selftest, specifically the gcc selftest in OE. It uses the client and server based method to test the binaries for cross-target on the image. The test framework is a wrapper around the Rust build

Re: [OE-core] [PATCH] license.py: rename variables

2022-02-24 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Saul Wold > Sent: den 24 februari 2022 16:27 > To: openembedded-core@lists.openembedded.org > Cc: Saul Wold > Subject: [OE-core] [PATCH] license.py: rename variables > > Update the comment to reflect

[OE-core] [PATCH] files: overlayfs-create-dirs: split ExecStart into two commands

2022-02-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Split ExecStart into two commands because systemd interpret an ExecStart entry as a single executable with multiple parameters. systemd[1]: Starting Overlayfs directories setup... mkdir: cannot create directory '&&': Read-only file system mkdir: cannot create

[OE-core] [PATCH] classes: rootfs-postcommands: avoid exception in overlayfs_qa_check

2022-02-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The overlayfs_qa_check in the rootfs-postcommands class throws an exception if the overlayfs distro feature is enabled but no global OVERLAYFS_MOUNT_POINT is specifived. File: '/home/stefan/dalos-linutronix/poky/meta/classes/rootfs-postcommands.bbclass', lineno:

Re: [OE-core] [PATCH v3 00/32] Python PEP-517: build wheels and install with pip

2022-02-24 Thread Konrad Weihmann
I got a kind of general question about this patch series and all the followups: is this still considered to go into the next release? I'm a bit worried about the fallout of this pretty invasive change - even though I see that at some point it needs to be done. My understanding is that the

[OE-core] [meta-oe][PATCH v2] libsndfile1: bump to version 1.0.31

2022-02-24 Thread Alexandru Ardelean
It seems that the homepage has moved (for a while now) from http://www.mega-nerd.com/libsndfile/ to https://libsndfile.github.io/libsndfile/ On Github, the development group seems to include Erik de Castro Lopo (the original author of libsndfile1). Link:

[OE-core] [PATCH] license.py: rename variables

2022-02-24 Thread Saul Wold
Update the comment to reflect new variable names Signed-off-by: Saul Wold --- meta/lib/oe/license.py | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py index b5d378a549b..4cd382b4fd7 100644 ---

Re: [OE-core] [meta-oe][PATCH] libsndfile1: bump to version 1.0.31

2022-02-24 Thread Alexandru Ardelean
On Thu, Feb 24, 2022 at 5:05 PM Richard Purdie wrote: > > On Thu, 2022-02-24 at 14:59 +0200, Alexandru Ardelean wrote: > > diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb > > b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb > > deleted file mode 100644 > > index

[OE-core] [PATCH v4] Rust Oe-Selftest implementation

2022-02-24 Thread Pgowda
The patch implements Rust testing framework similar to other selftest, specifically the gcc selftest in OE. It uses the client and server based method to test the binaries for cross-target on the image. The test framework is a wrapper around the Rust build system as ./x.py test. It tests many

[OE-core] [meta][dunfell][PATCH] libarchive: Fix for CVE-2021-36976

2022-02-24 Thread virendra thakur
From: Virendra Thakur Add patch to fix CVE-2021-36976 CVE-2021-36976 fix are provided by below mentioned pull request. 1) https://github.com/libarchive/libarchive/pull/1491 2) https://github.com/libarchive/libarchive/pull/1492 3) https://github.com/libarchive/libarchive/pull/1493

Re: [OE-core] [meta-oe][PATCH] libsndfile1: bump to version 1.0.31

2022-02-24 Thread Richard Purdie
On Thu, 2022-02-24 at 14:59 +0200, Alexandru Ardelean wrote: > diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb > b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb > deleted file mode 100644 > index b8e703d084..00 > ---

[OE-core] [PATCH 3/3] insane: use HOST_ variables, not TARGET_ to determine the cross system

2022-02-24 Thread Alexander Kanavin
Almost everywhere those are the same, except when making a cross toolchain where HOST_ is where it's going to run, and TARGET_ is what it's going to produce. Signed-off-by: Alexander Kanavin --- meta/classes/insane.bbclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[OE-core] [PATCH 2/3] sstate: do not add TARGET_ARCH to pkgarch for cross recipes.

2022-02-24 Thread Alexander Kanavin
This is redundant (target arch is already in PN), and breaks compiling a cross-canadian toolchain, as that needs populating the sysroot with two different native-hosted toolchains built from cross recipes. Inserting TARGET_ARCH allows only one or the other. Signed-off-by: Alexander Kanavin ---

[OE-core] [PATCH 1/3] base/staging: use HOST_PREFIX, not TARGET_PREFIX

2022-02-24 Thread Alexander Kanavin
This matters when cross-compiling a cross-toolchain: we need to specify the system where the toolchain will run, not the system it will produce output for. For everything else, HOST and TARGET are the same. Signed-off-by: Alexander Kanavin --- meta/classes/base.bbclass| 2 +-

[OE-core] [PATCH 0/3] Fixes to enable cross-canadian toolchains

2022-02-24 Thread Alexander Kanavin
I've been working to enable putting a cross-compiler on a regular Yocto target (as opposed to SDKs), and these are the changes needed in oe-core to enable that. Two of them swap TARGET for HOST (the terminology is set by the GNU project, it is confusing, but it still needs to be followed), one

[OE-core] [PATCH] python-pip: Improve reproducibility

2022-02-24 Thread Richard Purdie
Pip installed wheels are not reproducible currently. The direct_url files encode an installation path and the installed wheels compile the python files at their location, not their final install location which is incorrect. To fix this, simply disable the direct_urls and pass the "root" to the

Re: [OE-core] [PATCH 2/2] pip_install_wheel: improved wheel filename guess

2022-02-24 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Tim Orling > Sent: den 24 februari 2022 05:12 > To: openembedded-core@lists.openembedded.org > Cc: Tim Orling > Subject: [OE-core] [PATCH 2/2] pip_install_wheel: improved wheel filename > guess > >

[OE-core] [PATCH v2] gtk-icon-cache: Allow using gtk4

2022-02-24 Thread Zoltan Boszormenyi via lists.openembedded.org
From: Zoltán Böszörményi meta-openembedded has gtk4 which has its own version of gtk-update-icon-cache. Allow programs that want to use gtk4 use the proper version of the gtk-update-icon-cache utility and the proper build and runtime dependencies. Also use a more readable syntax for conditional

[OE-core] [meta-oe][PATCH] libsndfile1: bump to version 1.0.31

2022-02-24 Thread Alexandru Ardelean
It seems that the homepage has moved (for a while now) from http://www.mega-nerd.com/libsndfile/ to https://libsndfile.github.io/libsndfile/ On Github, the development group seems to include Erik de Castro Lopo (the original author of libsndfile1). Link:

Re: [OE-core] [PATCH] gtk-icon-cache: Allow using gtk4

2022-02-24 Thread Zoltan Boszormenyi via lists.openembedded.org
2022. 02. 24. 13:48 keltezéssel, Ross Burton írta: On Thu, 24 Feb 2022 at 07:23, Zoltan Boszormenyi via lists.openembedded.org wrote: +${@['${GTKPN}', '']['${BPN}' == '${GTKPN}']} \ I know this was the syntax originally here, but please change this to use the "a if b else c"

Re: [OE-core] [PATCH] gtk-icon-cache: Allow using gtk4

2022-02-24 Thread Ross Burton
On Thu, 24 Feb 2022 at 07:23, Zoltan Boszormenyi via lists.openembedded.org wrote: > +${@['${GTKPN}', '']['${BPN}' == '${GTKPN}']} \ I know this was the syntax originally here, but please change this to use the "a if b else c" syntax used elsewhere. Ross -=-=-=-=-=-=-=-=-=-=-=-

Re: [OE-core] [PATCH] libsecret: upgrade 0.20.4 -> 0.20.5

2022-02-24 Thread Richard Purdie
On Wed, 2022-02-23 at 19:46 +0800, wangmy wrote: > determinism.patch > removed since it's included in 0.20.5 > > Changelog: > = > * Drop autotools-based build [!44] > * Use G_GNUC_NULL_TERMINATED where appropriate [!65] > * collection, methods, prompt: Port to GTask [!66, !93] > *

[OE-core] [PATCH V2 1/1] depmodwrapper-cross: add config directory option

2022-02-24 Thread Ming Liu
From: Oleksandr Suvorov Native depmod by default try to find config files from the following directories: ``` ${STAGING_ETCDIR_NATIVE}/depmod.d /run/depmod.d /usr/local/lib/depmod.d /lib/depmod.d ``` but none of them is correct, change to load config files from ${sysconfdir}/depmod.d of

[OE-core] [PATCH V2 0/1] depmodwrapper-cross: add config directory option

2022-02-24 Thread Ming Liu
From: Ming Liu Changes in V2: - Replace hard-coded /etc to ${sysconfdir} Oleksandr Suvorov (1): depmodwrapper-cross: add config directory option meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1

[OE-core]] depmodwrapper-cross: add config directory option

2022-02-24 Thread Ming Liu
From: Oleksandr Suvorov Native depmod by default try to find config files from the following directories: ``` ${STAGING_ETCDIR_NATIVE}/depmod.d /run/depmod.d /usr/local/lib/depmod.d /lib/depmod.d ``` but none of them is correct, change to load config files from ${sysconfdir}/depmod.d of