Re: [OE-core] [qa-build-notification] QA notification for completed autobuilder build (yocto-4.0.2.rc1)

2022-06-30 Thread Teoh, Jay Shen
Hi all, Intel and WR YP QA is planning for QA execution for YP build yocto-4.0.2.rc1. 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. MinnowTurbot 32-bit 2. NUC 7 3. NUC 6 4.

[OE-core] [PATCH] package.bbclass: Fix base directory for debugsource files when using externalsrc

2022-06-30 Thread Alejandro Hernandez Samaniego
While executing do_package, bitbake checks for a list of debug source files and uses a pattern to match the ones to be included in copydebugsources. Previously when externalsrc was in use either directly or by using devtool, the source location changed and this pattern no longer matched, hence

[OE-core] libstdc++ honister -> kirkstone

2022-06-30 Thread Phil Reid
G'day All, We're just updating from honister to kirkstone branch and run into an issue with libstdc++. We're targeting a 32 bit arm device. is_empty throws with "filesystem error: cannot check if file is empty: Operation not supported" when called on an empty directory. tracing this status is

Re: [OE-core][PATCH] package_manager/ipk: do not pipe stderr to stdout

2022-06-30 Thread Shruthi Ravichandran
The change currently does discard everything in stderr. I can update it to capture stderr and push it to bb.note on command success and bb.fatal on command failure. In fact, I can make those changes to the several other instances in this file where stderr is piped to stdout too. Would that be

Re: [OE-core] [PATCH] packagegroup-core-ssh-dropbear: Add openssh-sftp-server

2022-06-30 Thread Steve Sakoman
On Thu, Jun 30, 2022 at 9:36 AM Richard Purdie wrote: > > On Thu, 2022-06-30 at 07:13 -1000, Steve Sakoman wrote: > > On Mon, Jun 27, 2022 at 9:14 AM Richard Purdie > > wrote: > > > > > > On Fri, 2022-06-24 at 14:45 +0100, Richard Purdie via > > > lists.openembedded.org wrote: > > > > Seems sad

Re: [OE-core] [PATCH] runqueue: add cpu/io pressure regulation

2022-06-30 Thread Aryaman Gupta
>-Original Message- >From: Richard Purdie >Sent: Thursday, June 30, 2022 5:53 AM >To: Gupta, Aryaman ; openembedded- >c...@lists.openembedded.org >Subject: Re: [OE-core] [PATCH] runqueue: add cpu/io pressure regulation > >[Please note: This e-mail is from an EXTERNAL e-mail address] >

Re: [OE-core] [PATCH] runqueue: add cpu/io pressure regulation

2022-06-30 Thread Aryaman Gupta
See my comments in-line below: From: Jose Quaresma Sent: Thursday, June 30, 2022 4:32 AM To: Gupta, Aryaman Cc: OE-core Subject: Re: [OE-core] [PATCH] runqueue: add cpu/io pressure regulation [Please note: This e-mail is from an EXTERNAL e-mail address] Hi Aryaman, Aryaman Gupta

Re: [OE-core] [PATCH] packagegroup-core-ssh-dropbear: Add openssh-sftp-server

2022-06-30 Thread Richard Purdie
On Thu, 2022-06-30 at 07:13 -1000, Steve Sakoman wrote: > On Mon, Jun 27, 2022 at 9:14 AM Richard Purdie > wrote: > > > > On Fri, 2022-06-24 at 14:45 +0100, Richard Purdie via > > lists.openembedded.org wrote: > > > Seems sad to have to do this but openssh is moving to use sftp instead > > > of

[OE-core] [PATCH 7/7] lttng-modules: fix 5.19+ build

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield We need to backport three patches from the lttng upstream tree to fix the build against 5.19+. Obviously we'll drop these once the next lttng-modules release is available. Signed-off-by: Bruce Ashfield --- ...c-fix-tracepoint-mm_page_alloc_zone_.patch | 106

