Re: [OE-core] [PATCH v2 3/3] Rust oe-selftest file

2021-09-29 Thread Pgowda
Hi Alexandre, Thanks for mentioning it. It's already been taken care of as the following patch:- http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next=50f7a13e69e8987b3629d455f9f56720c376e89b Thanks & Regards, pgowda On Thu, Sep 30, 2021 at 4:29 AM Alexandre Belloni wrote: > >

Re: [OE-core] [PATCH v2 2/3] Rust cross testing file

2021-09-29 Thread Alexandre Belloni
Hello, On 29/09/2021 01:04:47-0700, Pgowda wrote: > The file is main entry point for rust oe-selftest. > It configures, compiles and runs the test suite framework. > > It implements the above using the following functions: > setup_cargo_environment(): Build bootstrap and some early stage tools.

Re: [OE-core] [PATCH v2 3/3] Rust oe-selftest file

2021-09-29 Thread Alexandre Belloni
Hello, On 29/09/2021 01:04:48-0700, Pgowda wrote: > Add file for rust oe-selftest > > Signed-off-by: Pgowda > --- > meta/recipes-devtools/rust/rust-testsuite_1.54.0.bb | 3 +++ > 1 file changed, 3 insertions(+) > create mode 100644 meta/recipes-devtools/rust/rust-testsuite_1.54.0.bb > > diff

Re: [OE-core] [PATCH] strace_5.13 -> strace 5.14

2021-09-29 Thread Bruce Ashfield
On Wed, Sep 29, 2021 at 4:57 PM Khem Raj wrote: > > From: Persian Prince > > Strace 5.13 won't compile with 5.14 headers: > > | ../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl': > | ../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid application of > 'sizeof' to incomplete type

Re: [OE-core] [PATCH] strace_5.13 -> strace 5.14

2021-09-29 Thread Bruce Ashfield
On Wed, Sep 29, 2021 at 4:57 PM Khem Raj wrote: > > From: Persian Prince > > Strace 5.13 won't compile with 5.14 headers: > > | ../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl': > | ../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid application of > 'sizeof' to incomplete type

[OE-core] [PATCH] strace_5.13 -> strace 5.14

2021-09-29 Thread Khem Raj
From: Persian Prince Strace 5.13 won't compile with 5.14 headers: | ../../strace-5.13/src/fs_x_ioctl.c: In function 'fs_x_ioctl': | ../../strace-5.13/src/fs_x_ioctl.c:64:14: error: invalid application of 'sizeof' to incomplete type 'struct fsxattr' |64 | case FS_IOC_FSGETXATTR: |

[OE-core] CFP is now open for the next Yocto Project Summit 2021.11

2021-09-29 Thread Nicolas Dechesne
Dear all, The next Yocto Project (virtual) Summit will take place on Nov 30 - Dec 2, 2021. While we are finalizing the registration tools, we've already opened the CFP, and we are, as always, looking for great talks and speakers ;) For more information about the event please check [1]. When you

Re: [OE-core] [PATCH v2 2/2] kernel.bbclass: Allow using update-alternatives for the kernel image

2021-09-29 Thread Zoltan Boszormenyi via lists.openembedded.org
On 2021. 09. 29. 18:07, Bruce Ashfield wrote: On Wed, Sep 29, 2021 at 1:34 AM Zoltán Böszörményi wrote: From: Zoltán Böszörményi When using dnf to install new kernel versions and installonly_limit is reached, dnf automatically removes the oldest kernel version. For the dnf.conf

Re: [OE-core] RFC [v2]: Make kernel upgrades via dnf work like on Red Hat

2021-09-29 Thread Zoltan Boszormenyi via lists.openembedded.org
On 2021. 09. 29. 18:06, Bruce Ashfield wrote: On Wed, Sep 29, 2021 at 1:34 AM Zoltán Böszörményi wrote: I have observed two issues when upgrading to kernel versions successively. One is that when installonly_limit is reached in dnf, only the main kernel package was removed. Patch 1 fixes

[OE-core] Concerns about hash equivalence reliability

2021-09-29 Thread Richard Purdie
I'm getting a bit worried about where we're at with reproducibility and hash equivalence. As a test, I ran a build on the autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/4053 which is a master-next build of MACHINE=qemux86-64, nothing special. I then tried to use

Re: [OE-core] [PATCH v2 2/2] kernel.bbclass: Allow using update-alternatives for the kernel image

2021-09-29 Thread Bruce Ashfield
On Wed, Sep 29, 2021 at 1:34 AM Zoltán Böszörményi wrote: > > From: Zoltán Böszörményi > > When using dnf to install new kernel versions and installonly_limit > is reached, dnf automatically removes the oldest kernel version. > > For the dnf.conf documentation on installonlypkgs,

