Re: [OE-core] [PATCH] openssl: upgrade from 1.1.1k to 1.1.1l

2021-08-24 Thread Mikko Rapeli
Hi, On Tue, Aug 24, 2021 at 11:44:05PM -0400, Randy MacLeod wrote: > Includes fixes for: > > CVE: CVE-2021-3711 > CVE: CVE-2021-3712 > > as described by: >https://www.openssl.org/news/secadv/20210824.txt > > Ptest results on qemux86-64 with kvm: >All te

[OE-core] [dunfell][PATCH] openssl: update from 1.1.1k to 1.1.1l

2021-08-24 Thread Mikko Rapeli
Changelog shows only security fixes for CVE-2021-3711 and CVE-2021-3712: https://www.openssl.org/news/cl111.txt Signed-off-by: Mikko Rapeli --- .../openssl/{openssl_1.1.1k.bb => openssl_1.1.1l.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-connectivity/

[OE-core] [PATCH] openssl: update from 1.1.1k to 1.1.1l

2021-08-24 Thread Mikko Rapeli
Changelog shows only security fixes for CVE-2021-3711 and CVE-2021-3712: https://www.openssl.org/news/cl111.txt Signed-off-by: Mikko Rapeli --- .../openssl/{openssl_1.1.1k.bb => openssl_1.1.1l.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-connectivity/

[OE-core] [meta][dunfell][PATCH v3] rpm: Add fix for CVE-2021-20266

2021-08-24 Thread Ranjitsinh Rathod
From: Ranjitsinh Rathod Adding fix for CVE-2021-20266 Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/pull/1587/commits/9646711891df851dfbf7ef54cc171574a0914b15] Note: Hunk#2 and Hunk#3 refreshed to apply patch and match value of dl_max variable to make it with current

Re: [OE-core] usermod in EXTRA_USERS_PARAMS is broken in master

2021-08-24 Thread Zoltan Boszormenyi via lists.openembedded.org
2021. 08. 24. 23:21 keltezéssel, Peter Kjellerstedt írta: -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of Zoltan Boszormenyi via lists.openembedded.org Sent: den 24 augusti 2021 16:22 To: openembedded-core@lists.openembedded.org Subject: [OE-core] usermod i

[OE-core] [PATCH] openssl: upgrade from 1.1.1k to 1.1.1l

2021-08-24 Thread Randy MacLeod
Includes fixes for: CVE: CVE-2021-3711 CVE: CVE-2021-3712 as described by: https://www.openssl.org/news/secadv/20210824.txt Ptest results on qemux86-64 with kvm: All tests successful. Files=158, Tests=2532, 137 wallclock secs \ ( 2.59 usr 0.33 sys + 104.71 cusr 44.19 csys

Re: [OE-core] [PATCH] bitbake.conf: update way of setting XZ_MEMLIMIT

2021-08-24 Thread Andre McCurdy
On Tue, Aug 24, 2021 at 7:15 AM Richard Purdie wrote: > > On Tue, 2021-08-24 at 17:40 +0800, Changqing Li wrote: > > From: Changqing Li > > > > Update way of setting XZ_MEMLIMIT, considering scenario that > > running bitbake in container, to avoid OOM Killer of xz. > > > > For example: > > Contai

Re: [OE-core] usermod in EXTRA_USERS_PARAMS is broken in master

2021-08-24 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Zoltan Boszormenyi via > lists.openembedded.org > Sent: den 24 augusti 2021 16:22 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] usermod in EXTRA_USERS_PARAM

[OE-core] [PATCH] pseudo: Fix to work with glibc 2.34 systems

2021-08-24 Thread Richard Purdie
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix that works around this issue. Signed-off-by: Richard Purdie --- .../pseudo/files/build-oldlibc| 20 .../pseudo/files/older-glibc-symbols.patch| 49 +++ meta/recipes-devto

[OE-core] [PATCH] ltp: backport ioctl_ns05 fix from upstream

2021-08-24 Thread Paul Gortmaker
This false positive keeps showing up in our testing but the fix isn't yet a part of a tagged release, and it is probably too late for doing an uprev for the fall release anyway. Signed-off-by: Paul Gortmaker diff --git a/meta/recipes-extended/ltp/ltp/0001-syscalls-ioctl_ns05.c-ioctl_ns06.c-Fix-

