[OE-core] [PATCH V3] man-pages: remove conflict pages

2023-12-20 Thread Changqing Li
From: Changqing Li Remove the pages which libxcrypt and shadow already have to avoid following conflicts during install man-pages and libxcrypt/shadow at the same time. Error: Transaction test error: file /usr/share/man/man3/crypt.3 from install of libcrypt-doc-4.4.33-r0.x86_64 conflicts wit

Re: [OE-core] [PATCH V2] libxcrypt.inc: use alternatives to resolve crypt.3 conflict

2023-12-20 Thread Changqing Li
On 12/19/23 16:29, 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, 2023-12-19 at 12:07 +0800, Changqing Li wrote: Kindly ping And why have this c

Re: [yocto] [qa-build-notification] QA notification for completed autobuilder build (yocto-5.0_M1.rc3)

2023-12-20 Thread Jing Hui Tham
Hi all, Intel and WR YP QA is planning for QA execution for YP build yocto-5.0_M1.rc3. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowBoard Turbot - 32bit

[OE-core][kirkstone 11/11] testimage: Exclude wtmp from target-dumper commands

2023-12-20 Thread Steve Sakoman
From: Richard Purdie wtmp is filled with binary data which the run_serial command can't cope with. Catting this results in confusion of the serial interface and potentially large backlogs of data in the buffers which can hang qemu. Exclude the problematic files from the command. Signed-off-by:

[OE-core][kirkstone 10/11] python3-ptest: skip test_storlines