[OE-core] [PATCH 6/7] linux-yocto/5.15: drop obselete GPIO sysfs ABI

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/.: 6778005b9fa treewide: Drop the obsolete GPIO sysfs ABI Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb | 2 +-

[OE-core] [PATCH 5/7] linux-yocto-dev: bump to v5.19-rc

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield 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 b/meta/recipes-kernel/linux/linux-yocto-dev.bb index d35632071b..5a420b7fb2

[OE-core] [PATCH 4/7] linux-yocto/5.10: update to v5.10.123

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 2a59239b22e0 Linux 5.10.123 aa238a92cc94 x86/speculation/mmio: Print SMT warning bde15fdcce44 KVM: x86/speculation: Disable Fill buffer clear within guests 6df693dca312

[OE-core] [PATCH 3/7] linux-yocto/5.15: update to v5.15.48

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: e1dd58c995da Linux 5.15.48 147ae04a7c52 x86/speculation/mmio: Print SMT warning 59d665a709b0 KVM: x86/speculation: Disable Fill buffer clear within guests ebd0f558b480

[OE-core] [PATCH 2/7] linux-yocto/5.15: update to v5.15.46

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: aed23654e8ed Linux 5.15.46 c24cff012420 block: fix bio_clone_blkg_association() to associate with proper blkcg_gq 97a40c22013a pinctrl/rockchip: support setting input-enable

[OE-core] [PATCH 1/7] linux-yocto/5.10: update to v5.10.121

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: e2e52b40ef1a Linux 5.10.121 47c1680e51ef md: bcache: check the return value of kzalloc() in detached_dev_do_request() a67100f42665 ext4: only allow test_dummy_encryption when

[OE-core] [PATCH 0/7] kernel-yocto: consolidated pull request

2022-06-30 Thread Bruce Ashfield
From: Bruce Ashfield Richard, With conference travel and issues with meta-virtualization, I've been behind in sending this out .. but I have been queueing changes, I just wanted to be around in case something breaks. Here are the -stable updates and the start of my efforts to bring 5.19 in as

[OE-core] [dunfell][PATCH] epiphany: fix CVE-2022-29536

2022-06-30 Thread Minjae Kim
Fix memory corruption in ephy_string_shorten() Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1106] CVE: CVE-2022-29536 Signed-off-by:Minjae Kim --- .../recipes-gnome/epiphany/epiphany_3.34.4.bb | 3 +- .../epiphany/files/CVE-2022-29536.patch | 45

[OE-core] [PATCH] buildperf/base.py: skip reduced_proc_pressure directory

2022-06-30 Thread Aryaman Gupta
Buildperf was designed to skip all non-directories under buildstats, i.e. proc log files. With the /proc/pressure stats being collected in a new directory, the following error was seen: meta/lib/oeqa/buildperf/base.py", line 392, in split_nevr n_e_v, revision = nevr.rsplit('-', 1)

Re: [OE-core] [PATCH] openssl: Upgrade 3.0.3 -> 3.0.4

2022-06-30 Thread Richard Purdie
On Thu, 2022-06-30 at 18:43 +0200, Alexander Kanavin wrote: > On Thu, 30 Jun 2022 at 18:20, Richard Purdie > wrote: > > > > file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \ > > file://afalg.patch \ > >

Re: [OE-core] [PATCH] packagegroup-core-ssh-dropbear: Add openssh-sftp-server

2022-06-30 Thread Steve Sakoman
On Mon, Jun 27, 2022 at 9:14 AM Richard Purdie wrote: > > On Fri, 2022-06-24 at 14:45 +0100, Richard Purdie via > lists.openembedded.org wrote: > > Seems sad to have to do this but openssh is moving to use sftp instead > > of scp to move files. This means scp from Fedora 36 will no longer be > >

Re: [OE-core] [PATCH] openssl: Upgrade 3.0.3 -> 3.0.4

2022-06-30 Thread Alexander Kanavin
On Thu, 30 Jun 2022 at 18:20, Richard Purdie wrote: > > file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \ > file://afalg.patch \ > file://0001-Configure-do-not-tweak-mips-cflags.patch \ > -