[OE-core] [Dunfell][PATCH 4/4] qemu: fix CVE-2021-3608

2021-08-24 Thread Armin Kuster
From: Sakib Sajal Source: http://git.yoctoproject.org/cgit/poky.git MR: 112749 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=f5e77d70e2eb35751f5bad5572b6eb8a3ab14422 ChangeID: 4496341da3af9126c9c67170

[OE-core] [Dunfell][PATCH 3/4] qemu: fix CVE-2021-3607

2021-08-24 Thread Armin Kuster
From: Sakib Sajal Source: http://git.yoctoproject.org/cgit/poky.git MR: 112749 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=460485d774480cd89cadf3b068f5197f44d86f25 ChangeID: 4e40dee2e6ce0b5b4de971f2

[OE-core] [Dunfell][PATCH 1/4] qemu: fix CVE-2021-3527

2021-08-24 Thread Armin Kuster
From: Lee Chee Yang Source: http://git.yoctoproject.org/cgit/poky.git MR: 111827 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=45e06a2e02cb01540d3970bd8ab5771014a031f9 ChangeID: 33bb20f503888abc346ae1

[OE-core] [Dunfell][PATCH 2/4] qemu: fix CVE-2021-3582

2021-08-24 Thread Armin Kuster
From: Sakib Sajal Source: http://git.yoctoproject.org/cgit/poky.git MR: 112743 Type: Security Fix Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?h=hardknott&id=e11384737ed489ea02800d545432b9ded82bf1bb ChangeID: a2ff7112354349e8cf8960f3

[OE-core][PATCH] bluez: upgrade 5.60 -> 5.61

2021-08-24 Thread Trevor Gamblin
5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly restores Discoverable state after powered down), as well as other fixes. >From the changelog: ver 5.61: Fix issue with A2DP while waiting for command response. Fix issue with A2DP when SetConfiguration fails. Fix issue wit

Re: [oe-core][hardknott][PATCH 1/1] icu: increase pkgdata command buffer size

2021-08-24 Thread Joe Slater
https://unicode-org.atlassian.net/browse/ICU-21702 has been accepted. My patch just mitigates the problem but does not take care of issues around lack of error reporting. Joe > -Original Message- > From: Mittal, Anuj > Sent: Monday, August 23, 2021 9:04 PM > To: Slater, Joseph ; opene

Re: [OE-core] [v4] [RFC] Merge meta-rust to oe-core - Aug 19 update

2021-08-24 Thread Randy MacLeod
Add Steven Walter in hopes that he or someone else who uses meta-rust will help out. On 2021-08-23 5:21 a.m., Richard Purdie wrote: On Sun, 2021-08-22 at 08:45 -0400, Randy MacLeod wrote: On 2021-08-22 7:19 a.m., Richard Purdie wrote: On Sat, 2021-08-21 at 23:12 -0400, Randy MacLeod wrote: On

[OE-core] [hardknott][PATCH 28/28] glibc: Fix CVE-2021-38604

2021-08-24 Thread Anuj Mittal
From: Vinay Kumar Source: https://sourceware.org/git/glibc.git Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=28213 Backported upstream commits b805aebd42364fe696e417808a700fdb9800c9e8 and 4cc79c217744743077bf7a0ec5e0a4318f1e6641 to glibc-2.33 source. Upstream-Status: Backport [h

[OE-core] [hardknott][PATCH 19/28] uninative: Upgrade to 3.3, support glibc 2.34

2021-08-24 Thread Anuj Mittal
From: Michael Halstead Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie (cherry picked from commit 4aa4dcd5f31657073f2207a9a4a43247322c7eb1) Signed-off-by: Anuj Mittal --- meta/conf/distro/include/yocto-uninative.inc | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-

[OE-core] [hardknott][PATCH 26/28] sdk: fix relocate symlink failed

2021-08-24 Thread Anuj Mittal
From: hongxu Install SDK to non-default dir, sysmlink mkfs.vfat is invalid $ ./sdk.sh -y -d ./dnf-2 -S -D $ ls sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -al lrwxrwxrwx 1 hjia users 99 Aug 10 20:38 sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -> /opt/windriver/wrlinux-graphics/21

