Re: [OE-core] [PATCH] ncurses: Fix configure tests for exit and mbstate_t

2022-08-30 Thread Alexander Kanavin
On Wed, 31 Aug 2022 at 00:58, Khem Raj wrote: > +Add needed headers for including mbstate_t and exit() > + > +Upstream-Status: Inappropriate [Reconfigure will solve it] > +Signed-off-by: Khem Raj This would benefit from a better explanation: why isn't configure.ac being patched? What is 'reconfi

[OE-core] [PATCH] ncurses: Fix configure tests for exit and mbstate_t

2022-08-30 Thread Khem Raj
These tests do not include needed headers which results in warnings and as errors when using -Werror or latest clang e.g. Signed-off-by: Khem Raj --- .../ncurses/files/exit_prototype.patch| 22 +++ .../ncurses/ncurses_6.3+20220423.bb | 1 + 2 files changed, 23

Re: [OE-core] Yocto Project Status 30 August 2022 (WW35)

2022-08-30 Thread Alexander Kanavin
On Tue, 30 Aug 2022 at 22:40, Richard Purdie wrote: > Thanks! We haven't quite found the exact trigger to reproduce it but it > seems related to rebuilds somehow. Yes, this usually happens when new patches from master get pulled in and perl is rebuilding on top of a previous build. It then cleans

Re: [OE-core] Yocto Project Status 30 August 2022 (WW35)

2022-08-30 Thread Richard Purdie
On Tue, 2022-08-30 at 17:54 +0200, Alexander Kanavin wrote: > On Tue, 30 Aug 2022 at 16:49, Stephen Jolley wrote: > > layer setup changes didn’t test successfully > > The latest patchset has no known issues. I think I may be lagging a little behind on status. I did see a lot of confusion about t

Re: [OE-core] [PATCH] mesa: upgrade 22.1.6 -> 22.1.7

2022-08-30 Thread Alexandre Belloni via lists.openembedded.org
On 30/08/2022 12:11:50+0800, wangmy wrote: > Signed-off-by: Wang Mingyu > --- > meta/recipes-graphics/mesa/mesa.inc | 2 +- > meta/recipes-graphics/mesa/{mesa_22.1.6.bb => mesa_22.1.7.bb} | 0 I believe you forgot meta/recipes-graphics/mesa/mesa-gl_22.1.6.bb > 2 files

Re: [OE-core][PATCH] bitbake.conf: Add resource vars to hash ignore list

2022-08-30 Thread Richard Purdie
On Tue, 2022-08-30 at 15:27 -0400, Wes Lindauer wrote: > I think I understand. I am sorry for the FAD. I was experiencing this > sstate mismatch on the dunfell branch that does not contain the > 'XZ_THREADS[vardepvalue] = "1"' change. This is probably why I > attempted my change in the hash exclude

Re: [OE-core][PATCH] bitbake.conf: Add resource vars to hash ignore list

2022-08-30 Thread Wes Lindauer
I think I understand. I am sorry for the FAD. I was experiencing this sstate mismatch on the dunfell branch that does not contain the 'XZ_THREADS[vardepvalue] = "1"' change. This is probably why I attempted my change in the hash exclude list and then tried to "port it forward to master". I apprecia

[OE-core] [PATCH 1/2] mesa: add pipe-loader's libraries to libopencl-mesa package

2022-08-30 Thread Andrey Konovalov
clover needs those. Signed-off-by: Andrey Konovalov --- meta/recipes-graphics/mesa/mesa.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index c4efc13438..eb7296e834 100644 --- a/meta/recipes-graphi

[OE-core] [PATCH 2/2] mesa: build clover with native LLVM codegen support for freedreno

2022-08-30 Thread Andrey Konovalov
Signed-off-by: Andrey Konovalov --- meta/recipes-graphics/mesa/mesa.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index eb7296e834..1e04aff998 100644 --- a/meta/recipes-graphics/mesa/mesa.inc ++

[OE-core] [dunfell][PATCHv2] u-boot: fix CVE-2022-34835

