[OE-core] [meta-oe][PATCH V2] lz4: Add ptest support

2023-04-05 Thread qi...@fujitsu.com
From: Qiu Tingting Add a ptest for lz4. - It is taking around 9 min to execute with kvm, so added it to PTEST_SLOW. - It contains one case: test_frame. - Below is the run log: START: ptest-runner 2023-04-06T00:36 BEGIN: /usr/lib/lz4/ptest Starting lz4frame tester (64-bits, 1.9.4) Seed

Re: [OE-core] [meta-oe][PATCH V1] lz4: Add ptest support

2023-04-05 Thread qi...@fujitsu.com
Hi, Richard > -Original Message- > From: Richard Purdie > Sent: Tuesday, April 4, 2023 10:17 PM > To: Qiu, Tingting/仇 婷婷 ; > openembedded-core@lists.openembedded.org > Cc: FNST fnstml-fujitsuten > Subject: Re: [OE-core] [meta-oe][PATCH V1] lz4: Add ptest support > > On Tue, 2023-04-04

Re: [OE-core] [PATCH] perl-version: make PERL* assignments non-immediate

2023-04-05 Thread Richard Purdie
On Wed, 2023-04-05 at 07:07 -0500, Patrick Williams wrote: > On Wed, Apr 05, 2023 at 09:24:24AM +0100, Richard Purdie wrote: > > On Tue, 2023-04-04 at 19:38 -0500, Patrick Williams wrote: > > > > > > -PERLVERSION := "${@get_perl_version(d)}" > > > +PERLVERSION = "${@get_perl_version(d)}" > > >

Re: [OE-core][RFC PATCH] base: implement support for the PACKAGECONFIGEXTENDS variable

2023-04-05 Thread Richard Purdie
On Wed, 2023-04-05 at 16:20 -0400, Bruce Ashfield wrote: > On Wed, Apr 5, 2023 at 3:24 PM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Some PACKAGECONFIG switches enable building of additional artifacts that > > end up in sub-packages for a recipe. For example in foo.bb

[OE-core] [PATCH] cpio: Fix wrong CRC with ASCII CRC for large files

2023-04-05 Thread Marek Vasut
Due to signedness, the checksum is not computed when filesize is bigger a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been posted for 5 years. Since CPIO upstream is effectively unresponsive and any and all attempts to communicate with the maintainer and get the fix applied

Re: [OE-core][RFC PATCH] base: implement support for the PACKAGECONFIGEXTENDS variable

2023-04-05 Thread Bruce Ashfield
On Wed, Apr 5, 2023 at 3:24 PM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > Some PACKAGECONFIG switches enable building of additional artifacts that > end up in sub-packages for a recipe. For example in foo.bb we have: > > PACKAGES =+ "foo-bar" > PACKAGECONFIG[bar] =

[OE-core][RFC PATCH] base: implement support for the PACKAGECONFIGEXTENDS variable

2023-04-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Some PACKAGECONFIG switches enable building of additional artifacts that end up in sub-packages for a recipe. For example in foo.bb we have: PACKAGES =+ "foo-bar" PACKAGECONFIG[bar] = "--enable-bar,--disable-bar,libdep" FILES:foo-bar = "${bindir}/bar" Where

Re: [OE-core] [PATCH] migration-guides: update 4.2 migration and release notes

2023-04-05 Thread Frederic Martinsons
On Wed, 5 Apr 2023 at 20:40, Michael Opdenacker < michael.opdenac...@bootlin.com> wrote: > Greetings, > > I copied the OE-core mailing list to get the attention of contributors. > If you want your new features to be featured in the release and > migration notes for 4.2, it's time to speak! > >

Re: [OE-core] [PATCH] cve-update-nvd2-native: new CVE database fetcher

2023-04-05 Thread Steve Sakoman
On Wed, Apr 5, 2023 at 8:43 AM Marta Rybczynska wrote: > > > > On Wed, Apr 5, 2023 at 5:55 PM Steve Sakoman wrote: >> >> Hi Marta, >> >> Is this safe to backport to the stable branches, or should I let it >> "age" in master for a while? >> > > Hi Steve, > I vote to let it age for a little

Re: [OE-core] [PATCH] cve-update-nvd2-native: new CVE database fetcher

2023-04-05 Thread Marta Rybczynska
On Wed, Apr 5, 2023 at 5:55 PM Steve Sakoman wrote: > Hi Marta, > > Is this safe to backport to the stable branches, or should I let it > "age" in master for a while? > > Hi Steve, I vote to let it age for a little moment. In the meantime I'm trying to figure out when exactly NVD will turn off

Re: [OE-core] [PATCH] migration-guides: update 4.2 migration and release notes

2023-04-05 Thread Michael Opdenacker via lists.openembedded.org
Greetings, I copied the OE-core mailing list to get the attention of contributors. If you want your new features to be featured in the release and migration notes for 4.2, it's time to speak! What I wrote so far is a very early draft meant to help you detect what's missing and correct what