[OE-core][dunfell 12/12] insane.bbclass: host-user-contaminated: Correct per package home path

2022-06-30 Thread Steve Sakoman
From: Ahmed Hossam The current home path that is compared against is incorrect as it is missing the package name, this patch adds it. [YOCTO #14553] Signed-off-by: Ahmed Hossam Signed-off-by: Luca Ceresoli (cherry picked from commit ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a) Signed-off-by:

[OE-core][dunfell 11/12] wic: fix WicError message

2022-06-30 Thread Steve Sakoman
From: Martin Jansa * add missing % to print the values instead of: | INFO: Build artifacts not found, exiting. | INFO: (Please check that the build artifacts for the machine | INFO:selected in local.conf actually exist and that they | INFO:are the correct artifacts for the

[OE-core][dunfell 10/12] initramfs-framework: move storage mounts to actual rootfs

2022-06-30 Thread Steve Sakoman
From: Muhammad Hamza Operations such as mkfs fail on devices that are not switched to the actual rootfs before switch_root is called. The kernel interprets these devices as still being used even after unmounting and errors such as below are seen when the target is fully booted root@v1000:~#

[OE-core][dunfell 09/12] lttng-modules: Backport Linux 5.18+, 5.15.44+, 5.10.119+ fixes

2022-06-30 Thread Steve Sakoman
From: Marek Vasut The Linux kernel commit 14c174633f349 ("random: remove unused tracepoints") removed unused tracepoints and has been backported to stable Linux kernel releases. This causes build failure of lttng-modules: " lttng-modules-2.11.6/probes/lttng-probe-random.c:18:10: fatal error:

[OE-core][dunfell 08/12] wireless-regdb: upgrade 2022.04.08 -> 2022.06.06

2022-06-30 Thread Steve Sakoman
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit 4c27711292f93dfad1ffdeab6d715becad32a4ff) Signed-off-by: Steve Sakoman --- ...ireless-regdb_2022.04.08.bb => wireless-regdb_2022.06.06.bb} | 2 +- 1

[OE-core][dunfell 07/12] oeqa/selftest/cve_check: add tests for Ignored and partial reports

2022-06-30 Thread Steve Sakoman
From: Marta Rybczynska Add testcases for partial reports with CVE_CHECK_REPORT_PATCHED and Ignored CVEs. Signed-off-by: Marta Rybczynska Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry-picked from 3f7639b90004973782a2e74925fd2e9a764c1090) Signed-off-by: Steve Sakoman

[OE-core][dunfell 06/12] grub2: CVE-2021-3981 Incorrect permission in grub.cfg allow unprivileged user to read the file content

2022-06-30 Thread Steve Sakoman
From: Hitendra Prajapati Source: https://git.savannah.gnu.org/cgit/grub.git/ MR: 116495 Type: Security Fix Disposition: Backport from https://git.savannah.gnu.org/cgit/grub.git/diff/util/grub-mkconfig.in?id=0adec29674561034771c13e446069b41ef41e4d4 ChangeID:

[OE-core][dunfell 05/12] cve-check: add support for Ignored CVEs

2022-06-30 Thread Steve Sakoman
From: Marta Rybczynska Ignored CVEs aren't patched, but do not apply in our configuration for some reason. Up till now they were only partially supported and reported as "Patched". This patch adds separate reporting of Ignored CVEs. The variable CVE_CHECK_REPORT_PATCHED now manages reporting of

[OE-core][dunfell 04/12] unzip: Port debian fixes for two CVEs

2022-06-30 Thread Steve Sakoman
From: Richard Purdie Add two fixes from debian for two CVEs. From: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010355 I wans't able to get the reproducers to work but the added error checking isn't probably a bad thing. Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][dunfell 03/12] unzip: fix CVE-2021-4217

2022-06-30 Thread Steve Sakoman
From: Joe Slater Avoid a null pointer dereference. Signed-off-by: Joe Slater Signed-off-by: Alexandre Belloni (cherry picked from commit 36db85b9b127e5a9f5d3d6e428168cf597ab95f3) Signed-off-by: Steve Sakoman --- .../unzip/unzip/CVE-2021-4217.patch | 67 +++

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

2022-06-30 Thread Steve Sakoman
Please review this set of patches for dunfell and have comments back by end of day Monday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3844 With the exception of a known autobuilder intermittent issue:

[OE-core][dunfell 02/12] golang: CVE-2021-31525 net/http: panic in ReadRequest and ReadResponse when reading a very large header

2022-06-30 Thread Steve Sakoman
From: Hitendra Prajapati Source: https://github.com/argoheyard/lang-net MR: 114874 Type: Security Fix Disposition: Backport from https://github.com/argoheyard/lang-net/commit/701957006ef151feb43f86aa99c8a1f474f69282 ChangeID: bd3c4f9f44dd1c45e810172087004778522d28eb Description:

[OE-core][dunfell 01/12] golang: CVE-2022-24675 encoding/pem: fix stack overflow in Decode

2022-06-30 Thread Steve Sakoman
From: Hitendra Prajapati Source: https://go-review.googlesource.com/c/go MR: 117551 Type: Security Fix Disposition: Backport from https://go-review.googlesource.com/c/go/+/399816/ ChangeID: 347f22f93e8eaecb3d39f8d6c0fe5a70c5cf7b7c Description: CVE-2022-24675 golang: encoding/pem: fix

[OE-core] [PATCH] openssl: Upgrade 3.0.3 -> 3.0.4

