Re: [OE-core] [PATCH 4/6] systemd: Enable seccomp if FEATURE is set

2021-04-26 Thread Mikko Rapeli
Hi, Patch itself is ok, but I'll just comment that I've seen some boot time regressions coming from systemd seccomp support. On NXP iMX8 and dunfell, systemd needed a few 100 ms more time in early boot if seccomp was enabled. I could not figure out where this was lost though. Could be just

Re: [OE-core] [docs] [PATCH] dev-manual/common-tasks.rst: correct the documentation for debuginfod

2021-04-26 Thread Quentin Schulz
Hi Alex, On Fri, Apr 23, 2021 at 07:40:24PM +0200, Alexander Kanavin wrote: > Particularly, > - correctly describe the use of DEBUGINFOD_URLS; drop it from bitbake > variables > - all necessary component tweaks are enabled by default via DISTRO_FEATURES > - provide on-target examples of what to

[OE-core] [PATCH] dev-manual/common-tasks.rst: correct the documentation for debuginfod

2021-04-26 Thread Alexander Kanavin
Particularly, - correctly describe the use of DEBUGINFOD_URLS; drop it from bitbake variables - all necessary component tweaks are enabled by default via DISTRO_FEATURES - provide on-target examples of what to look for when things work properly Signed-off-by: Alexander Kanavin ---

Re: [OE-core] [PATCH] ca-certificates: Fix openssl runtime cert dependencies

2021-04-26 Thread Richard Purdie
On Fri, 2021-04-23 at 20:56 +0100, Andrei Gherzan wrote: > On Sun, 18 Apr 2021, at 23:53, Khem Raj wrote: > > With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was > > moved to openssl-bin which in itself was a fine change, but dropping > > dependency on openssl too should have been

Re: [OE-core] [docs] [PATCH] dev-manual/common-tasks.rst: correct the documentation for debuginfod

2021-04-26 Thread Quentin Schulz
Hi Alex, Could you please add the v2/v3/vwhatever in the mail subject next time? You can do so by passing `-v 2` to `git format-patch`. This helps us keep track of which version of a patch should be merged (well, it helps Michael :p) and on which patch series to answer/rewview. No need to do it

Re: [OE-core] [PATCH] gdk-pixbuf: upgrade from 2.40.0 -> 2.42.6

2021-04-26 Thread Alexander Kanavin
Thanks Changqing, I have an alternative update patch that also simplifies the custom patch structure. If my approach doesn't work out, I'll take yours, until then I'd like it to be on hold. Alex On Mon, 26 Apr 2021 at 02:55, Changqing Li wrote: > From: Changqing Li > > Signed-off-by:

Re: [OE-core] [docs] [PATCH] dev-manual/common-tasks.rst: correct the documentation for debuginfod

2021-04-26 Thread Alexander Kanavin
On Mon, 26 Apr 2021 at 10:39, Quentin Schulz < quentin.sch...@streamunlimited.com> wrote: > > -To run a debuginfod server, you need to do the following: > > +To run a ``debuginfod`` server, you need to do the following: > > > > -- Ensure that this variable is set in your ``local.conf`` file:: >

Re: [OE-core] [PATCH 1/6] libseccomp: move recipe from meta-security to core

2021-04-26 Thread Armin Kuster
On 4/25/21 5:10 PM, Khem Raj wrote: > On Sun, Apr 25, 2021 at 11:26 AM akuster808 wrote: >> >> >> On 4/24/21 3:16 PM, Khem Raj wrote: >>> riscv32 is not happy >> that is not supported by libseccomp per their supported arch list. I >> came across that yesterday. > I think the problem is when we

Re: [OE-core] [dunfell][PATCH] Binutils: Fix CVE-2021-20197

2021-04-26 Thread Steve Sakoman
On Sun, Apr 25, 2021 at 2:44 AM Vinay Kumar wrote: > > Source: git://sourceware.org/git/binutils-gdb.git > Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=26945 > > Backported upstream commit d3edaa91d4cf7202ec14342410194841e2f67f12 to > binutils-2.34 source, along with commit id

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

2021-04-26 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. If the

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

2021-04-26 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] [PATCH 0/2] Enable QMP Dumping for testimage

2021-04-26 Thread Saul Wold
This is the forth (and maybe final) pass at enabling getting debug information from QEMU via the Qemu Machine Protocol interface. The Qemu source provides a qmp.py module which is installed in the recipe-sysroot-native site-packages. The initial commands that are issued to qmp when a failure is

Re: [OE-core] [PATCH] gnutls: Point to staging area for finding seccomp libs and includes

2021-04-26 Thread Armin Kuster
On 4/26/21 11:06 AM, Khem Raj wrote: > This ensures that if libseccomp is installed on build host then it does > not resort to use it. > > Fixes > checking for libseccomp... (cached) yes > checking how to link with libseccomp... /usr/lib/libseccomp.so Thanks -armin > > Signed-off-by: Khem Raj

