Re: [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-23 Thread Vyacheslav Yurkov
On 23.10.2023 14:18, Lukas Funke wrote: Hi Slava, On 22.10.2023 20:34, Vyacheslav Yurkov wrote: Hey Lukas, Thanks a lot for the patch. A few questions/comments from my initial test below. - I tried it with a go-based backend I have by providing ssh URL to github. It seems like the

Re: [oe-core][kirkstone][PATCH 1/1] linux-firmware: upgrade 20230625 -> 20230804

2023-10-23 Thread Randy MacLeod via lists.openembedded.org
On 2023-10-20 12:25 a.m., Meenali Gupta via lists.openembedded.org wrote: License-Update: additional firmwares upgrade include fix for CVE-2023-20569 CVE-2022-40982 CVE-2023-20593 Changelog: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ References:

Re: [OE-core] [PATCH V1] cairo:Add ptest support

2023-10-23 Thread Luca Ceresoli via lists.openembedded.org
Hello qiutt, On Mon, 23 Oct 2023 14:34:15 +0800 "qi...@fujitsu.com" wrote: > From: Qiu Tingting > > Add a ptest for cairo > - It is taking around 65s to execute with kvm, so added it to PTESTS_SLOW > - It contains 429 cases > - Below is parts of the run log: > START: ptest-runner >

[OE-core] [PATCH v2] perf: lift TARGET_CC_ARCH modification out of security_flags.inc

2023-10-23 Thread Rasmus Villemoes via lists.openembedded.org
From: Rasmus Villemoes Building perf without security_flags.inc being included in one's distro results in the buildpaths warning WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/bin/trace in package perf contains reference to TMPDIR because the ${DEBUG_PREFIX_MAP} does not get used.

[OE-core] [PATCH V1] cairo:Add ptest support

2023-10-23 Thread qi...@fujitsu.com
From: Qiu Tingting Add a ptest for cairo - It is taking around 65s to execute with kvm, so added it to PTESTS_SLOW - It contains 429 cases - Below is parts of the run log: START: ptest-runner 2023-10-17T05:56 BEGIN: /usr/lib/cairo/ptest TESTING cairo-test-suite Compiled against cairo

Re: [OE-core] [PATCH v2] selftest/sstatetests: add tests for 'bitbake -S printdiff'

2023-10-23 Thread Richard Purdie
On Mon, 2023-10-23 at 11:17 +0200, Alexander Kanavin wrote: > On Sun, 22 Oct 2023 at 13:55, Richard Purdie > wrote: > > > > Seems like that ('auto') had no effect. :-( > > > > > > Hit send too quickly. Should I try with your suggestion? > > > > It is worth a shot, yes. One causes a local

Re: [OE-core] [PATCH V1] cairo:Add ptest support

2023-10-23 Thread Alexander Kanavin
Thanks for working on this. I think the ptest support should be held until after we update to cairo 1.18.0 though, it's a major upgrade with years of development work, and ptest support almost certainly needs a bit of forward porting effort. If you can do the cairo update to 1.18.0 first, I would

Re: [OE-core] [PATCH v2] selftest/sstatetests: add tests for 'bitbake -S printdiff'

2023-10-23 Thread Alexander Kanavin
On Sun, 22 Oct 2023 at 13:55, Richard Purdie wrote: > > > Seems like that ('auto') had no effect. :-( > > > > Hit send too quickly. Should I try with your suggestion? > > It is worth a shot, yes. One causes a local hashequiv whereas the other > disables it entirely. Seems like it worked:

[OE-core] [PATCH 1/3] selftest/sstatetests: add tests for 'bitbake -S printdiff'

2023-10-23 Thread Alexander Kanavin
'bitbake -S printdiff' is a useful diagnostic facility for finding out why sstate is not being reused, but until now it had no tests that would ensure it works. This commit adds three basic scenarios: 1. make a change in a really basic, common recipe that is at the very root of dependency trees

[OE-core] [PATCH 3/3] selftest/sstatetests: add a test for CDN sstate cache

2023-10-23 Thread Alexander Kanavin
Specifically, the test checks that everything needed for building standard oe-core images for x86_64 and arm64 is available from the cache (with minor exceptions). Going forward, a complete world check could be enabled and additional configurations, but that requires improvements to performance of

[OE-core] [PATCH 2/3] lib/oe/sstatesig.py: dump locked.sigs.inc only when explicitly asked via -S lockedsigs

2023-10-23 Thread Alexander Kanavin
This was writing out locked-sigs.inc into cwd with every 'bitbake -S' invocation. When the intent is only to to get task stamps (-S none), or print the difference between them (-S printdiff), the file is unnecessary clutter. A couple of selftests/scripts were however relying on this, so they're

Re: [OE-core] [PATCH V5] kbd:Add ptest support

2023-10-23 Thread Alexander Kanavin
On Mon, 23 Oct 2023 at 04:53, qi...@fujitsu.com wrote: > +do_compile_ptest() { > +# update DATADIR in Makefile > +sed -i 's,-DDATADIR=.*,-DDATADIR=\\\"${PTEST_PATH}/tests\\\" \\,g' > ${B}/tests/libkeymap/Makefile > +sed -i 's,-DDATADIR=.*,-DDATADIR=\\\"${PTEST_PATH}/tests\\\" \\,g'

[OE-core] [PATCH][master nanbield] linux-yocto: update CVE exclusions

2023-10-23 Thread Ross Burton
From: Ross Burton Signed-off-by: Ross Burton --- .../linux/cve-exclusion_6.1.inc | 46 --- .../linux/cve-exclusion_6.5.inc | 40 ++-- 2 files changed, 77 insertions(+), 9 deletions(-) diff --git

Re: [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-23 Thread Lukas Funke
Hi Slava, On 22.10.2023 20:34, Vyacheslav Yurkov wrote: Hey Lukas, Thanks a lot for the patch. A few questions/comments from my initial test below. - I tried it with a go-based backend I have by providing ssh URL to github. It seems like the GO_IMPORT is set to a module name from go.mod of

Re: [OE-Core][PATCH v2 0/4] recipetool: Add handler to create go recipes

2023-10-23 Thread Vyacheslav Yurkov
On 23.10.2023 14:18, Lukas Funke wrote: Hi Slava, On 22.10.2023 20:34, Vyacheslav Yurkov wrote: Hey Lukas, Thanks a lot for the patch. A few questions/comments from my initial test below. - I tried it with a go-based backend I have by providing ssh URL to github. It seems like the

[OE-core] [PATCH][master nanbield 2/4] zlib: ignore CVE-2023-45853

2023-10-23 Thread Ross Burton
From: Ross Burton This CVE relates to a bug in the minizip tool, but we don't build that. Signed-off-by: Ross Burton --- meta/recipes-core/zlib/zlib_1.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/zlib/zlib_1.3.bb b/meta/recipes-core/zlib/zlib_1.3.bb index

[OE-core] [PATCH][master nanbield 3/4] cve-check: sort the package list in the JSON report

2023-10-23 Thread Ross Burton
From: Ross Burton The JSON report generated by the cve-check class is basically a huge list of packages. This list of packages is, however, unsorted. To make things easier for people comparing the JSON, or more specifically for git when archiving the JSON over time in a git repository, we can

[OE-core] [PATCH][master nanbield 4/4] cve-check: slightly more verbose warning when adding the same package twice

2023-10-23 Thread Ross Burton
From: Ross Burton Occasionally the cve-check tool will warn that it is adding the same package twice. Knowing what this package is might be the first step towards understanding where this message comes from. Signed-off-by: Ross Burton --- meta/lib/oe/cve_check.py | 2 +- 1 file changed, 1

[OE-core] [PATCH][master nanbield 1/4] libxml2: ignore disputed CVE-2023-45322

2023-10-23 Thread Ross Burton
From: Ross Burton This CVE is a use-after-free which theoretically can be an exploit vector, but this UAF only occurs when malloc() fails. As it's unlikely that the user can orchestrate malloc() failures at just the place to break on _this_ malloc and not others it is disputed that this is

[OE-core] [PATCH][master nanbield] pixman: ignore CVE-2023-37769

2023-10-23 Thread Ross Burton
From: Ross Burton This issue relates to a floating point exception in stress-test, which is an unlikely security exploit at the best of times, but the test is not installed so isn't relevant. Signed-off-by: Ross Burton --- meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb | 2 ++ 1 file

Re: [OE-core] [PATCH V5] kbd:Add ptest support

2023-10-23 Thread qi...@fujitsu.com
Hi, Alex As you said, it is not-that-elegant bit of code. But DATADIR is used as a part of CPPFLAGS for compiling c files in tests, such as libkeymap/libkeymap-test01.c, libkbdfile/libkbdfile-test13.c and others. sample: > > libkeymap/libkeymap-test01.c: f = fopen( *DATADIR* >

[OE-core] [PATCH] openssl: Inherit riscv32 config from latomic config on linux

2023-10-23 Thread Khem Raj
We still need this option for riscv32, the patch is also submitted upstream Signed-off-by: Khem Raj --- .../0001-Link-libatomic-on-riscv32.patch | 35 +++ .../openssl/openssl_3.1.3.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644