[OE-core][dunfell][PATCH] xserver-xorg: Multiple CVE fixes

2024-01-24 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri Fix below CVE's CVE-2023-6816 CVE-2024-0229 CVE-2024-21885 CVE-2024-21886 CVE-2024-0408 CVE-2024-0409 Signed-off-by: Vijay Anusuri --- .../xserver-xorg/CVE-2023-6816.patch | 55 + .../xserver-xorg/CVE-2024-0229-1.patch| 87 +++

Re: [OE-core] [PATCH v2] tune-core2: Update qemu cpu to supported model

2024-01-24 Thread Khem Raj
On Wed, Jan 24, 2024 at 10:10 PM Simone Weiß wrote: > > References are now added, as requested in v2. Is more still missing? We do not send explicit notification on patches being accepted, Usually we comment on the patch if there is some improvement needed. So its good to check master branch or

Re: [OE-core] [PATCH v2] tune-core2: Update qemu cpu to supported model

2024-01-24 Thread Simone Weiß
References are now added, as requested in v2. Is more still missing? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#194306): https://lists.openembedded.org/g/openembedded-core/message/194306 Mute This Topic:

Re: [OE-core] [PATCH] xz: Add ptest support

2024-01-24 Thread Chi Xu
> -Original Message- > From: Alexander Kanavin > Sent: Wednesday, January 24, 2024 5:42 PM > To: Xu, Chi > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] xz: Add ptest support > > CAUTION: This email comes from a non Wind River email account! > Do not

[OE-core] [PATCH 2/2] linux-yocto-dev: update to v6.8

2024-01-24 Thread Bruce Ashfield
From: Bruce Ashfield -rc1 is available, so we bump our -dev kernel to track. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb

[OE-core] [PATCH 1/2] lttng-modules: fix v6.8+ build

2024-01-24 Thread Bruce Ashfield
From: Bruce Ashfield linux-yocto-dev is updating to 6.8 and lttng-modules needs to be updated to account for upsream kernel fixes. These patches are all grabbed from the lttng review gerrit and backported to lttng-modules 2.13.0. Signed-off-by: Bruce Ashfield ---

Re: [OE-core] [PATCH] xz: Add ptest support

2024-01-24 Thread Chi Xu
> -Original Message- > From: Richard Purdie > Sent: Wednesday, January 24, 2024 5:47 PM > To: Alexander Kanavin ; Xu, Chi > > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] xz: Add ptest support > > CAUTION: This email comes from a non Wind River email

[OE-core] [PATCH] qemu: Replace the basename patch with backport

2024-01-24 Thread Khem Raj
Backport the patch that got applied to fix this issue upstream Signed-off-by: Khem Raj --- meta/recipes-devtools/qemu/qemu.inc | 2 +- ...io-Include-libgen.h-for-basename-API.patch | 57 --- ...eplace-basename-with-g_path_get_base.patch | 50 3 files

[OE-core] [PATCH] python3: Initialize struct termios before calling tcgetattr()

2024-01-24 Thread Khem Raj
Fixes ptest failures on python 3.12 Failed ptests: {'python3': ['test_tcgetattr', 'test_cfmakeraw', 'test_setcbreak', 'test_setraw', 'python3']} Signed-off-by: Khem Raj --- ...lize-struct-termios-before-calling-t.patch

Re: [OE-core] [dunfell][PATCH] opkg: Fix bad memory acces error observe in file_read_line_alloc

2024-01-24 Thread Alex Stewart
ACK. This is a valid bug fix backport from just after opkg_0.4.2's release. On 1/23/24 00:28, virendra thakur wrote: [You don't often get email from thakur.virendra1...@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] In the case of a zero length

[OE-core] OE Workshop in Brussels on February 5th - Monday after FOSDEM

2024-01-24 Thread Josef Holzmayr
Hi you! Yes, exactly you! Didn't you want to grab a seat at the OE Workshop in Brussels, the Monday right after FOSDEM? It's time to hurry up now, there are just a couple of seats remaining by now. So head over to https://pretix.eu/OpenEmbedded/OEW24/ and make sure you get one now, or you might

Re: [OE-Core][PATCH 1/2] testimage: move TESTIMAGE_FAILED_QA_ARTIFACTS default value to core-image-minimal

2024-01-24 Thread Alexis Lothoré via lists . openembedded . org
On 1/24/24 17:20, Richard Purdie wrote: > On Wed, 2024-01-24 at 15:29 +0100, Alexis Lothoré via > lists.openembedded.org wrote: >> From: Alexis Lothoré [...] >> + >> +# When any test fails, TESTIMAGE_FAILED_QA ARTIFACTS will be parsed and for >> +# each entry in it, if artifact pointed by path

[OE-core] [PATCH] perl: Fix perl-module-* being ignored via COMPLEMENTARY_GLOB

2024-01-24 Thread Lyu, William via lists.openembedded.org
From: William Lyu When perl-modules is added via COMPLEMENTARY_GLOB, all perl-module-* packages recommended by perl-modules are ignored due to the defined behavior of COMPLEMENTARY_GLOB. This patch changes the relationship between perl-modules and all of its perl-module-* from RRECOMMENDS to

Re: [OE-core] [PATCH] perl: Fix perl-module-* being ignored via COMPLEMENTARY_GLOB

2024-01-24 Thread Lyu, William via lists.openembedded.org
> On Wed, 24 Jan 2024 at 04:22, Lyu, William via lists.openembedded.org > wrote: >> +# modules are manually split (eg. perl-module-unicore). Also, the split >> +# packages should not include packages defined in RPROVIDES:${PN}. In >> +# addition, "perl-module-config-git" is not a

Re: [OE-core] [PATCH 4/4] grub2: upgrade 2.06 -> 2.12

2024-01-24 Thread Richard Purdie
On Wed, 2024-01-24 at 13:50 +, Ross Burton wrote: > On 23 Jan 2024, at 08:47, Anuj Mittal via lists.openembedded.org > wrote: > > > > Drop patches that have been upstreamed. Refresh others. > > I was nervous but I’m pleased to say: > > Tested-by: Ross Burton mailto:ross.bur...@arm.com>> >

Re: [OE-Core][PATCH 1/2] testimage: move TESTIMAGE_FAILED_QA_ARTIFACTS default value to core-image-minimal

2024-01-24 Thread Richard Purdie
On Wed, 2024-01-24 at 15:29 +0100, Alexis Lothoré via lists.openembedded.org wrote: > From: Alexis Lothoré > > TESTIMAGE_FAILED_QA_ARTIFACTS currently sets a default list of files to be > saved whenever some tests fail. Unfortunately, this default value is very > easily discarded, because

Patchtest results for [OE-Core][PATCH 1/2] testimage: move TESTIMAGE_FAILED_QA_ARTIFACTS default value to core-image-minimal

2024-01-24 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/1-2-testimage-move-TESTIMAGE_FAILED_QA_ARTIFACTS-default-value-to-core-image-minimal.patch FAIL: test shortlog

[OE-Core][PATCH 0/2] testimage: enable artifacts retrieval for failed tests

2024-01-24 Thread Alexis Lothoré via lists . openembedded . org
Hello, this small series is a very late follow-up to my initial artifacts retrieval series (sorry for the delay). The initial series can be found in [1]. The goal is to retrieve some specific files from target whenever some tests fail, to ease debugging. The feature relies on a new

[OE-Core][PATCH 2/2] core-image-ptest: retrieve ptests directory when ptests fail

2024-01-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré TESTIMAGE_FAILED_QA_ARTIFACTS is defined in core-image-minimal with a minimal list of files to retrieve whenever a runtime test fails. By appending the ptest directory only in core-image-ptest.bb, thanks to multiconfig feature used in the recipe, only failing ptests will