[OE-core] [hardknott][PATCH 27/28] sdk: Enable do_populate_sdk with multilibs

2021-08-24 Thread Anuj Mittal
From: Khem Raj This patch enables building image based SDKs for multi-libbed images e.g. lib32-core-image-minimal and so on. Change the path to nativesdk tools to use recipe-sysroot since thats where the nativesdk components are installed and it will need access to qemu wrappers during build for

[OE-core] [hardknott][PATCH 24/28] e2fsprogs: ensure small images have 256-byte inodes

2021-08-24 Thread Anuj Mittal
From: Ross Burton e2fsprogs calls filesystems larger than 3MB but smaller than 512MB "small", which has some implications: - blocksize 1024 instead of 4096 - inode_ratio 4096 instead of 16384 - inode_size 128 instead of 256 The outcome of the inode size dropping to 128 bytes is that they cannot

[OE-core] [hardknott][PATCH 25/28] wic: don't forcibly pass -T default

2021-08-24 Thread Anuj Mittal
From: Ross Burton This reverts part of oe-core eecbe62555, which was a previous attempt to solve the Y2038 problem. This is now solved centrally in e2fsprogs, so doesn't need to be dealt with in wic. We don't revert the commit entirely, to retain the warning if a filesystem has small inodes. S

[OE-core] [hardknott][PATCH 23/28] utils: Reduce the number of calls to the "dirname" command

2021-08-24 Thread Anuj Mittal
From: Oleksandr Popovych utils.bbclass contains create_cmdline_wrapper() function that creates wrapper script with additional arguments for any passed "$cmd" command, and uses several calls to "dirname". Because "dirname" is an external command, in cases of lots of calls to wrapped "$cmd", each

[OE-core] [hardknott][PATCH 22/28] lzo: add CVE_PRODUCT

2021-08-24 Thread Anuj Mittal
From: Marta Rybczynska lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were not reported. Signed-off-by: Marta Rybczynska Signed-off-by: Richard Purdie (cherry picked from commit 366cf8201e36df1ac836e49de04ccda1f763ca9e) Signed-off-by: Anuj Mittal --- meta/recipes-suppo

[OE-core] [hardknott][PATCH 20/28] kernel-devsrc: 5.14+ updates

2021-08-24 Thread Anuj Mittal
From: Bruce Ashfield commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh] means that x86 no longer has a syscall script to copy, which causes a build error. We already copy the generic syscall script (in scripts), so we just catch errors for the copies to support older and 5.14+

[OE-core] [hardknott][PATCH 21/28] kernel-devsrc: fix 5.14+ objtool compilation

2021-08-24 Thread Anuj Mittal
From: Bruce Ashfield In v5.14+, x86 requires not just elfutils, but the elf headers on the target to build objtool (required for 'scripts parepare'), so we tweak our RDEPENDS to ensure that the right headers are on the target. Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry

[OE-core] [hardknott][PATCH 18/28] uninative: Improve glob to handle glibc 2.34

2021-08-24 Thread Anuj Mittal
From: Ross Burton With glibc 2.34, the libraries were renamed. Tweak the glob to support both as this is needed for newer uninative versions. [RP: tweak commit message] Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 98248306e4b5f023e96375293b60524574ebb686)

[OE-core] [hardknott][PATCH 17/28] linux-yocto/5.10: update to v5.10.57

2021-08-24 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 1cd6e30b83d7 Linux 5.10.57 9c645a020bab spi: mediatek: Fix fifo transfer 7254e2d9eb41 selftest/bpf: Verifier tests for var-off access 30ea1c535291 bpf, selftest

[OE-core] [hardknott][PATCH 16/28] linux-yocto/5.4: update to v5.4.139

2021-08-24 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: e350cd02e293 Linux 5.4.139 03ff8a4f9db6 spi: mediatek: Fix fifo transfer a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code d3796e8f

[OE-core] [hardknott][PATCH 15/28] linux-yocto/5.4: update to v5.4.137

2021-08-24 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 5b1de8e15f0f Linux 5.4.137 ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb 6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node

[OE-core] [hardknott][PATCH 14/28] linux-yocto/5.10: update to v5.10.55

