Re: [OE-core] [PATCH v4 3/4] kernel.bbclass: Use full versions for inter-package dependencies

2021-08-30 Thread Zoltan Boszormenyi via lists.openembedded.org
2021. 08. 30. 21:51 keltezéssel, Jon Mason írta: On Mon, Aug 30, 2021 at 6:26 AM Andrey Zhizhikin wrote: On Mon, Aug 30, 2021 at 12:06 PM Böszörményi Zoltán wrote: 2021. 08. 30. 11:30 keltezéssel, Andrey Zhizhikin írta: Hello Zoltan, On Fri, Aug 27, 2021 at 9:37 AM Zoltan Boszormenyi via

[OE-core] [PATCH v2] distro_features_check: expand with IMAGE_FEATURES

2021-08-30 Thread Trevor Woerner
In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required or conflicting features, extend this functionality in order to check IMAGE_FEATURES in the same way. Signed-off-by: Trevor Woerner --- changes in v2: - update in-file documentation ---

[OE-core] Upgrade uninative to fix multiple native build failures in old unprivileged docker

2021-08-30 Thread hongxu
Hi Richard & Michael, The reason why I submitted patch [glibc: fix create thread failed in old unprivileged docker] is there are build failures with uninative 3.3 under old unprivileged docker. If the glibc fix is OK, would you please upgrade a new uninative that contains the fix. Here are the

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

2021-08-30 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:

[OE-core] [PATCH v2] buildhistory: Label packages providing per-file dependencies in depends.dot

2021-08-30 Thread Andres Beltran
Currently, depends.dot includes per-file dependencies but not the packages providing those files. This makes it hard to obtain all package dependencies by just looking at depends.dot. Parse the RPROVIDES and FILERPROVIDES fields from pkgdata to map each of their values to the package providing

[OE-core] [PATCH] distro_features_check: expand with IMAGE_FEATURES

2021-08-30 Thread Trevor Woerner
In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required or conflicting features, extend this functionality in order to check IMAGE_FEATURES in the same way. Signed-off-by: Trevor Woerner --- meta/classes/features_check.bbclass | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OE-core][PATCH] perl: add integer module required for kernel >= 5.14

2021-08-30 Thread Bruce Ashfield
On Mon, Aug 30, 2021 at 4:55 PM Andrey Zhizhikin wrote: > > Hello Richard, > > On Mon, Aug 30, 2021 at 10:30 PM Richard Purdie > wrote: > > > > On Mon, 2021-08-30 at 20:05 +, Andrey Zhizhikin wrote: > > > Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at > > > build time

Re: [OE-core][PATCH] perl: add integer module required for kernel >= 5.14

2021-08-30 Thread Andrey Zhizhikin
Hello Richard, On Mon, Aug 30, 2021 at 10:30 PM Richard Purdie wrote: > > On Mon, 2021-08-30 at 20:05 +, Andrey Zhizhikin wrote: > > Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at > > build time instead of shipping them") uses perl to generate assembler > > files for

Re: [OE-core][PATCH] perl: add integer module required for kernel >= 5.14

2021-08-30 Thread Richard Purdie
On Mon, 2021-08-30 at 20:05 +, Andrey Zhizhikin wrote: > Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at > build time instead of shipping them") uses perl to generate assembler > files for crypto functionality, which relies on the integer.pm module to > be provided. > >

Re: [OE-core] [PATCH] buildstats.bbclass: collect host data only when do_testimage fails

2021-08-30 Thread Richard Purdie
On Fri, 2021-08-27 at 15:32 -0400, Sakib Sajal wrote: > Signed-off-by: Sakib Sajal > --- > meta/classes/buildstats.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass > index 0de605200a..874d30b292

Re: [OE-core] [PATCH 2/2] quilt: Only package guard for the target

2021-08-30 Thread Richard Purdie
On Fri, 2021-08-27 at 14:57 -0700, Saul Wold wrote: > The guard binary and documentaiton should only be be packaged for the > target class. > > Signed-off-by: Saul Wold > --- > meta/recipes-devtools/quilt/quilt.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [OE-core] [PATCH 1/2] libtool: Only package libltdl for the target

