Re: [OE-core] [meta-oe][PATCH V1] tar: add ptest

2023-02-03 Thread Alexander Kanavin
On Fri, 3 Feb 2023 at 04:08, Yan Xin Kuan wrote: > @@ -100,6 +100,7 @@ PTESTS_SLOW = "\ > python3-cryptography-ptest \ > python3-ptest \ > strace-ptest \ > +tar-ptest \ > tcl-ptest \ > util-linux-ptest \ > valgrind-ptest \ PTESTS_SLOW is for tests longer than 30

[OE-core] [PATCH] bootchart2: Fix usrmerge support

2023-02-03 Thread Harald Seiler
bootchart2 introduced a variable EARLY_PREFIX for supporting systems with usrmerge [1]. Right now, the recipe here is sidestepping this feature and trying to replicate it by overwriting other variables and even patching the sources. This wasn't enough, however, as there are still problems: For

Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Bruce Ashfield
On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie wrote: > > The pmu-events.c file is generated by a python script making os.scandir() > calls. The return value is "order on disk" which can cary between machines. > > Add in a sed to fix the perf source to sort this data which makes > the

Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Richard Purdie
On Fri, 2023-02-03 at 11:02 -0500, Bruce Ashfield wrote: > On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie > wrote: > > > > The pmu-events.c file is generated by a python script making os.scandir() > > calls. The return value is "order on disk" which can cary between machines. > > > > Add in a

Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Richard Purdie
On Fri, 2023-02-03 at 11:39 -0500, Bruce Ashfield wrote: > On Fri, Feb 3, 2023 at 11:34 AM Richard Purdie > wrote: > > > > On Fri, 2023-02-03 at 11:02 -0500, Bruce Ashfield wrote: > > > On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie > > > wrote: > > > > > > > > The pmu-events.c file is

[OE-core] [PATCH] perf: Enable debug/source packaging

2023-02-03 Thread Richard Purdie
This was disabled in 2014[1] due to an error message which as far as I can tell, no longer occurs. Having debug information and source files present will make debugging reproducibility issues much easier so remove this line as it appears no longer needed. [1] OE-Core revision

Re: [OE-core] [PATCH] python3-pytest: Remove dependency on python3-toml

2023-02-03 Thread Richard Purdie
On Thu, 2023-02-02 at 13:52 +0100, Arnout Vandecappelle wrote: > > On 02/02/2023 13:49, Arnout Vandecappelle via lists.openembedded.org wrote: > > Since version 7.2.0 [1], pytest uses the "batteries included" tomllib > > module for parsing pyproject.toml configuration files [2]. It is > >

Re: [OE-core] [1/2][dunfell] linux-yocto/5.4: update to v5.4.229

2023-02-03 Thread Bruce Ashfield
On Fri, Feb 3, 2023 at 9:43 AM Steve Sakoman wrote: > > Hi Bruce, > > Sadly this version bump breaks lttng-modules in dunfell: > > In file included from > TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/define_trace.h:87, >

Re: [OE-core] [PATCH v2] oeqa/selftest/locales: Create selftest for locales generation

2023-02-03 Thread Louis Rannou
On 02/02/2023 14:58, Louis Rannou wrote: On 02/02/2023 11:53, Richard Purdie wrote: On Thu, 2023-02-02 at 11:41 +0100, Louis Rannou wrote: On 01/02/2023 18:57, Richard Purdie wrote: On Wed, 2023-02-01 at 16:02 +0100, Louis Rannou wrote: I was able to take a quick look at this. The locale

Re: [OE-core] [PATCH 2/2] barebox-tools: add initial barebox tools support

2023-02-03 Thread Alexandre Belloni via lists.openembedded.org
Hello, kwboot fails with musl: | CC [U] scripts/kwboot-target | In file included from /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/barebox-tools/2023.01.0-r0/barebox-2023.01.0/scripts/kwboot-target.c:1: |

Re: [OE-core] [PATCH 1/2] barebox: add initial support

2023-02-03 Thread Richard Purdie
On Fri, 2023-02-03 at 14:50 +0100, Marco Felsch wrote: > This adds the support for the barebox bootloader to oe-core. The recipe > is based on the recipe found in meta-ptx [1] with a few minor adaptions. > > This basic support includes the bootloader and the target tools to > interact with the