2021-08-24 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 11fe69a17195 Linux 5.10.55 984e93b8e207 ipv6: ip6_finish_output2: set sk into newly allocated nskb a74054ca7553 ARM: dts: versatile: Fix up interrupt controller nod

[OE-core] [hardknott][PATCH 13/28] tar: ignore node-tar CVEs

2021-08-24 Thread Anuj Mittal
From: Ross Burton These two CVEs are specific to the Node package node-tar. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit bc7216e8148d0dee7b56e6851da6615e93647a0a) Signed-off-by: Anuj Mittal --- meta/recipes-extended/tar/tar_1.34.bb | 3 +++ 1 file chang

[OE-core] [hardknott][PATCH 12/28] terminal.bbclass: force bash for devshell

2021-08-24 Thread Anuj Mittal
From: Joe Slater Since shell_trap_code in build.py sets /bin/sh as the interpreter we will die a silent death if our environment contains things like "export -f bodilyfunction" and /bin/sh is really /bin/dash. Fixes this for the case of devshell. Signed-off-by: Joe Slater Signed-off-by: Alexan

[OE-core] [hardknott][PATCH 11/28] oeqa/runtime/cases: make date.DateTest.test_date more reliable

2021-08-24 Thread Anuj Mittal
From: Alexandre Belloni The test uses the broken out time and can only handle about 59s of delay, use a UNIX timestamp to allow for up to a 300s delay. [YOCTO #14463] Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit b705e9373acd4119da75af4eb96ec92cc964

[OE-core] [hardknott][PATCH 09/28] pixman: re-disable iwmmxt

2021-08-24 Thread Anuj Mittal
From: Patrick Williams Commit dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0 dropped the iwmmxt disable as part of the meson conversion and said: "we can add this back again if it fails." It does. | cc1: warning: switch '-mcpu=arm1176jz-s' conflicts with switch '-march=iwmmxt2' | FAILED: pixman/libp

[OE-core] [hardknott][PATCH 10/28] kmod: use nonarch_base_libdir for depmod.d and modprobe.d

2021-08-24 Thread Anuj Mittal
From: Anton Blanchard These should always be in /lib, regardless of the configuration. Signed-off-by: Anton Blanchard Signed-off-by: Richard Purdie (cherry picked from commit 63877226c09a674d3794fdc171adf12fe604a3c9) Signed-off-by: Anuj Mittal --- meta/recipes-kernel/kmod/kmod_git.bb | 8 +++

[OE-core] [hardknott][PATCH 07/28] linux-firmware: add more Qualcomm firmware packages

2021-08-24 Thread Anuj Mittal
From: Dmitry Baryshkov Add firmware packages for the recent Qualcomm SoCs: - linux-firmware-qcom-adreno-a650, linux-firmware-qcom-adreno-a660, containing firmware for Adreno A630 and A650 GPUs - linux-firmware-qcom-sm8250-audio, linux-firmware-sm8250-compute, containing firmware for aud

[OE-core] [hardknott][PATCH 08/28] sstate.bbclass: fix error handling when sstate mirrors is ro

2021-08-24 Thread Anuj Mittal
From: Jose Quaresma The commit dd37fc35c5f934af09d601d70772eb5955ae 'sstate.bbclass: fix errors about read-only sstate mirrors' adds an additional exception handler to silently mask read only rootfs errors thrown during the touch. The exception handler checks the error type with the python m

[OE-core] [hardknott][PATCH 05/28] ffmpeg: fix CVE-2020-22019 and CVE-2020-22033

2021-08-24 Thread Anuj Mittal
From: Tony Tascioglu avfilter/vf_vmafmotion: Check dimensions Fixes: out of array access Fixes: Ticket8241 Fixes: Ticket8246 Fixes: CVE-2020-22019 Fixes: CVE-2020-22033 Signed-off-by: Michael Niedermayer CVE: CVE-2020-22033 CVE: CVE-2020-22019 Upstream-Status: Backport [82ad1b76751bcfad500544

[OE-core] [hardknott][PATCH 06/28] go: upgrade 1.16.5 -> 1.16.7

2021-08-24 Thread Anuj Mittal
From: Sakib Sajal Signed-off-by: Sakib Sajal Signed-off-by: Anuj Mittal --- meta/recipes-devtools/go/{go-1.16.5.inc => go-1.16.7.inc} | 4 ++-- ...{go-binary-native_1.16.5.bb => go-binary-native_1.16.7.bb} | 4 ++-- ...o-cross-canadian_1.16.5.bb => go-cross-canadian_1.16.7.bb} | 0 .../go/

[OE-core] [hardknott][PATCH 03/28] ffmpeg: fix CVE-2020-22015

2021-08-24 Thread Anuj Mittal
From: Tony Tascioglu avformat/movenc: Check pal_size before use Fixes: assertion failure Fixes: out of array read Fixes: Ticket8190 Fixes: CVE-2020-22015 Signed-off-by: Michael Niedermayer CVE: CVE-2020-22015 Upstream-Status: Backport [4c1afa292520329eecd1cc7631bc59a8cca95c46] Signed-off-by:

[OE-core] [hardknott][PATCH 04/28] ffmpeg: fix CVE-2020-22021

2021-08-24 Thread Anuj Mittal
From: Tony Tascioglu avfilter/vf_yadif: Fix handing of tiny images Fixes: out of array access Fixes: Ticket8240 Fixes: CVE-2020-22021 Signed-off-by: Michael Niedermayer CVE: CVE-2020-22021 Upstream-Status: Backport [7971f62120a55c141ec437aa3f0bacc1c1a3526b] Signed-off-by: Tony Tascioglu Sig

[OE-core] [hardknott][PATCH 01/28] ffmpeg: fix CVE-2020-20446

2021-08-24 Thread Anuj Mittal
From: Tony Tascioglu avcodec/aacpsy: Avoid floating point division by 0 of norm_fac Fixes: Ticket7995 Fixes: CVE-2020-20446 Signed-off-by: Michael Niedermayer CVE: CVE-2020-20446 Upstream-Status: Backport [223b5e8ac9f6461bb13ed365419ec485c5b2b002] Signed-off-by: Tony Tascioglu Signed-off-by

[OE-core] [hardknott][PATCH 02/28] ffmpeg: fix CVE-2020-20453

2021-08-24 Thread Anuj Mittal
From: Tony Tascioglu avcodec/aacenc: Avoid 0 lambda Fixes: Ticket8003 Fixes: CVE-2020-20453 Signed-off-by: Michael Niedermayer CVE: CVE-2020-20453 Upstream-Status: Backport [a7a7f32c8ad0179a1a85d0a8cff35924e6d90be8] Signed-off-by: Tony Tascioglu Signed-off-by: Anuj Mittal --- .../ffmpeg/f

[OE-core] [hardknott][PATCH 00/28] Review request

2021-08-24 Thread Anuj Mittal
Please review these next set of changes for hardknott. Except for a ptest failure in valgrind, no issues seen on autobuilder. https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2496 Thanks, Anuj The following changes since commit 01321ed982a8553672808afe2d9c1bee6628055d: gnutl

Re: [OE-core] [dunfell][PATCH 1/2] bitbake: fetch2: fix handling of `\` in file:// SRC_URI

2021-08-24 Thread Andrei Gherzan
On Tue, 24 Aug 2021, at 15:24, Richard Purdie wrote: > On Tue, 2021-08-24 at 04:20 -1000, Steve Sakoman wrote: > > On Mon, Aug 23, 2021 at 3:53 AM Andrei Gherzan wrote: > > > > > > From: Leif Middelschulte > > > > > > Using backslashes in file:// URIs was broken. > > > Either the resolver would

[OE-core] Yocto Project Status WW34`21

2021-08-24 Thread Stephen Jolley
Current Dev Position: YP 3.4 M3 (Feature Freeze) Next Deadline: 23rd Aug. 2021 YP 3.4 M3 build (Feature Freeze) Next Team Meetings: * Bug Triage meeting Thursday Aug. 26th at 7:30am PDT ( https://zoom.us/j/454367603?pwd=

[OE-core][dunfell 00/12] Pull request (cover letter only)

2021-08-24 Thread Steve Sakoman
The following changes since commit ce78c16409363741d59a2f787aca66077bec93cd: sstate.bbclass: fix error handling when sstate mirrors is ro (2021-08-16 04:41:07 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next http://cg

Re: [OE-core] [dunfell][PATCH 1/2] bitbake: fetch2: fix handling of `\` in file:// SRC_URI

2021-08-24 Thread Richard Purdie
On Tue, 2021-08-24 at 04:20 -1000, Steve Sakoman wrote: > On Mon, Aug 23, 2021 at 3:53 AM Andrei Gherzan wrote: > > > > From: Leif Middelschulte > > > > Using backslashes in file:// URIs was broken. > > Either the resolver would fail or the subsequent `cp` command. > > Try to avoid this by putt

[OE-core] usermod in EXTRA_USERS_PARAMS is broken in master

2021-08-24 Thread Zoltan Boszormenyi via lists.openembedded.org
Hi, I tried to port my distro layer to Honister and attempted to build an OS image. I have this in the image recipe: EXTRA_USERS_PARAMS += "usermod -P mypassword root; usermod -P mypassword2 myuser;" and the error I got was: NOTE: my-test-image: Performing usermod with [-R /data/yocto/tmp-s

Re: [OE-core] [dunfell][PATCH 1/2] bitbake: fetch2: fix handling of `\` in file:// SRC_URI

2021-08-24 Thread Steve Sakoman
On Mon, Aug 23, 2021 at 3:53 AM Andrei Gherzan wrote: > > From: Leif Middelschulte > > Using backslashes in file:// URIs was broken. > Either the resolver would fail or the subsequent `cp` command. > Try to avoid this by putting the filenames into quotes. > > Fixes https://bugzilla.yoctoproject.o

Re: [OE-core] [PATCH] bitbake.conf: update way of setting XZ_MEMLIMIT

2021-08-24 Thread Richard Purdie
On Tue, 2021-08-24 at 17:40 +0800, Changqing Li wrote: > From: Changqing Li > > Update way of setting XZ_MEMLIMIT, considering scenario that > running bitbake in container, to avoid OOM Killer of xz. > > For example: > Container has memory limit of 30G, and host memory is 300G. 'xz > --memlimit

Re: [OE-core] [poky][master][PATCH] assimp: added patch to fix hardcoded non-existing paths in CMake modules

2021-08-24 Thread Mikko Rapeli
Hi, On Tue, Aug 24, 2021 at 04:03:04PM +0300, Samuli Piippo wrote: > assimpTargets-release.cmake has it hardcoded: > > set_target_properties(assimp::assimp PROPERTIES > IMPORTED_IMPLIB_RELEASE "/usr/lib/${importLibraryName}" > IMPORTED_LOCATION_RELEASE "/usr/bin/${sharedLibraryNam

Re: [OE-core] [poky][master][PATCH] assimp: added patch to fix hardcoded non-existing paths in CMake modules

2021-08-24 Thread Samuli Piippo
assimpTargets-release.cmake has it hardcoded: set_target_properties(assimp::assimp PROPERTIES IMPORTED_IMPLIB_RELEASE "/usr/lib/${importLibraryName}" IMPORTED_LOCATION_RELEASE "/usr/bin/${sharedLibraryName}" ) before it used to be: set_target_properties(assimp::assimp PRO

Re: [OE-core] [poky][master][PATCH] assimp: added patch to fix hardcoded non-existing paths in CMake modules

2021-08-24 Thread Mikko Rapeli
Hi, On Tue, Aug 24, 2021 at 12:27:09PM +0300, Samuli Piippo wrote: > Looks like this commit breaks something in the cmake files. > > When using assimp from another recipe (Qt3D), it will try to use the > library from host path: > > /usr/lib/cmake/assimp-5.0/assimpTargets-release.cmake(69): > se

[OE-core] [PATCH] bitbake.conf: update way of setting XZ_MEMLIMIT

2021-08-24 Thread Changqing Li
From: Changqing Li Update way of setting XZ_MEMLIMIT, considering scenario that running bitbake in container, to avoid OOM Killer of xz. For example: Container has memory limit of 30G, and host memory is 300G. 'xz --memlimit=50% ...' will get host memory, so the limit for xz is 150G. And becaus

Re: [OE-core] [poky][master][PATCH] assimp: added patch to fix hardcoded non-existing paths in CMake modules

2021-08-24 Thread Samuli Piippo
Looks like this commit breaks something in the cmake files. When using assimp from another recipe (Qt3D), it will try to use the library from host path: /usr/lib/cmake/assimp-5.0/assimpTargets-release.cmake(69): set(sharedLibraryName libassimp.so.5 ) /usr/lib/cmake/assimp-5.0/assimpTargets-relea

[OE-core] [Hardknott][PATCH] file: fix close_on_exec for multithreaded decompression

2021-08-24 Thread Changqing Li
From: Changqing Li It is not safe to call the 'file' command from multiple threads. When a file is checked with multiple threads in parallel, the file descriptors might get shared which makes the pipe handling lock up, leading to lock up in rpmbuild. And may lead to rarely deadlock on random reci

Re: [OE-core] [PATCH 3/3] lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts

2021-08-24 Thread Sean Nyekjaer
On Tue, Aug 24, 2021 at 08:14:58AM +, Mittal, Anuj wrote: > Hello, > > On Mon, 2021-08-23 at 14:31 +0200, Sean Nyekjaer wrote: > > On Thu, May 06, 2021 at 08:51:00AM +0100, Richard Purdie wrote: > > > If the scripts/postinst-intercepts is owned by root/root then the > > > copyfile() calls > >

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-24 Thread ?ukasz Majewski
Hi Richard, > On Tue, 2021-08-24 at 09:36 +0200, ?ukasz Majewski wrote: > > Hi Khem, > > > > > On Mon, Aug 23, 2021 at 1:09 PM Lukasz Majewski > > > wrote: > > > > > > > > On Mon, 23 Aug 2021 12:52:44 -0700 > > > > Khem Raj wrote: > > > > > > > > > On Mon, Aug 23, 2021 at 11:24 AM Luka

Re: [OE-core] [PATCH 3/3] lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts

2021-08-24 Thread Anuj Mittal
Hello, On Mon, 2021-08-23 at 14:31 +0200, Sean Nyekjaer wrote: > On Thu, May 06, 2021 at 08:51:00AM +0100, Richard Purdie wrote: > > If the scripts/postinst-intercepts is owned by root/root then the > > copyfile() calls > > will fail due to chown issues. We don't care about ownership of these > >

[OE-core] [PATCH 2/2] libjitterentropy: remove contaminated hashequiv entry

2021-08-24 Thread Alexander Kanavin
From: Alexander Kanavin This was caused by intermittent reproducibility problems. Signed-off-by: Alexander Kanavin --- .../libjitterentropy/libjitterentropy_3.1.0.bb| 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/libjitterentropy/libjitterentropy_3.

[OE-core] [PATCH 1/2] mc: fix reproducibility

2021-08-24 Thread Alexander Kanavin
From: Alexander Kanavin It is probing into what options the /usr/bin/file executable does and does not support and bakes that into target binaries, so we need to use a deterministic one we build ourselves. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/mc/mc_4.8.27.bb | 7 ++-

Re: [OE-core] [yocto] Update bitbake broken build

2021-08-24 Thread Martin Jansa
Hi, read https://lists.openembedded.org/g/openembedded-architecture/message/1260 https://lists.openembedded.org/g/openembedded-architecture/message/1279 https://lists.openembedded.org/g/openembedded-architecture/message/1291 On Tue, Aug 24, 2021 at 12:33 AM JH wrote: > Hi, > > I updated the bitb

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-24 Thread Richard Purdie
On Tue, 2021-08-24 at 09:36 +0200, ?ukasz Majewski wrote: > Hi Khem, > > > On Mon, Aug 23, 2021 at 1:09 PM Lukasz Majewski wrote: > > > > > > On Mon, 23 Aug 2021 12:52:44 -0700 > > > Khem Raj wrote: > > > > > > > On Mon, Aug 23, 2021 at 11:24 AM Lukasz Majewski > > > > wrote: > > > > > > >

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-24 Thread ?ukasz Majewski
Hi Khem, > On Mon, Aug 23, 2021 at 1:09 PM Lukasz Majewski wrote: > > > > On Mon, 23 Aug 2021 12:52:44 -0700 > > Khem Raj wrote: > > > > > On Mon, Aug 23, 2021 at 11:24 AM Lukasz Majewski > > > wrote: > > > > > > > Hi Khem, > > > > > > > > > On 8/23/21 8:08 AM, ?ukasz Majewski wrote: >