[OE-Core][PATCH 1/2] testimage: move TESTIMAGE_FAILED_QA_ARTIFACTS default value to core-image-minimal

2024-01-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré TESTIMAGE_FAILED_QA_ARTIFACTS currently sets a default list of files to be saved whenever some tests fail. Unfortunately, this default value is very easily discarded, because TESTIMAGE_FAILED_QA_ARTIFACTS is expected to be enriched by some core recipes (example: ptest

[OE-core][nanbield 12/12] rpcbind: Specify state directory under /run

2024-01-24 Thread Steve Sakoman
From: Joshua Watt The state directory must be correctly specified as under /run because RequiresMountsFor doesn't follow symbolic links which means the unit may run before /run is mounted if the default of /var/run/rpcbind is kept Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie

[OE-core][nanbield 08/12] sudo: upgrade from 1.9.15p2 to 1.9.15p5

2024-01-24 Thread Steve Sakoman
From: Chen Qi (cherry picked from OE-Core rev 4b2eccc0ee3f2906f9b04de194b9df6e24c2cdf4) Signed-off-by: Chen Qi Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Lee Chee Yang Signed-off-by: Steve Sakoman --- .../sudo/{sudo_1.9.15p2.bb => sudo_1.9.15p5.bb}

[OE-core][nanbield 10/12] devtool: modify: Handle recipes with a menuconfig task correctly

2024-01-24 Thread Steve Sakoman
From: Peter Kjellerstedt This avoids the following error when running `devtool modify` on a recipe that has a menuconfig task, but does not have KCONFIG_CONFIG_ENABLE_MENUCONFIG set. .../temp/run.do_configure.4163366: line 152: ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') }:

[OE-core][nanbield 11/12] create-spdx-2.2: combine spdx can try to write before dir creation

2024-01-24 Thread Steve Sakoman
From: "Jeremy A. Puhlman" On occasion a file is attmpeded to be opened prior to the creation of the spdx_workdir. Create the directory before the open, just in case. File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1081, function: combine_spdx 1077:)

[OE-core][nanbield 09/12] sstate: Fix dir ownership issues in SSTATE_DIR

2024-01-24 Thread Steve Sakoman
From: Richard Purdie We currently use mkdir -p to create missing parent directories within SSTATE_DIR. Reading the man page for mkdir mentions that parent directories are created with the current umask, *not* the mode passed upon the commandline. We could fix this by setting and resetting the

[OE-core][nanbield 05/12] glib-2.0: upgrade 2.78.1 -> 2.78.3

2024-01-24 Thread Steve Sakoman
From: Anuj Mittal Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit 419503d3d3402b683979696f248cd42f05c282b7) Signed-off-by: Steve Sakoman --- ...ot-write-bindir-into-pkg-config-files.patch | 4 ++-- .../0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | 3 +--

[OE-core][nanbield 07/12] sudo: upgrade 1.9.14p3 -> 1.9.15p2

2024-01-24 Thread Steve Sakoman
From: Xiangyu Chen Changelog: === 1.9.15p2: - Fixed a bug on BSD systems where sudo would not restore the terminal settings on exit if the terminal had parity enabled. 1.9.15p1: - Fixed a bug introduced in sudo 1.9.15 that prevented LDAP-based sudoers from being able to read the

[OE-core][nanbield 04/12] base-passwd: upgrade 3.6.2 -> 3.6.3

2024-01-24 Thread Steve Sakoman
From: Anuj Mittal Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit 74d165f5baacd0cd94eb90396b0a3119281df91d) Signed-off-by: Steve Sakoman --- .../base-passwd/{base-passwd_3.6.2.bb => base-passwd_3.6.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core][nanbield 06/12] qemu: 8.1.2 -> 8.1.4