2022-08-30 Thread Minjae Kim
i2c: fix stack buffer overflow vulnerability in i2c md command CVE: CVE-2022-34835 Signed-off-by:Minjae Kim --- .../u-boot/files/CVE-2022-34835.patch | 124 ++ meta/recipes-bsp/u-boot/u-boot_2020.01.bb | 4 + 2 files changed, 128 insertions(+) create mode 100644 m

Re: [OE-core] [dunfell][PATCH] u-boot: fix CVE-2022-34835

2022-08-30 Thread Minjae Kim
@Tom and Steve! I just checked this issue because I was on a long vacation for personal reasons. Sorry for the late response. I'll update this patch with the latest dunfell branch. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#170083): https://lis

Re: [OE-core] [PATCH 2/2][kirkstone] linux-yocto/5.10: update to v5.10.137

2022-08-30 Thread Steve Sakoman
On Tue, Aug 30, 2022 at 7:07 AM Steve Sakoman via lists.openembedded.org wrote: > > On Mon, Aug 29, 2022 at 4:08 PM Bruce Ashfield > wrote: > > > > On Mon, Aug 29, 2022 at 5:56 PM Steve Sakoman wrote: > > > > > > Unfortunately I'm getting a build error in lttng-modules with these > > > updates

Re: [OE-core] [PATCH 2/2][kirkstone] linux-yocto/5.10: update to v5.10.137

2022-08-30 Thread Steve Sakoman
On Mon, Aug 29, 2022 at 4:08 PM Bruce Ashfield wrote: > > On Mon, Aug 29, 2022 at 5:56 PM Steve Sakoman wrote: > > > > Unfortunately I'm getting a build error in lttng-modules with these updates: > > > > https://errors.yoctoproject.org/Errors/Details/670595/ > > Right. Someone else will have to l

[OE-core] [PATCH v2] rust-target-config: Fix qemuppc target cpu option

2022-08-30 Thread Richard Purdie
We see a lot of warnings about incorrect processor types on qemuppc, drowning out anything else. Fix the option. Signed-off-by: Richard Purdie --- meta/classes-recipe/rust-target-config.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/rust-targ

[OE-core] [PATCH 1/2] llvm: Add llvm-config wrapper to improve flags handling

2022-08-30 Thread Richard Purdie
Add a wrapper for llvm-config which provides flags from the current envrionment instead of the values hardcoded into llvm-native at compile time. Inspiration taken from the wrapper in meta-clang but I had to totally rewrite it as: * the TARGET_* prefixes weren't in our environment * meson uses --l

[OE-core] [PATCH 2/2] mesa: Rework llvm handling

2022-08-30 Thread Richard Purdie
meson in mesa no longer uses WANT_LLVM_RELEASE and LLVM_CONFIG so drop those. Instead, copy the llvm-config binary into the target sysroot which allows the paths to be relocated to the target in question. This should allow the llvm patch for YOCTO_ALTERNATE_EXE_PATH to be dropped assuming nothing e

Re: [OE-core] [PATCH] vulkan: upgrade 1.3.216.0 -> 1.3.224.1

2022-08-30 Thread Alexandre Belloni via lists.openembedded.org
This fails on the autobuilders: https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5828/steps/11/logs/stdio On 30/08/2022 16:59:50+0800, wangmy wrote: > spirv-tools: > 0001-Remove-default-copy-constructor-in-header.-4879.patch > removed since it's included in 1.3.224.1 > > Signe

[OE-core][PATCH] classes: cve-check: Get shared database lock

