Re: [OE-core] [PATCH] rust-cross-canadian: Fix file conflicts for arm and aarch64

2023-11-07 Thread Khem Raj
On Tue, Nov 7, 2023 at 10:09 PM Hemraj, Deepthi via lists.openembedded.org wrote: > > From: Deepthi Hemraj > > [YOCTO #15061] > Rust multilib sdks broken because of the conflicts between attempted installs > of rust-cross-canadian for arm and aarch64. > > Arm and aarch64 target architectures

[OE-core] [PATCH] rust-cross-canadian: Fix file conflicts for arm and aarch64

2023-11-07 Thread Hemraj, Deepthi via lists.openembedded.org
From: Deepthi Hemraj [YOCTO #15061] Rust multilib sdks broken because of the conflicts between attempted installs of rust-cross-canadian for arm and aarch64. Arm and aarch64 target architectures are trying to install cargo.sh and rust.sh in the same path which resulted in the issue. The

[OE-core][mickledore][kirkstone][PATCH v2] xserver-xorg: Fix for CVE-2023-5367 and CVE-2023-5380

2023-11-07 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri Upstream-Status: Backport [https://gitlab.freedesktop.org/xorg/xserver/-/commit/541ab2ecd41d4d8689e71855d93e492bc554719a & https://gitlab.freedesktop.org/xorg/xserver/-/commit/564ccf2ce9616620456102727acb8b0256b7bbd7] Signed-off-by: Vijay Anusuri ---

[OE-core][dunfell][PATCH v2] xserver-xorg: Fix for CVE-2023-5367 and CVE-2023-5380

2023-11-07 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri Upstream-Status: Backport [https://gitlab.freedesktop.org/xorg/xserver/-/commit/541ab2ecd41d4d8689e71855d93e492bc554719a & https://gitlab.freedesktop.org/xorg/xserver/-/commit/564ccf2ce9616620456102727acb8b0256b7bbd7] Signed-off-by: Vijay Anusuri ---

Re: [OE-core][master][mickledore][PATCH] grub2: fix CVE-2023-4692

2023-11-07 Thread Xiangyu Chen
On 11/6/23 23:50, Steve Sakoman wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Fri, Oct 20, 2023 at 12:47 PM Alexandre Belloni via lists.openembedded.org wrote:

Re: [OE-core] [yocto] Yocto Project Status 07 November 2023 (WW45)

2023-11-07 Thread Peter Marko via lists.openembedded.org
The new website looks nice, just https://yoctoproject.org/development/releases/ is populated by: Plugin JSON Content Importer Pro not running: Check Licence! Check that a Licence is active for https://yoctoproject.org Instead of actual release data. Peter From: yo...@lists.yoctoproject.org On

[OE-core] [PATCH] xwayland: upgrade to 23.2.2

2023-11-07 Thread Ross Burton
From: Ross Burton e4487cae1 Bump version to 23.2.2 1e8478455 Xi/randr: fix handling of PropModeAppend/Prepend (CVE-2023-5367) 829a99117 Switch to libbsd-overlay 4f8a851b6 xwayland: Cancel the EI disconnect timer when freed cc79b2a83 glamor: xv: Fix invalid accessing of plane attributes for NV12

[OE-core] Yocto Project Status 07 November 2023 (WW45)

2023-11-07 Thread Neal Caidin
Current Dev Position: YP 4.3 (Final Release) Next Deadline: 27th October 2023 YP 4.3 Final Release Next Team Meetings: - Bug Triage meeting Thursday November 9, 7:30 am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09) - Weekly Project Engineering Sync

[OE-core] [RFC 7/7] bitbake-layers: Add test case update-layer-setup

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman The test creates a layer setup, modifies it to use a branch, attempts a checkout using the modified file, it modifies the layers setup again to use a revision restoring it to the original state. A final checkout is skipped as the revision might not be present, additionally

[OE-core] [RFC 3/7] bitbake-layers: Add ability to update layer repository configuration

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman This allows for modifications of an existing configuration file using current revisions. Signed-off-by: Jermain Horsman --- meta/lib/bblayers/updatesetup.py | 78 1 file changed, 78 insertions(+) create mode 100644

[OE-core] [RFC 6/7] bitbake-layers: Add default remote to layers-setup.json

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman Having a default remote present allows for the checkout of a branch in the case multiple remotes are available. This requires an update to the json-schema and associated checks. Signed-off-by: Jermain Horsman --- meta/files/layers.example.json| 5

[OE-core] [RFC 5/7] lib/oe/buildcfg.py: Add additional git functions

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman Includes a function to determine the default remote. Signed-off-by: Jermain Horsman --- meta/lib/oe/buildcfg.py | 16 1 file changed, 16 insertions(+) diff --git a/meta/lib/oe/buildcfg.py b/meta/lib/oe/buildcfg.py index f9cb0cc74c..2ca654e56e 100644 ---

[OE-core] [RFC 4/7] bblayers/makesetup.py: Use new functions from oe.buildcfg

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman Refactor to use git functions from library. Signed-off-by: Jermain Horsman --- meta/lib/bblayers/makesetup.py | 32 ++-- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/meta/lib/bblayers/makesetup.py

[OE-core] [RFC 2/7] lib/oe/buildcfg.py: Add additional git functions

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman Includes a git describe and git toplevel function and functions to get info for git remotes. Signed-off-by: Jermain Horsman --- meta/lib/oe/buildcfg.py | 29 + 1 file changed, 29 insertions(+) diff --git a/meta/lib/oe/buildcfg.py

[OE-core] [RFC 1/7] scripts/oe-setup-layers: Allow setup using branches instead of fixed revisions

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman These changes allow for situations where one or more layers are checked out using a branch instead of a revision, care is taken to make sure this works when using multiple remotes. All changes made are backwards compatible with older setup-layer json files. Signed-off-by:

[OE-core] [RFC 0/7] bitbake-layers: Add update-layers-setup

2023-11-07 Thread Jermain Horsman
From: Jermain Horsman During development it can be useful to use a branch instead of a revision, e.g. when rebasing often or just for easy upgrading of the setup. This is a first iteration, it updates the generation of the setup-layers.json file as well as the json schema for it. This allows

[OE-core] [PATCH v2] image-live: Add support for building EFI-bootable ISO images for non-x86-based archs

2023-11-07 Thread Andrey Popov
Since syslinux is only compatible with platforms that use x86-based CPUs, this change allows creation of bootable ISO images for other EFI-compatible platforms by replacing invocation of the isohybrid tool for those platforms with a python script that creates MBR partition table with a single

Re: [OE-core] [PATCH] classes/image-live: Add support for building EFI-bootable ISO images for architectures other than x86 and x86_64

2023-11-07 Thread Andrey Popov
Hello, Alex! I created this patch in hope that I could ensure compatibility with legacy platforms that use BIOS, that is why I kept the syslinux part. I don't think it is a good idea to drop syslinux usage entirely, IMHO. Best regards, Andrey. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

[OE-core] Patchtest results for [PATCH] classes/image-live: Add support for building EFI-bootable ISO images for architectures other than x86 and x86_64

2023-11-07 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch

Re: [OE-core] [PATCH] classes/image-live: Add support for building EFI-bootable ISO images for architectures other than x86 and x86_64

2023-11-07 Thread Alexander Kanavin
This begs the question. Should we drop syslinux usage altogether? It hasn't been maintained for several years, and is unlikely to become maintained again. Alex On Tue, 7 Nov 2023 at 15:51, Andrey Popov wrote: > > Since syslinux is only compatible with platforms that use x86-based > CPUs, this

[OE-core] [PATCH] classes/image-live: Add support for building EFI-bootable ISO images for architectures other than x86 and x86_64

2023-11-07 Thread Andrey Popov
Since syslinux is only compatible with platforms that use x86-based CPUs, this change allows creation of bootable ISO images for other EFI-compatible platforms by replacing invocation of the isohybrid tool for those platforms with a python script that creates MBR partition table with a single

[OE-core] [PATCH] systemd: update LICENSE statement

2023-11-07 Thread Massimiliano Minella
From: Massimiliano Minella As stated in the LICENSES/README.md "Unless otherwise noted, the systemd project sources are licensed under the terms and conditions of the GNU Lesser General Public License v2.1 or later", so replace LGPL-2.1-only with LGPL-2.1-or-later. With the exception of some

Re: [OE-core][Patch v2] perf: fix build with latest kernel

2023-11-07 Thread Bruce Ashfield
On Tue, Nov 7, 2023 at 4:09 AM Max Krummenacher wrote: > > From: Max Krummenacher > > Kernel 6.7-rc1 commit 02e85f74668e ("tools: arm64: Add a Makefile for > generating sysreg-defs.h") uses files from arch/arm64/tools/, > gen-sysreg.awk and sysreg. > Without the files the build of perf fails

Re: [OE-core] [PATCH v2] perf: add jevents PACKAGECONFIG item

2023-11-07 Thread Bruce Ashfield
On Tue, Nov 7, 2023 at 4:26 AM Rasmus Villemoes wrote: > > From: Rasmus Villemoes > > Building for an arm64 target, e.g. qemuarm64 or a raspberrypi3, > without "python" in PACKAGECONFIG, results in > > | Makefile.config:892: *** ERROR: No python interpreter needed for jevents > generation.

Re: [oe-core][RFC][PATCH] vala.bbclass: enable vapi build if class is inherited

2023-11-07 Thread Markus Volk
On Tue, Nov 7 2023 at 11:18:15 AM +01:00:00, Markus Volk wrote: Shouldn't they be as well tweaked to rely on the class doing the right thing? functionwise its been ok but I've found some additional things to cleanup, so I'll send a v2. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [OE-Core][PATCH] udev-extraconf: mount.sh: check if filesystem is supported before mounting

2023-11-07 Thread Lukas Funke
Hi Richard, On 07.11.2023 13:15, Richard Purdie wrote: On Tue, 2023-11-07 at 13:00 +0100, Lukas Funke wrote: From: Lukas Funke Check if the filesystem is supported by the kernel before trying to mount it. Systemd-mount will mount the directories asynchronously resulting in stale directories

Re: [OE-Core][PATCH] udev-extraconf: mount.sh: check if filesystem is supported before mounting

2023-11-07 Thread Jose Quaresma
Lukas Funke escreveu no dia terça, 7/11/2023 à(s) 12:00: > From: Lukas Funke > > Check if the filesystem is supported by the kernel before trying to > mount it. Systemd-mount will mount the directories asynchronously > resulting in stale directories if the devices filesystem is not > supported.

Re: [OE-core] [PATCH] oeqa/selftest/sstatetests: Fix intermitttent errors and improve performance

2023-11-07 Thread Alexander Kanavin
Thanks a lot! —runall didn’t occur to me at all. Alex On Tue 7. Nov 2023 at 13.01, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > You could reproduce an error in this test with: > > bitbake core-image-minimal > bitbake tzcode-native -c cleansstate > oe-selftest -r >

[oe-core][RFC][PATCHv2] vala.bbclass: enable vapi build if class is inherited

2023-11-07 Thread Markus Volk
Try to enable vapi build automatically if GI_DATA_ENABLED = True. Do it basically the same way it is done for gi Signed-off-by: Markus Volk --- meta/classes-recipe/vala.bbclass | 23 +++ meta/recipes-gnome/gcr/gcr_4.1.0.bb | 2 --

Re: [OE-core][master][PATCH] xserver-xorg: Fix for CVE-2023-5574

2023-11-07 Thread Ross Burton
On 7 Nov 2023, at 12:17, Ross Burton via lists.openembedded.org wrote: > > On 6 Nov 2023, at 15:34, Vijay Anusuri via lists.openembedded.org > wrote: >> >> From: Vijay Anusuri >> >> Upstream-Status: Backport > > This is not a backport as the MR is still open: > >

Re: [OE-core][master][PATCH] xserver-xorg: Fix for CVE-2023-5574

2023-11-07 Thread Ross Burton
On 6 Nov 2023, at 15:34, Vijay Anusuri via lists.openembedded.org wrote: > > From: Vijay Anusuri > > Upstream-Status: Backport This is not a backport as the MR is still open: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1189 These are Submitted. Ross

Re: [OE-Core][PATCH] udev-extraconf: mount.sh: check if filesystem is supported before mounting

2023-11-07 Thread Richard Purdie
On Tue, 2023-11-07 at 13:00 +0100, Lukas Funke wrote: > From: Lukas Funke > > Check if the filesystem is supported by the kernel before trying to > mount it. Systemd-mount will mount the directories asynchronously > resulting in stale directories if the devices filesystem is not > supported. >

[OE-core] [PATCH] oeqa/selftest/sstatetests: Fix intermitttent errors and improve performance

2023-11-07 Thread Richard Purdie
You could reproduce an error in this test with: bitbake core-image-minimal bitbake tzcode-native -c cleansstate oe-selftest -r sstatetests.SStatePrintdiff.test_image_minimal_vs_base_do_configure since tzcode-native isn't needed once tzdata is available and isn't rebuilt by "bitbake

[OE-Core][PATCH] udev-extraconf: mount.sh: check if filesystem is supported before mounting

2023-11-07 Thread Lukas Funke
From: Lukas Funke Check if the filesystem is supported by the kernel before trying to mount it. Systemd-mount will mount the directories asynchronously resulting in stale directories if the devices filesystem is not supported. Signed-off-by: Lukas Funke ---

[OE-core][kirkstone][PATCH 1/1] python3-jinja2: Fixed ptest result output as per the standard

2023-11-07 Thread Narpat Mali via lists.openembedded.org
From: Narpat Mali There was an extra space between the result and ':'. After removing extra space, the ptest result will be: result : testname -> result: testname Signed-off-by: Narpat Mali --- meta/recipes-devtools/python/python3-jinja2/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH] common-licenses: Add Baekmuk license

2023-11-07 Thread Zoltan Boszormenyi
The Baekmuk font uses this license. The license file was extracted from http://kldp.net/baekmuk/release/865-baekmuk-ttf-2.2.tar.gz The SPDX link for this license: https://spdx.org/licenses/Baekmuk.html Signed-off-by: Zoltán Böszörményi --- meta/files/common-licenses/Baekmuk | 11 +++

Re: [OE-core] Baekmuk license is not known by Yocto

2023-11-07 Thread Martin Jansa
You can add the license to the layer where the recipe is, see LICENSE_PATH variable used in meta-oe for example. On Tue, Nov 7, 2023 at 12:30 PM Zoltan Boszormenyi wrote: > Hi, > > I have a font package recipe for baekmuk-ttf-fonts > which can't be built under Yocto 4.3 do to these: > >

Re: [OE-core] Baekmuk license is not known by Yocto

2023-11-07 Thread Alexander Kanavin
I guess you can send a patch? Alex On Tue, 7 Nov 2023 at 12:30, Zoltan Boszormenyi wrote: > > Hi, > > I have a font package recipe for baekmuk-ttf-fonts > which can't be built under Yocto 4.3 do to these: > > WARNING: baekmuk-ttf-fonts-2.2-r0 do_populate_lic: QA Issue: > baekmuk-ttf-fonts: No

[OE-core] Baekmuk license is not known by Yocto

2023-11-07 Thread Zoltan Boszormenyi
Hi, I have a font package recipe for baekmuk-ttf-fonts which can't be built under Yocto 4.3 do to these: WARNING: baekmuk-ttf-fonts-2.2-r0 do_populate_lic: QA Issue: baekmuk-ttf-fonts: No generic license file exists for: Baekmuk in any provider [license-exists] ERROR: baekmuk-ttf-fonts-2.2-r0

[OE-core][PATCH] opensbi: Upgrade to 1.3.1 release

2023-11-07 Thread Thomas Perrot via lists.openembedded.org
From: Thomas Perrot Here is list of changes in this major release https://github.com/riscv-software-src/opensbi/compare/v1.2...v1.3.1 Signed-off-by: Thomas Perrot --- meta/recipes-bsp/opensbi/{opensbi_1.2.bb => opensbi_1.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename

[OE-core] Patchtest results for [RFC PATCH] scripts/oe-replicate-build: add a script that packages and replicates a yocto build elsewhere

2023-11-07 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/RFC-scripts-oe-replicate-build-add-a-script-that-packages-and-replicates-a-yocto-build-elsewhere.patch FAIL: test

[OE-core] [RFC PATCH] scripts/oe-replicate-build: add a script that packages and replicates a yocto build elsewhere

2023-11-07 Thread Alexander Kanavin
This scripts takes an existing, active yocto build, and puts pieces of it into a bundle directory, which is then placed in a tarball, and a self-extracting shell archive. This allows moving the bundle to another machine, or placing it on a network server for downloads. The bundle includes: - a

Re: [oe-core][RFC][PATCH] vala.bbclass: enable vapi build if class is inherited

2023-11-07 Thread Markus Volk
On Tue, Nov 7 2023 at 11:06:26 AM +01:00:00, Alexander Kanavin wrote: There is quite a bit more recipes in core that inherit vala. Shouldn't they be as well tweaked to rely on the class doing the right thing? yes, and I build almost all of them regulary. On a first look it seems like they

Re: [oe-core][RFC][PATCH] vala.bbclass: enable vapi build if class is inherited

2023-11-07 Thread Alexander Kanavin
There is quite a bit more recipes in core that inherit vala. Shouldn't they be as well tweaked to rely on the class doing the right thing? [ak@fedora poky]$ grep -ir vala meta*|grep inher meta/recipes-support/libical/libical_3.0.16.bb:inherit cmake pkgconfig gobject-introspection vala

[oe-core][RFC][PATCH] vala.bbclass: enable vapi build if class is inherited

2023-11-07 Thread Markus Volk
Try to enable vapi build automatically if GI_DATA_ENABLED = True. Do it basically the same way it is done for gi Signed-off-by: Markus Volk --- meta/classes-recipe/vala.bbclass | 23 +++ .../libdazzle/libdazzle_3.44.0.bb | 1 +

[OE-core] [PATCH v2] perf: add jevents PACKAGECONFIG item

2023-11-07 Thread Rasmus Villemoes via lists.openembedded.org
From: Rasmus Villemoes Building for an arm64 target, e.g. qemuarm64 or a raspberrypi3, without "python" in PACKAGECONFIG, results in | Makefile.config:892: *** ERROR: No python interpreter needed for jevents generation. Install python or build with NO_JEVENTS=1.. Stop. Signed-off-by: Rasmus

[OE-core] [PATCH] debianutils: Fix warnings

2023-11-07 Thread Richard Purdie
In the recent upgrade, which started to be installed as which.debianutils and the man page was also renamed. Update the recipe to remove the now unneeded man page alternatives and rename the binary to match what the code expects. This avoids warnings like: WARNING: debianutils-5.14-r0

Re: [OE-core] [PATCH] perf: add jevents PACKAGECONFIG item

2023-11-07 Thread Rasmus Villemoes via lists.openembedded.org
On 06/11/2023 16.07, Richard Purdie wrote: > On Mon, 2023-11-06 at 16:00 +0100, Rasmus Villemoes wrote: >> >> When I set PACKAGECONFIG for perf in a perf.bbappend file, without >> python being in there, the build breaks: >> [...] >> This difference is, to put it mildly, quite confusing and

Re: [oe][OE-core][Patch] classes/create-spdx-2.2: allow absolute paths in NO_GENERIC_LICENSE

2023-11-07 Thread Max Krummenacher
On Wed, Aug 9, 2023 at 10:19 AM Max Krummenacher via lists.openembedded.org wrote: > > From: Max Krummenacher > > The current implementation expects the license file in NO_GENERIC_LICENSE > specified as being relative to ${S}. > Assuming that there are two source locations this gets confusing to

[OE-core][Patch v2] perf: fix build with latest kernel

2023-11-07 Thread Max Krummenacher
From: Max Krummenacher Kernel 6.7-rc1 commit 02e85f74668e ("tools: arm64: Add a Makefile for generating sysreg-defs.h") uses files from arch/arm64/tools/, gen-sysreg.awk and sysreg. Without the files the build of perf fails independent of the used architecture (confirmed with armv7 and

[OE-core][mickledore][PATCH] systemd: backport patch to fix warning in systemd-vconsole-setup

2023-11-07 Thread Chen Qi via lists.openembedded.org
The backported patch fixes the following warning: systemd-vconsole-setup[221]: Failed to import credentials, ignoring: No such file or directory Signed-off-by: Chen Qi --- ...l-return-0-for-missing-creds-in-read.patch | 139 ++ meta/recipes-core/systemd/systemd_253.1.bb|