Re: [OE-core] RFC [v2]: Make kernel upgrades via dnf work like on Red Hat

2021-09-29 Thread Bruce Ashfield
On Wed, Sep 29, 2021 at 1:34 AM Zoltán Böszörményi wrote: > > I have observed two issues when upgrading to kernel versions > successively. > > One is that when installonly_limit is reached in dnf, only the > main kernel package was removed. Patch 1 fixes this by adding > extra RDEPENDS to the

[OE-core][PATCH v3] libevent: mark util/monotonic_prc_fallback as retriable

2021-09-29 Thread Thomas Perrot
Backport a patch to fix the below ptest failure: # ./run-ptest Running tests: EVPORT Skipping test KQUEUE Skipping test EPOLL test-eof: OKAY test-dumpevents: OKAY (output not checked) regress: FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0

[OE-core] [hardknott][PATCH 10/10] bash: Ensure deterministic build

2021-09-29 Thread Anuj Mittal
From: Richard Purdie Bash keeps a count of the number of times make was invoked on a directory and changes the output versioning accordingly. We want deterministic output so disable this behaviour. Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [hardknott][PATCH 09/10] oeqa/buildproject: Ensure temp directories are cleaned up

2021-09-29 Thread Anuj Mittal
From: Richard Purdie Signed-off-by: Richard Purdie (cherry picked from commit d10aff865120a5feecc42c24726bd119364e0188) Signed-off-by: Anuj Mittal --- meta/lib/oeqa/utils/buildproject.py | 3 +++ meta/lib/oeqa/utils/targetbuild.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-)

[OE-core] [hardknott][PATCH 08/10] oeqa/selftest/gotoolchain: Fix temp file cleanup