Re: [OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Bruce Ashfield
On Fri, Feb 3, 2023 at 11:34 AM Richard Purdie wrote: > > On Fri, 2023-02-03 at 11:02 -0500, Bruce Ashfield wrote: > > On Fri, Feb 3, 2023 at 10:47 AM Richard Purdie > > wrote: > > > > > > The pmu-events.c file is generated by a python script making os.scandir() > > > calls. The return value is

[OE-core] [PATCH 1/2] barebox: add initial support

2023-02-03 Thread Marco Felsch
This adds the support for the barebox bootloader to oe-core. The recipe is based on the recipe found in meta-ptx [1] with a few minor adaptions. This basic support includes the bootloader and the target tools to interact with the bootloader. The host tools support is not part of this commit. This

[OE-core] [PATCH 2/2] barebox-tools: add initial barebox tools support

2023-02-03 Thread Marco Felsch
Add initial support to build the barebox tools for the host and the target. Signed-off-by: Marco Felsch --- .../barebox/barebox-tools_2023.01.0.bb| 56 +++ 1 file changed, 56 insertions(+) create mode 100644 meta/recipes-bsp/barebox/barebox-tools_2023.01.0.bb diff

Re: [OE-core] [1/2][dunfell] linux-yocto/5.4: update to v5.4.229

2023-02-03 Thread Steve Sakoman
On Fri, Feb 3, 2023 at 4:57 AM Bruce Ashfield wrote: > > On Fri, Feb 3, 2023 at 9:43 AM Steve Sakoman wrote: > > > > Hi Bruce, > > > > Sadly this version bump breaks lttng-modules in dunfell: > > > > In file included from > >

[OE-core] [PATCH] perf: Fix 6.1 kernel reproducibility issue

2023-02-03 Thread Richard Purdie
The pmu-events.c file is generated by a python script making os.scandir() calls. The return value is "order on disk" which can cary between machines. Add in a sed to fix the perf source to sort this data which makes the pmu-events.c file deterministic. We should try and upstream this change but

Re: [OE-core] [1/2][dunfell] linux-yocto/5.4: update to v5.4.229

2023-02-03 Thread Bruce Ashfield
On Fri, Feb 3, 2023 at 10:01 AM Steve Sakoman wrote: > > On Fri, Feb 3, 2023 at 4:57 AM Bruce Ashfield > wrote: > > > > On Fri, Feb 3, 2023 at 9:43 AM Steve Sakoman wrote: > > > > > > Hi Bruce, > > > > > > Sadly this version bump breaks lttng-modules in dunfell: > > > > > > In file included

Re: [OE-core] [PATCH] meta: remove True option to getVar and getVarFlag calls (again)

2023-02-03 Thread Alexandre Belloni via lists.openembedded.org
Hello, I'm not sure what you based the patch on, it didn't apply for me. On 01/02/2023 16:50:38+0100, Martin Jansa wrote: > * True is default since 2016 and most layers were already updated > not to pass this parameter where not necessary, e.g. oe-core was > updated couple times, first in: >

Re: [OE-core][dunfell 07/16] QEMU: CVE-2022-4144 QXL: qxl_phys2virt unsafe address translation can lead to out-of-bounds read

2023-02-03 Thread Steve Sakoman
On Mon, Jan 30, 2023 at 9:39 PM Martin Jansa wrote: > > On Tue, Jan 31, 2023 at 8:18 AM Martin Jansa via lists.openembedded.org > wrote: >> >> I haven't checked yet in dunfell, but in kirkstone this commit merged last >> week breaks nativesdk-qemu builds. > > > I can confirm it fails the same

Re: [OE-core] [PATCH] meta: remove True option to getVar and getVarFlag calls (again)

2023-02-03 Thread Alexandre Belloni via lists.openembedded.org
On 03/02/2023 16:32:08+, Richard Purdie wrote: > On Fri, 2023-02-03 at 17:22 +0100, Alexandre Belloni via > lists.openembedded.org wrote: > > I'm not sure what you based the patch on, it didn't apply for me. > > I did already take most of this one except the bits to report- > error.bbclass

Re: [OE-core] [1/2][dunfell] linux-yocto/5.4: update to v5.4.229

2023-02-03 Thread Steve Sakoman
Hi Bruce, Sadly this version bump breaks lttng-modules in dunfell: In file included from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/define_trace.h:87, from

Re: [OE-core] [PATCH] meta: remove True option to getVar and getVarFlag calls (again)

2023-02-03 Thread Richard Purdie
On Fri, 2023-02-03 at 17:22 +0100, Alexandre Belloni via lists.openembedded.org wrote: > I'm not sure what you based the patch on, it didn't apply for me. I did already take most of this one except the bits to report- error.bbclass which Martin said were a process error on irc and can be ignored.

[OE-core] [PATCH 12/14] python3-wcwidth: upgrade 0.2.5 -> 0.2.6

2023-02-03 Thread Tim Orling
https://github.com/jquast/wcwidth#history 0.2.6 2023-01-14 * Updated tables to include Unicode Specification 14.0.0 and 15.0.0. * Changed developer tools to use pip-compile, and to use jinja2 templates for code generation in bin/update-tables.py to prepare for possible compiler

[OE-core] [PATCH 14/14] python3-sphinx: upgrade 6.0.0 -> 6.1.3

2023-02-03 Thread Tim Orling
https://www.sphinx-doc.org/en/master/changes.html#release-6-1-3-released-jan-10-2023 https://www.sphinx-doc.org/en/master/changes.html#release-6-1-2-released-jan-07-2023 https://www.sphinx-doc.org/en/master/changes.html#release-6-1-1-released-jan-05-2023

[OE-core] [PATCH 01/14] libtest-needs-perl: upgrade 0.002009 -> 0.002010

2023-02-03 Thread Tim Orling
0.002010 - 2023-01-22 - split main test into three separate scripts - avoid outputting multiple plans if used with no_plan Signed-off-by: Tim Orling --- ...t-needs-perl_0.002009.bb => libtest-needs-perl_0.002010.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename

[OE-core] [PATCH 00/14] Recipe upgrades from 02/01/2023 AUH

2023-02-03 Thread Tim Orling
Fixed some upgrades that failed on AUH. * python3-poetry-core * python3-iniconfig * python3-sphinxcontrib-applehelp * python3-sphinxcontrib-htmlhelp The following changes since commit 063bdffc04714c7ed4bdba2aa93a19dd94f256a9: perf: Fix 6.1 kernel reproducibility issue (2023-02-03 16:52:15

[OE-core] [PATCH 02/14] python3-pytest: upgrade 7.2.0 -> 7.2.1

2023-02-03 Thread Tim Orling
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-1-2023-01-13 pytest 7.2.1 (2023-01-13) Bug Fixes #10452: Fix ‘importlib.abc.TraversableResources’ deprecation warning in Python 3.12. #10457: If a test is skipped from inside a fixture, the test summary now

[OE-core] [PATCH 08/14] python3-requests: upgrade 2.28.1 -> 2.28.2

2023-02-03 Thread Tim Orling
https://requests.readthedocs.io/en/latest/community/updates/#release-history 2.28.2 (2023-01-12) Dependencies Requests now supports charset_normalizer 3.x. (#6261) Bugfixes Updated MissingSchema exception to suggest https scheme rather than http. (#6188) Signed-off-by: Tim Orling

[OE-core] [PATCH 09/14] python3-sphinxcontrib-applehelp: 1.0.3 -> 1.0.4

2023-02-03 Thread Tim Orling
* Tarball name changed so we can drop custom PYPI_PACKAGE * Switched back from flit to setuptools * inherit python_setuptools_build_meta instead of python3_flit_core https://github.com/sphinx-doc/sphinxcontrib-applehelp/commits/1.0.4 Signed-off-by: Tim Orling --- ...lp_1.0.3.bb =>

[OE-core] [PATCH 10/14] python3-sphinxcontrib-htmlhelp: 2.0.0 -> 2.0.1

2023-02-03 Thread Tim Orling
* inherit python_setuptools_build_meta https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/blob/master/CHANGES Release 2.0.1 (2023-01-31) == * Drop support for Python 3.7 and lower * Fix deprecation warnings from Sphinx 6.1 Signed-off-by: Tim Orling ---

[OE-core] [PATCH 11/14] python3-pyopenssl: upgrade 22.1.0 -> 23.0.0

2023-02-03 Thread Tim Orling
https://www.pyopenssl.org/en/23.0.0/changelog.html 23.0.0 (2023-01-01) Changes: Add OpenSSL.SSL.X509StoreFlags.PARTIAL_CHAIN constant to allow for users to perform certificate verification on partial certificate chains. #1166 cryptography maximum version has been increased to

[OE-core] [PATCH 13/14] python3-urllib3: upgrade 1.26.13 -> 1.26.14

2023-02-03 Thread Tim Orling
https://github.com/urllib3/urllib3/blob/1.26.14/CHANGES.rst#12614-2023-01-11 1.26.14 (2023-01-11) Fixed parsing of port 0 (zero) returning None, instead of 0. (#2850) Removed deprecated getheaders() calls in contrib module. Signed-off-by: Tim Orling --- .../{python3-urllib3_1.26.13.bb

[OE-core] [PATCH 05/14] python3-iniconfig: upgrade 1.1.1 -> 2.0.0

2023-02-03 Thread Tim Orling
* Switch to hatchling build-backend * inherit python_hatchling instead of python_setuptools_build_meta * DEPENDS on python3-hatch-vcs-native instead of python3-setuptools-scm-native 2.0.0 == * add support for Python 3.7-3.11 * drop support for Python 2.6-3.6 * add encoding argument

[OE-core] [PATCH 06/14] python3-pytz: upgrade 2022.7 -> 2022.7.1

2023-02-03 Thread Tim Orling
https://github.com/stub42/pytz/commits/release_2022.7.1 Signed-off-by: Tim Orling --- .../python/{python3-pytz_2022.7.bb => python3-pytz_2022.7.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-pytz_2022.7.bb => python3-pytz_2022.7.1.bb}

[OE-core] [PATCH 07/14] python3-zipp: upgrade 3.11.0 -> 3.12.0

2023-02-03 Thread Tim Orling
https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v3120 v3.12.0 gh-101144: Honor encoding as positional parameter to Path.open() and Path.read_text(). Signed-off-by: Tim Orling --- .../python/{python3-zipp_3.11.0.bb => python3-zipp_3.12.0.bb} | 2 +- 1 file changed, 1

[OE-core] [PATCH 03/14] python3-hypothesis: upgrade 6.62.0 -> 6.66.0

2023-02-03 Thread Tim Orling
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-66-0 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-2 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-1 https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-0

[OE-core] [PATCH 04/14] python3-poetry-core: upgrade 1.4.0 -> 1.5.0

2023-02-03 Thread Tim Orling
* Drop deterministic.patch; merged https://github.com/python-poetry/poetry-core/pull/545 * Drop vendored pyparsing LICENSE; no longer vendored https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#150---2023-01-27 Signed-off-by: Tim Orling ---

[OE-core] SPDX 3 and OE-core CycloneDX support

2023-02-03 Thread Alex Stewart
Hey Josh, I have been roadmapping SBOM generation for NI's yocto distro and have a few open questions about the future of SPDX and the create-spdx bbclass. Since your name seems to be attached to both of those, I figure you might have the best insight here. Also posting to the OE-core ML so

Re: [OE-core] [1/2][dunfell] linux-yocto/5.4: update to v5.4.229

2023-02-03 Thread Steve Sakoman
On Fri, Feb 3, 2023 at 6:01 AM Bruce Ashfield wrote: > > On Fri, Feb 3, 2023 at 10:01 AM Steve Sakoman wrote: > > > > On Fri, Feb 3, 2023 at 4:57 AM Bruce Ashfield > > wrote: > > > > > > On Fri, Feb 3, 2023 at 9:43 AM Steve Sakoman wrote: > > > > > > > > Hi Bruce, > > > > > > > > Sadly this

Re: [OE-core] SPDX 3 and OE-core CycloneDX support

2023-02-03 Thread Richard Purdie
On Fri, 2023-02-03 at 12:26 -0600, Alex Stewart wrote: > Hey Josh, > > I have been roadmapping SBOM generation for NI's yocto distro and have a > few open questions about the future of SPDX and the create-spdx bbclass. > Since your name seems to be attached to both of those, I figure you >

Re: [OE-core] [1/2][dunfell] linux-yocto/5.4: update to v5.4.229

2023-02-03 Thread Bruce Ashfield
On Fri, Feb 3, 2023 at 1:46 PM Steve Sakoman wrote: > > On Fri, Feb 3, 2023 at 6:01 AM Bruce Ashfield > wrote: > > > > On Fri, Feb 3, 2023 at 10:01 AM Steve Sakoman wrote: > > > > > > On Fri, Feb 3, 2023 at 4:57 AM Bruce Ashfield > > > wrote: > > > > > > > > On Fri, Feb 3, 2023 at 9:43 AM

Re: [OE-core] [PATCH 1/2] barebox: add initial support

2023-02-03 Thread Alexandre Belloni via lists.openembedded.org
This breaks oe-selftest: https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/4760/steps/15/logs/stdio 2023-02-03 17:55:08,025 - oe-selftest - INFO - fitimage.FitImageTests.test_sign_cascaded_uboot_fit_image (subunit.RemotedTestCase) 2023-02-03 17:55:08,026 - oe-selftest - INFO -

Re: [OE-core] [PATCH] perf: Enable debug/source packaging

2023-02-03 Thread Alexandre Belloni via lists.openembedded.org
Hello Richard, This is causing: WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/src/debug/perf/1.0-r9/util/expr-flex.h in package perf-src contains reference to TMPDIR On 03/02/2023 16:52:03+, Richard Purdie wrote: > This was disabled in 2014[1] due to an error message which as far

[OE-core] [PATCH] glibc: Upgrade to 2.37 release

2023-02-03 Thread Khem Raj
Details are here [1] and summary of changes is here [2] [1] https://sourceware.org/glibc/wiki/Release/2.37 [2] https://sourceware.org/pipermail/libc-announce/2023/35.html Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.36.bb =>