2021-08-30 Thread Richard Purdie
On Fri, 2021-08-27 at 14:57 -0700, Saul Wold wrote: > The libltdl package is not needed for -native or -cross, so make it's > only packaged for the target class. > > Signed-off-by: Saul Wold > --- > meta/recipes-devtools/libtool/libtool-2.4.6.inc | 2 +- > 1 file changed, 1 insertion(+), 1

[OE-core][PATCH] perl: add integer module required for kernel >= 5.14

2021-08-30 Thread Andrey Zhizhikin
Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at build time instead of shipping them") uses perl to generate assembler files for crypto functionality, which relies on the integer.pm module to be provided. Add this module to FILES and export it for build system. Signed-off-by:

Re: [OE-core] [PATCH v4 3/4] kernel.bbclass: Use full versions for inter-package dependencies

2021-08-30 Thread Jon Mason
On Mon, Aug 30, 2021 at 6:26 AM Andrey Zhizhikin wrote: > > On Mon, Aug 30, 2021 at 12:06 PM Böszörményi Zoltán wrote: > > > > 2021. 08. 30. 11:30 keltezéssel, Andrey Zhizhikin írta: > > > Hello Zoltan, > > > > > > On Fri, Aug 27, 2021 at 9:37 AM Zoltan Boszormenyi via > > >

[OE-core] [RFC PATCH 7/7] package_rpm: use zstd instead of xz

2021-08-30 Thread Alexander Kanavin
zstd has similar time and space performance in compression but is vastly faster in decompression, which benefits rootfs creation (especially when installing very large packages) and on-target package installation. Signed-off-by: Alexander Kanavin --- meta/classes/package_rpm.bbclass | 4 ++--

[OE-core] [RFC PATCH 6/7] perl: do not build berkeley db module by default

2021-08-30 Thread Alexander Kanavin
Bdb is unmaintained and altogether obsolete, the less dependencies we have on it, the better. This leaves only apt (specifically, apt-ftparchive) in core as a bdb consumer, sadly it has a hard dependency that isn't easy to patch out. Maybe apt upstream will get to it at some point.

[OE-core] [RFC PATCH 5/7] libsolv: disable rpm bdb format support

2021-08-30 Thread Alexander Kanavin
Otherwise this causes runtime errors when only sqlite is present. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/libsolv/libsolv_0.7.19.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.19.bb

[OE-core] [RFC PATCH 4/7] libdnf: fix the rpm sqlite-only target setup

2021-08-30 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...xt.cpp-do-not-try-to-access-BDB-data.patch | 37 +++ meta/recipes-devtools/libdnf/libdnf_0.63.1.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644

[OE-core] [RFC PATCH 3/7] rpm: update 4.16.1.3 -> 4.17.0

2021-08-30 Thread Alexander Kanavin
The flagship features are migration from bdb to sqlite and zstd support, both are enabled and taken into use. The relationship and upstream preference between sqlite and ndb formats isn't quite clear. Lua is now a hard dependency. Added packageconfig option for r/o support for bdb (that doesn't

[OE-core] [RFC PATCH 1/7] lua: add a recipe from meta-oe

2021-08-30 Thread Alexander Kanavin
Lua is a hard dependency in rpm 4.17. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/maintainers.inc | 1 + .../distro/include/ptest-packagelists.inc | 1 + ...ilding-lua-without-readline-on-Linux.patch | 59 +++ ...rriers-cannot-be-active-during-sweep.patch |

[OE-core] [RFC PATCH 2/7] lua: update 5.3.6 -> 5.4.3

2021-08-30 Thread Alexander Kanavin
Drop three backports and 0001-Allow-building-lua-without-readline-on-Linux.patch (feature added upstream, adjust the recipe accordingly). Adjust ar/ranlib flags for reproducibility on liblua.a. License-Update: lines moved around, formatting Signed-off-by: Alexander Kanavin ---

Re: [OE-core] hidapi: add rdep on glibc-gconv-utf-16

2021-08-30 Thread Justin Bronder
My apologies, this should have been sent to openembedded-de...@lists.openembedded.org. On 30/08/21 10:59 -0400, Justin Bronder wrote: > libhidapi-libusb needs to convert from UTF-16LE to WCHAR_T in order to > read various libusb string descriptors. > > Signed-off-by: Justin Bronder > --- >

Re: [OE-core] why "PREFERRED_PROVIDER_udev" and not "PREFERRED_PROVIDER_virtual/udev"?

2021-08-30 Thread Khem Raj
On Mon, Aug 30, 2021 at 12:52 AM Robert P. J. Day wrote: > > > i was going to extend section 3.3.17, "Using Virtual Providers", > with an intro example using "udev" until i realized that that example > doesn't use the "virtual/" notation. so ... why not? is there some > distinction between

Re: [OE-core] [PATCH 2/2] gcc: disable zstd by default

2021-08-30 Thread Khem Raj
On Mon, Aug 30, 2021 at 3:47 AM Hsia-Jun Li wrote: > > From: "Hsia-Jun(Randy) Li" > > I think this script is a little trick, unless you disable > it, it would consider it enabled anyway. > > Signed-off-by: Hsia-Jun(Randy) Li > --- > meta/recipes-devtools/gcc/gcc-11.2.inc | 2 ++ > 1 file

[OE-core] [hardknott][PATCH] bitbake: server: Fix early parsing errors preventing zombie bitbake

2021-08-30 Thread Chris Laplante via lists.openembedded.org
From: Joshua Watt From: Chris Laplante If the client process never sends cooker data, the server timeout will be 0.0, not None. This will prevent the server from exiting, as it is waiting for a new client. In particular, the client will disconnect with a bad "INHERIT" line, such as:

[OE-core] [meta-oe][PATCH v2] hidapi: add rdep on glibc-gconv-utf-16

2021-08-30 Thread Justin Bronder
libhidapi-libusb needs to convert from UTF-16LE to WCHAR_T in order to read various libusb string descriptors. Signed-off-by: Justin Bronder --- meta-oe/recipes-support/hidapi/hidapi_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/hidapi/hidapi_git.bb

[OE-core] [PATCH] weston: Add rdp PACKAGECONFIG

2021-08-30 Thread Marek Vasut
Weston has RDP backend support. This can be used e.g. for screen mirroring. Add PACKAGECONFIG so it can be enabled by the user. By default, this is not enabled, to retain the old behavior of the recipe. Below is an example testcase of using the RDP backend for screen mirroring, i.e. two devices

[OE-core] [PATCH] rustfmt: fix SRC_URI

2021-08-30 Thread kai
From: Kai Kang Signed-off-by: Kai Kang --- meta/recipes-example/rustfmt/rustfmt_1.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb b/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb index b7deb4097c..2e4a47eb00 100644 ---

[OE-core] [PATCH 2/2] gcc: disable zstd by default

2021-08-30 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" I think this script is a little trick, unless you disable it, it would consider it enabled anyway. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-devtools/gcc/gcc-11.2.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git

[OE-core] [PATCH 1/2] curl: fix the dependency to zstd

2021-08-30 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" It would be enabled by default but I am not sure whether we need it. Signed-off-by: Hsia-Jun(Randy) Li --- meta/recipes-support/curl/curl_7.78.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/curl/curl_7.78.0.bb

[OE-core] [PATCH 0/2] [WIP]: fix build failure caused by zstd

2021-08-30 Thread Hsia-Jun Li
From: "Hsia-Jun(Randy) Li" The configure script of some packages may not be able to handle this correctly. I have not verified all the packages, I was developing something for meta-clang actually. Hsia-Jun(Randy) Li (2): curl: fix the dependency to zstd gcc: disable zstd by default

Re: [OE-core] [PATCH v4 3/4] kernel.bbclass: Use full versions for inter-package dependencies