[OE-core] [PATCH] migration-guides: update 4.2 migration and release notes

2023-04-05 Thread Michael Opdenacker via lists.openembedded.org
has been substantially improved + to better process and help to interpret test results. + See `this example <https://autobuilder.yocto.io/pub/non-release/20230405-6/testresults/buildperf-alma8/perf-alma8_master_20230405030047_38e3769a72.html>`__. + + - It is now possible to t

Re: [OE-core] [PATCH] cve-update-nvd2-native: new CVE database fetcher

2023-04-05 Thread Steve Sakoman
Hi Marta, Is this safe to backport to the stable branches, or should I let it "age" in master for a while? Thanks! Steve On Wed, Mar 29, 2023 at 12:03 AM Marta Rybczynska wrote: > > Add new fetcher for the NVD database using the 2.0 API [1]. > The implementation changes as little as possible,

[OE-core] [PATCH 2/2] grep: upgrade 3.9 -> 3.10

2023-04-05 Thread Denys Dmytriyenko
This is to announce grep-3.10, a stable release, fixing a bug with -P and \d. TL;DR, grep-3.9 would do this: $ LC_ALL=en_US.UTF-8 grep -P '\d' <<< ٠١٢٣٤٥٦٧٨٩ ٠١٢٣٤٥٦٧٨٩ It should print nothing, like it has always done. For more detail, see

[OE-core] [PATCH 1/2] xz: upgrade 5.4.1 -> 5.4.2

2023-04-05 Thread Denys Dmytriyenko
COPYING files had 2 updates w/o affecting licensing: * URLs to gnu.org and fsf.org switched to https * Clarifying licensing of liblzma Doxygen-generated docs - details below 5.4.2 (2023-03-18) * All fixes from 5.2.11 that were not included in 5.4.1. * If xz is built with support for the

[OE-core] [PATCHv2] selftest: efibootpartition.py: fix QEMU_USE_KVM usage

2023-04-05 Thread Martin Jansa
* if you don't have QEMU_USE_KVM in local.conf it fails with: 2023-03-12 18:06:29,591 - oe-selftest - DEBUG - Checking if qemux86-64 is not this MACHINE 2023-03-12 18:06:29,594 - oe-selftest - INFO - ... ERROR 2023-03-12 18:06:29,594 - oe-selftest - INFO - Traceback (most recent call

Re: [OE-core] [PATCH 12/14] selftest: efibootpartition.py: fix QEMU_USE_KVM usage

2023-04-05 Thread Martin Jansa
On Mon, Mar 13, 2023 at 1:16 PM Martin Jansa via lists.openembedded.org wrote: > * it's not in self.td causing: > 2023-03-12 18:06:29,591 - oe-selftest - DEBUG - Checking if qemux86-64 > is not this MACHINE > 2023-03-12 18:06:29,594 - oe-selftest - INFO - ... ERROR > 2023-03-12

[OE-core] [PATCH] devicetree.bbclass: fix typo

2023-04-05 Thread Luca Ceresoli via lists.openembedded.org
From: Luca Ceresoli Signed-off-by: Luca Ceresoli --- meta/classes-recipe/devicetree.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/devicetree.bbclass b/meta/classes-recipe/devicetree.bbclass index ac1d284ccd9e..ed2a92e447c4 100644 ---

[OE-core] [PATCH] logrotate: add ptest support

2023-04-05 Thread Frank WOLFF
Below is an extract of the test log: root@qemux86-64:~# ptest-runner START: ptest-runner 2023-04-05T12:20 BEGIN: /usr/lib/logrotate/ptest make check-TESTS make[1]: Entering directory '/usr/lib/logrotate/ptest' make[2]: Entering directory '/usr/lib/logrotate/ptest' PASS: test-0001.sh PASS:

Re: [OE-core] [PATCH] kernel-fitimage: Fix the default dtb config check

2023-04-05 Thread Alexandre Belloni via lists.openembedded.org
Hello, On 31/03/2023 11:17:04+0500, Arslan Ahmad wrote: > From: Arslan Ahmad > > The current check for default dtb image checks if the file exists and is > not empty but appends a slash to the path due to which the file is never > found. It also doesn't replace slash in filename with _ as done

Re: [OE-core] [PATCH] yocto-check-layer: scan additional layers for tested layer dependencies

2023-04-05 Thread Marek Vasut
On 4/5/23 08:48, Nicolas Dechesne wrote: On Tue, Apr 4, 2023 at 11:36 PM Marek Vasut wrote: In case a LAYERDEPENDS of a tested layer contains a dependency which is present in additional layers, such dependency does not get pulled into the layer test as a dependency be default and instead of

Re: [OE-core] [PATCH] perl-version: make PERL* assignments non-immediate