2021-09-29 Thread Anuj Mittal
From: Richard Purdie The go tests leave readonly files and directories behind. Fix this to allow cleanup. [YOCTO #14575] Signed-off-by: Richard Purdie (cherry picked from commit 5680e95d7bd9fe00a797b2d0deb8cb4790027508) Signed-off-by: Anuj Mittal ---

[OE-core] [hardknott][PATCH 07/10] oeqa/qemurunner: Use oe._exit(), not sys.exit()

2021-09-29 Thread Anuj Mittal
From: Richard Purdie sys.exit will cause finally statements and other code to run at exit. Since we're using os.fork() here, os._exit() is apprioriate in this codepath. Signed-off-by: Richard Purdie (cherry picked from commit ec08498ff29de9ccd23be88b9d7af3dab6bbb81e) Signed-off-by: Anuj Mittal

[OE-core] [hardknott][PATCH 05/10] bzip2: Update soname for libbz2 1.0.8

2021-09-29 Thread Anuj Mittal
From: Tom Pollard Set shared library name as libbz2.so.1.0.8, version in configure.ac already synced via do_configure PV substitution. Signed-off-by: Tom Pollard Signed-off-by: Richard Purdie (cherry picked from commit 07e3abc9d282a54add69a6905ec4248f3104219f) Signed-off-by: Anuj Mittal ---

[OE-core] [hardknott][PATCH 06/10] libsamplerate0: Set correct soname for 0.1.9

2021-09-29 Thread Anuj Mittal
From: Tom Pollard Manually patch SHARED_VERSION_INFO, which was missed in the 0.1.9 release and later incorrectly fixed until 0.2.1 Signed-off-by: Tom Pollard Signed-off-by: Richard Purdie (cherry picked from commit cb2e8efd316d44b9b1453882114856e0eb7b3500) Signed-off-by: Anuj Mittal ---

[OE-core] [hardknott][PATCH 04/10] pybootchart: Avoid divide by zero

2021-09-29 Thread Anuj Mittal
From: Richard Purdie Avoid a rare divide by zero error if there isn't data point spread. [YOCTO #14547] Signed-off-by: Richard Purdie (cherry picked from commit d7e36d01e87ddf89f76f164a0b7d98f597a53fa5) Signed-off-by: Anuj Mittal --- scripts/pybootchartgui/pybootchartgui/draw.py | 5 -

[OE-core] [hardknott][PATCH 02/10] connman: add CVE_PRODUCT

2021-09-29 Thread Anuj Mittal
From: Steve Sakoman Upstream database uses both "connman" and "connection_manager" to report CVEs Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie (cherry picked from commit eadf7bb17289731be9747822e3d4084ab69cf109) Signed-off-by: Anuj Mittal ---

[OE-core] [hardknott][PATCH 03/10] expat: pull from github releases

2021-09-29 Thread Anuj Mittal
From: Konrad Weihmann sometimes we can find release tarballs from sourceforge are not fully distributed along all download mirrors leading to fetching failures, depending on what download mirror will be chosen by sourceforge servers. As the project moved to github anyway, it's better to pull the

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

2021-09-29 Thread Anuj Mittal
Please review these changes for hardknott. One intermittent failure seen when running SDK tests on Centos-8 but that doesn't look related to these changes. https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2660 Thanks, Anuj The following changes since commit

[OE-core] [hardknott][PATCH 01/10] vim: fix CVEs

2021-09-29 Thread Anuj Mittal
From: Mingli Yu Backport patches to fix CVE-2021-3778 and CVE-2021-3796. Signed-off-by: Mingli Yu Signed-off-by: Anuj Mittal --- .../vim/files/CVE-2021-3778.patch | 34 + .../vim/files/CVE-2021-3796.patch | 50 +++

Re: [OE-core] [PATCH] openssh: openssh-dev shouldn't depend on openssh

2021-09-29 Thread Mark Hatle
On 9/29/21 3:36 AM, Matt Johnston wrote: > On Wed, 2021-09-29 at 09:24 +0100, Richard Purdie wrote: >>> +RDEPENDS:${PN}-dev = "" >> >> At that point what is the point of the -dev package? I think you could make >> this argument about a lot of the -dev packages and I'm not sure I'd want to >> see

[OE-core][PATCH v2] libevent: mark util/monotonic_prc_fallback as retriable

2021-09-29 Thread Thomas Perrot
Backport a patch to fix the below ptest failure: # ./run-ptest Running tests: EVPORT Skipping test KQUEUE Skipping test EPOLL test-eof: OKAY test-dumpevents: OKAY (output not checked) regress: FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0

[OE-core] [PATCH] Fix rust-native build issue when debug is enabled

2021-09-29 Thread Pgowda
When DEBUG_BUILD is set for building rust-native, it generated error as follows:- = Building : rustdoc, rustdoc-json-types error[E0463]: can't find crate for `rustc_llvm` which `rustc_driver` depends on --> src/librustdoc/lib.rs:37:1 |

Re: [OE-core] [PATCH] openssh: openssh-dev shouldn't depend on openssh

2021-09-29 Thread Alexander Kanavin
I think a better way out may be to make openssh and dropbear coinstallable? Alex On Wed, 29 Sept 2021 at 10:36, Matt Johnston wrote: > On Wed, 2021-09-29 at 09:24 +0100, Richard Purdie wrote: > > > +RDEPENDS:${PN}-dev = "" > > > > At that point what is the point of the -dev package? I think

Re: [OE-core] [PATCH] openssh: openssh-dev shouldn't depend on openssh

2021-09-29 Thread Matt Johnston
On Wed, 2021-09-29 at 09:24 +0100, Richard Purdie wrote: > > +RDEPENDS:${PN}-dev = "" > > At that point what is the point of the -dev package? I think you could make > this argument about a lot of the -dev packages and I'm not sure I'd want to > see every recipe doing this. > > What are you

Re: [OE-core] [PATCH] openssh: openssh-dev shouldn't depend on openssh

2021-09-29 Thread Richard Purdie
On Wed, 2021-09-29 at 11:18 +0800, Matt Johnston wrote: > In some situations packages such as openssh-sftp-server are used > separately from openssh-sshd. The openssh-dev package is empty > but can have conflicts when installed via populate_sdk. Removing the > dependency avoids that. > >

[OE-core] [PATCH v2 3/3] Rust oe-selftest file

2021-09-29 Thread Pgowda
Add file for rust oe-selftest Signed-off-by: Pgowda --- meta/recipes-devtools/rust/rust-testsuite_1.54.0.bb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta/recipes-devtools/rust/rust-testsuite_1.54.0.bb diff --git a/meta/recipes-devtools/rust/rust-testsuite_1.54.0.bb

[OE-core] [PATCH v2 2/3] Rust cross testing file

2021-09-29 Thread Pgowda
The file is main entry point for rust oe-selftest. It configures, compiles and runs the test suite framework. It implements the above using the following functions: setup_cargo_environment(): Build bootstrap and some early stage tools. do_rust_setup_snapshot(): Install the snapshot version of

[OE-core] [PATCH v2 1/3] Rust oe-selftest script

2021-09-29 Thread Pgowda
The file builds remote-test-server and executes rust testing remotely using background ssh. It adds the necessary test environment and variables to run the rust oe-selftest. Print the results in case of failure of runCmd(). Signed-off-by: Pgowda --- meta/lib/oeqa/selftest/cases/rust.py | 53

Re: [OE-core] [PATCH] libevent: mark util/monotonic_prc_fallback as retriable

2021-09-29 Thread Alexander Kanavin
On Wed, 29 Sept 2021 at 04:24, Yu, Mingli wrote: > regress: > FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: > assert(diff.tv_sec == 0): 1 vs 0util/monotonic_prc_fallback: > [monotonic_prc_fallback FAILED] > > [RETRYING monotonic_prc_fallback (3)] > OKAY > I think our run-ptest