2024-01-24 Thread Steve Sakoman
From: Lee Chee Yang update include fix for CVE-2023-3019. CVE-2023-3019 : https://github.com/qemu/qemu/commit/88e79a2dfda319f9ebec2cc8a5c3c9733716d13f Signed-off-by: Lee Chee Yang Signed-off-by: Steve Sakoman --- .../qemu/{qemu-native_8.1.2.bb => qemu-native_8.1.4.bb} | 0

[OE-core][nanbield 02/12] nfs-utils: Upgrade 2.6.3 -> 2.6.4

2024-01-24 Thread Steve Sakoman
From: Robert Yang * Remove backported patch 0001-configure.ac-libevent-and-libsqlite3-checked-when-nf.patch. * Add 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch to fix build with musl Signed-off-by: Robert Yang Signed-off-by: Alexandre Belloni (cherry picked from commit

[OE-core][nanbield 03/12] xwayland: upgrade 23.2.2 -> 23.2.3

2024-01-24 Thread Steve Sakoman
From: Wang Mingyu upgrade include fix for CVE-2023-6377 CVE-2023-6478 (Cherry-pick from OE-Core rev: bf0bb7b94ed4930145af5f1fb3836157daceb6bb) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Lee Chee Yang Signed-off-by: Steve Sakoman

[OE-core][nanbield 00/12] Patch review

2024-01-24 Thread Steve Sakoman
Please review this set of changes for nanbield and have comments back by end of day Friday, January 26 Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6481 The following changes since commit ff0dc585479136e3d031da08ef15e8e5c6e92c8d: pseudo:

[OE-core][nanbield 01/12] curl: Fix CVE-2023-46219

2024-01-24 Thread Steve Sakoman
From: Lee Chee Yang Upstream docs for CVE-2023-46219: https://curl.se/docs/CVE-2023-46219.html Signed-off-by: Lee Chee Yang Signed-off-by: Steve Sakoman --- .../curl/curl/CVE-2023-46219.patch| 131 ++ meta/recipes-support/curl/curl_8.4.0.bb | 1 + 2 files

[OE-core] [PATCH v2] pulseaudio: Update to 17.0

2024-01-24 Thread Fabio Estevam
From: Fabio Estevam Update to pulseaudio 17.0 version. Since pulseaudio commit e96d278bfc51 ("daemon/meson.build: Install dbus policy in /usr, not /etc"), pulseaudio-system.conf needs to be passed in FILES, otherwise the following QA error is seen: ERROR: pulseaudio-17.0-r0 do_package: QA

Re: [OE-core] [PATCH 4/4] grub2: upgrade 2.06 -> 2.12

2024-01-24 Thread Ross Burton
On 23 Jan 2024, at 08:47, Anuj Mittal via lists.openembedded.org wrote: > > Drop patches that have been upstreamed. Refresh others. I was nervous but I’m pleased to say: Tested-by: Ross Burton mailto:ross.bur...@arm.com>> For the upgrade on the fvp-base aarch64 machine. Thanks Anuj! Ross

[OE-core] [PATCH] udev-extraconf: fix unmount directories containing octal-escaped chars

2024-01-24 Thread Jonathan GUILLOT
USB devices are auto-mounted in a directory named like theirs labels. Special characters like whitespace are octal-escaped in /proc/mounts output. Using directly this output file as an argument for umount failed and the mount directory can't be removed as still busy. Using printf allows these

[OE-core] [PATCH] u-boot: add missing dependency on pyelftools-native

2024-01-24 Thread Quentin Schulz
u-boot.inc -DEPENDS += "bc-native dtc-native" +DEPENDS += "bc-native dtc-native python3-pyelftools-native" --- base-commit: 999bcf990b1b1357dda0636090561659336cc0bf change-id: 20240124-u-boot-elftools-native-baa0d2cabff8 Best regards, -- Quentin Schulz -=-=-=-=-=-=-=-=-=-=-=- L

Re: [OE-core] oe-selftest -v -K -r reproducible.ReproducibleTests.test_reproducible_builds always succeeds, even when pkg is non-reproducible

2024-01-24 Thread Joakim Tjernlund via lists.openembedded.org
On Tue, 2024-01-23 at 20:14 +0100, Alexander Kanavin wrote: > On Tue, 23 Jan 2024 at 20:11, Joakim Tjernlund > wrote: > > > > On Tue, 2024-01-23 at 20:02 +0100, Alexander Kanavin wrote: > > > Host tools can influence reproducibility of target items too, so I > > > would not want to use the same

Re: [OE-core] [PATCH] pulseaudio: Update to 17.0

2024-01-24 Thread Fabio Estevam
Hi Ross, On Wed, Jan 24, 2024 at 9:48 AM Ross Burton wrote: > > On 23 Jan 2024, at 14:08, Fabio Estevam via lists.openembedded.org > wrote: > > +FILES:${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${datadir} > > ${sysconfdir} ${bindir}/pactl */udev/rules.d/*.rules > >

Re: [OE-core] [PATCH] pulseaudio: Update to 17.0

2024-01-24 Thread Ross Burton
On 23 Jan 2024, at 14:08, Fabio Estevam via lists.openembedded.org wrote: > +FILES:${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${datadir} > ${sysconfdir} ${bindir}/pactl */udev/rules.d/*.rules */*/udev/rules.d/*.rules > ${systemd_user_unitdir}/*” It’s best not to add entire trees

Re: [OE-core] [PATCH v3 1/7] rust: Fetch cargo from rust-snapshot dir.

2024-01-24 Thread Richard Purdie
On Wed, 2024-01-24 at 12:20 +0530, Yash Shinde wrote: >  On 24-01-2024 02:47, Richard Purdie 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 Tue,

[OE-core] [PATCH] qemu: Upgrade 8.1.2 -> 8.2.0

2024-01-24 Thread Richard Purdie
We can drop the mips workaround patch since there were fixes in 8.2.0. The build system changed and we should drop cross.patch and replace it with explicit settings for cross-prefix, and host-cc. To make that work we need to indicate we don't use a cross pkg-config. PIE isn't availale for mingw

Re: [OE-core] [PATCH] xz: Add ptest support

2024-01-24 Thread Richard Purdie
On Wed, 2024-01-24 at 10:41 +0100, Alexander Kanavin wrote: > On Wed, 24 Jan 2024 at 10:04, Chi Xu wrote: > > +Subject: [PATCH] Update test scripts: replace ../src/* with /usr/bin > > + > > +In order to run scripts on target, replace ../src/* with /usr/bin > > + > > +Upstream-Status:

Re: [OE-core] [PATCH] perl: Fix perl-module-* being ignored via COMPLEMENTARY_GLOB

2024-01-24 Thread Alexander Kanavin
On Wed, 24 Jan 2024 at 04:22, Lyu, William via lists.openembedded.org wrote: > +# modules are manually split (eg. perl-module-unicore). Also, the split > +# packages should not include packages defined in RPROVIDES:${PN}. In > +# addition, "perl-module-config-git" is not a valid

Re: [OE-core] [PATCH] xz: Add ptest support

2024-01-24 Thread Alexander Kanavin
On Wed, 24 Jan 2024 at 10:04, Chi Xu wrote: > +Subject: [PATCH] Update test scripts: replace ../src/* with /usr/bin > + > +In order to run scripts on target, replace ../src/* with /usr/bin > + > +Upstream-Status: Inappropriate [embedded specific] > +-if test -x ../src/xz/xz ; then > ++if test -x

[OE-core] [PATCH] xz: Add ptest support

2024-01-24 Thread Chi Xu
There are two types of cases: executables and POSIX shell scripts. The output of them are different, so run them with different method in run-ptest. 74 test cases in all and all test cases PASS. Add xz-ptest to PTESTS_FAST because test duration is 19s on qemux86-64. Test results on qemux86-64: