[OE-core][dunfell 07/15] cryptodev-module: fix build failure with kernel v5.10

2021-04-01 Thread Steve Sakoman
From: Naveen Saini zc.c:77:8: error: too many arguments to function 'get_user_pages_remote' |77 | ret = get_user_pages_remote(task, mm, | |^ Backported patch to fix it. Signed-off-by: Naveen Saini Signed-off-by: Steve Sakoman ---

[OE-core][dunfell 11/15] libtool: make sure autoheader run before autoconf

2021-04-01 Thread Steve Sakoman
From: Mingli Yu autoheader will update ../libtool-2.4.6/libltdl/config-h.in which autoconf needs, so there comes a race sometimes as below: | configure.ac:45: error: required file 'config-h.in' not found | touch '../libtool-2.4.6/libltdl/config-h.in' So make sure autoheader run before

[OE-core][dunfell 12/15] populate_sdk_ext: Avoid copying and producing .pyc files

2021-04-01 Thread Steve Sakoman
From: Mark Hatle Since pyc cache files are really system specific, no real reason to copy or generate them during the eSDK build process. Also generating them has the possibility of re-using inodes that pseudo may have been tracking, leading a build failure. Signed-off-by: Mark Hatle

[OE-core][dunfell 09/15] documentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST

2021-04-01 Thread Steve Sakoman
From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit 410a45639d84a3d69a65133593da32062196dd59) Signed-off-by: Steve Sakoman --- scripts/contrib/documentation-audit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core][dunfell 08/15] run-postinsts: do not remove postinsts directory.

2021-04-01 Thread Steve Sakoman
From: "Anton D. Kachalov" When running on the systems having read-only rootfs backed by overlayfs, removing the whole directory lead to create a special char device file on the upperdir to reflect directory's removal. Once it is required to upgrade the whole read-only image that might contain

[OE-core][dunfell 06/15] cryptodev-module: Backport a patch to fix build failure with kernel v5.8

2021-04-01 Thread Steve Sakoman
From: He Zhe Fix the following build failure with linux-yocto-dev zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'? 61 | down_read(>mmap_sem); | ^~~~ | mmap_base zc.c:77:15: error: 'struct

[OE-core][dunfell 10/15] bitbake.conf: correct description of HOSTTOOLS_DIR

2021-04-01 Thread Steve Sakoman
From: "Robert P. J. Day" HOSTTOOLS_DIR contains symlinks to host tools, not copies Signed-off-by: Robert P. J. Day Signed-off-by: Richard Purdie (cherry picked from commit fb7692da7faa49b370680decbbaceaeb85b6889d) Signed-off-by: Steve Sakoman --- meta/conf/bitbake.conf | 2 +- 1 file

Re: [OE-core] [PATCH] make-mod-scripts: pass CROSS_COMPILE to configure and build

2021-04-01 Thread Bruce Ashfield
On Wed, Mar 31, 2021 at 8:00 PM Denys Dmytriyenko wrote: > > Fixes: > | CALL > /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh > | CALL > /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/check-atomics.sh > | LDS

Re: [OE-core] [PATCH] make-mod-scripts: Provide the correct objcopy to kernel make

2021-04-01 Thread Bruce Ashfield
On Thu, Apr 1, 2021 at 11:54 AM Khem Raj wrote: > > > > On 4/1/21 6:16 AM, Bruce Ashfield wrote: > > On Wed, Mar 31, 2021 at 8:01 PM Denys Dmytriyenko wrote: > >> > >> On Mon, Mar 29, 2021 at 11:14:13AM -0400, Bruce Ashfield wrote: > >>> On Mon, Mar 29, 2021 at 10:08 AM Nishanth Menon wrote: >

Re: [OE-core] [PATCH] make-mod-scripts: Provide the correct objcopy to kernel make

2021-04-01 Thread Bruce Ashfield
On Wed, Mar 31, 2021 at 8:01 PM Denys Dmytriyenko wrote: > > On Mon, Mar 29, 2021 at 11:14:13AM -0400, Bruce Ashfield wrote: > > On Mon, Mar 29, 2021 at 10:08 AM Nishanth Menon wrote: > > > > > > On 13:31-20210327, Bruce Ashfield wrote: > > > > On Thu, Mar 25, 2021 at 9:13 PM Nishanth Menon via

[OE-core] what are the dangers of adding "out-of-tree" files to FILES_${PN}?

2021-04-01 Thread Robert P. J. Day
recently, i've run across a couple layers based on pretty much up-to-date OE/YP, where fixed files are being added to a package via assignments like this: FILES_${PN} += "/data" i already know that's a bad idea, but i'm curious as to what build errors might occur when trying something

Re: [OE-core] [PATCH] make-mod-scripts: Provide the correct objcopy to kernel make

2021-04-01 Thread Khem Raj
On 4/1/21 6:16 AM, Bruce Ashfield wrote: On Wed, Mar 31, 2021 at 8:01 PM Denys Dmytriyenko wrote: On Mon, Mar 29, 2021 at 11:14:13AM -0400, Bruce Ashfield wrote: On Mon, Mar 29, 2021 at 10:08 AM Nishanth Menon wrote: On 13:31-20210327, Bruce Ashfield wrote: On Thu, Mar 25, 2021 at 9:13

[OE-core][dunfell 02/15] git: fix CVE-2021-21300

2021-04-01 Thread Steve Sakoman
From: Minjae Kim checkout: fix bug that makes checkout follow symlinks in leading path Upstream-Status: Acepted [https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592] CVE: CVE-2021-21300 Signed-off-by: Minjae Kim Signed-off-by: Steve Sakoman ---

[OE-core][dunfell 03/15] openssl: update to 1.1.1k to fix CVE-2021-3450 and CVE-2021-3449

2021-04-01 Thread Steve Sakoman
From: Mikko Rapeli Only security issues fixed in this release according to https://www.openssl.org/news/cl111.txt Signed-off-by: Mikko Rapeli Signed-off-by: Steve Sakoman --- .../openssl/{openssl_1.1.1j.bb => openssl_1.1.1k.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OE-core][dunfell 04/15] linux-yocto/5.4: update to v5.4.107

2021-04-01 Thread Steve Sakoman
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: a65e78863443 Linux 5.4.107 5161cc4350de net: dsa: b53: Support setting learning on port ebeefdc3d8ee net: dsa: tag_mtk: fix 802.1ad VLAN egress 6c3d86e6ffde

[OE-core][dunfell 05/15] linux-firmware: Fix packaging

2021-04-01 Thread Steve Sakoman
From: Michael Trensch Upstream directory layout has changed after update in commit 3c2f8b750ab9c53773fb5a9a1a874e475740b4ee, resulting in some package to pull in linux-firmware base package. This may cause an image size increase of approximately 700MB. See log.do_packaging: DEBUG:

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

2021-04-01 Thread Steve Sakoman
Please review this next 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/2019 The following changes since commit 707036d4ec12ef1a260adcef78627b26e32e6540: linux-yocto/5.4:

[OE-core][dunfell 01/15] connman: fix CVE-2021-26675, CVE-2021-26676

2021-04-01 Thread Steve Sakoman
From: Catalin Enache A stack-based buffer overflow in dnsproxy in ConnMan before 1.39 could be used by network adjacent attackers to execute code. gdhcp in ConnMan before 1.39 could be used by network-adjacent. attackers to leak sensitive stack information, allowing further exploitation of bugs

Re: [OE-core] [poky][dunfell][PATCHv2] openssh: fix CVE-2020-14145

2021-04-01 Thread Steve Sakoman
On Wed, Mar 31, 2021 at 11:19 PM Sana Kazi wrote: > > Hi Steve, > > I have verified the patch on dunfell branch and it builds successfully. Sorry, I tried your patch both locally and on the autobuilder and it still fails to build: https://errors.yoctoproject.org/Errors/Details/575272/ Steve

[OE-core][PATCH] bitbake.conf: Limit the number of OpenMP threads

2021-04-01 Thread Joshua Watt
Limits the number of OpenMP threads to match BB_NUMBER_THREADS. This prevents OpenMP (libgomp in particular) from falling back to using all the available CPUs, which behaves poorly when attempting to limit build usage, especially when attempting to build in a container. Signed-off-by: Joshua Watt

Re: [OE-core] [PATCH] mesa-gl: Use swrast gallium driver

2021-04-01 Thread Khem Raj
On Thu, Apr 1, 2021 at 3:19 AM Martin Jansa wrote: > > On Wed, Mar 31, 2021 at 03:50:51PM -0700, Khem Raj wrote: > > Fixes > > ../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed > > choices: "auto, i915, i965, r100, r200, nouveau" > > > > Signed-off-by: Khem Raj > > Cc:

[OE-core][dunfell 15/15] image,populate_sdk_base: move 'func' flag setting for sdk command vars

2021-04-01 Thread Steve Sakoman
From: Christopher Larson Setting the 'func' flag on the commands variables ensures that they are parsed as shell, and therefore that the referenced commands contents are included in checksums. Doing this only in image.bbclass means that this is missing in recipes that are not images, but which

[OE-core][dunfell 14/15] buildhistory: add missing vardepsexcludes

2021-04-01 Thread Steve Sakoman
From: Christopher Larson For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and SDK_POSTPROCESS_COMMAND, the appropriate entries were added to vardepvalueexclude, but we want them in vardepsexclude as well. Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie

[OE-core][dunfell 13/15] packagegroups: delete useless "PROVIDES" lines

2021-04-01 Thread Steve Sakoman
From: "Robert P. J. Day" There is apparently no functional value to "PROVIDES" lines anymore in packagegroup recipe files, so remove the lonely couple of examples left. Signed-off-by: Robert P. J. Day Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [PATCH] conf/machine: Enable bochs-display on RISC-V machines

2021-04-01 Thread Alistair Francis
Enable the bochs-display as q QEMU argument when running on RISC-V machines. Signed-off-by: Alistair Francis --- meta/conf/machine/include/riscv/qemuriscv.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-04-01 Thread Devendra Tewari
>From 57b633a93bd91b7b1aa21cce5ac7997b958ca917 Mon Sep 17 00:00:00 2001 From: Devendra Tewari Date: Thu, 1 Apr 2021 16:07:25 -0300 Subject: [PATCH] Use shutil.move when os.rename fails Incremental build in Docker fails with OSError: [Errno 18] Invalid cross-device link When source and

[OE-core] [PATCH] valgrind: print failed ptest details