2021-08-30 Thread Andrey Zhizhikin
On Mon, Aug 30, 2021 at 12:06 PM Böszörményi Zoltán wrote: > > 2021. 08. 30. 11:30 keltezéssel, Andrey Zhizhikin írta: > > Hello Zoltan, > > > > On Fri, Aug 27, 2021 at 9:37 AM Zoltan Boszormenyi via > > lists.openembedded.org wrote: > >> From: Zoltán Böszörményi > >> > >> If the kernel

Re: [OE-core] [PATCH v4 3/4] kernel.bbclass: Use full versions for inter-package dependencies

2021-08-30 Thread Zoltan Boszormenyi via lists.openembedded.org
2021. 08. 30. 11:30 keltezéssel, Andrey Zhizhikin írta: Hello Zoltan, On Fri, Aug 27, 2021 at 9:37 AM Zoltan Boszormenyi via lists.openembedded.org wrote: From: Zoltán Böszörményi If the kernel configuration enables module signing but no key is provided, then the kernel generates one during

Re: [OE-core] [PATCH v4 3/4] kernel.bbclass: Use full versions for inter-package dependencies

2021-08-30 Thread Andrey Zhizhikin
Hello Zoltan, On Fri, Aug 27, 2021 at 9:37 AM Zoltan Boszormenyi via lists.openembedded.org wrote: > > From: Zoltán Böszörményi > > If the kernel configuration enables module signing but no key > is provided, then the kernel generates one during the kernel build. > > The current

[OE-core] [Hardknott backport request] kernel-yocto: Simplify no git repo case in do_kernel_checkout

2021-08-30 Thread Paul Barker
Hi Anuj, Please could you consider backporting the following commit to hardknott: af2a9c92d449 ("kernel-yocto: Simplify no git repo case in do_kernel_checkout") This has already been backport to dunfell. The patch cherry-picks cleanly to hardknott. Thanks, -- Paul Barker

Re: [OE-core] [PATCH] curl: Upgrade to 7.78.0

2021-08-30 Thread Randy Li
> On Aug 2, 2021, at 4:06 PM, Yu, Mingli wrote: > > From: Mingli Yu > > Remove libmetalink configure option as this rarely used option is > removed in the new version [1]. I think we need a PACKAGECONFIG to disable zstd or put it into depend. Or it would failed at configure stage. Try with

Re: [OE-core] why "PREFERRED_PROVIDER_udev" and not "PREFERRED_PROVIDER_virtual/udev"?

2021-08-30 Thread Robert P. J. Day
On Mon, 30 Aug 2021, Robert P. J. Day wrote: > i was going to extend section 3.3.17, "Using Virtual Providers", > with an intro example using "udev" until i realized that that > example doesn't use the "virtual/" notation. so ... why not? is > there some distinction between other components

Re: [OE-core] [PATCH] bitbake.conf: support persistent /var/tmp

2021-08-30 Thread Changqing Li
ping On 8/6/21 9:21 AM, Changqing Li wrote: From: Changqing Li Steps: 1. build out rootfs core-image-minimal-qemux86-64.tar.bz2 2. docker import core-image-minimal-qemux86-64.tar.bz2 poky:latest 3. docker run -it --rm poky:latest /bin/sh 4. /var # ls -al drwxr-xr-x8 root root

[OE-core] why "PREFERRED_PROVIDER_udev" and not "PREFERRED_PROVIDER_virtual/udev"?

2021-08-30 Thread Robert P. J. Day
i was going to extend section 3.3.17, "Using Virtual Providers", with an intro example using "udev" until i realized that that example doesn't use the "virtual/" notation. so ... why not? is there some distinction between other components that use the "virtual/" prefix, but a reason that one

Re: [OE-core] [PATCH 0/2] support building for Android target

2021-08-30 Thread Hsia-Jun Li
On 8/21/21 1:34 AM, Khem Raj wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. On 8/19/21 11:11 PM, Hsia-Jun Li wrote: From: "Hsia-Jun(Randy) Li" You may check the meta-android-ndk I posted to

