[OE-core] [PATCH] sanity/lib: Replace usage if LooseVersion with bb.utils.vercmp_string_op

2021-11-26 Thread Richard Purdie
distutils is going away and we have functionality in bitbake which can handle these comparisions so switch to the bb.utils function. Signed-off-by: Richard Purdie --- meta/classes/sanity.bbclass | 18 ++ meta/lib/oe/distro_check.py | 2 +- meta/lib/oe/terminal.py | 7

[OE-core] [PATCH 2/3] oeqa/utils/dump: Fix typo

2021-11-26 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py index bb067f48462..dc8757807e7 100644 --- a/meta/lib/oeqa/utils/dump.py +++ b/meta/lib/oeqa/utils/dump.py

[OE-core] [PATCH 3/3] ptest-packagelists: Add missing python3-jsonpointer entry

2021-11-26 Thread Richard Purdie
Resolves: WARNING: python3-jsonpointer-2.2-r0 do_package_qa: QA Issue: supports ptests but is not included in oe-core's ptest-packagelists.inc [missing-ptest] Signed-off-by: Richard Purdie --- meta/conf/distro/include/ptest-packagelists.inc | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH 1/3] oeqa/parselogs: Fix quoting

2021-11-26 Thread Richard Purdie
Fix deprecation warnings about invalid escape sequences. Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/parselogs.py | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases

Re: [OE-core] [PATCH] openssl: fix EVP_PKEY_CTX_get_rsa_pss_saltlen() not returning a value

2021-11-26 Thread Richard Purdie
On Thu, 2021-11-25 at 11:10 +, Ross Burton wrote: > Backport a patch submitted upstream. Specifically, this fixes signature > validation in trusted-firmware-a with OpenSSL 3. > > Signed-off-by: Ross Burton > --- > ...-EVP_PKEY_CTX_get_rsa_pss_saltlen-no.patch | 89 +++ >

[OE-core] [PATCH] gcc: Drop further unneeded precompiled header patch

2021-11-25 Thread Richard Purdie
According to comments on the bug report from gcc developers, we no longer need to do this post gcc 10. Lets therefore drop the patch. Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-11.2.inc| 1 - ...-fault-in-precompiled-header-generat.patch | 57 --- 2

[OE-core] [PATCH] python3: Add missing HOMEPAGE entries

2021-11-25 Thread Richard Purdie
Add missing HOMEPAGE entries to new python recipes from meta-python. Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb | 1 + meta/recipes-devtools/python/python3-ruamel-yaml_0.17.16.bb | 1 + meta/recipes-devtools/python/python3-strict-rfc3339_0.7.bb

[OE-core] [PATCH 3/3] gcc: Drop mips default ABI patch