2021-04-01 Thread Yi Fan Yu
Some intermittent failures in valgrind are hard reproduce. Printing the difference between actual and expected will make understanding them slightly easier. [YOCTO #14294] Signed-off-by: Yi Fan Yu --- meta/recipes-devtools/valgrind/valgrind/run-ptest | 10 ++ 1 file changed, 10

[OE-core] [PATCH] uboot: Deploy default symlinks with fitImage

2021-04-01 Thread Klaus Heinrich Kiwi
Some image recipes uses ${DEPLOY_DIR_IMAGE}/${UBOOT_BINARY} to create their images. Force the re-creation of those symlinks pointing to the u-boot-fitImage in case UBOOT_FITIMAGE_ENABLE is set. Signed-off-by: Klaus Heinrich Kiwi --- meta/classes/uboot-sign.bbclass | 9 + 1 file changed,

Re: [OE-core] [PATCH] make-mod-scripts: pass CROSS_COMPILE to configure and build

2021-04-01 Thread Bruce Ashfield
On Thu, Apr 1, 2021 at 4:31 PM Nishanth Menon wrote: > > On 09:22-20210401, Bruce Ashfield wrote: > > On Wed, Mar 31, 2021 at 8:00 PM Denys Dmytriyenko wrote: > > > > > > Fixes: > > > | CALL > > > /OE/poky-master/build/tmp/work-shared/

Re: [OE-core] [PATCH] make-mod-scripts: pass CROSS_COMPILE to configure and build

2021-04-01 Thread Nishanth Menon via lists.openembedded.org
On 16:52-20210401, Bruce Ashfield wrote: [...] > > Though I still don't understand the rationale why would we not move > > CROSS_COMPILE from kernel.bbclass to kernel-arch.bbclass instead of > > having to duplicate it here? after all KERNEL_CC etc are in that realm > > an

[OE-core] [PATCH] python3: Skip failing ptests due to load variability

2021-04-01 Thread Yi Fan Yu
Skip tests until load issue is fixed, most commonly seen on the arm64 builder. [YOCTO #14296] Signed-off-by: Yi Fan Yu --- ...sts-due-to-load-variability-on-YP-AB.patch | 53 +++ meta/recipes-devtools/python/python3_3.9.2.bb | 1 + 2 files changed, 54 insertions(+) create

Re: [OE-core][dunfell 13/15] packagegroups: delete useless "PROVIDES" lines

2021-04-01 Thread Andre McCurdy
On Thu, Apr 1, 2021 at 8:29 AM Steve Sakoman wrote: > > From: "Robert P. J. Day" > > There is apparently no functional value to "PROVIDES" lines anymore in > packagegroup recipe files, so remove the lonely couple of examples > left. Seems questionable for backporting to a stable release. The

Re: [OE-core] [PATCH] make-mod-scripts: pass CROSS_COMPILE to configure and build

2021-04-01 Thread Nishanth Menon via lists.openembedded.org
On 09:22-20210401, Bruce Ashfield wrote: > On Wed, Mar 31, 2021 at 8:00 PM Denys Dmytriyenko wrote: > > > > Fixes: > > | CALL > > /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh > > | CALL > > /OE/poky

Re: [OE-core][dunfell 13/15] packagegroups: delete useless "PROVIDES" lines

2021-04-01 Thread Steve Sakoman
On Thu, Apr 1, 2021 at 10:07 AM Andre McCurdy wrote: > > On Thu, Apr 1, 2021 at 8:29 AM Steve Sakoman wrote: > > > > From: "Robert P. J. Day" > > > > There is apparently no functional value to "PROVIDES" lines anymore in > > packagegroup recipe files, so remove the lonely couple of examples > >

Re: [OE-core] what are the dangers of adding "out-of-tree" files to FILES_${PN}?

2021-04-01 Thread Andre McCurdy
On Thu, Apr 1, 2021 at 6:08 AM Robert P. J. Day wrote: > > recently, i've run across a couple layers based on pretty much > up-to-date OE/YP, where fixed files are being added to a package via > assignments like this: > > FILES_${PN} += "/data" > > i already know that's a bad idea, but i'm

[OE-core] [PATCH] image-live.bbclass: optional depends when ROOTFS empty

2021-04-01 Thread Guillaume Champagne
`ROOTFS` is optional. It can be empty if the live image doesn't require a rootfs. In such cases, the build doesn't depend on `do_image_{LIVE_ROOTFS_TYPE}`. Signed-off-by: Guillaume Champagne --- meta/classes/image-live.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] conf/machine: Enable keyboard and mouse on RISC-V machines

2021-04-01 Thread Khem Raj
From: Alistair Francis Signed-off-by: Alistair Francis Signed-off-by: Khem Raj --- meta/conf/machine/include/riscv/qemuriscv.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index

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

2021-04-01 Thread Sangeeta Jain
Hello All, This is the full report for yocto-3.2.3.rc1: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults === Summary No high milestone defects. No new issues found Thanks, Sangeeta > -Original Message- > From:

[OE-core] [poky][master][PATCH] buildhistory.bbclass: store MAINTAINER variable

2021-04-01 Thread Purushottam choudhary
The maintainer declaration in the buildhistory is useful for tracking the maintainer of recipes. This change adds the MAINTAINER variable for recipes and packages to its buildhistory data. Signed-off-by: Purushottam Choudhary --- meta/classes/buildhistory.bbclass | 10 ++ 1 file

Re: [OE-core] [PATCH] mesa-gl: Use swrast gallium driver

2021-04-01 Thread Martin Jansa
On Wed, Mar 31, 2021 at 03:50:51PM -0700, Khem Raj wrote: > Fixes > ../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed > choices: "auto, i915, i965, r100, r200, nouveau" > > Signed-off-by: Khem Raj > Cc: Martin Jansa > --- >

Re: [OE-core] [poky][dunfell][PATCHv2] openssh: fix CVE-2020-14145

2021-04-01 Thread Sana Kazi
Hi Steve, I have verified the patch on dunfell branch and it builds successfully. Please refer the attached do_patch log. Thanks & Regards, Sana Kazi KPIT Technologies Limited From: Steve Sakoman Sent: Wednesday, March 31, 2021 11:31 PM To: Sana Kazi Cc: