[OE-core] [PATCH] vim: add missing pkgconfig inherit

2023-03-02 Thread Ross Burton
Vim uses pkgconfig to find dependencies but it wasn't present, so it silently doesn't enable features like GTK+ UI. [ YOCTO #15044 ] Signed-off-by: Ross Burton --- meta/recipes-support/vim/vim.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/vim

Re: [OE-core] PEP 517 and PEP 621 support on Dunfell?

2023-02-28 Thread Ross Burton
On 28 Feb 2023, at 15:00, Ernst Sjöstrand via lists.openembedded.org wrote: > more and more Python projects are removing their setup.py and setup.cfg and > switching to pyproject.toml. That unfortunately means you can't install those > packages on Yocto Dunfell. > > Would it be reasonable to

[OE-core] [PATCH 2/2] glibc: remove obsolete CVE ignores

2023-02-27 Thread Ross Burton
Remove some obsolete CVE ignores now that releases have been made, CPEs updated, or upgrades done: CVE-2020-10029 is marked as fixed in 2.32. CVE-2021-27645 is marked as fixed in 2.34. CVE-2022-39046 is marked as fixed in 2.37. Signed-off-by: Ross Burton --- meta/recipes-core/glibc

[OE-core] [PATCH 1/2] glibc: add ignore for CVE-2023-25139

2023-02-27 Thread Ross Burton
This CVE has been fixed in the 2.37 release branch (07b9521fc6) and we're now using a SHA that incorporates that commit, so manually mark it as ignored. Signed-off-by: Ross Burton --- meta/recipes-core/glibc/glibc_2.37.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core

[OE-core] [PATCH] meta-selftest/files: add ptest to static-passwd/-group

2023-02-27 Thread Ross Burton
As ptest-runner creates a new user, we need to add it to the testing static passwd file. Signed-off-by: Ross Burton --- meta-selftest/files/static-group | 1 + meta-selftest/files/static-passwd | 1 + 2 files changed, 2 insertions(+) diff --git a/meta-selftest/files/static-group b/meta

Re: [OE-core] [PATCH v3 0/6] scripts/resulttool/regression: add metadata filtering

2023-02-27 Thread Ross Burton
On 25 Feb 2023, at 12:44, Richard Purdie via lists.openembedded.org wrote: > > I'll try and stop poking at this but it is all rather interesting and I > think we have spotted our first nasty regression. The quilt ptests did > really stop running properly and reporting test results! > > Looking

[OE-core] [PATCH 1/2] ptest-runner: add non-root ptest user for tests to run as

2023-02-27 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb index 5a1d3299930..ee13e28c7df 100644

[OE-core] [PATCH 2/2] quilt: run tests as ptest user, and let that user write into the tests

2023-02-27 Thread Ross Burton
-by: Ross Burton --- meta/recipes-devtools/quilt/quilt.inc | 13 - meta/recipes-devtools/quilt/quilt/run-ptest | 6 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc index f7ff958103e

Re: [OE-core] [PATCH 4/4] mesa: Add PACKAGECONFIG "rusticl"

2023-02-24 Thread Ross Burton
> On 24 Feb 2023, at 09:38, Zoltan Boszormenyi via lists.openembedded.org > wrote: > -inherit meson pkgconfig python3native gettext features_check > +inherit meson pkgconfig python3native gettext features_check rust This forces a dependency on rust-native, even if rusticl is disabled. Is it

Re: [OE-core] [PATCH 2/2] [YOCTO #13270] docbook-xml-dtd: refactor for style, add version check regex

2023-02-22 Thread Ross Burton
On 21 Feb 2023, at 14:14, Richard Elberger via lists.openembedded.org wrote: > > Hello Ross, > > It wasn't entirely clear to me that the patch would be required if taken > from docbook, but I see that my "test scope" was not appropriate and you > have surfaced why patching is required. Now

Re: [OE-core] Cve fetcher update

2023-02-21 Thread Ross Burton
Hi Marta, > On 21 Feb 2023, at 13:20, Marta Rybczynska wrote: > I'm finishing the new fetcher for cve check using the 2.0 NVD API. Will need > testers to check as many configurations as possible before we switch the > format. > > The current estimate is this week, hoping that the real life

Re: [OE-core] [PATCH 2/2] [YOCTO #13270] docbook-xml-dtd: refactor for style, add version check regex

2023-02-21 Thread Ross Burton
Sorry, but this doesn’t work: If you build xmlto-native: validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; Document

[OE-core] [PATCH v2 2/3] python3-iniconfig: add BBCLASSEXTEND

2023-02-20 Thread Ross Burton
Needed to build a native python3-pytest. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb b/meta/recipes-devtools/python/python3-iniconfig_2.0.0

[OE-core] [PATCH v2 3/3] python3-pytest: set RDEPENDS globally, not just target

2023-02-20 Thread Ross Burton
Now that we have the dependencies we can set the RDEPENDS for all builds, not just target. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pytest_7.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pytest_7.2.1.bb

[OE-core] [PATCH v2 1/3] python3-atomicwrites: add BBCLASSEXTEND

2023-02-20 Thread Ross Burton
Needed to build a native python3-pytest. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb b/meta/recipes-devtools/python/python3

Re: [OE-core] [PATCH 3/3] python3-pytest: add BBCLASSEXTEND

2023-02-20 Thread Ross Burton
On 16 Feb 2023, at 17:09, Jose Quaresma wrote: > > Hi Ross, > > Ross Burton escreveu no dia quinta, 16/02/2023 à(s) > 15:10: > Signed-off-by: Ross Burton > --- > meta/recipes-devtools/python/python3-pytest_7.2.1.bb | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [OE-core] [PATCH 3/3] glibc: backport the fix for CVE-2023-25139

2023-02-20 Thread Ross Burton
Ignore this, "glibc: stable 2.37 branch updates” incorporates it. Ross > On 20 Feb 2023, at 16:28, Ross Burton via lists.openembedded.org > wrote: > > Signed-off-by: Ross Burton > --- > ...r-grouping-in-printf-width-bug-30068.patch | 84 +++ &g

[OE-core] [PATCH 3/3] glibc: backport the fix for CVE-2023-25139

2023-02-20 Thread Ross Burton
Signed-off-by: Ross Burton --- ...r-grouping-in-printf-width-bug-30068.patch | 84 +++ meta/recipes-core/glibc/glibc_2.37.bb | 1 + 2 files changed, 85 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/0001-Account-for-grouping-in-printf-width-bug-30068

[OE-core] [PATCH 2/3] tiff: backport fix for CVE-2022-48281

2023-02-20 Thread Ross Burton
Signed-off-by: Ross Burton --- .../libtiff/files/CVE-2022-48281.patch| 29 +++ meta/recipes-multimedia/libtiff/tiff_4.5.0.bb | 3 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2022-48281.patch diff

[OE-core] [PATCH 1/3] less: backport the fix for CVE-2022-46663

2023-02-20 Thread Ross Burton
Signed-off-by: Ross Burton --- .../less/files/CVE-2022-46663.patch | 28 +++ meta/recipes-extended/less/less_608.bb| 1 + 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-extended/less/files/CVE-2022-46663.patch diff --git a/meta/recipes

Re: [OE-core] [yocto-security] OE-core CVE metrics for master on Sun 19 Feb 2023 04:05:17 AM HST

2023-02-20 Thread Ross Burton
On 19 Feb 2023, at 14:09, Steve Sakoman via lists.yoctoproject.org wrote: > CVE-2022-4055 (CVSS3: 7.4 HIGH): xdg-utils > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-4055 * > CVE-2022-46456 (CVSS3: 6.1 MEDIUM): nasm:nasm-native >

Re: [OE-core] [PATCH 31/39] harfbuzz: upgrade 6.0.0 -> 7.0.0

2023-02-20 Thread Ross Burton
FYI there’s a 7.0.1 now too. Ross > On 19 Feb 2023, at 19:30, Alexander Kanavin via lists.openembedded.org > wrote: > > License-Update: copyright years > > Signed-off-by: Alexander Kanavin > --- > ...subset-threads.cc-add-missing-cstdio.patch | 34 --- >

[OE-core] [PATCH 2/3] python3-iniconfig: add BBCLASSEXTEND

2023-02-16 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb b/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb index ca50ebbc352..2abeec62f4c 100644

[OE-core] [PATCH 1/3] python3-atomicwrites: add BBCLASSEXTEND

2023-02-16 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb b/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb index d4d15cea509..9f58a4bf1ff

[OE-core] [PATCH 3/3] python3-pytest: add BBCLASSEXTEND

2023-02-16 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pytest_7.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pytest_7.2.1.bb b/meta/recipes-devtools/python/python3-pytest_7.2.1.bb index 105b76a4a64..c7610d440c1

Re: [OE-core] [PATCH 1/2] site: remove glib site values

2023-02-16 Thread Ross Burton
On 16 Feb 2023, at 11:13, Ross Burton via lists.openembedded.org wrote: > > On 14 Feb 2023, at 23:31, Alexandre Belloni > wrote: >> iI think this is causes failures on the AB while building >> nativesdk-pkgconfig: > > How annoying. (look at his pkgconf branch w

[OE-core] [PATCH] pkgconfig: use system glib for nativesdk builds

2023-02-16 Thread Ross Burton
-by: Ross Burton --- ...-support-for-the-__int64-type.-See-1.patch | 144 -- ...9-printf-format-specifiers-on-Window.patch | 68 - .../pkgconfig/pkgconfig_git.bb| 3 - 3 files changed, 215 deletions(-) delete mode 100644 meta/recipes-devtools/pkgconfig

Re: [OE-core] [PATCH 1/2] site: remove glib site values

2023-02-16 Thread Ross Burton
On 14 Feb 2023, at 23:31, Alexandre Belloni wrote: > iI think this is causes failures on the AB while building nativesdk-pkgconfig: How annoying. (look at his pkgconf branch which doesn’t contain a fork of glib). I’ll chase and fix, thanks. Cheers, Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You

[OE-core] [PATCH 2/2] cml1: remove redundand addtask

2023-02-14 Thread Ross Burton
The configure task is added by base.bbclass, no need to do it again. Signed-off-by: Ross Burton --- meta/classes-recipe/cml1.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass index b79091383de..a09a042c3f1 100644

[OE-core] [PATCH 1/2] lib/buildstats: handle tasks that never finished

2023-02-14 Thread Ross Burton
If a task is aborted the buildstats file isn't complete, so calculate when the build finished and use that as a end time. Signed-off-by: Ross Burton --- scripts/lib/buildstats.py | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/scripts/lib

[OE-core] [PATCH] libcgroup: clean up musl DEPENDS

2023-02-14 Thread Ross Burton
://github.com/libcgroup/libcgroup/commit/27ba904355575153308bdc0fa48344ef1be55ca1 Signed-off-by: Ross Burton --- meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb b/meta/recipes-core

[OE-core] [PATCH 2/2] site: remove at-spi2-core values

2023-02-14 Thread Ross Burton
at-spi2-core is built with Meson now, so these values are not needed. Signed-off-by: Ross Burton --- meta/site/arm-32 | 10 -- meta/site/arm-64 | 9 - meta/site/ix86-common| 10 -- meta/site/mips-common| 10 -- meta/site/powerpc-common

[OE-core] [PATCH 1/2] site: remove glib site values

2023-02-14 Thread Ross Burton
be ac_cv_. Signed-off-by: Ross Burton --- meta/site/arc-common | 4 meta/site/arm-32 | 15 --- meta/site/arm-64 | 15 --- meta/site/arm-common | 19 --- meta/site/arm-darwin | 2 -- meta/site/arm

[OE-core] DNF5

2023-02-09 Thread Ross Burton
Hi, At FOSDEM there were was a session about DNF 5 and someone (sorry if you’re reading this, I can’t remember your name) came to the stand to ask if we’ve looked at it. I was aware of a DNF replacement but wasn’t aware that it had actually started making releases. I’ve just pushed a branch

Re: [OE-core] Current QA failure challenges (perf, QA http-server, asyncio prserv, bitbake runCommand timeout, unfsd test issue)

2023-02-01 Thread Ross Burton
On 31 Jan 2023, at 16:03, Richard Purdie via lists.openembedded.org wrote: >> I ran this locally three times with master and it wouldn't reproduce. >> Probably build host has something to do with it too? > > I think you need two different host OSes. Which two trigger it and why > I don't know.

[OE-core] [PATCH] httpserver: add error handler that write to the logger

2023-01-31 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/lib/oeqa/utils/httpserver.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/lib/oeqa/utils/httpserver.py b/meta/lib/oeqa/utils/httpserver.py index 2aa172bf799..80752c13770 100644 --- a/meta/lib/oeqa/utils/httpserver.py +++ b/meta/lib/oeqa

[OE-core] [PATCH v2 2/2] oeqa/utils/httpserver: connect up the request logging

2023-01-31 Thread Ross Burton
-off-by: Ross Burton --- meta/lib/oeqa/utils/httpserver.py | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/utils/httpserver.py b/meta/lib/oeqa/utils/httpserver.py index 8ce1dd42f49..2aa172bf799 100644 --- a/meta/lib/oeqa/utils/httpserver.py

[OE-core] [PATCH v2 1/2] sdkext/cases/devtool: pass a logger to HTTPService

2023-01-31 Thread Ross Burton
Pass our logger to the HTTPService instance so we can see the requests and any errors. Signed-off-by: Ross Burton --- meta/lib/oeqa/sdkext/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/sdkext/cases/devtool.py b/meta/lib/oeqa/sdkext/cases

Re: [OE-core] [yocto-security] OE-core CVE metrics for master on Sun 29 Jan 2023 02:00:01 AM HST

2023-01-30 Thread Ross Burton
On 29 Jan 2023, at 12:03, Steve Sakoman via lists.yoctoproject.org wrote: > Full list: Found 9 unpatched CVEs > CVE-2022-23521 (CVSS3: 9.8 CRITICAL): git > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-23521 * > CVE-2022-41903 (CVSS3: 9.8 CRITICAL): git >

[OE-core] [PATCH 3/3] openssl: fix CVE-2022-3996 double locking leads to denial of service

2023-01-30 Thread Ross Burton
From: Vivek Kumbhar Signed-off-by: Vivek Kumbhar --- .../openssl/openssl/CVE-2022-3996.patch | 43 +++ .../openssl/openssl_3.0.7.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644

[OE-core] [PATCH 2/3] git: ignore CVE-2022-41953

2023-01-30 Thread Ross Burton
This is specific to Git-for-Windows. Signed-off-by: Ross Burton --- meta/recipes-devtools/git/git_2.39.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/git/git_2.39.1.bb b/meta/recipes-devtools/git/git_2.39.1.bb index 8577d86eac8..d8137df5612 100644 --- a/meta

[OE-core] [PATCH 1/3] git: upgrade to 2.39.1

2023-01-30 Thread Ross Burton
This fixes CVE-2022-41903 and CVE-2022-23521. Signed-off-by: Ross Burton --- meta/recipes-devtools/git/{git_2.39.0.bb => git_2.39.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/git/{git_2.39.0.bb => git_2.39.1.bb} (98%) diff --git a/meta/r

Re: [OE-core] [PATCH] Revert "cve-update-db-native: show IP on failure"

2023-01-27 Thread Ross Burton
On 27 Jan 2023, at 14:25, Richard Purdie wrote: > > On Fri, 2023-01-27 at 13:40 +, Ross Burton wrote: >> The bug this was intended to find has been resolved, so we don't need >> this extra noise in the logs. >> >> This reverts commit bd1edfa3d5b1c24cd1192620f

[OE-core] [PATCH] Revert "cve-update-db-native: show IP on failure"

2023-01-27 Thread Ross Burton
The bug this was intended to find has been resolved, so we don't need this extra noise in the logs. This reverts commit bd1edfa3d5b1c24cd1192620f7085ee1df03e1af. Signed-off-by: Ross Burton --- meta/recipes-core/meta/cve-update-db-native.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions

[OE-core] [PATCH] oeqa/utils/httpserver: connect up the request logging

2023-01-26 Thread Ross Burton
-off-by: Ross Burton --- meta/lib/oeqa/utils/httpserver.py | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/utils/httpserver.py b/meta/lib/oeqa/utils/httpserver.py index 8ce1dd42f49..b478172ed76 100644 --- a/meta/lib/oeqa/utils/httpserver.py +++ b

[OE-core] [PATCH] buildtools-tarball: set pkg-config search path

2023-01-26 Thread Ross Burton
toolchain script, but that is slightly more involved. [ YOCTO #15007 ] Signed-off-by: Ross Burton --- meta/recipes-core/meta/buildtools-tarball.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index

Re: [yocto-security] [OE-core] OE-core CVE metrics for master on Sun 22 Jan 2023 02:00:01 AM HST

2023-01-23 Thread Ross Burton
On 23 Jan 2023, at 13:35, Richard Purdie wrote: >> I’ve started braindumping into >> https://wiki.yoctoproject.org/wiki/CVE_Triage, when it’s expanded and >> complete we can link to it. Or maybe we should just start a >> Maintainers book in the documentation? > > Lets put it in the manual. The

Re: [yocto-security] [OE-core] OE-core CVE metrics for master on Sun 22 Jan 2023 02:00:01 AM HST

2023-01-23 Thread Ross Burton
On 23 Jan 2023, at 12:42, Alexander Kanavin wrote: > > On Mon, 23 Jan 2023 at 13:40, Ross Burton wrote: >>> CVE-2022-3550 (CVSS3: 8.8 HIGH): xserver-xorg >>> https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-3550 * >>> CVE-2022-3551 (CVSS3: 6.5

[OE-core] [PATCH v2] ppp: backport fix for CVE-2022-4603

2023-01-23 Thread Ross Burton
Signed-off-by: Ross Burton --- .../ppp/ppp/CVE-2022-4603.patch | 48 +++ meta/recipes-connectivity/ppp/ppp_2.4.9.bb| 1 + 2 files changed, 49 insertions(+) create mode 100644 meta/recipes-connectivity/ppp/ppp/CVE-2022-4603.patch diff --git a/meta/recipes

[OE-core] [PATCH] ppp: backport fix for CVE-2022-4603

2023-01-23 Thread Ross Burton
Signed-off-by: Ross Burton --- .../ppp/ppp/CVE-2022-4603.patch | 48 +++ meta/recipes-connectivity/ppp/ppp_2.4.9.bb| 1 + 2 files changed, 49 insertions(+) create mode 100644 meta/recipes-connectivity/ppp/ppp/CVE-2022-4603.patch diff --git a/meta/recipes

Re: [OE-core] OE-core CVE metrics for master on Sun 22 Jan 2023 02:00:01 AM HST

2023-01-23 Thread Ross Burton
On 22 Jan 2023, at 12:04, Steve Sakoman via lists.openembedded.org wrote: > CVE-2022-3550 (CVSS3: 8.8 HIGH): xserver-xorg > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-3550 * > CVE-2022-3551 (CVSS3: 6.5 MEDIUM): xserver-xorg >

Re: [OE-core][kirkstone][PATCH] openssl: fix CVE-2022-3996 double locking leads to denial of service

2023-01-23 Thread Ross Burton
Can you also send this for langdale and master? Ross > On 20 Jan 2023, at 02:56, vkumbhar via lists.openembedded.org > wrote: > > From: Vivek Kumbhar > > Signed-off-by: Vivek Kumbhar > --- > .../openssl/openssl/CVE-2022-3996.patch | 43 +++ >

[OE-core] [PATCH] quilt: use upstreamed faildiff.test fix

2023-01-20 Thread Ross Burton
Signed-off-by: Ross Burton --- .../quilt/quilt/faildiff-order.patch | 47 --- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/meta/recipes-devtools/quilt/quilt/faildiff-order.patch b/meta/recipes-devtools/quilt/quilt/faildiff-order.patch index

[OE-core] [PATCH] spirv-headers/spirv-tools: set correct branch name

2023-01-19 Thread Ross Burton
As of last week, the SPIRV repositories have renamed their master branches to main: https://github.com/KhronosGroup/SPIRV-Headers/issues/313 We could set branch=main, but the commits we're using are also on release branches so use those instead. Signed-off-by: Ross Burton --- meta/recipes

Re: [OE-core] [PATCH 1/3] insane: Improve patch warning/error handling

2023-01-19 Thread Ross Burton
On 19 Jan 2023, at 13:55, Bruce Ashfield via lists.openembedded.org wrote: > I'd prefer the upstream-status check to be disabled for meta-virtualization. > > This isn't something that I'm strictly enforcing, and not something that I > want to start strictly enforcing. With my meta-arm layer

Re: [OE-core] [PATCH 6/7] gdk-pixbuf: remove ptest support

2023-01-16 Thread Ross Burton
On 13 Jan 2023, at 14:56, Alexander Kanavin via lists.openembedded.org wrote: > > Moving to x86-64-v3 instructions revealed that the recipe was doing an > entirely > incorrect thing: running native gdk-pixbuf-query-loaders executable against > the target set > of loader .so binaries. This

[OE-core] [PATCH] cve-update-db-native: show IP on failure

2023-01-13 Thread Ross Burton
We get random SSL failures when fetching the CVE database, and it's notable that the NVD server is behind a DNS round-robin or geographically diverse servers. On a hunch that there is one misconfigured server, dump the IP that we connected to. Signed-off-by: Ross Burton --- meta/recipes-core

[OE-core] [PATCH 1/2] quilt: rewrite ptest glue

2023-01-13 Thread Ross Burton
The ptest glue was overly complex. Not as many files are needed to be installed if we tell it to use the system's quilt tools, there's no need for a custom Makefile just to set some environment variables, and /usr/bin/ed doesn't appear to be used at all. Signed-off-by: Ross Burton --- meta

[OE-core] [PATCH 2/2] quilt: fix intermittent failure in faildiff.test

2023-01-13 Thread Ross Burton
line ordering. [ YOCTO #14469 ] Signed-off-by: Ross Burton --- meta/recipes-devtools/quilt/quilt.inc | 1 + .../quilt/quilt/faildiff-order.patch | 28 +++ 2 files changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/quilt/quilt/faildiff-order.patch

Re: [OE-core] [PATCH] package_rpm: allow arch overriding

2023-01-13 Thread Ross Burton
> On 13 Jan 2023, at 12:29, Sergey Zhmylev via lists.openembedded.org > wrote: >> So no, I don't think we should be taking a patch which would just >> confuse things for what seems to be a cosmetic reason. >> > > The patch proposed is not about a cosmetic change, it's about precise > control

Re: [OE-core] [PATCH 4/4] python3-picobuild: remove

2023-01-13 Thread Ross Burton
On 13 Jan 2023, at 10:36, Ross Burton via lists.openembedded.org wrote: > I have the patch for pytest-forked, failed to send. I’ve not seen the > opengl-es-cts one before, I’ll have a look. Patches sent to oe-devel. Note that the pyforked one needs to merge after the picobuild-

Re: [OE-core] [PATCH 4/4] python3-picobuild: remove

2023-01-13 Thread Ross Burton
On 13 Jan 2023, at 07:51, Khem Raj wrote: > > I think meta-python has > meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb > which needs some TLC after this. > > There is another failure with opengl-es-cts > > | ModuleNotFoundError: No module named 'build.common' > > See >

[OE-core] [PATCH 3/4] python_pep517: use python3-build, not picobuild

2023-01-12 Thread Ross Burton
that used that variable. Signed-off-by: Ross Burton --- meta/classes-recipe/python_pep517.bbclass | 7 --- meta/recipes-devtools/python/python3-build_0.10.0.bb | 11 ++- .../python/python3-flit-core_3.8.0.bb | 2 +- .../python/python3-installer_0.6.0.bb

[OE-core] [PATCH 4/4] python3-picobuild: remove

2023-01-12 Thread Ross Burton
We've moved to using python3-build, so this can be removed. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 - .../python/python3-picobuild_0.2.bb | 23 --- 2 files changed, 24 deletions(-) delete mode 100644 meta/recipes-devtools

[OE-core] [PATCH 1/4] python3-pyproject-hooks: add new recipe

2023-01-12 Thread Ross Burton
This used to be known as python3-pep517 and is a key library used to build modern Python code. It is currently vendored into python3-picobuild but I plan to remove that. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-pyproject

[OE-core] [PATCH 2/4] python3-build: add 0.10.0

2023-01-12 Thread Ross Burton
This is the PEP517 build frontend blessed by the Python Packaging Authority, and now that Python 3.11 has been released and enough packages have ported to flit, it can be used without a huge bootstraping problem. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc

Re: [OE-core] [PATCH] curl: don't enable debug builds

2023-01-11 Thread Ross Burton
On 11 Jan 2023, at 14:46, Quentin Schulz wrote: > Should we have --disable-curldebug in the enable path here? I see you remove > it further down but it's not here. No need: default) dnl configure's curldebug option not specified. Initially we will dnl handle this as a request

[OE-core] [PATCH] curl: don't enable debug builds

2023-01-11 Thread Ross Burton
that it should not be used in production. Signed-off-by: Ross Burton --- meta/recipes-support/curl/curl_7.87.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/curl/curl_7.87.0.bb b/meta/recipes-support/curl/curl_7.87.0.bb index a3ad66f1aa3..9956a284228

Re: [OE-core] [PATCH] elfutils: disable deprecation errors in all builds, not just native

2023-01-11 Thread Ross Burton
On 11 Jan 2023, at 11:24, Jacob Kroon via lists.openembedded.org wrote: > > On 1/6/23 17:16, Ross Burton wrote: >> The curl-related deprecation errors affect all builds not just native, >> so set CFLAGS instead of BUILD_CFLAGS. >> Signed-off-by: Ross Burton >>

[OE-core] [PATCH] oeqa/selftest/debuginfod: improve testcase

2023-01-10 Thread Ross Burton
files) - Set the refresh times to 0 so we never rescan during the test - Only scan the packages for the format which the image is using - Log the commands that are being invoked Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/cases/debuginfod.py | 67 +++--- 1 file changed, 59

[OE-core] [PATCH] elfutils: disable deprecation errors in all builds, not just native

2023-01-06 Thread Ross Burton
The curl-related deprecation errors affect all builds not just native, so set CFLAGS instead of BUILD_CFLAGS. Signed-off-by: Ross Burton --- meta/recipes-devtools/elfutils/elfutils_0.188.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/elfutils

Re: [OE-core] [meta-oe][PATCH] boost-url: remove recipe

2023-01-06 Thread Ross Burton
This should be posted to openembedded-devel@, not -core@. Ross > On 5 Jan 2023, at 13:08, Christian Eggers via lists.openembedded.org > wrote: > > The boost recipe in oe-core has recently been updated to boost-1.81.0. > Starting with this release, boost-url is included in the boost >

Re: [OE-core] NVD data format change and cve-check migration

2023-01-05 Thread Ross Burton
On 3 Jan 2023, at 06:13, Marta Rybczynska wrote: > NVD (which we use for the cve-check database) has been working on the new > format for some time. What I understand is that they plan to retire old API > and all the feeds (like the one we use) by september 2023. Has anyone started > working

[OE-core] [PATCH] rm_work: handle non-existant stamps directory

2023-01-03 Thread Ross Burton
into a directory that doesn't exist. Resolve this by simply checking the stamps directory exists before trying to delete files in it. [1] bitbake c79ecec580e4c2a141ae483ec0f6448f70593dcf Signed-off-by: Ross Burton --- meta/classes/rm_work.bbclass | 101 ++- 1 file changed, 52

Re: [oe-core][PATCH] gsettings-desktop-schemas.pc.in: use pc_sysrootdir for prefix

2023-01-03 Thread Ross Burton
Agreed, and commented on the MR. Ross > On 31 Dec 2022, at 17:14, Richard Purdie via lists.openembedded.org > wrote: > > On Thu, 2022-12-29 at 09:08 +0100, Markus Volk wrote: >> Signed-off-by: Markus Volk >> --- >> ...ktop-schemas.pc.in-use-pc_sysrootdir.patch | 34 +++ >>

[OE-core] [PATCH 5/5] python3-pathspec: upgrade 0.10.1 -> 0.10.3

2023-01-03 Thread Ross Burton
Signed-off-by: Ross Burton --- .../{python3-pathspec_0.10.1.bb => python3-pathspec_0.10.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-pathspec_0.10.1.bb => python3-pathspec_0.10.3.bb} (78%) diff --git a/meta/recipes-devtools/

[OE-core] [PATCH 4/5] python3-hatchling: upgrade 1.11.1 -> 1.12.1

2023-01-03 Thread Ross Burton
Signed-off-by: Ross Burton --- ...{python3-hatchling_1.11.1.bb => python3-hatchling_1.12.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-hatchling_1.11.1.bb => python3-hatchling_1.12.1.bb} (84%) diff --git a/meta/recipes-devtools/

[OE-core] [PATCH 2/5] pango: upgrade 1.50.11 -> 1.50.12

2023-01-03 Thread Ross Burton
Signed-off-by: Ross Burton --- ...d-install-nofonts-fonts.conf-as-it-i.patch | 35 --- .../{pango_1.50.11.bb => pango_1.50.12.bb}| 3 +- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 meta/recipes-graphics/pango/pango/0001-tests-meson.build-inst

[OE-core] [PATCH 3/5] python3-hatch-vcs: upgrade 0.2.0 -> 0.3.0

2023-01-03 Thread Ross Burton
Signed-off-by: Ross Burton --- .../{python3-hatch-vcs_0.2.0.bb => python3-hatch-vcs_0.3.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-hatch-vcs_0.2.0.bb => python3-hatch-vcs_0.3.0.bb} (80%) diff --git a/meta/recipes-devtools/

[OE-core] [PATCH 1/5] lsof: upgrade 4.96.4 -> 4.96.5

2023-01-03 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-extended/lsof/{lsof_4.96.4.bb => lsof_4.96.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/lsof/{lsof_4.96.4.bb => lsof_4.96.5.bb} (96%) diff --git a/meta/recipes-extended/lsof/lsof_4.96.4.bb b/meta/r

[OE-core] [PATCH] gtk+3: fix reproducible builds

2022-12-20 Thread Ross Burton
-off-by: Ross Burton --- .../gtk+/gtk+3/add-missing-meson.build.patch | 38 +++ meta/recipes-gnome/gtk+/gtk+3/meson.build | 14 --- meta/recipes-gnome/gtk+/gtk+3_3.24.35.bb | 2 +- 3 files changed, 39 insertions(+), 15 deletions(-) create mode 100644 meta/recipes

[OE-core] [PATCH v2] gtk+3: port to Meson

2022-12-16 Thread Ross Burton
GTK+ 3.24.36 will drop the autotools build, so get ahead of the curve and switch to Meson. The tarball is missing one meson.build file so add that explictly for now. Signed-off-by: Ross Burton --- meta/recipes-gnome/gtk+/gtk+3.inc | 34 +- ...t-try-to-initialize-GL-without

[OE-core] [PATCH 1/4] gtk+3: port to Meson

2022-12-13 Thread Ross Burton
GTK+ 3.24.36 will drop the autotools build, so get ahead of the curve and switch to Meson. The tarball is missing one meson.build file so add that explictly for now. Signed-off-by: Ross Burton --- meta/recipes-gnome/gtk+/gtk+3.inc | 34 +- ...t-try-to-initialize-GL-without

[OE-core] [PATCH 3/4] at-spi2-core: disable API docs if x11 is disabled

2022-12-13 Thread Ross Burton
The gtk-doc documentation doesn't build if X11 is disabled. Signed-off-by: Ross Burton --- meta/recipes-support/atk/at-spi2-core_2.46.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb b/meta/recipes-support/atk/at-spi2-core_2.46.0.bb

[OE-core] [PATCH 4/4] cairo: update patch for CVE-2019-6461

2022-12-13 Thread Ross Burton
Update the patch to reflect the fix merged into 1.17.6. Signed-off-by: Ross Burton --- .../cairo/cairo/CVE-2019-6461.patch | 30 --- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/meta/recipes-graphics/cairo/cairo/CVE-2019-6461.patch b/meta/recipes

[OE-core] [PATCH 2/4] at-spi2-core: clean up x11 enabling

2022-12-13 Thread Ross Burton
Use a single PACKAGECONFIG instead of a number of location conditionals. Signed-off-by: Ross Burton --- meta/recipes-support/atk/at-spi2-core_2.46.0.bb | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb b/meta/recipes

[OE-core] [PATCH] meson: no need to rebuild on install

2022-12-13 Thread Ross Burton
the install task. Signed-off-by: Ross Burton --- meta/classes-recipe/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass index 1014bd058ea..3cc94c7584f 100644 --- a/meta/classes-recipe

Re: [OE-core] [PATCH 09/24] gtk+3: update 3.24.34 -> 3.24.35

2022-12-13 Thread Ross Burton
I just posted this, and have a followup to move to Meson too that is just going through the final tweaks. Ross > On 13 Dec 2022, at 11:11, Alexander Kanavin via lists.openembedded.org > wrote: > > Signed-off-by: Alexander Kanavin > --- > ...-Add-disable-opengl-configure-option.patch | 60

[OE-core] [PATCH 1/2] libepoxy: remove upstreamed patch

2022-12-12 Thread Ross Burton
This patch was upstreamed in 6b09a8bc, 1.5.5 onwards. Signed-off-by: Ross Burton --- ...atch_common.h-define-also-EGL_NO_X11.patch | 27 --- .../libepoxy/libepoxy_1.5.10.bb | 4 +-- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 meta/recipes

[OE-core] [PATCH 2/2] gtk+3: upgrade 3.24.34 -> 3.24.35

2022-12-12 Thread Ross Burton
will be needed to see if this is still an issue. Rebase 0003-Add-disable-opengl-configure-option.patch. Signed-off-by: Ross Burton --- meta/recipes-gnome/gtk+/gtk+3.inc | 7 +- ...-Add-disable-opengl-configure-option.patch | 86 ++- .../{gtk+3_3.24.34.bb => gtk+3_3.24.35

Re: [OE-core] [PATCH 1/2] meson: drop redundant is_debianlike() patch

2022-12-12 Thread Ross Burton
On 12 Dec 2022, at 15:38, Richard Purdie wrote: >> - def is_debianlike() -> bool: >> --return os.path.isfile('/etc/debian_version') >> -+return False >> - >> - >> - def is_dragonflybsd() -> bool: > > I have a nasty feeling that there may be meson users out there which > call into this

[OE-core] [PATCH 2/2] meson: always use meson subcommands

2022-12-12 Thread Ross Burton
Invoking meson with just paths is a deprecated use of the binary and causes warnings, so call 'meson setup' explicitly. Whilst doing this cleanup, we can also call 'meson compile' and 'meson install' instead of ninja. Signed-off-by: Ross Burton --- meta/classes-recipe/meson.bbclass | 6

[OE-core] [PATCH 1/2] meson: drop redundant is_debianlike() patch

2022-12-12 Thread Ross Burton
for the default libdir value and meson.bbclass always passes an explicit --libdir, so this is moot. Signed-off-by: Ross Burton --- ...01-is_debianlike-always-return-False.patch | 27 --- meta/recipes-devtools/meson/meson_0.64.0.bb | 1 - 2 files changed, 28 deletions(-) delete

[OE-core] [PATCH 3/3] python3-packaging: upgrade to 22.0

2022-12-08 Thread Ross Burton
This has been ported from setuptools to flit_core, and now contains a hand-written parser instead of using pyparsing. Signed-off-by: Ross Burton --- ...{python3-packaging_21.3.bb => python3-packaging_22.0.bb} | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) rename meta/reci

[OE-core] [PATCH 2/3] python3-cryptography: remove python3-tomli RDEPENDS

2022-12-08 Thread Ross Burton
The test suite doesn't use tomli, so remove it. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-cryptography_38.0.3.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-cryptography_38.0.3.bb b/meta/recipes-devtools/python/python3

[OE-core] [PATCH 1/3] python3-hatchling: remove python3-tomli DEPENDS

2022-12-08 Thread Ross Burton
Now that we have Python 3.11, hatchling will use the internal tomllib instead of tomli. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-hatchling_1.11.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3

[OE-core] [PATCH] python3-packaging: upgrade to 22.0

2022-12-08 Thread Ross Burton
This has been ported from setuptools to flit_core, and now contains a hand-written parser instead of using pyparsing. Signed-off-by: Ross Burton --- ...{python3-packaging_21.3.bb => python3-packaging_22.0.bb} | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) rename meta/reci

[OE-core] [PATCH] libxml2: add more testing

2022-12-08 Thread Ross Burton
Backport more test cases fixes from upstream, and add runsuite to the ptests. Signed-off-by: Ross Burton --- .../libxml/libxml2/fix-tests.patch| 222 ++ meta/recipes-core/libxml/libxml2/run-ptest| 2 +- meta/recipes-core/libxml/libxml2_2.10.3.bb| 1 + 3

[OE-core] [PATCH v2] libxml2: upgrade 2.9.14 -> 2.10.3

2022-12-08 Thread Ross Burton
and appear to be redundant, remove: - python-sitepackages-dir.patch libxml-m4-use-pkgconfig.patch has been sent upstream now, mark as backport. Remove obsolete --without-docbook option. Remove obsolete xml2Conf.sh packaging. Signed-off-by: Ross Burton --- ...he-python-tests-if-python

[OE-core] [PATCH] libxml2: upgrade 2.9.14 -> 2.10.3

2022-12-07 Thread Ross Burton
and appear to be redundant, remove: - python-sitepackages-dir.patch libxml-m4-use-pkgconfig.patch has been sent upstream now, mark as backport. Remove obsolete --without-docbook option. Remove obsolete xml2Conf.sh packaging. Signed-off-by: Ross Burton --- ...he-python-tests-if-python

<    3   4   5   6   7   8   9   10   11   12   >