2021-11-25 Thread Richard Purdie
gcc-configure-common.inc already sets --with-abi=64 for our mips64 targets so this patch is no longer needed. [YOCTO #14639] Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-11.2.inc| 1 - .../gcc/0010-MIPS64-Default-to-N64-ABI.patch | 54 --- 2 files

[OE-core] [PATCH 1/3] nativesdk: Handle chown/chgrp calls in nativesdk do_install tasks

2021-11-25 Thread Richard Purdie
and map those to root/root user/groups. We can't just ignore them as some calls are used to remove host contamination from the host user ID so they need to be made, just as root. Signed-off-by: Richard Purdie --- meta/classes/nativesdk.bbclass| 2 ++ scripts/nativesdk-intercept/chgrp | 27

[OE-core] [PATCH 2/3] gcc: Drop no longer needed patch

2021-11-25 Thread Richard Purdie
This patch was mentioned upstream a long time ago: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256 Changes from gcc 10 onward mean it is no longer needed as mentioned in the above bug report. Drop the patch. Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-11.2.inc

Re: [OE-core] [bitbake-devel] [eo-core][PATCH v6 1/2] repo: Add recipe for 2.17.3

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 19:35 +0100, Jasper Orschulko via lists.openembedded.org wrote: > From: Jasper Orschulko > > Add a recipe for repo 2.17.3, prerequisite for the repo fetcher. > > Signed-off-by: Jasper Orschulko > --- > meta/conf/distro/include/maintainers.inc | 1 + >

Re: [OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 18:11 +0100, Stefan Herbrechtsmeier wrote: > Am 24.11.2021 um 16:17 schrieb Alexander Kanavin: > > Is it the missing x bit on directories? > > Yes. > > https://registry.npmjs.org/protoc/-/protoc-1.0.4.tgz > > > > If you've encountered this, then > > where did it happen,

Re: [OE-core] [PATCH] meson: drop redundant patch

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 10:17 +, Ross Burton wrote: > On Tue, 23 Nov 2021 at 22:36, Richard Purdie > wrote: > > On Tue, 2021-11-23 at 19:38 +, Ross Burton wrote: > > > This patch disables the debian-detection to use the correct $libdir by > > > default on th

Re: [OE-core] [PATCH] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 10:25 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/classes/insane.bbclass | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass > index 240f3aad62..8a47da5a09

Re: [OE-core] [PATCH] native/cross: Add ar wrapper for determinism

2021-11-23 Thread Richard Purdie
On Tue, 2021-11-23 at 21:22 +0100, Jacob Kroon wrote: > > On 11/23/21 15:12, Richard Purdie wrote: > > From: Jacob Kroon > > > > Add a wrapper around ar calls for native/cross recipes. This wrapper adds > > the -D option so that deterministic archives are bui

Re: [OE-core] [PATCHv3] waffle: add explicit dependency to cmake-native

2021-11-23 Thread Richard Purdie
On Tue, 2021-11-23 at 12:00 -0600, Anibal Limon wrote: > Hi, > > Is this patch good enough? or need another change. There was feedback about the commit message needing work. Someone else also sent a similar patch with a commit message with the right explanation in it so that was merged in

Re: [OE-core] [PATCH] meson: drop redundant patch

2021-11-23 Thread Richard Purdie
On Tue, 2021-11-23 at 19:38 +, Ross Burton wrote: > This patch disables the debian-detection to use the correct $libdir by > default on that platform. However in cross builds this is always > overridden to be $prefix/lib, and all recipes that inherit meson pass > the correct libdir

Re: [OE-core] [PATCH] glibc: Fix i586/c3 support

2021-11-23 Thread Richard Purdie
On Tue, 2021-11-23 at 09:13 -0800, Khem Raj wrote: > > On 11/23/21 8:55 AM, Richard Purdie wrote: > > CET can't be enabled on i586 or c3 for x86, adjust the configuration > > accordingly > > to fix those builds. > > > > Signed-off-by: Richard Purdie &

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

2021-11-23 Thread Richard Purdie
On Tue, 2021-11-23 at 11:54 +, Teoh, Jay Shen wrote: > This is the full report for yocto-3.1.12.rc1: > https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults > > === Summary > No high milestone defects. > > new issue found > >

[OE-core] [PATCH] glibc: Fix i586/c3 support

2021-11-23 Thread Richard Purdie
CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds. Signed-off-by: Richard Purdie --- meta/recipes-core/glibc/glibc_2.34.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/glibc/glibc_2.34.bb b/meta/recipes

[OE-core] [PATCH] native/cross: Add ar wrapper for determinism

2021-11-23 Thread Richard Purdie
since we compile binutils-cross with an option making this the default. We need a wrapper since we need to remove the "u" option and replace it with "D" but also allow things like "--version" to continue to work too. Signed-off-by: Jacob Kroon Signed-off-by: Ric

[OE-core] [PATCH] bitbake.conf: Pass -D option to ranlib for determisim

2021-11-23 Thread Richard Purdie
. Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 71c1e52ad63..fba99e8f0cd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -542,7 +542,7 @@ export

[OE-core] [PATCH] bitbake.conf: Pass -D option to ranlib for determisim

2021-11-23 Thread Richard Purdie
. Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 71c1e52ad63..fba99e8f0cd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -542,7 +542,7 @@ export

[OE-core] [PATCH] buildhistory: Fix do_package race issues

2021-11-23 Thread Richard Purdie
races but means the data is only restored to buildhistory if the do_package or do_package_setscene tasks are restored. Signed-off-by: Richard Purdie --- meta/classes/buildhistory.bbclass | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta/classes

[OE-core] [PATCH 2/2] buildhistory: Fix srcrevs output

2021-11-22 Thread Richard Purdie
t;default" case and make that code the default for all srcrev regardless of length. [YOCTO #14017] Signed-off-by: Richard Purdie --- meta/classes/buildhistory.bbclass | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/meta/classes/buildhis

[OE-core] [PATCH 1/2] buildhistory: Drop support for older bitbakes

2021-11-22 Thread Richard Purdie
We've bumped the minimum bitbake version past the point this fallback code was needed, drop it. Signed-off-by: Richard Purdie --- meta/classes/buildhistory.bbclass | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/meta/classes/buildhistory.bbclass b/meta/classes

Re: [OE-core] [PATCH v2 1/7] systemd: skip chown when building for nativesdk

2021-11-22 Thread Richard Purdie
On Fri, 2021-11-19 at 11:34 +, Luca Bocassi wrote: > From: Luca Boccassi > > The useradd class is a no-op in the nativesdk case, so chown will fail. > Skip them. > > Signed-off-by: Luca Boccassi > --- > v2: use "${PN}" = "${BPN}" as suggested by reviewers I think that was bad advice since

Re: [OE-core] [PATCH v2 4/7] systemd: remove volatile-binds RDEPENDS for nativesdk

2021-11-22 Thread Richard Purdie
On Fri, 2021-11-19 at 11:34 +, Luca Bocassi wrote: > From: Luca Boccassi > > Not needed for SDK binaries > > Signed-off-by: Luca Boccassi > --- > v2: remove dependency instead of adding nativesdk to volatile-binds > > meta/recipes-core/systemd/systemd_249.5.bb | 1 + > 1 file changed, 1

Re: [OE-core] [PATCH 2/2] core-image-base: Remove psplash from required features

2021-11-21 Thread Richard Purdie
On Sat, 2021-11-20 at 10:05 -0800, Khem Raj wrote: > base-image boots in degraded mode when using systems without display > system since there is no fb device detected and pslash service would > fail to start. Removing this image feature means that core-image-base is > complete for headless

Re: [OE-core] [PATCH 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Richard Purdie
On Fri, 2021-11-19 at 13:08 +0100, Alexander Kanavin wrote: > I checked; the patches are the same, except the upstream one misses one file, > which is fixed in a different upstream patch. I'd say we can keep things as > they are. Can we mark as a backport of those two commits then? Cheers,

Re: [OE-core] [PATCH 02/36] groff: mark patch as non-upstreamable

2021-11-19 Thread Richard Purdie
On Wed, 2021-11-17 at 16:34 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/recipes-extended/groff/files/0001-Include-config.h.patch | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[OE-core] [PATCH] gcc: Tweak Upstream-Status formatting

2021-11-19 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch | 2 +- meta/recipes-devtools/gcc/gcc/0002-CVE-2021-35465.patch | 2 +- meta/recipes-devtools/gcc/gcc/0003-CVE-2021-35465.patch | 2 +- meta/recipes-devtools/gcc/gcc/0004-CVE-2021-35465.patch | 2 +- 4

Re: [OE-core] [PATCH] buildhistory.bbclass: fix regression from FILES_INFO changes

2021-11-19 Thread Richard Purdie
On Tue, 2021-11-16 at 17:06 -0800, S. Lockwood-Childs wrote: > Started getting a stack trace during packagedata task for a > recipe that built fine in hardknott > > *** 0002:buildhistory_emit_pkghistory(d) > 0003: > File: 'meta/classes/buildhistory.bbclass', lineno: 313, function: >

Re: [OE-core] [PATCH 6/8] kbd: add nativesdk

2021-11-17 Thread Richard Purdie
On Wed, 2021-11-17 at 12:31 +, Luca Bocassi wrote: > From: Luca Boccassi > > Required to build systemd tools If systemd needs these to build, wouldn't it be depending on kbd-native? Or are you saying that systemd-tools needs something in here at runtime? I don't mind extending the recipe

Re: [OE-core] [PATCH 5/8] volatile-binds: add nativesdk

2021-11-17 Thread Richard Purdie
On Wed, 2021-11-17 at 12:31 +, Luca Bocassi wrote: > From: Luca Boccassi > > Signed-off-by: Luca Boccassi > --- > meta/recipes-core/volatile-binds/volatile-binds.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb >

Re: [OE-core] [PATCH 2/2] glibc: Append files instead of making then part of main SRC_URI

2021-11-17 Thread Richard Purdie
On Wed, 2021-11-17 at 08:56 -0800, Khem Raj wrote: > This will help later with using devupstream > > Signed-off-by: Khem Raj > --- > meta/recipes-core/glibc/glibc_2.34.bb | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/meta/recipes-core/glibc/glibc_2.34.bb

Re: [OE-core] [PATCH] Fix Bug-14613

2021-11-15 Thread Richard Purdie
On Mon, 2021-11-15 at 04:58 -0800, Pgowda wrote: > Source:- https://bugzilla.yoctoproject.org/show_bug.cgi?id=14613 > > Adds TUNE_PKGARCH to PN so that it picks correct TUNE_FEATURES. > Also, the short log needs to be in the format matching our commit guidelines so something like: rust-cross:

Re: [OE-core] [PATCH] Fix Bug-14613

2021-11-15 Thread Richard Purdie
On Mon, 2021-11-15 at 04:58 -0800, Pgowda wrote: > Source:- https://bugzilla.yoctoproject.org/show_bug.cgi?id=14613 > > Adds TUNE_PKGARCH to PN so that it picks correct TUNE_FEATURES. > > Signed-off-by: Pgowda > --- > meta/recipes-devtools/rust/rust-cross.inc | 2 +- > 1 file changed, 1

[OE-core] [PATCH 1/2] lua: Backport fix for CVE-2021-43396

2021-11-15 Thread Richard Purdie
Backport the fix for CVE-2021-43396 ("C stack overflow with coroutines") from upstream. Signed-off-by: Richard Purdie --- ...9057a5146755e737c479850f87fd0e3b6868.patch | 43 +++ meta/recipes-devtools/lua/lua_5.4.3.bb| 1 + 2 files changed, 44 insertions(+) c

[OE-core] [PATCH 2/2] glibc: Backport fix for CVE-2021-43396

2021-11-15 Thread Richard Purdie
Backport the fix for CVE-2021-43396. It is disputed that this is a security issue however the fix applies easily so we may as well. Signed-off-by: Richard Purdie --- .../glibc/glibc/CVE-2021-43396.patch | 184 ++ meta/recipes-core/glibc/glibc_2.34.bb | 1 + 2

[OE-core] [PATCH] gcc: Dropping mips workaround

2021-11-15 Thread Richard Purdie
I've tested without this and the ptest results for mips are the same with and without it so the issue this was fixing in gcc 9 was likely resolved by gcc 11. Signed-off-by: Richard Purdie --- meta/recipes-devtools/binutils/binutils_2.37.bb | 4 1 file changed, 4 deletions(-) diff --git

Re: [OE-core] [PATCH 05/24] xserver-xorg: convert from autotools to meson

2021-11-15 Thread Richard Purdie
On Mon, 2021-11-15 at 07:15 +0100, Zoltan Boszormenyi via lists.openembedded.org wrote: > 2021. 11. 10. 20:39 keltezéssel, Alexander Kanavin írta: > > > > # Xorg requires a SHA1 implementation, pick one > > XORG_CRYPTO ??= "openssl" > > -PACKAGECONFIG[openssl] =

Re: [OE-core] [hardknott][PATCH] mklibs: remove recipes and class

2021-11-14 Thread Richard Purdie
On Sun, 2021-11-14 at 20:47 +0100, Jacob Kroon wrote: > On 11/14/21 20:36, Richard Purdie wrote: > > On Sun, 2021-11-14 at 07:50 +0100, Jacob Kroon wrote: > > > From: Alexander Kanavin > > > > > > This is not enabled or tested by default, and has never been

Re: [OE-core] [hardknott][PATCH] mklibs: remove recipes and class

2021-11-14 Thread Richard Purdie
separate layer > and/or modernize to work with py3. > > https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs > > Signed-off-by: Alexander Kanavin > Signed-off-by: Jacob Kroon > Signed-off-by: Richard Purdie > (cherry picked from commit 908df863b419d1cad7317153101f

Re: [OE-core] [PATCH V2] python-numpy: move recipe to python directory

2021-11-13 Thread Richard Purdie
On Sun, 2021-11-14 at 01:02 +0800, Yi Zhao wrote: > This recipe had been moved out from python directory since 2016[1] in > order to share patches between python2 and python3. But now there is no > reason to keep it in its own directory as we only keep python3-nump. > Move it back to python

Re: [OE-core] [PATCH] python-numpy: move recipe to python directory

2021-11-13 Thread Richard Purdie
On Sat, 2021-11-13 at 21:45 +0800, Yi Zhao wrote: > This recipe had been moved out from python directory since 2016[1] in > order to share patches between python2 and python3. But now there is no > reason to keep it in its own directory as we only keep python3-nump. > Move it back to python

[OE-core] [PATCH] packagegrou-core-x11-base: Drop dbus dependency

2021-11-13 Thread Richard Purdie
dbus isn't an x11 dependency and this suffers from debian renaming. Simply drop the dependency. Signed-off-by: Richard Purdie --- .../recipes-graphics/packagegroups/packagegroup-core-x11-base.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-graphics/packagegroups/packagegroup

Re: [OE-core] [PATCH 6/6] ncurses: clean up pkgconfig install location

2021-11-13 Thread Richard Purdie
On Fri, 2021-11-12 at 14:02 +, Ross Burton wrote: > These is now an option to set the pkg-config install location, instead of > injecting it into the install to override the detected location (which > is into the sysroot). > > Signed-off-by: Ross Burton > --- >

[OE-core] [PATCH] mirrors: Add kernel.org sources mirror for downloads.yoctoproject.org

2021-11-12 Thread Richard Purdie
kernel.org now has a mirror of the downloads.yoctoproject.org sources archive so include this in our mirrors list. Signed-off-by: Richard Purdie --- meta/classes/mirrors.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass index

[OE-core] [PATCH 3/4] packagegrou-core-full-cmdline: Drop compatibility mappings

2021-11-12 Thread Richard Purdie
The task-core namespace was dropped years ago and we've had the compatibility mappings for a long time. We should no longer need them as everyone should long since have adapted. Signed-off-by: Richard Purdie --- .../packagegroup-core-full-cmdline.bb | 35 --- 1 file

[OE-core] [PATCH 2/4] packagegroups-core-full-cmdline: Drop libraries packagegroup and gmp

2021-11-12 Thread Richard Purdie
We pull in libraries as/where needed as dependencies so there is no need to have them as specific packagegroups. This change removes glib-2.0 and gmp. This also has the advantage of meaning debian renaming now isn't used anywhere and the packagegroup can remain allarch. Signed-off-by: Richard

[OE-core] [PATCH 1/4] packagegroup-core-buildessential: Mark as TUNE_PKGARCH specific

2021-11-12 Thread Richard Purdie
The libstdc++ dependency is debian renamed so this shouldn't be allarch, mark accordingly. Signed-off-by: Richard Purdie --- .../packagegroups/packagegroup-core-buildessential.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-core

[OE-core] [PATCH 4/4] package: Add sanity check for allarch packagegroups

2021-11-12 Thread Richard Purdie
= "${TUNE_PKGARCH}" before the packagegroup inherit. [YOCTO #7298] Signed-off-by: Richard Purdie --- meta/classes/package.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 92eba988929..84eafbd5293 100644 --- a/me

[OE-core] [PATCH] uninative: Add version to uninative tarball name

2021-11-12 Thread Richard Purdie
now. From 3.4 onwards we can use a version'd name. [YOCTO #12970] Signed-off-by: Richard Purdie --- meta/classes/uninative.bbclass | 2 +- meta/conf/distro/include/yocto-uninative.inc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/classes

Re: [OE-core] [PATCH] util-linux: fix tabfiles-tags case failure

2021-11-12 Thread Richard Purdie
On Fri, 2021-11-12 at 18:03 +0800, Yu, Mingli wrote: > From: Mingli Yu > > Pass "--use-system-commands" option when run tabfiles-tags case as > we don't deploy the command under /usr/lib64/util-linux/ptest folder > by default. > Fixes: > # cd /usr/lib64/util-linux/ptest/ > #

Re: [OE-core] [PATCH v4] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-12 Thread Richard Purdie
On Fri, 2021-11-12 at 09:41 +0100, Lukasz Majewski wrote: > Hi Khem, > > > seeing this > > > > https://errors.yoctoproject.org/Errors/Details/616955/ > > The error is about autoconf version: > > DEBUG: Executing shell function do_configure > aclocal.m4:6: error: Exactly version 2.69 of

Re: [OE-core] [PATCH v4] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-11 Thread Richard Purdie
On Thu, 2021-11-11 at 05:51 -0800, Khem Raj wrote: > On Tue, Nov 9, 2021 at 7:29 AM Lukasz Majewski wrote: > > > > This patch introduces new recipe - namely 'glibc-tests', which > > builds and installs time related (to check if Y2038 support works) glibc > > test suite to OE/Yocto built image. >

[OE-core] [PATCH] wpa-supplicant: Match package override to PACKAGES for pkg_postinst

2021-11-11 Thread Richard Purdie
In PACKAGES, ${PN} is used so it makes sense for the pkg_postinst variable override to match that else it causes user confusion. [YOCTO #14616] Signed-off-by: Richard Purdie --- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH 2/2] scripts/oe-package-browser: Handle no packages being built

2021-11-11 Thread Richard Purdie
Give the user a proper error message if there aren't packages built, rather than a less friendly traceback. [YOCTO #14619] Signed-off-by: Richard Purdie --- scripts/oe-pkgdata-browser | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser

[OE-core] [PATCH 1/2] scripts/oe-package-browser: Fix after overrides change

2021-11-11 Thread Richard Purdie
-off-by: Richard Purdie --- scripts/oe-pkgdata-browser | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser index 8d223185a43..e07005b8070 100755 --- a/scripts/oe-pkgdata-browser +++ b/scripts/oe-pkgdata-browser @@ -49,11

Re: [OE-core] [PATCH] xserver-xorg: add missing libtirpc dependency

2021-11-11 Thread Richard Purdie
On Thu, 2021-11-11 at 06:58 -0800, Khem Raj wrote: > > > On Thu, Nov 11, 2021 at 2:05 AM Alexander Kanavin > wrote: > > This wasn't a problem in poky, but was exposed with a nodistro build. > > > > Signed-off-by: Alexander Kanavin > > --- > >  

Re: [OE-core] [pseudo] pseudo_fix_path: do not expand symlinks in /proc

2021-11-11 Thread Richard Purdie
On Thu, 2021-11-11 at 05:11 -0500, Sakib Sajal wrote: > From: Matt Cowell > > Some symlinks in /proc, such as those under /proc/[pid]/fd, > /proc/[pid]/cwd, and /proc/[pid]/exe that are not real and should not > have readlink called on them. These look like symlinks, but behave like >

Re: [OE-core] [PATCH 0/7] kernel: consolidated pull request

2021-11-11 Thread Richard Purdie
On Wed, 2021-11-10 at 08:07 -0500, bruce.ashfi...@gmail.com wrote: > From: Bruce Ashfield > > Richard, > > Here's the next round of -stable updates ... more active kernes, means > more -stable! > > I've also added -rt to 5.17 in this series. 5.17 is out now?! (sorry, couldn't help mention I'd

Re: [OE-core] [honister][PATCH] insane.bbclass: Add a check for directories that are expected to be empty

2021-11-11 Thread Richard Purdie
On Thu, 2021-11-11 at 09:42 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: Mittal, Anuj > > Sent: den 11 november 2021 04:06 > > To: Peter Kjellerstedt > > Subject: Re: [OE-core] [honister][PATCH] insane.bbclass: Add a check for > > directories that are expected to be

Re: [OE-core] [PATCH 04/24] xserver-xorg: update 1.20.13 -> 21.1.1

2021-11-11 Thread Richard Purdie
On Thu, 2021-11-11 at 10:26 +, Richard Purdie via lists.openembedded.org wrote: > On Wed, 2021-11-10 at 20:39 +0100, Alexander Kanavin wrote: > > libxcvt is a new dependency (thanks Oleksandr!). > > > > Include ${libdir}/xorg/modules/input/*.so into the main > &

Re: [OE-core] [PATCH 04/24] xserver-xorg: update 1.20.13 -> 21.1.1

2021-11-11 Thread Richard Purdie
On Wed, 2021-11-10 at 20:39 +0100, Alexander Kanavin wrote: > libxcvt is a new dependency (thanks Oleksandr!). > > Include ${libdir}/xorg/modules/input/*.so into the main > package (if for someone separate packaging matters, please > investigate what they do). > > Remove options no longer

Re: [OE-core] [PATCH] mirrors: Add uninative mirror on kernel.org

2021-11-10 Thread Richard Purdie
On Wed, 2021-11-10 at 20:44 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: openembedded-core@lists.openembedded.org > c...@lists.openembedded.org> On Behalf Of Richard Purdie > > Sent: den 9 november 2021 14:22 > > To: openembedd

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-10 Thread Richard Purdie
On Wed, 2021-11-10 at 13:52 +, Jasper Orschulko wrote: > Hi Richard, > > > When you say "fixed refspec", will that be a definitive sha revision > > or a tag? > > We always force resolution of tags as they tend to cause problems and > > can change even if it is bad form. > > that's a good

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-10 Thread Richard Purdie
On Tue, 2021-11-09 at 11:26 +, Jasper Orschulko wrote: > > > > e) fetcher output is deterministic > >  (i.e. if you fetch configuration XXX now it will match in future > > exactly in > >  a clean build with a new DL_DIR) > > check. When a fixed refspec is set within the recipe, the fetcher

Re: [OE-core] [PATCH] kexec-tools: upgrade 2.0.22 -> 2.0.23

2021-11-09 Thread Richard Purdie
On Tue, 2021-11-09 at 23:03 +0800, wangmy wrote: > Signed-off-by: Wang Mingyu > --- > .../kexec/{kexec-tools_2.0.22.bb => kexec-tools_2.0.23.bb} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta/recipes-kernel/kexec/{kexec-tools_2.0.22.bb => > kexec-tools_2.0.23.bb}

[OE-core] [PATCH] mirrors: Add uninative mirror on kernel.org

2021-11-09 Thread Richard Purdie
At the last nas outage, we realised that we don't have good mirrors of the uninative tarball if our main system can't be accessed. kernel.org mirrors some Yocto Project data so we've ensured uninative is there. Add the appropriate mirror url to make use of that. Signed-off-by: Richard Purdie

Re: [OE-core] [PATCH 1/1] bitbake.conf: Set ZSTD_THREADS to half of cpu number

2021-11-09 Thread Richard Purdie
On Tue, 2021-11-09 at 10:56 +0100, Alexander Kanavin wrote: > On Tue, 9 Nov 2021 at 10:51, Robert Yang wrote: > > > Maybe, but once we start doing tweaks like this, where do they stop? Hey, > > I'd > > > > I think that it's not only a performance tweak, but this should be > > considered > > as

Re: [OE-core] [PATCH] python3-nose: translate to python3 code before build

2021-11-08 Thread Richard Purdie
On Mon, 2021-11-08 at 14:55 +0800, Yi Zhao wrote: > Setuptools has removed support for 2to3 during builds since version > 58[1]. But the nose's setup.py relies on use_2to3 option in setuptools, > it is failing an import and building without running 2to3 and generating > valid python3 code. As a

Re: [OE-core] [PATCH v3] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-08 Thread Richard Purdie
On Mon, 2021-11-08 at 14:42 +0100, Lukasz Majewski wrote: > Dear Community, > > > This patch introduces new recipe - namely 'glibc-tests', which > > builds and installs time related (to check if Y2038 support works) > > glibc test suite to OE/Yocto built image. > > > > It reuses code from

Re: [OE-core] broken dunfell

2021-11-08 Thread Richard Purdie
On Mon, 2021-11-08 at 12:23 +0100, Belisko Marek wrote: > On Mon, Nov 8, 2021 at 12:08 PM Richard Purdie > wrote: > > > > On Mon, 2021-11-08 at 11:53 +0100, Marek Belisko wrote: > > > Hello, latest commit in meta-openembedded on dunfell branch raise an >

Re: [OE-core] broken dunfell

2021-11-08 Thread Richard Purdie
On Mon, 2021-11-08 at 11:53 +0100, Marek Belisko wrote: > Hello, latest commit in meta-openembedded on dunfell branch raise an error: > > meta-openembedded/meta-python/recipes-devtools/python/python3-fasteners_0.16.3.bb:14: > unparsed line: 'RDEPENDS:${PN} += "${PYTHON_PN}-logging >

Re: [OE-core] [V3][PATCH] ruby: workaround ptest hang problem

2021-11-08 Thread Richard Purdie
On Mon, 2021-11-08 at 12:02 +0800, Changqing Li wrote: > On 11/6/21 5:27 PM, Richard Purdie wrote: > > [Please note: This e-mail is from an EXTERNAL e-mail address] > > > > On Fri, 2021-11-05 at 10:18 +0800, Changqing Li wrote: > > > From: Changqing Li > > >

Re: [OE-core] [PATCH 1/3] wayland: Fix wayland-tools packaging problems

2021-11-07 Thread Richard Purdie
On Sun, 2021-11-07 at 10:00 -0600, Tom Hochstein wrote: > There are several packaging problems due to the wayland-tools packaging > implementation. The wayland-tools package currently looks like this: > > wayland-tools > └── usr > ├── bin > │   └── wayland-scanner > └── share >

Re: [OE-core] [bitbake-devel] [PATCH 2/2] fetch2: Fix race condition in latest_revision

2021-11-07 Thread Richard Purdie
On Fri, 2021-11-05 at 14:30 +0100, Jasper Orschulko via lists.openembedded.org wrote: > From: Martin Koppehel > > Setting latest_revision contained a race condition, where it would be > set to an empty string, if the hash calculation function would take to > long. > > Signed-off-by: Jasper

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-07 Thread Richard Purdie
On Fri, 2021-11-05 at 14:31 +0100, Jasper Orschulko via lists.openembedded.org wrote: > From: Jasper Orschulko > > Add a recipe for repo, prerequisite for the repo fetcher. > > Signed-off-by: Jasper Orschulko > --- > .../repo/files/0001-python3-shebang.patch | 21 >

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-06 Thread Richard Purdie
On Fri, 2021-11-05 at 14:09 +, Jasper Orschulko wrote: > Actually, I don't believe this to be an issue for the following > reasons: > > [...] > > 2. When using repo within the yocto build itself (with the repo > fetcher), the repo binary is only ever called during the do_fetch step, > which

Re: [OE-core] [V3][PATCH] ruby: workaround ptest hang problem

2021-11-06 Thread Richard Purdie
On Fri, 2021-11-05 at 10:18 +0800, Changqing Li wrote: > From: Changqing Li > > since openssl 3 not compatible problem, ruby have disable openssl > extention. But disable openssl extention make test_smtp.rs hang at > test case "test_start". > > Net::TestSMTP#test_start: > NameError:

Re: [OE-core] [PATCH 1/2] gdb: Upgrade to 11.1

2021-11-05 Thread Richard Purdie
On Fri, 2021-11-05 at 09:51 -0700, Khem Raj wrote: > On Fri, Nov 5, 2021 at 4:19 AM Richard Purdie > wrote: > > > > On Wed, 2021-11-03 at 18:30 -0700, Khem Raj wrote: > > > Drop backported patches > > > Changes are here [1] > > > > > >

Re: [OE-core] [PATCH 1/2] gdb: Upgrade to 11.1

2021-11-05 Thread Richard Purdie
On Wed, 2021-11-03 at 18:30 -0700, Khem Raj wrote: > Drop backported patches > Changes are here [1] > > [1] https://sourceware.org/pipermail/gdb-announce/2021/000129.html > > Signed-off-by: Khem Raj > --- > meta/conf/distro/include/tcmode-default.inc | 2 +- > .../gdb/{gdb-10.2.inc =>

Re: [OE-core] [PATCH 3/6] linux-libc-headers: update to v5.15

2021-11-05 Thread Richard Purdie
On Thu, 2021-11-04 at 15:48 -0400, bruce.ashfi...@gmail.com wrote: > From: Bruce Ashfield > > No patches needed refreshing or removal, so we just update the > SRC_URI and pick up the latest uapi / kernel headers. > > Signed-off-by: Bruce Ashfield > --- >

Re: [OE-core] [PATCH] opkg: Fix poor operator combination choice

2021-11-04 Thread Richard Purdie
On Thu, 2021-11-04 at 17:05 -0500, Alex Stewart wrote: > On 11/4/21 09:35, Mikko Rapeli wrote: > > On Thu, Nov 04, 2021 at 02:02:57PM +, Richard Purdie wrote: > > > Combining :append with += rarely makes sense. Improve it to use the > > > standard > > > f

Re: [OE-core] [PATCH 0/3] SPDX: Add annotations to relationship

2021-11-04 Thread Richard Purdie
On Thu, 2021-11-04 at 15:45 -0500, Joshua Watt wrote: > On 11/4/21 3:43 PM, Richard Purdie wrote: > > On Thu, 2021-11-04 at 20:00 +, Jose Quaresma wrote: > > > > > > Richard Purdie escreveu no dia > > > quinta, > > > 28/10/2021 à(s) 21:58: >

Re: [OE-core] [PATCH 0/3] SPDX: Add annotations to relationship

2021-11-04 Thread Richard Purdie
On Thu, 2021-11-04 at 20:00 +, Jose Quaresma wrote: > > > Richard Purdie escreveu no dia quinta, > 28/10/2021 à(s) 21:58: > > On Thu, 2021-10-28 at 08:47 -1000, Steve Sakoman wrote: > > > On Tue, Oct 26, 2021 at 10:41 PM Jose Quaresma > &g

[OE-core] [PATCH] opkg: Fix poor operator combination choice

2021-11-04 Thread Richard Purdie
Combining :append with += rarely makes sense. Improve it to use the standard format (and tweak the implied spacing). Signed-off-by: Richard Purdie --- meta/recipes-devtools/opkg/opkg_0.4.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/opkg

[OE-core] [PATCH RFC 1/2] package: Introduce PACKAGE_GLOBAL_RENAMES

2021-11-04 Thread Richard Purdie
w up patch. Signed-off-by: Richard Purdie --- meta/classes/image.bbclass | 7 --- meta/classes/package.bbclass | 16 ++-- meta/classes/populate_sdk_base.bbclass | 9 + 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/meta/classes/ima

[OE-core] [PATCH RFC 2/2] conf/recipes: Replace VIRTUAL-RUNTIME with PACKAGE_GLOBAL_RENAMES

2021-11-04 Thread Richard Purdie
work but I want to share it and see what people think and if a better solution could rise from this as a result. Adding "filter" support to variables as JPEW and I once discussed may be a different way of handling this which would also handle some multilib issues. Signed-off-by: Richard Pur

[OE-core] [PATCH RFC 0/2] Replace VIRTUAL-RUNTIME variables

2021-11-04 Thread Richard Purdie
from the ideas here. Richard Purdie (2): package: Introduce PACKAGE_GLOBAL_RENAMES conf/recipes: Replace VIRTUAL-RUNTIME with PACKAGE_GLOBAL_RENAMES meta/classes/base.bbclass | 6 + meta/classes/image.bbclass| 10 + meta/classes

Re: [OE-core][dunfell 00/29] Pull request (cover letter only)

2021-11-03 Thread Richard Purdie
l McGregor (1): > bitbake.conf: Add gpg-agent as a host tool > > Jose Quaresma (1): > sstate: fix touching files inside pseudo > > Minjae Kim (1): > vim: fix 2021-3796 > > Oleksandr Kravchuk (1): > mirrors.bbclass: remove dead infozip mirrors > > Ranjitsinh

Re: [OE-core] [PATCH 33/33] perl: backport gdbm 1.2x compatibility fixes

2021-11-03 Thread Richard Purdie
On Tue, 2021-11-02 at 09:43 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > ...e5fdd87aa205011512cd1e6cc655bcf677fd.patch | 31 ++ > ...2398e766500cb5d83c4d76b642fcf31d997a.patch | 40 +++ > ...297a58b8f10ab885c19eec48ea076116cc1f.patch | 25

Re: [OE-core] [PATCHv4 3/4] apt: Do not install /var/log/apt

2021-11-02 Thread Richard Purdie
On Mon, 2021-11-01 at 01:03 +0100, Peter Kjellerstedt wrote: > /var/log is normally a link to /var/volatile/log and /var/volatile is a > tmpfs mount. So anything created in /var/log will not be available when > the tmpfs is mounted. > > Also some whitespace clean up. > > Signed-off-by: Peter

Re: [OE-core] [RFC PATCH 11/14] populate_sdk_base/images: Drop use of 'meta' class and hence do_build dependencies

2021-11-02 Thread Richard Purdie
On Wed, 2021-10-27 at 10:43 +0800, ChenQi wrote: > >  I like this change. However, it causes problem of 'rm_work'. >  Now some native recipes don't get cleaned up with 'rm_work' enabled. >   >  e.g. >  INHERIT += "rm_work" >  bitbake core-image-minimal >  A few native recipes don't get clean up

Re: [OE-core] [PATCH] patch.bbclass: don't repr() the exception, use str()

2021-11-02 Thread Richard Purdie
On Tue, 2021-11-02 at 12:26 +, Ross Burton wrote: > repr() results in formatting characters such as extra quotation marks > which are pointless. > > Signed-off-by: Ross Burton > --- > meta/classes/patch.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[OE-core] [PATCH 3/3] recipes: Update github.com urls to use https

2021-11-02 Thread Richard Purdie
OE-Core to update our urls to use https instead of git. Signed-off-by: Richard Purdie --- meta/recipes-bsp/efivar/efivar_37.bb| 2 +- meta/recipes-bsp/opensbi/opensbi_0.9.bb | 2 +- meta/recipes-connectivity/connman/connman-gnome_0.7.bb

[OE-core] [PATCH 2/3] scripts/convert-srcuri: Update SRC_URI conversion script to handle github url changes

2021-11-02 Thread Richard Purdie
Github are dropping support for git:// protocol fetching. Update the script to learn about corner cases found in the previous conversion and support remapping the github urls as needed too. Signed-off-by: Richard Purdie --- scripts/contrib/convert-srcuri.py | 16 +++- 1 file changed

[OE-core] [PATCH 1/3] bitbake.conf: Fix corruption of GNOME mirror url

2021-11-02 Thread Richard Purdie
The url changes from the script accidentally corrupted this mirror url, fix it. Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index d9c4b4e5ada..790f2f7a8c4 100644

  1   2   3   4   5   6   7   8   9   10   >