[OE-core] [PATCH] diffoscope: upgrade 252 -> 253

2023-12-18 Thread wangmy
From: Wang Mingyu Changelog: * Improve DOS/MBR extraction by adding support for 7z. * Process objdump symbol comment filter inputs as the Python "bytes" type (and not str). * Add a missing RequiredToolNotFound import. * Update copyright years. Signed-off-by: Wang Mingyu ---

[OE-core] [dunfell][patch] curl: fix CVE-2023-46218

2023-12-18 Thread Lee Chee Yang
From: Lee Chee Yang import patch from ubuntu http://archive.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.68.0-1ubuntu2.21.debian.tar.xz upstream https://github.com/curl/curl/commit/2b0994c29a721c91c57 Signed-off-by: Lee Chee Yang --- .../curl/curl/CVE-2023-46218.patch| 52

[OE-core][dunfell][PATCH] flac: Backport fix for CVE-2021-0561

2023-12-18 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri Upstream-Status: Backport [https://github.com/xiph/flac/commit/e1575e4a7c5157cbf4e4a16dbd39b74f7174c7be] Signed-off-by: Vijay Anusuri --- .../flac/files/CVE-2021-0561.patch| 34 +++ meta/recipes-multimedia/flac/flac_1.3.3.bb| 1 + 2 files

Re: [OE-core] [RFC PATCH V2 0/5] Fix persistent tmp

2023-12-18 Thread Changqing Li
kindly ping On 12/11/23 08:58, Changqing Li wrote: From: Changqing Li Hi, All Currently, VOLATILE_TMP_DIR not works, set VOLATILE_TMP_DIR="no", VOLATILE_LOG_DIR="no", after boot target, /var/tmp still link to tmpfs /var/volatile/tmp lrwxrwxrwx 1 root root 11 Mar 9 2018 lock ->

Re: [OE-core] [PATCH V2] libxcrypt.inc: use alternatives to resolve crypt.3 conflict

2023-12-18 Thread Changqing Li
Kindly ping And why have this change: In old version of man-pages's README,  it mentioned: Note that sometimes these pages are duplicates of pages also distributed in other packages. Be careful not to overwrite more up-to-date versions. So we set man-pages to lower priority,  so the doc in

[OE-core] [nanbield][PATCH] curl: fix CVE-2023-46218

2023-12-18 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- .../curl/curl/CVE-2023-46218.patch| 52 +++ meta/recipes-support/curl/curl_8.4.0.bb | 1 + 2 files changed, 53 insertions(+) create mode 100644 meta/recipes-support/curl/curl/CVE-2023-46218.patch diff

[OE-core] [PATCH v4 2/2] ptest-packagelists.inc: Add python3-license-expression

2023-12-18 Thread Yu, Mingli
From: Mingli Yu # ./run-ptest [snip] PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key PASS:

[OE-core] [PATCH v4 1/2] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Yu, Mingli
From: Mingli Yu Fix the below ptest failure: self = def test_skeleton_codestyle(self): """ This test shouldn't run in proliferated repositories. """ setup_cfg = configparser.ConfigParser() setup_cfg.read("setup.cfg") > if setup_cfg["metadata"]["name"] != "skeleton":

Re: [OE-core] [PATCH v3] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Yu, Mingli
yes, the python3-license-expression ptest is fast and v4 sent to add python3-license-expression to PTESTS_FAST. Thanks, From: Alexander Kanavin Sent: Monday, December 18, 2023 17:26 To: Yu, Mingli Cc: openembedded-core@lists.openembedded.org Subject: Re:

Re: [OE-core] [PATCH 8/9] libusb1: fix upstream version check

2023-12-18 Thread Anuj Mittal
On Mon, 2023-12-18 at 22:47 +0800, Anuj Mittal wrote: > Fix regex to not match release candidates. > > Signed-off-by: Anuj Mittal > --- >  meta/recipes-support/libusb/libusb1_1.0.26.bb | 1 + >  1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-support/libusb/libusb1_1.0.26.bb >

[OE-core] [PATCH v2] libusb1: fix upstream version check

2023-12-18 Thread Anuj Mittal
Fix regex to not match release candidates. Signed-off-by: Anuj Mittal --- meta/recipes-support/libusb/libusb1_1.0.26.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/libusb/libusb1_1.0.26.bb b/meta/recipes-support/libusb/libusb1_1.0.26.bb index

Re: [OE-core] [PATCH 1/6 v2] license/license_image: Fix license file layout to avoid overlapping files

2023-12-18 Thread Russ Dill
> Currently DEPLOY_DIR/licenses is added to SSTATE_ALLOW_OVERLAP_FILES. This > leads to bugs since when one MACHINE_ARCH recipes is cleaned, it removes the > files for another which then results in later build failures as license files > disappear. > > The solution is to include SSTAGE_PKGARCH

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 10:07 -0800, Khem Raj wrote: > On Mon, Dec 18, 2023 at 9:58 AM Richard Purdie > wrote: > > > > On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: > > > I tried the two patches in this series. It did improve the situation > > > but I am still getting SSH timeouts. But this

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 22:27 +, Alex Bennée wrote: > "Richard Purdie" writes: > > > On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: > > > I tried the two patches in this series. It did improve the situation > > > but I am still getting SSH timeouts. But this time its 13 tests > > > earlier

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Alex Bennée
"Richard Purdie" writes: > On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: >> I tried the two patches in this series. It did improve the situation >> but I am still getting SSH timeouts. But this time its 13 tests >> earlier it used to be 40+ >> btw. my images are using systemd. So it might

[OE-core][PATCH] libinput: Add packageconfig for tests

2023-12-18 Thread Joshua Watt
Add packageconfig to control if tests are installed or not. Doing this allows the libcheck dependency to be optional. The packageconfig defaults to having tests enabled when PTEST_ENABLED == 1 to match the previous behavior Signed-off-by: Joshua Watt ---

Re: [OE-core] [PATCH] patchtest: Add test for deprecated CVE_CHECK_IGNORE

2023-12-18 Thread simone . p . weiss
> > I agree,  this would be a good change to make for long-term > maintainability. LGTM otherwise. I have tried to implement such a check as well, and while this check is fine and works, the test of a patch with patchtest containing a variable from BB_RENAMED_VARIABLES that is not a pretest,

Re: [OE-core] [PATCH v2] kernel.bbclass: make do_symlink_kernelsrc reentrant

2023-12-18 Thread Bruce Ashfield
On Mon, Dec 18, 2023 at 12:39 PM Etienne Cordonnier wrote: > > Hi Bruce, > can you please clarify? Are you saying that you prefer the version of the > patch which I pasted with shutil.copytree? > > The condition to trigger the issue is not that rare, e.g. anybody updating > from kirkstone

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Khem Raj
On Mon, Dec 18, 2023 at 9:58 AM Richard Purdie wrote: > > On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: > > I tried the two patches in this series. It did improve the situation > > but I am still getting SSH timeouts. But this time its 13 tests > > earlier it used to be 40+ > > btw. my

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: > I tried the two patches in this series. It did improve the situation > but I am still getting SSH timeouts. But this time its 13 tests > earlier it used to be 40+ > btw. my images are using systemd. So it might be good to see if we see > this

[OE-core] [PATCH v2] create-spdx-2.2: combine spdx can try to write before dir creation

2023-12-18 Thread Jeremy Puhlman via lists.openembedded.org
From: "Jeremy A. Puhlman" On occasion a file is attmpeded to be opened prior to the creation of the spdx_workdir. Create the directory before the open, just in case. File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1081, function: combine_spdx 1077:)

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Khem Raj
I tried the two patches in this series. It did improve the situation but I am still getting SSH timeouts. But this time its 13 tests earlier it used to be 40+ btw. my images are using systemd. So it might be good to see if we see this with poky-altcfg as well or not. On Mon, Dec 18, 2023 at 7:29 

