Re: [OE-core][PATCH V2] mdadm: install mdcheck

2022-02-06 Thread Chen Qi
Just noticed this patch does not apply any more. I will send out V3 which applies to latest master. On 2/7/22 9:55 AM, Chen Qi wrote: ping On 1/26/22 2:54 PM, Chen Qi wrote: This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to

[OE-core] [PATCH] toolchain-scripts.bbclass: use double quotes for exported PS1

2022-02-06 Thread kai
From: Kai Kang Use double quotes("") rather than single quotes('') for PS1 in EXPORT_SDK_PS1 which will be exported in SDK environment file. Then it could set PS1 for SDK env with some variables in host env, such as the original PS1. The SDK PS1 could be some distinct words plus original PS1

Re: [OE-core] About the sstate cache directory hierarchy

2022-02-06 Thread Chen Qi
On 1/28/22 6:29 PM, Alexander Kanavin wrote: I do like the idea; not everyone has a pcie gen4/5 ssd for builds, or rigorously trims sstate on a schedule. But there may be consequences or regressions, maybe RP will immediately shoot it down :) I would however still place a single level of

Re: [OE-core][PATCH V2] mdadm: install mdcheck

2022-02-06 Thread Chen Qi
ping On 1/26/22 2:54 PM, Chen Qi wrote: This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to RDEPENDS. Signed-off-by: Chen Qi --- .../files/0001-Makefile-install-mdcheck.patch | 30 +++

[OE-core] [PATCH 17/17] gst-devtools: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- Add new meson options Signed-off-by: Jose Quaresma --- .../{gst-devtools_1.18.5.bb => gst-devtools_1.20.0.bb} | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.18.5.bb => gst-devtools_1.20.0.bb} (90%) diff --git

[OE-core] [PATCH 16/17] gstreamer1.0-python: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- Add new meson options Signed-off-by: Jose Quaresma --- ...1.0-python_1.18.5.bb => gstreamer1.0-python_1.20.0.bb} | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.18.5.bb => gstreamer1.0-python_1.20.0.bb} (82%)

[OE-core] [PATCH 15/17] gstreamer1.0-omx: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- .../{gstreamer1.0-omx_1.18.5.bb => gstreamer1.0-omx_1.20.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.18.5.bb => gstreamer1.0-omx_1.20.0.bb} (95%) diff --git

[OE-core] [PATCH 14/17] gstreamer1.0-vaapi: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- ...streamer1.0-vaapi_1.18.5.bb => gstreamer1.0-vaapi_1.20.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.18.5.bb => gstreamer1.0-vaapi_1.20.0.bb} (95%) diff --git

[OE-core] [PATCH 13/17] gstreamer1.0-libav: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- License update: The code actually is LGPLv2.1 but the COPYING file is wrong. https://gitlab.freedesktop.org/gstreamer/gst-libav/-/commit/678773bb6468e815c180ff82a09d863451e89ba8 - Drop backported patches 0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch - Add new meson options

[OE-core] [PATCH 12/17] gstreamer1.0-rtsp-server: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- License update: The code actually is LGPLv2.1 but the COPYING file is wrong. https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/commit/cc5cdab0165e3bdf5f4f748b3ba2a3493d304e70 Signed-off-by: Jose Quaresma --- ...sp-server_1.18.5.bb => gstreamer1.0-rtsp-server_1.20.0.bb} | 4 ++--