2023-04-05 Thread Patrick Williams
On Wed, Apr 05, 2023 at 09:24:24AM +0100, Richard Purdie wrote: > On Tue, 2023-04-04 at 19:38 -0500, Patrick Williams wrote: > > > > -PERLVERSION := "${@get_perl_version(d)}" > > +PERLVERSION = "${@get_perl_version(d)}" > > PERLVERSION[vardepvalue] = "" > > > > > > @@ -49,7 +49,7 @@ def

[OE-core] Performance observations and HOWTO

2023-04-05 Thread Richard Purdie
le: https://autobuilder.yocto.io/pub/non-release/20230405-6/testresults/buildperf-alma8/perf-alma8_master_20230405030047_38e3769a72.html We can see there has recently been: a) parsing time increase from 10s to 22s b) 3GB increase in TMPDIR size c) 9MB rootfs size jump d) 6 minute build time increase T

[OE-core] [PATCH] cve-extra-exclusions: ignore inapplicable linux-yocto CVEs

2023-04-05 Thread Geoffrey GIRY
Multiple CVEs are patched in kernel but appear as active because the NVD database is not up to date. In common file cve-extra-exclusion.inc, CVEs are ignored if and only if all versions of kernel used are patched. In cve-exclusion_6.1.inc, only ignore CVEs that are patched in v6.1, and not

Re: [OE-core] [PATCH] cve-extra-exclusions.inc: Exclude some issues not present in linux-yocto

2023-04-05 Thread Richard Purdie
On Wed, 2023-04-05 at 11:51 +0200, Yoann Congal wrote: > Hi Richard, > > On 4/5/23 00:26, Richard Purdie wrote: > > .../... > > Thanks, I tweaked those bits. I did a bit more research and the other > > easier looking linux-yocto ones to mark up are listed below along with > > the versions known

Re: [OE-core] [PATCH] cve-extra-exclusions.inc: Exclude some issues not present in linux-yocto

2023-04-05 Thread Yoann Congal
Hi Richard, On 4/5/23 00:26, Richard Purdie wrote: > .../... > Thanks, I tweaked those bits. I did a bit more research and the other > easier looking linux-yocto ones to mark up are listed below along with > the versions known to contain fixes. I'd still need to map out the > revisions and so on

[OE-core] [PATCH 2/2] oeqa ping.py: fail test if target IP address has not been set

2023-04-05 Thread Mikko Rapeli
It is possible to call exported tests with --target-ip set to ":22" where IP address is not set at all. Detect this case and fail the test instead of calling ping without an IP address. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/runtime/cases/ping.py | 1 + 1 file changed, 1 insertion(+)

[OE-core] [PATCH 1/2] oeqa ping.py: avoid busylooping failing ping command

2023-04-05 Thread Mikko Rapeli
Use a sleep on error path before trying again. For example when oeqa runtime tests are executed without setting target IP address correctly, the tests are drowning logs with messages: 2023-04-04 07:19:24,985 - runtime - INFO - test_ping (ping.PingTest.test_ping) ping: usage error: Destination

Re: [OE-core] [PATCH] perl-version: make PERL* assignments non-immediate

2023-04-05 Thread Richard Purdie
On Tue, 2023-04-04 at 19:38 -0500, Patrick Williams wrote: > The perl-version.bbclass executes functions which can depend on > variables potentially populated by native, such as `libdir`. The > sanity `native-last` suggests that recipes should `inherit native` > last, but when that is done the

Re: [OE-core][PATCH v4 01/10] gobject-introspection: reduce dependencies

2023-04-05 Thread Richard Purdie
Hi Petr, On Wed, 2023-04-05 at 07:05 +, Petr Kubizňák - 2N wrote: > Thanks for merging the vte patch. I'd like to confirm that the build > succeeded on my side yesterday so that should be all prerequisites > needed for the "gobject-introspection: reduce dependencies" which has > not been

[OE-core] [PATCH] xdg-utils: Fix CVE number

2023-04-05 Thread Richard Purdie
In the previous commit I somehow mixed up and used an incorrect CVE number. Use the correct one. Signed-off-by: Richard Purdie --- .../xdg-utils/{CVE-2020-27748.patch => CVE-2022-4055.patch} | 2 +- meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb | 2 +- 2 files changed, 2

Re: [OE-core][PATCH v4 01/10] gobject-introspection: reduce dependencies

2023-04-05 Thread Petr Kubizňák
Hi Richard, Thanks for merging the vte patch. I'd like to confirm that the build succeeded on my side yesterday so that should be all prerequisites needed for the "gobject-introspection: reduce dependencies" which has not been merged yet. I've seen that patch was already in master-next but was

Re: [OE-core] [PATCH] yocto-check-layer: scan additional layers for tested layer dependencies

2023-04-05 Thread Nicolas Dechesne
On Tue, Apr 4, 2023 at 11:36 PM Marek Vasut wrote: > In case a LAYERDEPENDS of a tested layer contains a dependency which is > present in additional layers, such dependency does not get pulled into > the layer test as a dependency be default and instead of YCL stops and > reports it cannot find