2022-06-30 Thread Richard Purdie
Includes a fix for CVE-2022-2068. Signed-off-by: Richard Purdie --- ...1-Configure-do-not-tweak-mips-cflags.patch | 10 +- ...sysroot-and-debug-prefix-map-from-co.patch | 20 +-- .../openssl/openssl/afalg.patch | 10 +- .../{openssl_3.0.3.bb =>

Re: [OE-core] [PATCH 2/2] cve-check: hook cleanup to the BuildCompleted event, not CookerExit

2022-06-30 Thread Marta Rybczynska
On Wed, Jun 29, 2022 at 5:45 PM Ross Burton wrote: > > > On 29 Jun 2022, at 16:19, Marta Rybczynska wrote: > > Sean, could you check if it is your case too? I'll be adding a more > verbose error message > > so that we know which package it comes from. > > I actually think we should get rid of

Re: [OE-core] [PATCH] base.bbclass: Add sstate-cache dependency to GCCVERSION

2022-06-30 Thread Richard Purdie
On Thu, 2022-06-30 at 16:14 +0200, Tomasz Dziendzielski wrote: > Would setting dependency to SDKGCCVERSION be more acceptable? No, it wouldn't. It doesn't address the manjority of my concerns. > That way native recipes will not depend on target gcc version. The native recipes shouldn't depend

Re: [OE-core] [PATCH] base.bbclass: Add sstate-cache dependency to GCCVERSION

2022-06-30 Thread Tomasz Dziendzielski
Would setting dependency to SDKGCCVERSION be more acceptable? That way native recipes will not depend on target gcc version. >I'm guessing what has happened in your case is that a >TMPDIR as reused after changing gcc version but something didn't >rebuild, probably as ${S} == ${B} and hence ${B}

[OE-core] [PATCH] cve-extra-exclusions: Clean up and ignore three CVEs (2xqemu and nasm)

2022-06-30 Thread Richard Purdie
Remove obsolete comments/data from the file. Add in three CVEs to ignore. Two are qemu CVEs which upstream aren't particularly intersted in and aren't serious issues. Also ignore the nasm CVE found from fuzzing as this isn't a issue we'd expose from OE. Signed-off-by: Richard Purdie ---

Re: [OE-core] [PATCH 0/3] V3 /proc/pressure buildstats

2022-06-30 Thread Richard Purdie
On Wed, 2022-06-22 at 15:21 -0400, Aryaman Gupta wrote: > Changes in V3: > - In V2, it was assumed that heartbeat events arrived once per second > but on the Autobuilder, the BB_HEARTBEAT_EVENT is set to 60 seconds. > Hence, revert the requirement to restrict sampling only to heartbeat >

[OE-core] [PATCH] ncurses: use GitHub mirror, not Debian's packaging

2022-06-30 Thread Ross Burton
The GitHub mirror of ncurses is updated daily, whereas the Debian packaging repository is only updated when they do an upgrade. Signed-off-by: Ross Burton --- meta/recipes-core/ncurses/ncurses.inc | 2 +- meta/recipes-core/ncurses/ncurses_6.3+20220423.bb | 2 +- 2 files changed, 2

Re: [OE-core] [PATCH] runqueue: add cpu/io pressure regulation

2022-06-30 Thread Richard Purdie
On Wed, 2022-06-29 at 16:10 -0400, Aryaman Gupta wrote: > Stop the scheduler from starting new tasks if the > current cpu or io pressure is above a certain threshold, specified > through the "BB_MAX_{CPU|IO}_SOME_PRESSURE" variables in conf/local.conf. > > If the thresholds aren't specified, the

Re: [OE-core] [PATCH] glibc-tests: not clear BBCLASSEXTEND

2022-06-30 Thread kai
On 6/29/22 6:23 AM, Randy MacLeod wrote: On 2022-06-28 12:03, Richard Purdie wrote: On Tue, 2022-06-28 at 23:22 +0800, kai wrote: From: Kai Kang It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk' which is set in glibc recipe. The side effect is that it removes "${MULTILIBS}"

Re: [OE-core] [PATCH] gstreamer1.0: upgrade 1.20.2 -> 1.20.3

2022-06-30 Thread Alexander Kanavin
I think we can also simply wait for AUH to process the full set automatically (which will happen tomorrow), then you or anyone else interested can simply pick the patches off this mailing list, or see upfront where the problems are. Alex On Thu, 30 Jun 2022 at 10:38, wangmy wrote: > > Thank you

Re: [OE-core][PATCH] package_manager/ipk: do not pipe stderr to stdout

2022-06-30 Thread Alexander Kanavin
Thanks for the information - perhaps this should be added to the commit message? Does this change discard things that appear on stderr completely, or does it still go somewhere where it can be seen later? Alex On Wed, 29 Jun 2022 at 21:22, Shruthi Ravichandran wrote: > > Hi Alex, > > I've

Re: [OE-core] [PATCH] gstreamer1.0: upgrade 1.20.2 -> 1.20.3

2022-06-30 Thread wangmy
Thank you for reminding. I will upgrade the framework as a whole and submit it again. -- Best Regards --- Wang Mingyu Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China TEL:

Re: [OE-core] [PATCH] runqueue: add cpu/io pressure regulation

2022-06-30 Thread Jose Quaresma
Hi Aryaman, Aryaman Gupta escreveu no dia quarta, 29/06/2022 à(s) 21:10: > Stop the scheduler from starting new tasks if the > current cpu or io pressure is above a certain threshold, specified > through the "BB_MAX_{CPU|IO}_SOME_PRESSURE" variables in conf/local.conf. > > If the thresholds

[OE-core] [PATCH] oe-selftest-image: Ensure the image has sftp as well as dropbear

2022-06-30 Thread Richard Purdie
We need sftp so that scp works with recent openssh. Use the packagegroup instead of a direct dependency to ensure this. Signed-off-by: Richard Purdie --- meta-selftest/recipes-test/images/oe-selftest-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH] gstreamer1.0: upgrade 1.20.2 -> 1.20.3

2022-06-30 Thread Jose Quaresma
Hi wangmy, This doesn't work, gstreamer is a framework so when you update one element you need to update all of them. Jose wangmy escreveu no dia quinta, 30/06/2022 à(s) 05:20: > Signed-off-by: Wang Mingyu > --- > .../{gstreamer1.0_1.20.2.bb => gstreamer1.0_1.20.3.bb} | 2 +- > 1