Re: [OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Joakim Tjernlund via lists.openembedded.org
Yes, there is an xxx-st where the reproducible build is performed and there is no A/B dies in there. I added some logging: --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py @@ -205,8 +205,8 @@ class ReproducibleTests(OESelftestTestCase):

Re: [OE-core] [PATCH v2] kernel.bbclass: make do_symlink_kernelsrc reentrant

2023-12-18 Thread Etienne Cordonnier via lists.openembedded.org
Hi Bruce, can you please clarify? Are you saying that you prefer the version of the patch which I pasted with shutil.copytree? The condition to trigger the issue is not that rare, e.g. anybody updating from kirkstone 4.0.12 to 4.0.13 and doing an incremental build will get a build failure if S

Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 11:23 +, Richard Purdie via lists.openembedded.org wrote: > On Mon, 2023-12-11 at 15:57 +, Alex Bennée wrote: > > If qemurunner doesn't continuously drain stdout we will eventually > > cause QEMU to block while trying to write to the pipe. This can > > manifest itself

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 13:04 -0300, Fabio Estevam wrote: > On Mon, Dec 18, 2023 at 12:30 PM Richard Purdie > wrote: > > > > We need to ensure we read from and log the output from qemu stdout > > as otherwise the buffers can fill and block, leading qemu to hand. > > Use our existing logging thread

[OE-core] [PATCH v3] tcl: skip async and event tests in run-ptest

2023-12-18 Thread Ross Burton
From: Ross Burton These test suites are full of timing-sensitive test cases, so skip them too. [ YOCTO #15321 ] Signed-off-by: Ross Burton --- meta/recipes-devtools/tcltk/tcl/run-ptest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH v2] tcl: skip async and event tests in run-ptest

2023-12-18 Thread Ross Burton
From: Ross Burton These test suites are full of timing-sensitive test cases, so skip them too. [ YOCTO #15321 ] Signed-off-by: Ross Burton --- meta/recipes-devtools/tcltk/tcl/run-ptest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Alexander Kanavin
Note that selftest makes a separate build directory, usually ../{current_build_dir}-st. Alex On Mon, 18 Dec 2023 at 17:40, Alexander Kanavin via lists.openembedded.org wrote: > > On Mon, 18 Dec 2023 at 17:33, Joakim Tjernlund > wrote: > > > > I have tried that and there are no A/B dirs in

Re: [OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Alexander Kanavin
On Mon, 18 Dec 2023 at 17:33, Joakim Tjernlund wrote: > > I have tried that and there are no A/B dirs in there. I can find u-boot...ipk > and some other > stuff but there is no evidence that the A/B dirs ever existed. You need to read the test itself as well to see where the directories are. If

Re: [OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Joakim Tjernlund via lists.openembedded.org
I have tried that and there are no A/B dirs in there. I can find u-boot...ipk and some other stuff but there is no evidence that the A/B dirs ever existed. Jocke On Mon, 2023-12-18 at 17:20 +0100, Alexander Kanavin wrote: > I suppose you can run oe-selftest again with -K, then its build >

Re: [OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Alexander Kanavin
I suppose you can run oe-selftest again with -K, then its build directories (a and b ones) will be preserved and you can inspect them. Alex On Mon, 18 Dec 2023 at 14:58, Joakim Tjernlund wrote: > > Sounds plausible but how is that possible? I don't understand what those > tweaks are(unless you

Re: [OE-core] [PATCH V2] rxvt-unicode: set correct outdir for tic

2023-12-18 Thread Alexandre Belloni via lists.openembedded.org
Hello, This causes: https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4106/steps/12/logs/stdio https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231218-s_bdlb3l/packages/diff-html/ On 14/12/2023 17:41:01+0800, Changqing Li wrote: > From: Changqing Li >

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Fabio Estevam
On Mon, Dec 18, 2023 at 12:30 PM Richard Purdie wrote: > > We need to ensure we read from and log the output from qemu stdout > as otherwise the buffers can fill and block, leading qemu to hand. > Use our existing logging thread to do this. s/Impove/Improve on the Subject line of both patches.

Re: [OE-core] [kirkstone][PATCH] gdb: Fix CVE-2023-39130

2023-12-18 Thread Steve Sakoman
This patch doesn't seem to take into account your previous fix for CVE-2023-39129 I modified this patch to apply it after your CVE-2023-39129 fix, and there seem to be conflicts: ERROR: gdb-cross-x86_64-11.2-r0 do_patch: Applying patch '0013-CVE-2023-39130.patch' on target directory

[OE-core][PATCH v2] bitbake.conf: Add runtimedir

2023-12-18 Thread Joshua Watt
Adds the path to the runtime state directory (/run). In particular, systemd units need to have the correct path to the runtime directory because RequiresMountsFor doesn't follow symbolic links. This means that if a unit calls out a directory in /var/run (a symbolic link to /run), it may actually

[OE-core][PATCH v2] ipk: Switch to using zstd compression

2023-12-18 Thread Joshua Watt
Converts IPK package generation to use zstd instead of xz. zstd has a much larger compression/speed tradeoff range allowing users to choose what suits them best, and fast decompression speeds. It also continues to support parallel compression as xz did. A new variable called ZSTD_DEFAULTS is

[OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
We need to ensure we read from and log the output from qemu stdout as otherwise the buffers can fill and block, leading qemu to hand. Use our existing logging thread to do this. Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/qemurunner.py | 54 ++- 1 file

[OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-18 Thread Richard Purdie
Similar to stdout in the previous commit, we need to ensure serial output if written is read and put somewhere, else qemu might block on writes to the serial port leading to hangs in the kernel. Use our existing logging thread to log data when run_serial is not in use. Signed-off-by: Richard

[OE-core] [PATCH 1/9] sqlite3: upgrade 3.44.0 -> 3.44.2

2023-12-18 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- .../sqlite/{sqlite3_3.44.0.bb => sqlite3_3.44.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/sqlite/{sqlite3_3.44.0.bb => sqlite3_3.44.2.bb} (78%) diff --git a/meta/recipes-support/sqlite/sqlite3_3.44.0.bb

[OE-core] [PATCH 9/9] enchant2: upgrade 2.6.2 -> 2.6.4

2023-12-18 Thread Anuj Mittal
pkgdatadir is a versioned directory by default now so we don't need to pass it to EXTRA_OEMAKE. https://github.com/AbiWord/enchant/commit/6e4a8df5cbf80fd449f1857ac1065d3235f1139f Signed-off-by: Anuj Mittal --- .../enchant/{enchant2_2.6.2.bb => enchant2_2.6.4.bb} | 4 +--- 1 file

[OE-core] [PATCH 8/9] libusb1: fix upstream version check

2023-12-18 Thread Anuj Mittal
Fix regex to not match release candidates. Signed-off-by: Anuj Mittal --- meta/recipes-support/libusb/libusb1_1.0.26.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/libusb/libusb1_1.0.26.bb b/meta/recipes-support/libusb/libusb1_1.0.26.bb index

[OE-core] [PATCH 7/9] stress-ng: upgrade 0.17.01 -> 0.17.03

2023-12-18 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- .../stress-ng/{stress-ng_0.17.01.bb => stress-ng_0.17.03.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/stress-ng/{stress-ng_0.17.01.bb => stress-ng_0.17.03.bb} (94%) diff --git

[OE-core] [PATCH 6/9] puzzles: upgrade to latest revision

2023-12-18 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- meta/recipes-sato/puzzles/puzzles_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb b/meta/recipes-sato/puzzles/puzzles_git.bb index d0a9af7cb67..ab4b2394b8b 100644 ---

[OE-core] [PATCH 5/9] glib-networking: upgrade 2.76.1 -> 2.78.0

2023-12-18 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- ...sable-PKCS-11-tests-if-not-available.patch | 113 -- .../glib-networking/eagain.patch | 20 +++- ...ng_2.76.1.bb => glib-networking_2.78.0.bb} | 3 +- 3 files changed, 15 insertions(+), 121 deletions(-) delete mode 100644

[OE-core] [PATCH 4/9] glib-2.0: upgrade 2.78.1 -> 2.78.3

2023-12-18 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- ...ot-write-bindir-into-pkg-config-files.patch | 4 ++-- .../0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | 3 +-- ...l-gio-querymodules-as-libexec_PROGRAM.patch | 6 +++--- ...ing-about-deprecated-paths-in-schemas.patch | 4 ++--

[OE-core] [PATCH 2/9] base-passwd: upgrade 3.6.2 -> 3.6.3

2023-12-18 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- .../base-passwd/{base-passwd_3.6.2.bb => base-passwd_3.6.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/base-passwd/{base-passwd_3.6.2.bb => base-passwd_3.6.3.bb} (98%) diff --git

[OE-core] [PATCH 3/9] bluez5: upgrade 5.70 -> 5.71

2023-12-18 Thread Anuj Mittal
Signed-off-by: Anuj Mittal --- meta/recipes-connectivity/bluez5/bluez5.inc | 2 - .../0001-test-gatt-Fix-hung-issue.patch | 2 +- ...et-for-building-tests-without-runnin.patch | 6 +- ...e_probe-failing-if-SDP-record-is-not.patch | 313 --

Re: [OE-core] mdns on musl

2023-12-18 Thread Matt Wood
Thanks Ross, On 12/18/23 07:40, Ross Burton wrote: > On 16 Dec 2023, at 21:42, Matt Wood via lists.openembedded.org > wrote: >> >> This is a fundamental issue with musl: >> https://wiki.musl-libc.org/future-ideas >> >> I thought there was a solution using the mdns package (mDNSResponder from

Re: [OE-core] [PATCH v2] kernel.bbclass: make do_symlink_kernelsrc reentrant

2023-12-18 Thread Bruce Ashfield
On Mon, Dec 18, 2023 at 6:45 AM Etienne Cordonnier via lists.openembedded.org wrote: > > My thinking was that in my local build I was updating from a build without > https://github.com/yoctoproject/poky/commit/3b8d0acca30c806fb69fc3096d41593cc76ed22c > to a build containing this commit, so the

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

2023-12-18 Thread Ross Burton
From: Ross Burton Signed-off-by: Ross Burton --- meta/recipes-kernel/linux/cve-exclusion_6.1.inc | 4 ++-- meta/recipes-kernel/linux/cve-exclusion_6.5.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc

Re: [OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Joakim Tjernlund via lists.openembedded.org
Sounds plausible but how is that possible? I don't understand what those tweaks are(unless you mean the SOURCE_DATE_EPOCH="$(date +%s)" tweak) Maybe I should try without SSTATE cache at all just to see if that make a difference? Jocke On Mon, 2023-12-18 at 14:11 +0100, Alexander Kanavin

Re: [OE-core] mdns on musl

2023-12-18 Thread Alex Kiernan
On Sat, Dec 16, 2023 at 9:42 PM Matt Wood wrote: > > This is a fundamental issue with musl: > https://wiki.musl-libc.org/future-ideas > > I thought there was a solution using the mdns package (mDNSResponder from > Apple), but I could be misinterpreting what I have read. > I think there is

Re: [OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Alexander Kanavin
The short execution time is suspicious. The test is written so that build B doesn't reuse the cache from build A, and if it does because of your local tweaks, then you're probably just comparing the A package with itself. Alex On Mon, 18 Dec 2023 at 12:20, Joakim Tjernlund via

Re: [OE-core] mdns on musl

2023-12-18 Thread Ross Burton
On 16 Dec 2023, at 21:42, Matt Wood via lists.openembedded.org wrote: > > This is a fundamental issue with musl: > https://wiki.musl-libc.org/future-ideas > > I thought there was a solution using the mdns package (mDNSResponder from > Apple), but I could be misinterpreting what I have read.

Re: [OE-core][PATCH] ipk: Switch to using zstd compression

2023-12-18 Thread Etienne Cordonnier via lists.openembedded.org
"In addition, it support parallel compression for additional compression speed up." It is not really clear what you mean with this sentence: xz also supports parallel compression (in poky via XZ_THREADS), so zstd support for parallel compression is not a reason to switch. zstd is rather known for

Re: [OE-core] [PATCH v3] kernel.bbclass: make do_symlink_kernelsrc reentrant

2023-12-18 Thread Etienne Cordonnier via lists.openembedded.org
patch v3: changed bb.warn to bb.info, improved comment, moved code to the correct if block to avoid removal of kernsrc On Mon, Dec 18, 2023 at 12:53 PM wrote: > From: Etienne Cordonnier > > The function do_symlink_kernsrc is not reentrant in the case where S is > defined > to a non-default

[OE-core] [PATCH v3] kernel.bbclass: make do_symlink_kernelsrc reentrant

2023-12-18 Thread Etienne Cordonnier via lists.openembedded.org
From: Etienne Cordonnier The function do_symlink_kernsrc is not reentrant in the case where S is defined to a non-default value. This causes build-failures e.g. when building linux-yocto, then updating poky to a commit which modifies kernel.bbclass, and then building linux-yocto again.

Re: [OE-core] [PATCH v2] kernel.bbclass: make do_symlink_kernelsrc reentrant

2023-12-18 Thread Etienne Cordonnier via lists.openembedded.org
My thinking was that in my local build I was updating from a build without https://github.com/yoctoproject/poky/commit/3b8d0acca30c806fb69fc3096d41593cc76ed22c to a build containing this commit, so the behavior of do_symlink_kernsrc got modified, but my incremental build is not executing the new

[OE-core] CFP for OE Workshop extended

2023-12-18 Thread Josef Holzmayr
We have extended the deadline for the OE Workshop in Brussels, Monday February 5th until the upcoming Friday, December 22th. Give the gift of OE and share your knowledge at https://pretalx.com/oe-ws-2024/cfp Josef, Your friendly OE Santa Helper -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

[OE-core] Patchtest results for kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/kirkstone-oe-selftest--v--r-reproducible.ReproducibleTests.test_reproducible_builds-broken.patch FAIL: test

Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-11 at 15:57 +, Alex Bennée wrote: > If qemurunner doesn't continuously drain stdout we will eventually > cause QEMU to block while trying to write to the pipe. This can > manifest itself if the guest has for example configured its serial > ports to output via stdio even if the

[OE-core] kirkstone: oe-selftest -v -r reproducible.ReproducibleTests.test_reproducible_builds broken ?

2023-12-18 Thread Joakim Tjernlund via lists.openembedded.org
I setup above test for reproducible builds and build one pkg(u-boot) and try to force a non-reproducible build to test the framework: --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc @@ -9,7 +9,7 @@ inherit uboot-config uboot-extlinux-config uboot-sign deploy

Re: [OE-core][PATCH] ipk: Switch to using zstd compression

2023-12-18 Thread Alexandre Belloni via lists.openembedded.org
On 15/12/2023 22:48:51+, Richard Purdie wrote: > On Fri, 2023-12-15 at 13:51 -0700, Joshua Watt wrote: > > > > @@ -337,7 +335,7 @@ CONVERSION_CMD:lz4 = "lz4 -9 -z -l > > ${IMAGE_NAME}.${type} ${IMAGE_NAME}.${type}.l > > CONVERSION_CMD:lzo = "lzop -9 ${IMAGE_NAME}.${type}" > >

Re: [OE-core] [PATCH v2 2/3] lib/oe/package: add LOCALEEXTRADIRS to define extra locations for locales

2023-12-18 Thread Jonathan GUILLOT
Hi, I am just looking to existing variables to add documentation for LOCALE_EXTRA_PATHS and it makes me think about separator to use. FILESEXTRAPATHS use ':' between each path, PACKAGE_FEED_BASE_PATHS uses simple space ' ' and PSEUDO_IGNORE_PATHS is comma-separated list. What is the best option

Re: [OE-core] [PATCH v3 1/4] dummy-sdk-package.inc: Filter packages which are marked for installation

2023-12-18 Thread Pavel Zhukov
Hi Alex, Luca, Can you please retest this patchset one more time please? Neither myself nor RP could reproduce build failure with recent master/sstate so it might be fixed in the meantime. -- Pavel On 2023-10-12 09:36, Luca Ceresoli via lists.openembedded.org wrote: Hello Pavel, On Mon, 9

Re: [OE-core] [PATCH v3] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Alexander Kanavin
On Mon, 18 Dec 2023 at 10:13, Yu, Mingli wrote: > > From: Mingli Yu > > Fix the below ptest failure: > self = > def test_skeleton_codestyle(self): > """ > This test shouldn't run in proliferated repositories. > """ > setup_cfg = configparser.ConfigParser() > setup_cfg.read("setup.cfg") >

Re: [OE-core] [PATCH v2] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Alexander Kanavin
On Mon, 18 Dec 2023 at 10:12, Yu, Mingli wrote: > # echo $? > 1 Thanks. This however doesn't explain why the failure is not seen on the autobuilder, but I'll answer that in a response to the patch. Alex -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [OE-core] Patchtest results for [PATCH 5/7] bitbake/runqueue: prioritize local stamps over sstate signatures in printdiff

2023-12-18 Thread Alexander Kanavin
On Mon, 18 Dec 2023 at 10:12, wrote: > FAIL: test target mailing list: Series sent to the wrong mailing list or some > patches from the series correspond to different mailing lists > (test_mbox.TestMbox.test_target_mailing_list) I know, this was on purpose as the patchset is tightly coupled

[OE-core] [PATCH v3] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Yu, Mingli
From: Mingli Yu Fix the below ptest failure: self = def test_skeleton_codestyle(self): """ This test shouldn't run in proliferated repositories. """ setup_cfg = configparser.ConfigParser() setup_cfg.read("setup.cfg") > if setup_cfg["metadata"]["name"] != "skeleton":

[OE-core] Patchtest results for [PATCH 6/7] bitbake/runqueue: add debugging for find_siginfo() calls

2023-12-18 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/6-7-bitbake-runqueue-add-debugging-for-find_siginfo-calls.patch FAIL: test commit message presence: Please include

[OE-core] Patchtest results for [PATCH 7/7] selftest/sstatetest: re-enable gcc printdiff test

2023-12-18 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/7-7-selftest-sstatetest-re-enable-gcc-printdiff-test.patch FAIL: test commit message presence: Please include a

[OE-core] Patchtest results for [PATCH 5/7] bitbake/runqueue: prioritize local stamps over sstate signatures in printdiff

2023-12-18 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/5-7-bitbake-runqueue-prioritize-local-stamps-over-sstate-signatures-in-printdiff.patch FAIL: test target mailing

Re: [OE-core] [PATCH v2] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Yu, Mingli
Hi Alex, Please check the comments inline. On 12/18/23 16:41, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. Wait. There were two specific review

Re: [OE-core] [PATCH] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Yu, Mingli
Hi Ross, On 12/14/23 02:05, Ross Burton wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 13 Dec 2023, at 10:21, Yu, Mingli via lists.openembedded.org wrote: -pytest

[OE-core] [PATCH 7/7] selftest/sstatetest: re-enable gcc printdiff test

2023-12-18 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/sstatetests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 6da3ef3ca77..62b7a79bbb6 100644 ---

[OE-core] [PATCH 6/7] bitbake/runqueue: add debugging for find_siginfo() calls

2023-12-18 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- bitbake/lib/bb/runqueue.py | 4 1 file changed, 4 insertions(+) diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 0fc26ccdf88..51959231b72 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1764,7

[OE-core] [PATCH 2/7] selftest/sstatetests: fix up printdiff test to match rework of printdiff logic

2023-12-18 Thread Alexander Kanavin
Other than the formatting changes, there are two functional ones: - use perlcross instead of quilt, as quilt is special in the sense of being excluded from task hash calculcations. perlcross is a full participant. - run the full test (local + sstate) for gcc do_preconfiure change as the

[OE-core] [PATCH 5/7] bitbake/runqueue: prioritize local stamps over sstate signatures in printdiff

2023-12-18 Thread Alexander Kanavin
Even with the reworked printdiff code, sstate which is heavily used in parallel can throw races at the tests: if a new matching, but otherwise unrelated sstate signature appears between writing out local stamps and listing matching sstate files, then that signature will be deemed 'the latest' and

[OE-core] [PATCH 4/7] bitbake-diffsigs/runqueue: adapt to reworked find_siginfo()

2023-12-18 Thread Alexander Kanavin
In particular having 'time' explicitly used as a sorting key should make it more clear how the entries are being sorted. Signed-off-by: Alexander Kanavin --- bitbake/bin/bitbake-diffsigs | 11 +++ bitbake/lib/bb/runqueue.py | 10 +- 2 files changed, 12 insertions(+), 9

[OE-core] [PATCH 3/7] sstatesig/find_siginfo: unify a disjointed API

2023-12-18 Thread Alexander Kanavin
find_siginfo() returns two different data structures depending on whether its third argument (list of hashes to find) is empty or not: - a dict of timestamps keyed by path - a dict of paths keyed by hash This is not a good API design; it's much better to return a dict of dicts that include both

[OE-core] [PATCH 1/7] bitbake/runqueue: rework 'bitbake -S printdiff' logic

2023-12-18 Thread Alexander Kanavin
Previously printdiff code would iterate over tasks that were reported as invalid or absent, trying to follow dependency chains that would reach the most basic invalid items in the tree. While this works in tightly controlled local builds, it can lead to bizarre reports against industrial-sized

Re: [OE-core] [PATCH v2] python3-license-expression: Fix the ptest failure

2023-12-18 Thread Alexander Kanavin
Wait. There were two specific review requests, and both remain unanswered. You are just resending the patch, and that is not acceptable. - (from Ross) can we use pytest —automake instead of unreadable sed/awk monster expression? - (from me) is ptest returning a non-zero error code when it fails

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

2023-12-18 Thread Jing Hui Tham
Hi all, Intel and WR YP QA is planning for QA execution for YP build yocto-4.0.15.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. MinnowBoard Turbot - 32bit

Re: [OE-core] [yocto] QA notification for completed autobuilder build (yocto-3.1.30.rc2)

2023-12-18 Thread Jing Hui Tham
Hi All, QA for yocto-3.1.30.rc2 is completed. This is the full report for this release: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults === Summary No high milestone defects. No new issue found. Thanks, Jing Hui >