[OE-core] [PATCH 11/17] gstreamer1.0-plugins-ugly: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- Add new meson options gpl: Allow build plugins that have GPL-licensed dependencies a52dec: Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!) cdio: CD audio source plugin based on libcdio (GPL - only built if gpl option is also

[OE-core] [PATCH 10/17] gstreamer1.0-plugins-bad: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- Remove meson options libmms ofa - Add new meson options gpl: Allow build plugins that have GPL-licensed dependencies faad: Free AAC audio decoder plugin (GPL - only built if gpl option is also enabled!) resindvd: Resin DVD playback plugin (GPL - only built if gpl option is also

[OE-core] [PATCH 09/17] gstreamer1.0-plugins-good: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- ...ugins-good_1.18.5.bb => gstreamer1.0-plugins-good_1.20.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.18.5.bb => gstreamer1.0-plugins-good_1.20.0.bb} (97%) diff --git

[OE-core] [PATCH 08/17] gstreamer1.0-plugins-base: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- License update: The code actually is LGPLv2.1 but the COPYING file is wrong. https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/commit/e5382fe84ccaa17cad3569f2fd061ac0b499329c - Drop unneed patches 0004-glimagesink-Downrank-to-marginal.patch - Add new meson options qt5 is

[OE-core] [PATCH 04/17] glslang: upgrade 11.7.1 -> 11.8.0

2022-02-06 Thread Jose Quaresma
* Add support for SPIR-V 1.6 * Add support for Vulkan 1.3 * Add --hlsl-dx-position-w option Update LICENSE.txt - Expand the GPL 3 with special bison exception to the fully expanded license. Signed-off-by: Jose Quaresma --- .../glslang/{glslang_11.7.1.bb => glslang_11.8.0.bb} | 4 ++--

[OE-core] [PATCH 07/17] gstreamer1.0: upgrade 1.18.5 -> 1.20.0

2022-02-06 Thread Jose Quaresma
- License update: The code actually is LGPLv2.1 but the COPYING file is wrong. https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/d157b23fb0ce175b167611a4cb019599d9017042 - Drop backported patches 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch

[OE-core] [PATCH 05/17] shaderc: upgrade 2021.3 -> 2021.4

2022-02-06 Thread Jose Quaresma
- Support Vulkan 1.3 - Support targeting SPIR-V 1.6, which is the default for Vulkan 1.3 - Updated copyright check: Excludes Glslang generated files when building in source tree - Fix Android.mk rules for building libshaderc_combined, to adapt to more recent NDKs that have removed the GNU

[OE-core] [PATCH 06/17] shaderc: upgrade 2021.4 -> 2022.0

2022-02-06 Thread Jose Quaresma
- Update to Glslang 11.8.0 Signed-off-by: Jose Quaresma --- .../shaderc/{shaderc_2021.4.bb => shaderc_2022.0.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-graphics/shaderc/{shaderc_2021.4.bb => shaderc_2022.0.bb} (95%) diff --git

[OE-core] [PATCH 03/17] spirv-tools: upgrade 2021.4 -> 2022.1

2022-02-06 Thread Jose Quaresma
- General - Add SPIR-V 1.6 support to wasm build (#4674) - Improvements to disassembly within PassManager (#4677) - Basic support for SPIR-V 1.6 (#4663) - reflect debug (#4662) - Fix endianness of string literals (#4622) - Optimizer - spirv-opt: add pass to Spread Volatile semantics (#4667)

[OE-core] [PATCH 01/17] icecc.bbclass: replace deprecated bash command substitution

2022-02-06 Thread Jose Quaresma
- build some packages with icecc enabled is not supported because of the folling that disables the icecc: DEBUG: while parsing set_icecc_env, unable to handle non-literal command '$ICECC_CC' - it can be replicated with: bitbake make && bitbake make -c cleansstate && bitbake make -DD grep

[OE-core] [PATCH 02/17] spirv-headers: bump to b42ba6

2022-02-06 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- meta/recipes-graphics/spir/spirv-headers_1.5.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/spir/spirv-headers_1.5.4.bb b/meta/recipes-graphics/spir/spirv-headers_1.5.4.bb index 522708618e..3144b1eb42 100644 ---

[OE-core] [PATCH 7/8] qemu: replace a gtk wrapper with directly setting environment from runqemu

2022-02-06 Thread Alexander Kanavin
The wrapper is executed by host bash, and host bash refuses to run when pseudo libc is preloaded via LD_PRELOAD (which is the case when gl is enabled). Only the fontconfig setting is carried over as local testing showed that only that is necessary for the gui to look ok nowadays; adjust further

[OE-core] [PATCH 5/8] python3-numpy: update 1.22.1 -> 1.22.2

2022-02-06 Thread Alexander Kanavin
Replace an ad hoc fix via patch with an upstream one. Signed-off-by: Alexander Kanavin --- ...y-core-setup.py-disable-svml-for-now.patch | 29 --- ...umpy_1.22.1.bb => python3-numpy_1.22.2.bb} | 7 +++-- 2 files changed, 5 insertions(+), 31 deletions(-) delete mode 100644

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

2022-02-06 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

[OE-core] [PATCH 8/8] sstate: additional debugging when fetch fails occur

2022-02-06 Thread Alexander Kanavin
Autobuilder has been showing things like: Checking sstate mirror object availability...ERROR: SState: cannot test file://universal/d9/bc/sstate:xz-native:x86_64-linux:5.2.5:r0:x86_64:8:d9bced04b194d5fc8d778eb8a0d674fa7375a42c8c50a9237e6d7672e9e7a00c_deploy_source_date_epoch.tar.zst:

[OE-core] [PATCH 3/8] insane.bbclass: use multiprocessing for collecting 'objdump -p' output

2022-02-06 Thread Alexander Kanavin
This was prompted by ltp's unreasonably long package_qa times; it has a massive amount of executables and insane runs objdump for all of them, serially. This reduces the time from 4 minutes to 1m20s on my machine. Signed-off-by: Alexander Kanavin --- meta/classes/insane.bbclass | 22

[OE-core] [PATCH 4/8] llvm: update 12.0.1 -> 13.0.1

2022-02-06 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/llvm/llvm_git.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc

[OE-core] [PATCH 2/8] gdb: update 11.1 -> 11.2

2022-02-06 Thread Alexander Kanavin
Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates. Drop upstreamed patch. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/gdb/gdb-11.1.inc| 19 -- ...ian_11.1.bb => gdb-cross-canadian_11.2.bb}

[OE-core] [PATCH 1/8] mesa: fold mesa-gl variant into the main recipe using mcextend class

2022-02-06 Thread Alexander Kanavin
This reduces friction in version updates and allows fully automated ones. There was a concern that using mcextend this way may clash with proper multiconfig setups; I have tweaked the multiconfig selftest to include mesa packages in both multiconfig images, and ran the test with preferred

[OE-core] [PATCH 1/2] vim: Upgrade 4269 -> 4134

2022-02-06 Thread Richard Purdie
License text underwent changes on how to submit Uganda donations, switch from http to https urls and an update date change but the license itself is unchanged. Also, add an entry for the top level license file. This is also the vim license so LICENSE is unchanged but we should monitor it too.

[OE-core] [PATCH 2/2] binutils: Add fix for CVE-2021-45078

2022-02-06 Thread Richard Purdie
Backport a fix for CVE-2021-45078. Signed-off-by: Richard Purdie --- .../binutils/binutils-2.37.inc| 1 + ...87d12167b1e36193385485c1f6ce92f74f02.patch | 247 ++ 2 files changed, 248 insertions(+) create mode 100644

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Mark Hatle
On 2/6/22 11:35 AM, Richard Purdie wrote: On Sun, 2022-02-06 at 18:31 +0100, Alexander Kanavin wrote: On Sun, 6 Feb 2022 at 18:27, Mark Hatle wrote: It definitely works in Honister (I'm actively using it.) We produce a single package set, then allow for multiple image recipes to select

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Alexander Kanavin
On Sun, 6 Feb 2022 at 18:35, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > > Selection of init manager is a distro setting, it can be used by > component > > recipes to make decisions, and overriding it from images is neither > tested nor > > supported. > > There is a hybrid where

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Richard Purdie
On Sun, 2022-02-06 at 18:31 +0100, Alexander Kanavin wrote: > On Sun, 6 Feb 2022 at 18:27, Mark Hatle > wrote: > > It definitely works in Honister (I'm actively using it.) > > > > We produce a single package set, then allow for multiple image recipes to > > select > > which init manager to use. 

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Alexander Kanavin
On Sun, 6 Feb 2022 at 18:27, Mark Hatle wrote: > It definitely works in Honister (I'm actively using it.) > > We produce a single package set, then allow for multiple image recipes to > select > which init manager to use. This simplifies the eSDK, sstate-cache and > binary > package feed --

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Mark Hatle
On 2/6/22 10:39 AM, Stefan Herbrechtsmeier wrote: Am 06.02.22 um 09:10 schrieb Richard Purdie: On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Link udev shared with systemd helper to minimize the udev package size if DISTRO_FEATURES contains

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Mark Hatle
I just noticed this. It might make sense to link udev static when BOTH systemd and sysvinit are enabled. (A single package set, multiple images with different init managers.) Not sure though how that works in Honister, just something I noticed with this commit. (And yes, I do use a distro

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Stefan Herbrechtsmeier
Am 06.02.22 um 17:43 schrieb Stefan Herbrechtsmeier: Am 06.02.22 um 10:53 schrieb Richard Purdie: On Sun, 2022-02-06 at 08:10 +, Richard Purdie via lists.openembedded.org wrote: On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Link udev

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Stefan Herbrechtsmeier
Am 06.02.22 um 10:53 schrieb Richard Purdie: On Sun, 2022-02-06 at 08:10 +, Richard Purdie via lists.openembedded.org wrote: On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Link udev shared with systemd helper to minimize the udev package

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Stefan Herbrechtsmeier
Am 06.02.22 um 09:10 schrieb Richard Purdie: On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Link udev shared with systemd helper to minimize the udev package size if DISTRO_FEATURES contains systemd. It is only usefull to link udev static with

[OE-core] OE-core CVE metrics for honister on Sun 06 Feb 2022 05:30:01 AM HST

2022-02-06 Thread Steve Sakoman
Branch: honister New this week: 16 CVEs CVE-2021-4145: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-4145 * CVE-2022-0359: vim https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0359 * CVE-2022-0361: vim

[OE-core] OE-core CVE metrics for hardknott on Sun 06 Feb 2022 05:00:01 AM HST

2022-02-06 Thread Steve Sakoman
Branch: hardknott New this week: 15 CVEs CVE-2021-4145: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-4145 * CVE-2022-0359: vim https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0359 * CVE-2022-0361: vim

[OE-core] OE-core CVE metrics for dunfell on Sun 06 Feb 2022 04:30:01 AM HST

2022-02-06 Thread Steve Sakoman
Branch: dunfell New this week: 15 CVEs CVE-2021-4145: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-4145 * CVE-2022-0359: vim https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0359 * CVE-2022-0361: vim

[OE-core] OE-core CVE metrics for master on Sun 06 Feb 2022 04:00:01 AM HST

2022-02-06 Thread Steve Sakoman
Branch: master New this week: 3 CVEs CVE-2021-44647: lua:lua-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-44647 * CVE-2021-45078: binutils:binutils-cross-testsuite:binutils-cross-x86_64 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-45078 * CVE-2022-0443: vim

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

2022-02-06 Thread Alexander Kanavin
There's also an issue with the wrapper script run by host bash for qemu-system that breaks with uninative, so just hold it off until I get it all confirmed as working :) Alex On Sun, 6 Feb 2022 at 10:57, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Sun, 2022-02-06 at 09:51

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

2022-02-06 Thread Richard Purdie
On Sun, 2022-02-06 at 09:51 +, Richard Purdie via lists.openembedded.org wrote: > On Sat, 2022-02-05 at 12:20 +, Richard Purdie via lists.openembedded.org > wrote: > > On Fri, 2022-02-04 at 21:40 +0100, Alexander Kanavin wrote: > > > Some of the host distributions build the drivers in a

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Richard Purdie
On Sun, 2022-02-06 at 08:10 +, Richard Purdie via lists.openembedded.org wrote: > On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: > > From: Stefan Herbrechtsmeier > > > > Link udev shared with systemd helper to minimize the udev package size > > if DISTRO_FEATURES contains

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

2022-02-06 Thread Richard Purdie
On Sat, 2022-02-05 at 12:20 +, Richard Purdie via lists.openembedded.org wrote: > On Fri, 2022-02-04 at 21:40 +0100, 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

Re: [OE-core] [PATCH v2 1/2] glibc: Upgrade to 2.35 (RFC)

2022-02-06 Thread Richard Purdie
On Thu, 2022-02-03 at 12:02 -0800, Khem Raj wrote: > package up /usr/bin/ld.so > > ld.so is a new tool which is added as a symlink to original dynamic > linker so make it available with same name across architectures which is > useful to leveral features like --preload, --audit, and

Re: [OE-core] [PATCH v2 3/3] systemd: Minimize udev package size if DISTRO_FEATURES contains systemd

2022-02-06 Thread Richard Purdie
On Wed, 2022-02-02 at 08:35 +0100, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier > > Link udev shared with systemd helper to minimize the udev package size > if DISTRO_FEATURES contains systemd. > > It is only usefull to link udev static with systemd helper if udev > should be