2023-12-20 Thread Steve Sakoman
From: Trevor Gamblin [YOCTO #14933] test_storlines is yet another Python ptest that fails intermittently on the Yocto AB, so disable it during ptests for now. Signed-off-by: Trevor Gamblin Signed-off-by: Alexandre Belloni (cherry picked from commit d7b9f8157e6214a83b5495e8a32e11540ae65ff8) Si

[OE-core][kirkstone 09/11] externalsrc: Ensure SRCREV is processed before accessing SRC_URI

2023-12-20 Thread Steve Sakoman
From: Yoann Congal When SRCREV is used, call bb.fetch.get_srcrev() before accessing SRC_URI. Without this new bb.fetch.get_srcrev() call, SRC_URI might be accessed before SRCREV had a chance to be processed. In master, this is fixed by https://git.yoctoproject.org/poky/commit/?id=62afa02d017943

[OE-core][kirkstone 08/11] perl: update 5.34.1 -> 5.34.3

2023-12-20 Thread Steve Sakoman
From: Soumya Sambu This includes security fix for CVE-2023-47038 Changes: https://metacpan.org/release/PEVANS/perl-5.34.3/changes Signed-off-by: Soumya Sambu Signed-off-by: Steve Sakoman --- .../0001-Makefile-check-the-file-if-patched-or-not.patch | 4 ++-- .../perl-cross/{perlcross_1.3

[OE-core][kirkstone 06/11] go: Fix CVE-2023-39326

2023-12-20 Thread Steve Sakoman
From: Soumya Sambu A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of

[OE-core][kirkstone 07/11] openssh: backport Debian patch for CVE-2023-48795

2023-12-20 Thread Steve Sakoman
From: Vijay Anusuri import patches from ubuntu to fix fix-authorized-principals-command CVE-2023-48795 Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/openssh/tree/debian/patches?h=ubuntu/jammy-security Upstream commit https://github.com/openssh/openssh-

[OE-core][kirkstone 05/11] ffmpeg: fix for CVE-2022-3965

2023-12-20 Thread Steve Sakoman
From: "mark.yang" Without a CVE tag, It will be recognised as Unpatched by cve_check task. Signed-off-by: mark.yang Signed-off-by: Steve Sakoman --- .../0001-avcodec-smcenc-stop-accessing-out-of-bounds-frame.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-multimedia/ff

[OE-core][kirkstone 04/11] ffmpeg: fix for CVE-2022-3964

2023-12-20 Thread Steve Sakoman
From: "mark.yang" Without a CVE tag, It will be recognised as Unpatched by cve_check task. Signed-off-by: mark.yang Signed-off-by: Steve Sakoman --- ...001-avcodec-rpzaenc-stop-accessing-out-of-bounds-frame.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipe

[OE-core][kirkstone 03/11] qemu: Fix CVE-2023-5088

2023-12-20 Thread Steve Sakoman
From: Sourav Pramanik A bug in QEMU could cause a guest I/O operation otherwise addressed to an arbitrary disk offset to be targeted to offset 0 instead (potentially overwriting the VM's boot code). This change is to fix CVE-2023-5088. Link: https://gitlab.com/qemu-project/qemu/-/commit/7d7512

[OE-core][kirkstone 02/11] curl: Fix CVE-2023-46218

2023-12-20 Thread Steve Sakoman
From: Poonam Jadhav Add patch to fix CVE-2023-46218 Link: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/curl/7.88.1-8ubuntu2.4/curl_7.88.1-8ubuntu2.4.debian.tar.xz https://github.com/curl/curl/commit/2b0994c29a721c91c57 Signed-off-by: Poonam Jadhav Signed-off-by: Steve Sako

[OE-core][kirkstone 01/11] ghostscript: Backport fix for CVE-2023-46751

2023-12-20 Thread Steve Sakoman
From: Vijay Anusuri Upstream-Status: Backport [https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5d2da96e81c7455338302c71a291088a8396245a] Signed-off-by: Vijay Anusuri Signed-off-by: Steve Sakoman --- .../ghostscript/CVE-2023-46751.patch | 41 +++ .../ghostscrip

[OE-core][kirkstone 00/11] Patch review

2023-12-20 Thread Steve Sakoman
Please review this set of changes for kirkstone and have comments back by end of day Friday, December 22 Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6355 The following changes since commit eea685e1caafd8e8121006d3f8b5d0b8a4f2a933: build-appl

[OE-core][PATCH v3] ipk: Switch to using zstd compression

2023-12-20 Thread Joshua Watt
Converts IPK package generation to use zstd instead of xz. zstd has a much larger compression/speed tradeoff range allowing users to choose what suits them best, and fast decompression speeds. It also continues to support parallel compression as xz did. A new variable called ZSTD_DEFAULTS is provi

Re: [OE-core] weston/wayland: OpenGL vs GLES2

2023-12-20 Thread Khem Raj
On Wed, Dec 20, 2023 at 10:31 AM Chris Laplante via lists.openembedded.org wrote: > > Hi all, > > > > Just want to check my understanding on something. It seems to me that the > Weston having: > > > > REQUIRED_DISTRO_FEATURES = "wayland opengl > ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_mana

[OE-core] weston/wayland: OpenGL vs GLES2

2023-12-20 Thread Chris Laplante via lists.openembedded.org
Hi all, Just want to check my understanding on something. It seems to me that the Weston having: REQUIRED_DISTRO_FEATURES = "wayland opengl ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'pam', '', d)}" ...is overly restrictive because 'opengl' implies desktop OpenGL, wher

[OE-core][RFC 2/2] classes-global/insane: Look up all runtime providers for file-rdeps

2023-12-20 Thread Joshua Watt
Uses the new foreach_runtime_provider_pkgdata() API to look up all possible runtime providers of a given dependency when resolving file-rdeps. This allows the check to correctly handle RPROVIDES for non-virtual dependencies Signed-off-by: Joshua Watt --- meta/classes-global/insane.bbclass | 30 +

[OE-core][RFC 1/2] lib/packagedata.py: Add API to iterate over rprovides

2023-12-20 Thread Joshua Watt
Adds an API that makes it easier to iterate over the package data for a all providers of a runtime dependency. Signed-off-by: Joshua Watt --- meta/lib/oe/packagedata.py | 15 +++ 1 file changed, 15 insertions(+) diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py in

[OE-core][PATCH 2/2] lib/packagedata.py: Fix broken symlinks for providers with a '/'

2023-12-20 Thread Joshua Watt
If a package had a provider with a '/' in it (e.g. "/bin/sh", "/bin/bash", etc.), the generated symlinks were broken due to being at a hard coded depth. Use oe.path.relsymlink() instead to make a correct relative symbolic link Signed-off-by: Joshua Watt --- meta/lib/oe/packagedata.py | 4 ++-- 1

[OE-core][PATCH 1/2] lib/oe/path.py: Add relsymlink()

2023-12-20 Thread Joshua Watt
Adds API to make a relative symbolic link between two directories. The arguments are the same as oe.path.symlink() Signed-off-by: Joshua Watt --- meta/lib/oe/path.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index e2f1913a35c..5d21cdcbdff 10

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-20 Thread Richard Purdie
On Wed, 2023-12-20 at 16:28 +, Alex Bennée wrote: > Richard Purdie writes: > > > On Wed, 2023-12-20 at 09:53 +, Alex Bennée wrote: > > > Richard Purdie writes: > > > > > > > On Tue, 2023-12-19 at 16:44 +, Alex Bennée wrote: > > > > > Richard Purdie writes: > > > > > Yeah I'm only s

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-20 Thread Alex Bennée
Richard Purdie writes: > On Wed, 2023-12-20 at 09:53 +, Alex Bennée wrote: >> Richard Purdie writes: >> >> > On Tue, 2023-12-19 at 16:44 +, Alex Bennée wrote: >> > > Richard Purdie writes: >> > > Yeah I'm only seeing A10/A11: >> > > >> > > o regression_1010.5 Invalid memory access 5

[OE-core] [PATCH] qemurunner: more cleanups for output blocking

2023-12-20 Thread Alex Bennée
If we are only tracking stdout and are not using self.readsock we end up throwing an exception blocking further action from the thread. Fix this by checking self.readsock is not None first. While we are at it split even into fd, event to make things clearer and handle the fail path of stringify_ev

[OE-core] [PATCH] devtool: deploy: provide max_process to strip_execs

2023-12-20 Thread clayc
From: Clay Chang Use oe.utils.get_bb_number_threads to get max_process Signed-off-by: Clay Chang --- scripts/lib/devtool/deploy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index e14a587417..eadf6e1521 10

Re: [OE-core] [kirkstone][PATCH] nativesdk-sdk-provides-dummy.bb: Update host tools for rust-cross-canadian

2023-12-20 Thread Richard Purdie
On Wed, 2023-12-20 at 13:13 +, Hemraj, Deepthi via lists.openembedded.org wrote: > I tried adding nativesdk-libstdc++ to DEPENDS:append:class-nativesdk > = " nativesdk-libstdc++" but the issue is still reproducing. >   > The nativesdk-libstdc++ is not having the GLIBCXX_3.4.30 symbols. > Below

Re: [OE-core] [kirkstone][PATCH] nativesdk-sdk-provides-dummy.bb: Update host tools for rust-cross-canadian

2023-12-20 Thread Hemraj, Deepthi via lists.openembedded.org
Hi Randy, I tried adding nativesdk-libstdc++ to DEPENDS:append:class-nativesdk = " nativesdk-libstdc++" but the issue is still reproducing. The nativesdk-libstdc++ is not having the GLIBCXX_3.4.30 symbols. Below cmd shows only GLIBCXX_3.4.29. "strings /ala-lpggp31/dhemraj/kirkstone/5082/poky/b

[OE-core] Patchtest results for [PATCH 2/2] qemu: Ensure pip and the python venv aren't used for meson

2023-12-20 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/2-2-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-meson.patch FAIL: test Upstream-Status presence: Upstream-S

[OE-core] [PATCH 1/2] qemu: Clean up DEPENDS

2023-12-20 Thread Richard Purdie
Move the common dependencies to qemu.inc for cleaner entries in the various recipes. Remove an unneeded inherit. Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu-native_8.1.2.bb| 2 +- meta/recipes-devtools/qemu/qemu-system-native_8.1.2.bb | 4 +--- meta/recipes-devtools

[OE-core] [PATCH 2/2] qemu: Ensure pip and the python venv aren't used for meson

2023-12-20 Thread Richard Purdie
Qemu wants to use a supported python verison and a specific meson version to "help" users and uses pip and creates a venv to do this. This is a nightmare for us. Our versions stay up to date and should be supported so we don't really need/want this wrapping. Tweak things to disable it. There was b

[OE-core][PATCH 1/1] ncurses: Fix - tty is hung after reset

2023-12-20 Thread Soumya via lists.openembedded.org
From: Soumya Sambu Serial tty is hung after reset command - $echo "test " >> /dev/ttyS0 test $stty -a < /dev/ttyS0 speed 115200 baud; rows 34; columns 153; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; we

[OE-core][kirkstone][PATCH 1/1] go: Fix CVE-2023-39326

2023-12-20 Thread Soumya via lists.openembedded.org
From: Soumya Sambu A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of

[OE-core] [PATCH] oeqa/selftest/overlayfs: Fix whitespace

2023-12-20 Thread Richard Purdie
My previous fix missed out whitespace with the append, fix that. Signed-off-by: Richard Purdie # --- meta/lib/oeqa/selftest/cases/overlayfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py b/meta/lib/oeqa/selftest/cases/overla

Re: [OE-core] [PATCH] libxml2: upgrade 2.11.5 -> 2.12.3

2023-12-20 Thread Alexandre Belloni via lists.openembedded.org
Hello, I already told you that this is breaking webkit on the 23/11/2023... On 19/12/2023 17:34:24+0800, wangmy wrote: > From: Wang Mingyu > > Changelog: > == > - parser: Fix namespaces redefined from default attributes > - include: Rename XML_EMPTY helper macro > - include: Move declar

[OE-core] Patchtest results for [PATCH 2/2] qemu: Ensure pip and the python venv aren't used for meson

2023-12-20 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/2-2-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-meson.patch FAIL: test Upstream-Status presence: Upstream-S

Re: [OE-core] [PATCH] rust: rustdoc reproducibility issue fix

2023-12-20 Thread Sundeep KOKKONDA via lists.openembedded.org
Testing done with arm, arm64, x86 & x86_64 arch's. Below combinations are tested. - Tested the issue by reproducing and fixing it with the patch, - with oe-selftest, - Builds b/w different commits, - with shared sstate b/w the builds. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

[OE-core] [PATCH] rust: rustdoc reproducibility issue fix

2023-12-20 Thread Sundeep KOKKONDA via lists.openembedded.org
From: Sundeep KOKKONDA The PGO (Profile-guided Optimization) collect data about the typical execution of a program and then use this data to inform optimizations such as inlining, machine-code layout, register allocation, etc. This optimization is by default disabled in rust sources but enabled

[OE-core] [PATCH 1/2] qemu: Clean up DEPENDS

2023-12-20 Thread Richard Purdie
Move the common dependencies to qemu.inc for cleaner entries in the various recipes. Remove an unneeded inherit. Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu-native_8.1.2.bb| 2 +- meta/recipes-devtools/qemu/qemu-system-native_8.1.2.bb | 4 +--- meta/recipes-devtools

[OE-core] [PATCH 2/2] qemu: Ensure pip and the python venv aren't used for meson

2023-12-20 Thread Richard Purdie
Qemu wants to use a supported python verison and a specific meson version to "help" users and uses pip and creates a venv to do this. This is a nightmare for us. Our versions stay up to date and should be supported so we don't really need/want this wrapping. Tweak things to disable it. There was b

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-20 Thread Richard Purdie
On Wed, 2023-12-20 at 09:53 +, Alex Bennée wrote: > Richard Purdie writes: > > > On Tue, 2023-12-19 at 16:44 +, Alex Bennée wrote: > > > Richard Purdie writes: > > > Yeah I'm only seeing A10/A11: > > > > > > o regression_1010.5 Invalid memory access 5 > > > regression_1010.5 OK >

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-20 Thread Alex Bennée
Richard Purdie writes: > On Tue, 2023-12-19 at 16:44 +, Alex Bennée wrote: >> Richard Purdie writes: >> >> > On Tue, 2023-12-19 at 15:10 +, Alex Bennée wrote: >> > > "Richard Purdie" writes: >> > > >> > > > Similar to stdout in the previous commit, we need to ensure serial >> > > > o

[OE-core] [PATCH V3] rxvt-unicode: set correct outdir for tic

2023-12-20 Thread Changqing Li
From: Changqing Li * tic is from ncurses-native, and set TERMINFO as ${RECIPE_SYSROOT_NATIVE}/${datadir}/terminfo of ncurses-native, so the rxvt-unicode terminfo will be wrongly installed in there. set the outdir explicitly to install them to correct dir. * Add ncurses-native as DEPENDS to fix