2022-08-30 Thread Joshua Watt
The CVE check database needs to have a shared lock acquired on it before it is accessed. This to prevent cve-update-db-native from deleting the database file out from underneath it. [YOCTO #14899] Signed-off-by: Joshua Watt --- meta/classes/cve-check.bbclass | 23 --- 1 file

Re: [OE-core] Yocto Project Status 30 August 2022 (WW35)

2022-08-30 Thread Alexander Kanavin
On Tue, 30 Aug 2022 at 16:49, Stephen Jolley wrote: > layer setup changes didn’t test successfully The latest patchset has no known issues. > operl builds hanging indefinitely: > https://bugzilla.yoctoproject.org/show_bug.cgi?id=14902 I will look into this. Findings will go into the ticket

[OE-core] Yocto Project Status 30 August 2022 (WW35)

2022-08-30 Thread Stephen Jolley
Current Dev Position: YP 4.1 M3 (Feature Freeze) Next Deadline: 22nd August 2022 YP 4.1 M3 Build Next Team Meetings: * Bug Triage meeting Thursday September 1st 7:30 am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM

[OE-core] [kirkstone][PATCH] linux-yocto: Fix COMPATIBLE_MACHINE regex match

2022-08-30 Thread Andrei Gherzan
From: Andrei Gherzan With the current regex expression, a machine that is not part of the compatible could match the regex expression. For example, consider the following COMPATIBLE_MACHINE: COMPATIBLE_MACHINE = "qemuarm|qemuarm64" A machine definition bringing in "qemuarm-foo" would match aga

Re: [OE-core] [PATCH v2] rng-tools: Remove depndencies on hwrng

2022-08-30 Thread Randy MacLeod
On 2022-08-22 21:47, Khem Raj wrote: Delete dependency on dev-hwrng.device and systemd-udev-settle services as they can be troublesome because difference devices may have different devices to detect resulting in delayed boot. As Kevin pointed out to me, it's also deprecated: https://github.com

[oe-core][PATCHv2] packagegroup-base.bb: add a configure option to set the wireless-daemon

2022-08-30 Thread Markus Volk
Possible options would be wpa-supplicant or iwd. iwd is a wireless daemon written by intel and supported by all major network managers. It can be run in standalone mode and configured with 'iwctl' from the terminal, and with 'iwgtk' or 'iwdgui' from the gui. It can also work as a wpa_supplicant

Re: [oe-core][PATCH] packagegroup-base.bb: add a configure option to set the wireless-daemon

2022-08-30 Thread Markus Volk
Am Di, 30. Aug 2022 um 10:56:08 +0200 schrieb Alexandre Belloni : Doesn't that break existing layers and bbappends? Since the WIRELESS_DAEMON option in connman has only existed for a few days, I don't think there are already layers that depend on it. Previously wpa-supplicant was automaticall

Re: [OE-core] [PATCH] vulkan: upgrade 1.3.216.0 -> 1.3.224.1

2022-08-30 Thread Alexander Kanavin
Thanks, this is good. Alex On Tue, 30 Aug 2022 at 11:00, wangmy wrote: > > spirv-tools: > 0001-Remove-default-copy-constructor-in-header.-4879.patch > removed since it's included in 1.3.224.1 > > Signed-off-by: Wang Mingyu > --- > ...lang_1.3.216.0.bb => glslang_1.3.224.1.bb} | 2 +- >

[OE-core] [PATCH] vulkan: upgrade 1.3.216.0 -> 1.3.224.1

2022-08-30 Thread wangmy
spirv-tools: 0001-Remove-default-copy-constructor-in-header.-4879.patch removed since it's included in 1.3.224.1 Signed-off-by: Wang Mingyu --- ...lang_1.3.216.0.bb => glslang_1.3.224.1.bb} | 2 +- 3.216.0.bb => spirv-headers_1.3.224.1.bb} | 0 ...ult-copy-constructor-in-header.-4879.pat

Re: [oe-core][PATCH] packagegroup-base.bb: add a configure option to set the wireless-daemon

2022-08-30 Thread Alexandre Belloni via lists.openembedded.org
On 30/08/2022 07:11:08+0200, Markus Volk wrote: > Possible options would be wpa-supplicant or iwd. > > iwd is a wireless daemon written by intel and supported by all major network > managers. > It can be run in standalone mode and configured with 'iwctl' from the > terminal, and > with 'iwgtk' o

Re: [OE-core] [PATCH] vulkan-headers: upgrade 1.3.216.0 -> 1.3.225

2022-08-30 Thread Alexander Kanavin
We only take sdk-x.y.z updates for vulkan (as seen in UPSTREAM_CHECK_GITTAGREGEX), not regular point releases. So you need to take what 'devtool latest-version' suggests. Also, all vulkan recipes should be updated in a single commit for bisectability, those are: meta/recipes-graphics/vulkan/vulkan