[OE-core] [hardknott][PATCH 9/9] linux-yocto/5.4: update to v5.4.142

2021-08-30 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: c15b830f7c1c Linux 5.4.142 a17f2f2c8949 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656) 7c1c96ffb658 KVM: nSVM: avoid picking up unsupported

[OE-core] [hardknott][PATCH 8/9] linux-yocto/5.4: update to v5.4.141

2021-08-30 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: b704883aa8dc Linux 5.4.141 983d6a6b7e3c btrfs: don't flush from btrfs_delayed_inode_reserve_metadata ea13f678a3fd btrfs: export and rename qgroup_reserve_meta

[OE-core] [hardknott][PATCH 7/9] linux-firmware: upgrade 20210511 -> 20210818

2021-08-30 Thread Anuj Mittal
From: Alexander Kanavin License-Update: new firmware files, copyright years, file names Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit bfceaba4f38771047dfdfdfdbf16b794006dfd78) Signed-off-by: Anuj Mittal --- ...inux-firmware_20210511.bb =>

[OE-core] [hardknott][PATCH 6/9] image_types: Restore pre-btrfs-tools 4.14.1 mkfs.btrfs shrink behavior

2021-08-30 Thread Anuj Mittal
From: Marek Vasut Currently the mkfs.btrfs generates large images with a lot of wasted space. This happens since OE-core updated btrfs-tools from 4.13.3 to 4.15.1 in commit 94b645aa77 ("btrfs-tools: update to 4.15.1") . Note in mkfs.btrfs(8) manpage section -r says the following: "

[OE-core] [hardknott][PATCH 5/9] tcf-agent: fetching over git:// no longer works

2021-08-30 Thread Anuj Mittal
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 44a6cd03721b51cbb4e05870375fa347527b0db5) Signed-off-by: Anuj Mittal --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OE-core] [hardknott][PATCH 4/9] weston: Re-order gbm destruction at DRM-backend tear down

2021-08-30 Thread Anuj Mittal
From: Khem Raj Fixes an annoying segfault seen on rpi4 when launching weston during boot especially using systemd service or sysvinit script, if weston is launched manually on VT, it works fine. This backport specifically addresses the issue described above. For more details see [1] [1]

[OE-core] [hardknott][PATCH 3/9] file: fix close_on_exec for multithreaded decompression

2021-08-30 Thread Anuj Mittal
From: Changqing Li It is not safe to call the 'file' command from multiple threads. When a file is checked with multiple threads in parallel, the file descriptors might get shared which makes the pipe handling lock up, leading to lock up in rpmbuild. And may lead to rarely deadlock on random

[OE-core] [hardknott][PATCH 2/9] openssl: upgrade from 1.1.1k to 1.1.1l

2021-08-30 Thread Anuj Mittal
From: Randy MacLeod Includes fixes for: CVE: CVE-2021-3711 CVE: CVE-2021-3712 as described by: https://www.openssl.org/news/secadv/20210824.txt Ptest results on qemux86-64 with kvm: All tests successful. Files=158, Tests=2532, 93 wallclock secs \ ( 1.31 usr 0.14 sys + 73.43

[OE-core] [hardknott][PATCH 1/9] icu: increase pkgdata command buffer size

2021-08-30 Thread Anuj Mittal
From: Joe Slater Mitigate pathname truncation when installing in a project with a very long pathname. Signed-off-by: Joe Slater Signed-off-by: Anuj Mittal --- ...pkgdata-increase-command-buffer-size.patch | 46 +++ meta/recipes-support/icu/icu_68.2.bb | 1 + 2 files

[OE-core] [hardknott][PATCH 0/9] Patch review request

2021-08-30 Thread Anuj Mittal
Please review these changes for hardknott. Buils cleanly on autobuilder except for intermittent valgrind ptest failures and a parselog failure while testing qemuppc-alt. Thanks, Anuj The following changes since commit 9ba6c42c1cc0ffb690126aa93ccb529405473af5: glibc: Fix CVE-2021-38604