[OE-core] [PATCH] python3-pip: upgrade 21.2.4 -> 21.3

2021-10-13 Thread wangmy
Features Replace vendored appdirs with platformdirs. (#10202) Support PEP 610 to detect editable installs in pip freeze and pip list. The pip list column output has a new Editable project location column, and the JSON output has a new editable_project_location field. (#10249) pip freeze will now

Re: [OE-core] [PATCH RESEND 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-10-13 Thread ?ukasz Majewski
Dear Community, > This patch introduces new recipe - namely 'glibc-tests', which > builds and installs glibc test suite to OE/Yocto built image. > > It reuses code from already available 'glibc-testsuite' recipe, > which is run with 'bitbake glibc-testsuite -c check' and uses qemu > to execute

Re: [OE-core] [PATCH RESEND 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-10-13 Thread Richard Purdie
On Wed, 2021-10-13 at 10:35 +0200, Lukasz Majewski wrote: > Dear Community, > > > This patch introduces new recipe - namely 'glibc-tests', which > > builds and installs glibc test suite to OE/Yocto built image. > > > > It reuses code from already available 'glibc-testsuite' recipe, > > which is

Re: [OE-core][PATCH v2 2/2] kernel-fitimage: use correct kernel image

2021-10-13 Thread Alexandre Belloni
Hello, This series causes the following failure: https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2699/steps/15/logs/stdio 2021-10-12 00:31:47,557 - oe-selftest - INFO - fitimage.FitImageTests.test_initramfs_bundle (subunit.RemotedTestCase) 2021-10-12 00:31:47,665 -

Re: [OE-core] [PATCH] linux-yocto: add libmpc-native to DEPENDS

2021-10-13 Thread Alexandre Belloni
On 12/10/2021 10:36:12-0400, Bruce Ashfield wrote: > On Thu, Oct 7, 2021 at 6:13 AM Ross Burton wrote: > > > > On Wed, 6 Oct 2021 at 18:59, Khem Raj wrote: > > > Does it have to be native or target dependency ? > > > > Native, as it builds compiler plugins for the host. > > I was out most of

Re: [OE-core] [PATCH RESEND 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-10-13 Thread Alexandre Belloni
Hello, On 13/10/2021 10:35:22+0200, ?ukasz Majewski wrote: > Dear Community, > > > This patch introduces new recipe - namely 'glibc-tests', which > > builds and installs glibc test suite to OE/Yocto built image. > > > > It reuses code from already available 'glibc-testsuite' recipe, > > which

[OE-core][PATCH v3 1/2] featimage: refactor style

2021-10-13 Thread Andrej Valek
- use bash variable notation without {} where possible - just to make sure it looks like bash variable not bitbake variable one - fix indent style in "cat" commands - replace "! -z" -> "-n" - make debug info in ramdisk section creation more verbose Signed-off-by: Andrej Valek ---

[OE-core][PATCH v3 2/2] kernel-fitimage: use correct kernel image

2021-10-13 Thread Andrej Valek
Even if initramfs_bundle_path was used, a wrong compression was reflected in output its template file. Use linux.bin as universal kernel image. The linux.bin file covers both cases. Use linux.bin as a replacement for zImage in selftest. We know, that zImage is a compressed one, so get the

Re: [OE-core] [PATCH] linux-yocto: add libmpc-native to DEPENDS

2021-10-13 Thread Alexandre Belloni
On 13/10/2021 08:25:38-0400, Bruce Ashfield wrote: > On Wed, Oct 13, 2021 at 5:50 AM Alexandre Belloni > wrote: > > > > On 12/10/2021 10:36:12-0400, Bruce Ashfield wrote: > > > On Thu, Oct 7, 2021 at 6:13 AM Ross Burton wrote: > > > > > > > > On Wed, 6 Oct 2021 at 18:59, Khem Raj wrote: > > > >

[OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-13 Thread Mike Crowe via lists.openembedded.org
Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow individual recipes, the distro or other configuration to determine whether a missing licence should be treated as a warning (as it is now) or as an error. oe.qa.handle_error isn't immediately fatal, so track the overall sanity

[OE-core] [PATCH v3 1/2] lib/oe/qa,insane: Extra error handling functions to library

2021-10-13 Thread Mike Crowe via lists.openembedded.org
Extract package_qa_write_error, package_qa_handle_error and package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and drop the package_qa_ prefixes. Add import statements and convert callers to use oe.qa. prefix. Inspired by discussion resulting from

Re: [OE-core] [PATCH] linux-yocto: add libmpc-native to DEPENDS

2021-10-13 Thread Alexandre Belloni
On 13/10/2021 14:34:25+0200, Alexandre Belloni wrote: > On 13/10/2021 08:25:38-0400, Bruce Ashfield wrote: > > On Wed, Oct 13, 2021 at 5:50 AM Alexandre Belloni > > wrote: > > > > > > On 12/10/2021 10:36:12-0400, Bruce Ashfield wrote: > > > > On Thu, Oct 7, 2021 at 6:13 AM Ross Burton wrote: > >

Re: [OE-core] [PATCH] linux-yocto: add libmpc-native to DEPENDS

2021-10-13 Thread Bruce Ashfield
On Wed, Oct 13, 2021 at 8:36 AM Alexandre Belloni wrote: > > On 13/10/2021 14:34:25+0200, Alexandre Belloni wrote: > > On 13/10/2021 08:25:38-0400, Bruce Ashfield wrote: > > > On Wed, Oct 13, 2021 at 5:50 AM Alexandre Belloni > > > wrote: > > > > > > > > On 12/10/2021 10:36:12-0400, Bruce

[OE-core] [PATCH][honister][master] curl: fix CVE-2021-22945 through -22947

2021-10-13 Thread Ross Burton
Signed-off-by: Ross Burton --- .../curl/curl/cve-2021-22945.patch| 34 ++ .../curl/curl/cve-2021-22946.patch| 332 .../curl/curl/cve-2021-22947.patch| 355 ++ meta/recipes-support/curl/curl_7.78.0.bb | 3 + 4 files

Re: [OE-core] [PATCH 6/7] at-spi2-core: upgrade 2.40.3 -> 2.42.0

2021-10-13 Thread Alexandre Belloni
Hi Tim, This causes the following issue on no-x11: https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/4158/steps/11/logs/stdio On 12/10/2021 02:08:53+, Tim Orling wrote: > What's new in at-spi2-core 2.42.0: > * Set X root property when Xwayland starts on demand. > * Several

Re: [OE-core] [PATCH RESEND 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-10-13 Thread ?ukasz Majewski
Hi Richard, > On Wed, 2021-10-13 at 10:35 +0200, Lukasz Majewski wrote: > > Dear Community, > > > > > This patch introduces new recipe - namely 'glibc-tests', which > > > builds and installs glibc test suite to OE/Yocto built image. > > > > > > It reuses code from already available

[OE-core] [PATCH] libical: upgrade 3.0.10 -> 3.0.11

2021-10-13 Thread wangmy
Version 3.0.11 is a patch release. This release is binary and source compatible with version 3.0.0. Note that the libical-glib library is considered unstable; therefore not binary compatible with previous releases ReleaseNotes: Fix icalrecur_iterator_set_start() for hourly, minutely, and

Re: [OE-core] [PATCH] linux-yocto: add libmpc-native to DEPENDS

2021-10-13 Thread Bruce Ashfield
On Wed, Oct 13, 2021 at 5:50 AM Alexandre Belloni wrote: > > On 12/10/2021 10:36:12-0400, Bruce Ashfield wrote: > > On Thu, Oct 7, 2021 at 6:13 AM Ross Burton wrote: > > > > > > On Wed, 6 Oct 2021 at 18:59, Khem Raj wrote: > > > > Does it have to be native or target dependency ? > > > > > >

[OE-core] [PATCH 2/3] base: Use repr() for printing exceptions

2021-10-13 Thread Richard Purdie
Exceptions print more clearly using repr() instead of str(), fix in fetch and unpack tasks. Drop part of the test which no longer makes sense after this change. Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 4 ++-- meta/lib/oeqa/selftest/cases/bbtests.py | 3 ---

[OE-core] [PATCH 1/3] base: Clean up unneeded len() calls

2021-10-13 Thread Richard Purdie
This code pattern isn't very pythonic, improve it to drop the unneeded len() calls. Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index

[OE-core] [PATCH 3/3] bitbake.conf: Add BB_CURRENTTASK to BB_HASHEXCLUDE

2021-10-13 Thread Richard Purdie
Tasks shouldn't vary dependning on the value of BB_CURRENTTASK. They happen not to due to when bitbake sets this but to fix other issues, bitbake needs to set it earlier. Therefore exclude from hashes globally. Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1

[OE-core] [PATCH] u-boot: Convert ${UBOOT_ENV}.cmd into ${UBOOT_ENV}.scr

2021-10-13 Thread Peter Hoyes
From: Peter Hoyes * Add extra SRC variables to uboot-config.class for source cmd file * Add DEPENDS on u-boot-mkimage-native if UBOOT_ENV_SUFFIX is scr * Compile cmd -> scr in do_compile if UBOOT_ENV_SUFFIX is scr Signed-off-by: Peter Hoyes --- meta/classes/uboot-config.bbclass | 2 ++

Re: [OE-core] [PATCH] runqemu: add DEPLOY_DIR_IMAGE replacement in QB_OPT_APPEND

2021-10-13 Thread Jon Mason
Apologies to docs and bitbake mailing list for the unnecessary noise On Wed, Oct 13, 2021 at 10:36 AM Jon Mason wrote: > > Add the ability to replace DEPLOY_DIR_IMAGE with that path in > QB_OPT_APPEND. This allows for anything present in DEPLOY_DIR_IMAGE to > be passed into the qemu parameters.

[OE-core] [PATCH 1/2] oe/license: implement ast.NodeVisitor.visit_Constant

2021-10-13 Thread Ross Burton
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated and replaced with visit_Constant. We can't yet remove the deprecated functions until we require 3.8, but we can implement visit_Constant to silence the deprecation warnings. Signed-off-by: Ross Burton ---

[OE-core] [PATCH 2/2] license.bbclass: implement ast.NodeVisitor.visit_Constant

2021-10-13 Thread Ross Burton
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated and replaced with visit_Constant. We can't yet remove the deprecated functions until we require 3.8, but we can implement visit_Constant to silence the deprecation warnings. Signed-off-by: Ross Burton ---

Re: [OE-core] [PATCH] packagedata.py: silence a DeprecationWarning

2021-10-13 Thread Randy MacLeod
On 2021-10-11 4:28 a.m., Yu, Mingli wrote: From: Mingli Yu Use regex strings (r’’) to silence below deprecation warning [1]: $ cat tmp/work/intel_x86_64-wrs-linux/linux-yocto/5.10.x+gitAUTOINC+917c420111_373c02c3ca-r0/temp/log.do_deploy [snip]

Re: [OE-core] [PATCH] packagedata.py: silence a DeprecationWarning

2021-10-13 Thread Richard Purdie
On Wed, 2021-10-13 at 12:40 -0400, Randy MacLeod wrote: > On 2021-10-11 4:28 a.m., Yu, Mingli wrote: > > From: Mingli Yu > > > > Use regex strings (r’’) to silence below deprecation warning [1]: > > $ cat > >

[OE-core] [PATCH] runqemu: add DEPLOY_DIR_IMAGE replacement in QB_OPT_APPEND

2021-10-13 Thread Jon Mason
Add the ability to replace DEPLOY_DIR_IMAGE with that path in QB_OPT_APPEND. This allows for anything present in DEPLOY_DIR_IMAGE to be passed into the qemu parameters. This is especially useful if you want to run multiple flash images (as -bios only allows for one). Signed-off-by: Jon Mason

[OE-core] Installing licence files for static/header-only libraries into images

2021-10-13 Thread Mike Crowe via lists.openembedded.org
We're using: EXTRA_IMAGE_FEATURES += "lic-pkgs" to install the corresponding licence packages for all the packages installed in our image. This works very well for binaries and dynamic libraries. However, I've recently noticed that it doesn't install licence files for any static or header-only

Re: [OE-core] [PATCH] libpam: Fix build with DISTRO_FEATURES usrmerge

2021-10-13 Thread Dan McGregor
Thanks for this. I hit it pretty immediately. On Tue, 12 Oct 2021 at 05:17, Zoltan Boszormenyi via lists.openembedded.org wrote: > > From: Zoltán Böszörményi > > Signed-off-by: Zoltán Böszörményi > --- > meta/recipes-extended/pam/libpam_1.5.2.bb | 6 -- > 1 file changed, 4 insertions(+),

[OE-core] [PATCH] python3-pycryptodome: upgrade 3.10.1 -> 3.11.0

2021-10-13 Thread zhengruoqin
3.11.0 (8 October 2021) Resolved issues GH#512: Especially for very small bit sizes, Crypto.Util.number.getPrime() was occasionally generating primes larger than given the bit size. Thanks to Koki Takahashi. GH#552: Correct typing annotations for PKCS115_Cipher.decrypt(). GH#555: decrypt() method

[OE-core] [PATCH] python3-zipp: upgrade 3.5.0 -> 3.6.0

2021-10-13 Thread zhengruoqin
Signed-off-by: Zheng Ruoqin --- .../python/{python3-zipp_3.5.0.bb => python3-zipp_3.6.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-zipp_3.5.0.bb => python3-zipp_3.6.0.bb} (84%) diff --git

[OE-core] [PATCH] libsolv: upgrade 0.7.19 -> 0.7.20

2021-10-13 Thread zhengruoqin
Signed-off-by: Zheng Ruoqin --- .../libsolv/{libsolv_0.7.19.bb => libsolv_0.7.20.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/libsolv/{libsolv_0.7.19.bb => libsolv_0.7.20.bb} (94%) diff --git

Re: [OE-core] [PATCH] python3-zipp: upgrade 3.5.0 -> 3.6.0

2021-10-13 Thread Tim Orling
Already sent a patch: https://lists.openembedded.org/g/openembedded-core/message/156855 On Wed, Oct 13, 2021 at 6:23 PM zhengruoqin wrote: > Signed-off-by: Zheng Ruoqin > --- > .../python/{python3-zipp_3.5.0.bb => python3-zipp_3.6.0.bb} | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [OE-core] [PATCH 2/3] Validate shared state against list of keys

2021-10-13 Thread Dan McGregor
On Tue, 12 Oct 2021 at 09:45, Dan McGregor via lists.openembedded.org wrote: > > From: Daniel McGregor > > Allow a user to validate sstate objects against a list of keys, instead > of just any known key in the user's keychain. > > Signed-off-by: Daniel McGregor > --- >

Re: [OE-core] Installing licence files for static/header-only libraries into images

2021-10-13 Thread Khem Raj
On Wed, Oct 13, 2021 at 7:06 AM Mike Crowe via lists.openembedded.org wrote: > We're using: > > EXTRA_IMAGE_FEATURES += "lic-pkgs" > > to install the corresponding licence packages for all the packages > installed in our image. This works very well for binaries and dynamic > libraries. However,

[OE-core] Problem with glibc-locale recipe in yocto after the generic C.UTF-8 locale were introduced in glibc

2021-10-13 Thread ?ukasz Majewski
Hi Carlos, I would like to report that the commit: https://sourceware.org/git/?p=glibc.git;a=commit;h=466f2be6c08070e9113ae2fdc7acd5d8828cba50 "Add generic C.UTF-8 locale (Bug 17318)" causes some issues with Yocto/OE build environment, when glibc-locale are build.

[OE-core] libpsl: Add config knobs for runtime/builtin conversion choices

2021-10-13 Thread Andrej Valek
Hello Steve, Would it be possible to include this commit https://lists.openembedded.org/g/openembedded-core/message/150627 into dunfell branch? Thanks, Andrej -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156920):