[OE-core] [RFC PATCH 2/2] baremetal-image: change comment to qemuboot.json

2021-02-11 Thread Guillaume Champagne
Signed-off-by: Guillaume Champagne --- meta/classes/baremetal-image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/baremetal-image.bbclass b/meta/classes/baremetal-image.bbclass index 90d58f2615..ecda456c39 100644 ---

[OE-core] [RFC PATCH 1/2] runqemu: replace qemuboot.conf by qemuboot.json

2021-02-11 Thread Guillaume Champagne
Fixes [YOCTO #12503] Switch to json format since it is more common than INI style configuration files within oe-core. Every key stored can now be a top level item and case on keys no longer has to be enforced. Signed-off-by: Guillaume Champagne --- meta/classes/qemuboot.bbclass | 18

[OE-core] [RFC PATCH 0/2] replace qemuboot.conf by qemuboot.json

2021-02-11 Thread Guillaume Champagne
This fixes bug #12503. Sending this as an RFC since I'm not sure what to do with autobuilder-worker-prereq-tests. It fetches a qemuboot.conf from yoctoproject.org, but this cannot be changed yet to qemuboot.json since it doesn't exist on there. A patch is also sent to the docs mailing list to

Re: [OE-core] [PATCH][dunfell] sudo: 1.8.31 -> 1.8.32

2021-02-11 Thread Steve Sakoman
On Thu, Feb 11, 2021 at 3:21 AM Lee Chee Yang wrote: > > From: Lee Chee Yang > > release notes: > https://www.sudo.ws/legacy.html#1.8.32 > > updates include fixes for > CVE-2021-23239 > CVE-2021-23240 I'm getting do_compile errors with musl builds:

[OE-core][gatesgarth]Mongodb segfault on gatesgarth

2021-02-11 Thread jaewon
Hello all, Im seeing a segfault running mongod, tested on pure upstream poky and openembedded layers (gatesgarth branch) Any known issues here on mongod in gatesgarth? Not a perfect test by any means but also tried mongodb version from zeus release where it was working and same issue. hoping

[OE-core] [PATCH] linux-firmware: update to 20210208

2021-02-11 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- .../{linux-firmware_20201218.bb => linux-firmware_20210208.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-kernel/linux-firmware/{linux-firmware_20201218.bb => linux-firmware_20210208.bb} (99%) diff --git

[OE-core] [PATCH] cryptodev: upgrade to 1.12

2021-02-11 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- .../{cryptodev-linux_1.11.bb => cryptodev-linux_1.12.bb}| 0 .../{cryptodev-module_1.11.bb => cryptodev-module_1.12.bb} | 0 .../{cryptodev-tests_1.11.bb => cryptodev-tests_1.12.bb}| 0 meta/recipes-kernel/cryptodev/cryptodev.inc

Re: [OE-core] [gatesgarth][PATCH 00/35] pull request (cover letter only)

2021-02-11 Thread Richard Purdie
On Thu, 2021-02-11 at 23:46 +0800, Anuj Mittal wrote: > Please merge these changes in gatesgarth. > > Thanks, > > Anuj > > The following changes since commit c63feb7e062750ef9d1fcfd6ee16f1d220f8a369: > >   strace: increase ptest timeout duration 120->240s (2021-02-05 23:34:49 > +) > >

[OE-core] [PATCH 1/3] ports/access.c: Use EACCES, not EPERM

2021-02-11 Thread Richard Purdie
The man page for access() does not allow for a return value of EPERM, should be EACCES. Fix. Signed-off-by: Richard Purdie --- ports/unix/guts/access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/unix/guts/access.c b/ports/unix/guts/access.c index 1cc8d58..4725f49

[OE-core] [PATCH 3/3] ports/rename/renameat: Avoid race when renaming files

2021-02-11 Thread Richard Purdie
We're seeing failures where a file is renamed under pseudo but an access appears to be made to the old filename before the OP_RENAME has hit the database but after the real_rename has applied in the kernel. This is effectively the MAY_UNLINK problem for the original filename. There were

[OE-core] [PATCH 2/3] ports/unix: Add faccessat and faccessat2

2021-02-11 Thread Richard Purdie
Add wrappers for the faccessat and faccessat2 glibc functions matching the way access.c works. faccessat2 was added in glibc 2.33. Signed-off-by: Richard Purdie --- ports/unix/guts/faccessat.c | 15 ports/unix/guts/faccessat2.c | 46

Re: [OE-core] [PATCH] openssl: Enable building for RISC-V 32-bit

2021-02-11 Thread Andrey Zhizhikin
Hello Alistair, On Thu, Feb 11, 2021 at 5:52 PM Alistair Francis wrote: > > Signed-off-by: Alistair Francis > --- > ...ort-for-io_pgetevents_time64-syscall.patch | 58 +++ > .../openssl/openssl_1.1.1i.bb | 4 ++ > 2 files changed, 62 insertions(+) > create

[OE-core] [PATCH] openssl: Enable building for RISC-V 32-bit

2021-02-11 Thread Alistair Francis
Signed-off-by: Alistair Francis --- ...ort-for-io_pgetevents_time64-syscall.patch | 58 +++ .../openssl/openssl_1.1.1i.bb | 4 ++ 2 files changed, 62 insertions(+) create mode 100644

[OE-core] [meta-oe][PATCH dunfell v2] gcc-9.3.inc: Fix potential runtime crash

2021-02-11 Thread Jon Mason
GCCv9 tree vectorization code is faulty and can cause random crashes at runtime (when using -O3). Add the backported patch to address this issue. Signed-off-by: Jon Mason --- meta/recipes-devtools/gcc/gcc-9.3.inc | 1 + ...-PR-tree-optimization-97236-fix-bad-.patch | 119

Re: [OE-core] [meta-oe][PATCH dunfell] gcc-9.3.inc: Fix potential runtime crash

2021-02-11 Thread Steve Sakoman
On Thu, Feb 11, 2021 at 6:30 AM Steve Sakoman wrote: > > On Thu, Feb 11, 2021 at 6:09 AM Jon Mason wrote: > > > > Sorry, the subject should have "dunfell" in it > > No worries, I got it! But as Ross pointed out you'll need to add the missing patch header info before I can merge it ... Steve >

[OE-core] [PATCH 2/2] qemurunner: Add support for qmp commands

2021-02-11 Thread Saul Wold
This adds support for the Qemu Machine Protocol [0] extending the current dump process for Host and Target. The commands are added in the testimage.bbclass. Currently, we setup qemu to stall until qmp gets connected and sends the initialization and continue commands, this works correctly. With

[OE-core] [PATCH 1/2] qemu-system-native: install qmp python module

2021-02-11 Thread Saul Wold
The qmp python module supports the Qemu Machine Protocol [0]. This module needs to be installed in a known location so the qemurunner python script can find the qmp module. This change causes it to be installed in the recipe-sysroot-native of the target image and that directory can be added to

[OE-core] [RFC PATCH 0/2] Enable QMP Dumping for testimage

2021-02-11 Thread Saul Wold
This is the third pass at enabling getting debug information from QEMU via the Qemu Machine Protocol interface. The Qemu source provides a qmp.py module which I current install in tmp/hosttools as a known location. I am sure there are various possible locations. The initial commands that I issue

Re: [OE-core] [meta-oe][PATCH dunfell] gcc-9.3.inc: Fix potential runtime crash

2021-02-11 Thread Steve Sakoman
On Thu, Feb 11, 2021 at 6:09 AM Jon Mason wrote: > > Sorry, the subject should have "dunfell" in it No worries, I got it! Steve > On Thu, Feb 11, 2021 at 10:57 AM Jon Mason via lists.openembedded.org > wrote: > > > > GCCv9 tree vectorization code is faulty and can cause random crashes at > >

Re: [OE-core] [meta-oe][PATCH] gcc-9.3.inc: Fix potential runtime crash

2021-02-11 Thread Ross Burton
Missing patch headers. On Thu, 11 Feb 2021 at 15:57, Jon Mason wrote: > > GCCv9 tree vectorization code is faulty and can cause random crashes at > runtime (when using -O3). Add the backported patch to address this > issue. > > Signed-off-by: Jon Mason > --- >

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Ross Burton
On Wed, 10 Feb 2021 at 11:12, Ray Smith wrote: > This has a desirable side-effect of enabling a build of mesa that > supports only OpenGL ES and EGL, without having the rest of the > distribution think that full OpenGL is available. The 'opengl' DISTRO_FEATURE is deliberately vague and doesn't

Re: [OE-core] [meta-oe][PATCH dunfell] gcc-9.3.inc: Fix potential runtime crash

2021-02-11 Thread Jon Mason
Sorry, the subject should have "dunfell" in it On Thu, Feb 11, 2021 at 10:57 AM Jon Mason via lists.openembedded.org wrote: > > GCCv9 tree vectorization code is faulty and can cause random crashes at > runtime (when using -O3). Add the backported patch to address this > issue. > >

[OE-core] [meta-oe][PATCH] gcc-9.3.inc: Fix potential runtime crash

2021-02-11 Thread Jon Mason
GCCv9 tree vectorization code is faulty and can cause random crashes at runtime (when using -O3). Add the backported patch to address this issue. Signed-off-by: Jon Mason --- meta/recipes-devtools/gcc/gcc-9.3.inc | 1 + ...-PR-tree-optimization-97236-fix-bad-.patch | 116

[OE-core] [gatesgarth][PATCH 00/35] pull request (cover letter only)

2021-02-11 Thread Anuj Mittal
Please merge these changes in gatesgarth. Thanks, Anuj The following changes since commit c63feb7e062750ef9d1fcfd6ee16f1d220f8a369: strace: increase ptest timeout duration 120->240s (2021-02-05 23:34:49 +) are available in the Git repository at:

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Konrad Weihmann
On 11.02.21 15:59, Richard Purdie wrote: On Thu, 2021-02-11 at 15:47 +0100, Konrad Weihmann wrote: On 11.02.21 14:04, Richard Purdie wrote: On Thu, 2021-02-11 at 13:10 +0100, Konrad Weihmann wrote: On 11.02.21 12:43, Richard Purdie wrote: On Thu, 2021-02-11 at 08:21 +0100, Konrad

[OE-core] [v2][PATCH] connman: update to 1.39

2021-02-11 Thread akuster
[Yocto #14231] Bug fix only and includes two security fixes: CVE-2021-26675 CVE-2021-26676 Signed-off-by: Armin Kuster --- .../connman/{connman_1.38.bb => connman_1.39.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Richard Purdie
On Thu, 2021-02-11 at 15:47 +0100, Konrad Weihmann wrote: > > On 11.02.21 14:04, Richard Purdie wrote: > > On Thu, 2021-02-11 at 13:10 +0100, Konrad Weihmann wrote: > > > > > > On 11.02.21 12:43, Richard Purdie wrote: > > > > On Thu, 2021-02-11 at 08:21 +0100, Konrad Weihmann wrote: > > > > >

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Konrad Weihmann
On 11.02.21 14:04, Richard Purdie wrote: On Thu, 2021-02-11 at 13:10 +0100, Konrad Weihmann wrote: On 11.02.21 12:43, Richard Purdie wrote: On Thu, 2021-02-11 at 08:21 +0100, Konrad Weihmann wrote: After this patch got merged I notice some "noise" in my builds. For bbappends which inherit

[OE-core] [PATCH] glibc: add workaround for faccessat2 being blocked by seccomp filters

2021-02-11 Thread Ross Burton
Older seccomp-based filters used in container frameworks will block faccessat2 calls as it's a relatively new syscall. This isn't a big problem with glibc <2.33 but 2.33 will call faccessat2 itself, get EPERM, and thenn be confused about what to do as EPERM isn't an expected error code.

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Phil Blundell via lists.openembedded.org
On Thu, Feb 11, 2021 at 01:05:20PM +0100, Martin Jansa wrote: > Or you can read it as that it makes sense to build mesa recipe only when > DISTRO supports opengl or vulkan or opengles, It's never been the intent of DISTRO_FEATURES to determine which recipes it "makes sense" to build, above and

[OE-core] [PATCH][dunfell] sudo: 1.8.31 -> 1.8.32

2021-02-11 Thread Lee Chee Yang
From: Lee Chee Yang release notes: https://www.sudo.ws/legacy.html#1.8.32 updates include fixes for CVE-2021-23239 CVE-2021-23240 Signed-off-by: Lee Chee Yang --- meta/recipes-extended/sudo/sudo.inc | 2 +- meta/recipes-extended/sudo/{sudo_1.8.31.bb =>

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Richard Purdie
On Thu, 2021-02-11 at 13:10 +0100, Konrad Weihmann wrote: > > On 11.02.21 12:43, Richard Purdie wrote: > > On Thu, 2021-02-11 at 08:21 +0100, Konrad Weihmann wrote: > > > After this patch got merged I notice some "noise" in my builds. > > > > > > For bbappends which inherit unrelated classes I

Re: [OE-core] [PATCH] sanity.bbclass: improve the network connectivity check message

2021-02-11 Thread Richard Purdie
On Wed, 2021-02-10 at 10:46 +0800, Yu, Mingli wrote: > From: Mingli Yu > > The network connectivity check via checking www.example.com by default > and also can customized by CONNECTIVITY_CHECK_URIS if desired. > > Improve the check message to let the user know if the network is actually >

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Konrad Weihmann
On 11.02.21 12:43, Richard Purdie wrote: On Thu, 2021-02-11 at 08:21 +0100, Konrad Weihmann wrote: After this patch got merged I notice some "noise" in my builds. For bbappends which inherit unrelated classes I get a lot of warning like Issue: nativesdk-openssh: native/nativesdk class is

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Martin Jansa
On Thu, Feb 11, 2021 at 11:59:43AM +, Ray Smith wrote: > On Wed, Feb 10, 2021 at 9:36 PM Otavio Salvador < > otavio.salva...@ossystems.com.br> wrote: > > > Em qua., 10 de fev. de 2021 às 17:21, Andrey Zhizhikin > > escreveu: > > > >> > >> Should this be clarified with Mesa folks upfront? If

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Ray Smith
On Wed, Feb 10, 2021 at 9:36 PM Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > Em qua., 10 de fev. de 2021 às 17:21, Andrey Zhizhikin > escreveu: > >> >> Should this be clarified with Mesa folks upfront? If you believe that >> this limitation is rather "artificial", then there has

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Richard Purdie
On Thu, 2021-02-11 at 08:21 +0100, Konrad Weihmann wrote: > After this patch got merged I notice some "noise" in my builds. > > For bbappends which inherit unrelated classes I get a lot of warning like > > Issue: nativesdk-openssh: native/nativesdk class is not inherited last, > this can result

Re: [OE-core] [PATCH 1/2] insane: Add test for native/nativesdk inherit order

2021-02-11 Thread Tomasz Dziendzielski
>After this patch got merged I notice some "noise" in my builds. > >For bbappends which inherit unrelated classes I get a lot of warning like > >Issue: nativesdk-openssh: native/nativesdk class is not inherited last, >this can result in unexpected behaviour. Classes inherited after