[OE-core] [PATCH] ruby: correctly set native/target dependencies

2022-02-11 Thread Alexander Kanavin
In particular libffi was missing from native, which led to linking with host libffi instead. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/ruby/ruby.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/ruby/ruby.inc

[OE-core] [meta-oe][PATCH] php: Bump to v 7.4.27

2022-02-11 Thread Dvorkin Dmitry
--- meta-oe/recipes-devtools/php/{php_7.4.21.bb => php_7.4.27.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/php/{php_7.4.21.bb => php_7.4.27.bb} (99%) diff --git a/meta-oe/recipes-devtools/php/php_7.4.21.bb

Re: [OE-core] gio-querymodules: error while loading shared libraries: libffi.so.6: cannot open shared object file

2022-02-11 Thread Richard Purdie
On Fri, 2022-02-11 at 15:41 +, Bryan Evenson wrote: > Alex, > > > -Original Message- > > From: Alexander Kanavin > > Sent: Friday, February 11, 2022 10:06 AM > > To: Bryan Evenson > > Cc: Patches and discussions about the oe-core layer > c...@lists.openembedded.org> > > Subject:

Re: [OE-core] [PATCH] default-distrovars.inc: Switch connectivity check to a yoctoproject.org page

2022-02-11 Thread Jacob Kroon
fwiw, +1 from me too On 2/11/22 20:27, Ross Burton wrote: > +1 > > On Fri, 11 Feb 2022 at 17:46, Richard Purdie > wrote: >> >> example.com is proving unreliable at present so switch to our own >> connectivity >> page instead. That page is very simple avoiding app overhead on our web >> server

Re: [OE-core] [PATCH] default-distrovars.inc: Switch connectivity check to a yoctoproject.org page

2022-02-11 Thread Ross Burton
+1 On Fri, 11 Feb 2022 at 17:46, Richard Purdie wrote: > > example.com is proving unreliable at present so switch to our own connectivity > page instead. That page is very simple avoiding app overhead on our web server > which was an original reason for switching to example.com. > >

[OE-core] [PATCH] default-distrovars.inc: Switch connectivity check to a yoctoproject.org page

2022-02-11 Thread Richard Purdie
example.com is proving unreliable at present so switch to our own connectivity page instead. That page is very simple avoiding app overhead on our web server which was an original reason for switching to example.com. Signed-off-by: Richard Purdie --- meta/classes/sanity.bbclass

[OE-core] [PATCH] scriptutils: Fix handling of srcuri urls

2022-02-11 Thread Richard Purdie
Bitbake is now requiring there be a call to get_srcrev() when urls contain floating revisions. This breaks some recipetool workflows since it is running these queries to determine those revisions. Add a PV entry which triggers that call to avoid the errors. Signed-off-by: Richard Purdie ---

Re: [OE-core] [PATCH 2/4] wic: rawcopy: Add support for packed images

2022-02-11 Thread Ulrich Ölmann
Hi Stefan, On Fri, Feb 11 2022 at 17:35 +0100, "Stefan Herbrechtsmeier" wrote: > Am 11.02.2022 um 17:17 schrieb Ulrich Ölmann: >> On Thu, Feb 10 2022 at 17:17 +0100, "Stefan Herbrechtsmeier" >> wrote: >>> From: Stefan Herbrechtsmeier >>> >>> Add support for packed images to wic rawcopy

Re: [OE-core] [PATCH 2/4] wic: rawcopy: Add support for packed images

2022-02-11 Thread Stefan Herbrechtsmeier
Hi Ulrich, Am 11.02.2022 um 17:17 schrieb Ulrich Ölmann: On Thu, Feb 10 2022 at 17:17 +0100, "Stefan Herbrechtsmeier" wrote: From: Stefan Herbrechtsmeier Add support for packed images to wic rawcopy handler do minimize disk usage in deploy directory and reuse of packed images between wic

Re: [OE-core] [PATCH 2/4] wic: rawcopy: Add support for packed images

2022-02-11 Thread Ulrich Ölmann
Hi Stefan! On Thu, Feb 10 2022 at 17:17 +0100, "Stefan Herbrechtsmeier" wrote: > From: Stefan Herbrechtsmeier > > Add support for packed images to wic rawcopy handler do minimize disk > usage in deploy directory and reuse of packed images between wic and > swupdate. Add `unpack` to

Re: [OE-core] gio-querymodules: error while loading shared libraries: libffi.so.6: cannot open shared object file

2022-02-11 Thread Bryan Evenson
Alex, > -Original Message- > From: Alexander Kanavin > Sent: Friday, February 11, 2022 10:06 AM > To: Bryan Evenson > Cc: Patches and discussions about the oe-core layer c...@lists.openembedded.org> > Subject: Re: [OE-core] gio-querymodules: error while loading shared > libraries:

[OE-core] [PATCH v2] selftest/bbtests: Add tests for git floating tag resolution

2022-02-11 Thread Richard Purdie
This test ensures that where a floating tag is used for a git url, there aren't a number of different bugs such as inconsistent source revisions for the tag within a given build and that the recipe is reparsed at each run to ensure the tag is checked. A test is also added to ensure that the build

Re: [OE-core] gio-querymodules: error while loading shared libraries: libffi.so.6: cannot open shared object file

2022-02-11 Thread Alexander Kanavin
On Fri, 11 Feb 2022 at 14:46, Bryan Evenson wrote: > However, I still think that a package upgrade should have a way to exit > gracefully for something that is an optimization and not required for > operation. In my case, my device isn't even using the GIO library and the > gio-querymodules

[OE-core] [hardknott][PATCH] package_manager: ipk: Fix host manifest generation

2022-02-11 Thread Christian Eggers
From: Oleksiy Obitotskyy Since honister host manifest stopped to generate, i.e. manifest file is empty but all ipks/files into sdk is ok. Signed-off-by: Oleksiy Obitotskyy Signed-off-by: Richard Purdie (cherry picked from commit 79a2392f5d2a4cb6509a83afb40bca01bac59914) Signed-off-by: Anuj

[OE-core] [meta][dunfell][PATCH] openssl: Add fix for CVE-2021-4160

2022-02-11 Thread Ranjitsinh Rathod
From: Ranjitsinh Rathod Add a patch to fix CVE-2021-4160 The issue only affects OpenSSL on MIPS platforms. Link: https://security-tracker.debian.org/tracker/CVE-2021-4160 Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- .../openssl/openssl/CVE-2021-4160.patch | 145

Re: [OE-core] gio-querymodules: error while loading shared libraries: libffi.so.6: cannot open shared object file

2022-02-11 Thread Bryan Evenson
Alex, > -Original Message- > From: Alexander Kanavin > Sent: Tuesday, February 8, 2022 4:38 PM > To: Bryan Evenson > Cc: Patches and discussions about the oe-core layer c...@lists.openembedded.org> > Subject: Re: [OE-core] gio-querymodules: error while loading shared > libraries:

[OE-core] [PATCH] patchelf: Fix corrupted file mode patch

2022-02-11 Thread Richard Purdie
The recent patchelf upgrades corrupted the file permissions patch we carry as upstream inserted an early exit to the funciton. This showed up as corrupted file modes when testing a new uninative tarball containing this patchelf. Rework and tweak the patch to fix this. Signed-off-by: Richard

Re: [OE-core] [PATCH] sanity.class: Add possibility to configure networking check

2022-02-11 Thread Richard Purdie
On Fri, 2022-02-11 at 13:08 +0100, Jacob Kroon wrote: > On 2/11/22 12:39, Ross Burton wrote: > > On Fri, 11 Feb 2022 at 11:23, Jacob Kroon wrote: > > > I vote for removing the check altogether. > > > > > > As I understand it, the check was added in order to prevent > > > hard-to-interpret error

[OE-core] [PATCH] cmake: remove bogus CMAKE_LDFLAGS_FLAGS definition from toolchain file

2022-02-11 Thread Martin Beeger
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake file to configure the toolchain correctly in cross-compile build for recipes using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS,

[OE-core][dunfell][PATCH] freetype: add missing CVE tag CVE-2020-15999

2022-02-11 Thread Purushottam Choudhary
Signed-off-by: Purushottam Choudhary Signed-off-by: Purushottam Choudhary --- .../freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch| 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-graphics/freetype/freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch

Re: [OE-core] [PATCH] sanity.class: Add possibility to configure networking check

2022-02-11 Thread Jacob Kroon
On 2/11/22 12:39, Ross Burton wrote: > On Fri, 11 Feb 2022 at 11:23, Jacob Kroon wrote: >> I vote for removing the check altogether. >> >> As I understand it, the check was added in order to prevent >> hard-to-interpret error messages when network failed. I can live with that. > > I think the

[OE-core] [PATCH] sanity.bb: Change CONNECTIVITY_CHECK_URIS to YP

2022-02-11 Thread Pavel Zhukov
Do not rely on example.com . Having yoctoproject.org down may be much more easier to detect/investigate as far as it hosts mirrors. Signed-off-by: Pavel Zhukov --- meta/classes/sanity.bbclass | 3 ++- meta/conf/distro/include/default-distrovars.inc | 2 +- 2 files changed, 3

Re: [OE-core] [PATCH] sanity.class: Add possibility to configure networking check

2022-02-11 Thread Ross Burton
On Fri, 11 Feb 2022 at 11:23, Jacob Kroon wrote: > I vote for removing the check altogether. > > As I understand it, the check was added in order to prevent > hard-to-interpret error messages when network failed. I can live with that. I think the check should remain, and example.com has served

Re: [OE-core] [PATCH] sanity.class: Add possibility to configure networking check

2022-02-11 Thread Pavel Zhukov
That'd be simple change. CONNECTIVITY_CHECK_URIS = "" will disable this check altogether.-- Pavel11.02.2022, 12:23, "Jacob Kroon" :On 2/11/22 12:18, Ross Burton wrote: On Fri, 11 Feb 2022 at 08:44, Pavel Zhukov wrote: +for uri in test_uris: +try: +

Re: [OE-core] [PATCH] sanity.class: Add possibility to configure networking check

2022-02-11 Thread Jacob Kroon
On 2/11/22 12:18, Ross Burton wrote: > On Fri, 11 Feb 2022 at 08:44, Pavel Zhukov wrote: >> +for uri in test_uris: >> +try: >> +if check_all: >> +fetcher = bb.fetch2.Fetch(test_uris, data) >> +else: >> +

Re: [OE-core] [PATCH] sanity.class: Add possibility to configure networking check

2022-02-11 Thread Ross Burton
On Fri, 11 Feb 2022 at 08:44, Pavel Zhukov wrote: > +for uri in test_uris: > +try: > +if check_all: > +fetcher = bb.fetch2.Fetch(test_uris, data) > +else: > +fetcher = bb.fetch2.Fetch([uri], data) > +

[OE-core] [PATCH] webkitgtk: 2.34.4 -> 2.34.5

2022-02-11 Thread kai
From: Kai Kang Update webkitgtk from 2.34.4 to 2.34.5. It fixes CVE-2022-22589, CVE-2022-22590 and CVE-2022-22592 in 2.34.5 according to https://webkitgtk.org/security/WSA-2022-0002.html And fix indentation as well. CVE: CVE-2022-22589 CVE: CVE-2022-22590 CVE: CVE-2022-22592 Signed-off-by:

Re: [OE-core] [hardknott][PATCH] package_manager: ipk: Fix host manifest generation

2022-02-11 Thread Alexander Kanavin
Looks like your mail system broke the indentation? Alex On Fri, 11 Feb 2022 at 10:58, Christian Eggers wrote: > From: Oleksiy Obitotskyy > > Since honister host manifest stopped to generate, i.e. > manifest file is empty but all ipks/files into sdk is > ok. > > Signed-off-by: Oleksiy

[OE-core] [hardknott][PATCH] package_manager: ipk: Fix host manifest generation

2022-02-11 Thread Christian Eggers
From: Oleksiy Obitotskyy Since honister host manifest stopped to generate, i.e. manifest file is empty but all ipks/files into sdk is ok. Signed-off-by: Oleksiy Obitotskyy Signed-off-by: Richard Purdie (cherry picked from commit 79a2392f5d2a4cb6509a83afb40bca01bac59914) Signed-off-by: Anuj

[OE-core] [PATCH] sanity.class: Add possibility to configure networking check

2022-02-11 Thread Pavel Zhukov
Previously sanity checker required all uri listed in CONNECTIVITY_CHECK_URIS to be available for networking check. It caused selftests failures due to temprorary example.com unavailability. Add CONNECTIVITY_CHECK_ALL variable to change this behaviour and check for any host from the list to be

Re: [OE-core] [poky][master][PATCHv2] buildhistory.bbclass: Enable exporting more recipe and package data

2022-02-11 Thread Jacob Kroon
On 2/11/22 09:00, Mikko Rapeli wrote: > Hi, > > On Fri, Feb 11, 2022 at 04:49:21PM +1300, Paul Eggleton wrote: >> FWIW I'll just chime in here as the original author[1] and say I agree with >> Richard. If folks are needing an alternative SBOM generation mechanism to >> SPDX, or have other use

Re: [OE-core] [poky][master][PATCHv2] buildhistory.bbclass: Enable exporting more recipe and package data

2022-02-11 Thread Mikko Rapeli
Hi, On Fri, Feb 11, 2022 at 04:49:21PM +1300, Paul Eggleton wrote: > FWIW I'll just chime in here as the original author[1] and say I agree with > Richard. If folks are needing an alternative SBOM generation mechanism to > SPDX, or have other use cases for extracting build information, then I'd