Re: [OE-core] LTP drop MUSL specific patch

2021-04-26 Thread Andre McCurdy
On Mon, Apr 26, 2021 at 11:53 AM Petr Vorel wrote: > > Hi Khem, Richard, > > I'd like to replace MUSL specific patch > meta/recipes-extended/ltp/ltp/0001-build-Add-option-to-select-libc-implementation.patch > with just removing broken files. We use this in upstream CI for Alpine, I > ported > it

[OE-core] [PATCH v2 1/2] license_image.bbclass: Detect broken symlinks

2021-04-26 Thread Reto Schneider
From: Reto Schneider Find and report symlinks which point to a non-existing file. Signed-off-by: Reto Schneider --- Version 2: No changes meta/classes/license_image.bbclass | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/meta/classes/license_image.bbclass

[OE-core] [PATCH] gnutls: Point to staging area for finding seccomp libs and includes

2021-04-26 Thread Khem Raj
This ensures that if libseccomp is installed on build host then it does not resort to use it. Fixes checking for libseccomp... (cached) yes checking how to link with libseccomp... /usr/lib/libseccomp.so Signed-off-by: Khem Raj Cc: Armin Kuster --- meta/recipes-support/gnutls/gnutls_3.7.1.bb |

[OE-core] [PATCH v2 2/2] license_image.bbclass: Fix symlink to generic license files

2021-04-26 Thread Reto Schneider
From: Reto Schneider Link to the canonical filename of a license as only this one exists. Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00 [license_image.bbclass: use canonical name for license files]. Signed-off-by: Reto Schneider --- Version 2: Fix link to commit

[OE-core] [PATCH v2] oe-time-dd-test.sh: collect cooker log when timeout is exceeded

2021-04-26 Thread Sakib Sajal
Collect the last 30 lines from the cooker.log whenever the timeout is exceeded. Signed-off-by: Sakib Sajal --- scripts/oe-time-dd-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/oe-time-dd-test.sh b/scripts/oe-time-dd-test.sh index 459071e732..46b218b76a 100755 ---

[OE-core] [PATCH 2/2] license_image.bbclass: Fix symlink to generic license files

2021-04-26 Thread Reto Schneider
From: Reto Schneider Link to the canonical filename of a license as only this one exists. Fixes commit 70fe71dd18ea675f35581db4a61fda137f8bf [license_image.bbclass: use canonical name for license files]. Signed-off-by: Reto Schneider --- meta/classes/license_image.bbclass | 5 +++-- 1 file

[OE-core] [PATCH 1/2] license_image.bbclass: Detect broken symlinks

2021-04-26 Thread Reto Schneider
From: Reto Schneider Find and report symlinks which point to a non-existing file. Signed-off-by: Reto Schneider --- meta/classes/license_image.bbclass | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/meta/classes/license_image.bbclass

Re: [OE-core] LTP drop MUSL specific patch

2021-04-26 Thread Petr Vorel
Hi Andre, > On Mon, Apr 26, 2021 at 11:53 AM Petr Vorel wrote: > > Hi Khem, Richard, > > I'd like to replace MUSL specific patch > > meta/recipes-extended/ltp/ltp/0001-build-Add-option-to-select-libc-implementation.patch > > with just removing broken files. We use this in upstream CI for

Re: [OE-core] [docs] [PATCH] dev-manual/common-tasks.rst: correct the documentation for debuginfod

2021-04-26 Thread Alexander Kanavin
Thanks, I'll remember to send versioned patches! Alex On Mon, 26 Apr 2021 at 18:11, Michael Opdenacker < michael.opdenac...@bootlin.com> wrote: > Hi Alex, > > On 4/26/21 12:46 PM, Quentin Schulz wrote: > > Hi Alex, > > > > Could you please add the v2/v3/vwhatever in the mail subject next time?

[OE-core] LTP drop MUSL specific patch

2021-04-26 Thread Petr Vorel
Hi Khem, Richard, I'd like to replace MUSL specific patch meta/recipes-extended/ltp/ltp/0001-build-Add-option-to-select-libc-implementation.patch with just removing broken files. We use this in upstream CI for Alpine, I ported it to Buildroot [2], where works well. It's better because it does

[OE-core] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2021-04-26 Thread Stephen Jolley
All, The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

Re: [OE-core][PATCH] oe-pkgdata-util: ignore SIGPIPE

2021-04-26 Thread Chen Qi
ping On 04/20/2021 04:37 PM, Chen Qi wrote: oe-pkgdata-util sometimes outputs a large amount of data. When used with pipe, it's likely to get the following error. BrokenPipeError: [Errno 32] Broken pipe The problem could be reproduced by running `oe-pkgdata-util list-pkg | less'. Type 'q'