Re: [OE-core] [kirkstone][PATCH 1/2] Revert "ovmf: Fix CVE-2023-45237"

2025-02-20 Thread Kai Kang via lists.openembedded.org
On 2/20/25 22:27, Steve Sakoman wrote: On Wed, Feb 19, 2025 at 10:03 PM Kai wrote: On 2/19/25 23:19, Steve Sakoman wrote: Hi Kai, Not sure why, but this fails to apply for me: Applying: Revert "ovmf: Fix CVE-2023-45237" Using index info to reconstruct a base tree... error: pa

Re: [OE-core] [kirkstone][PATCH 1/2] Revert "ovmf: Fix CVE-2023-45237"

2025-02-19 Thread Kai Kang via lists.openembedded.org
On 2/19/25 23:19, Steve Sakoman wrote: Hi Kai, Not sure why, but this fails to apply for me: Applying: Revert "ovmf: Fix CVE-2023-45237" Using index info to reconstruct a base tree... error: patch failed: meta/recipes-core/ovmf/ovmf/CVE-2023-45237-0001.patch:1 error: meta/recipes

Re: [OE-core] [kirkstone][PATCH 1/2] qemu: fix compile error with lttng-ust

2025-02-19 Thread Kai Kang via lists.openembedded.org
On 2/20/25 04:03, Steve Sakoman wrote: Hi Kai, I'm getting reproducibility errors with this patch set: AssertionError: The following deb packages are missing or different and not in exclusion list: /srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB/tmp/deploy/deb/./cor

[OE-core] [kirkstone][PATCH 2/2] Revert "ovmf: Fix CVE-2023-45236"

2025-02-19 Thread Kai Kang via lists.openembedded.org
From: Kai Kang This reverts commit dd8ed68222f9249766bb4c376833d7d63d601c41. The fix for CVE-2023-45237 has been reverted. And the fix for CVE-2023-45236 depends on it. So revert it too. Signed-off-by: Kai Kang --- .../ovmf/ovmf/CVE-2023-45236.patch| 829 -- meta

[OE-core] [kirkstone][PATCH 1/2] Revert "ovmf: Fix CVE-2023-45237"

2025-02-19 Thread Kai Kang via lists.openembedded.org
From: Kai Kang This reverts commit 4c2d3e37308cac98614dfafed79b7323423af8bc. The fix for CVE-2023-45237 causes ovmf firmware not support pxe boot any more and no boot item in OVMF menu such as UEFI PXEv4 (MAC address) It has not been fixed by ovmf upstream and an issue has been created on

[OE-core] [kirkstone][PATCH 2/2] qemu: update PACKAGECONFIG ust

2025-02-19 Thread Kai Kang via lists.openembedded.org
From: Kai Kang When PACKAGECONFIG ust is not enabled, it sets trace backend with 'nop' which disables tracing for qemu. It should use the default backend 'log' rather than disable tracing. Signed-off-by: Kai Kang --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file

[OE-core] [kirkstone][PATCH 1/2] qemu: fix compile error with lttng-ust

2025-02-19 Thread Kai Kang via lists.openembedded.org
From: Kai Kang When PACKAGECONFIG ust is enabled for qemu, it fails to compile: | In file included from trace/trace-ust-all.h:44179, | from trace/trace-ust-all.c:13: | /path_to/qemu/6.2.0-r0/recipe-sysroot/usr/include/lttng/tracepoint-event.h:67:10: error: #include expects

[OE-core] [kirkstone][PATCH 1/2] webkitgtk: Fix build on 32bit arm

2024-11-14 Thread Kai Kang via lists.openembedded.org
From: Khem Raj Signed-off-by: Khem Raj Cc: Mingli Yu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (From OE-Core rev: 9294ccb9530ce70b2513b2e112644ec5e9f8e701) Signed-off-by: Kai Kang --- ...44e17d258106617b0e6d783d073b188a2548.patch | 296 ++ meta

[OE-core] [kirkstone][PATCH 2/2] webkitgtk: fix perl-native dependency

2024-11-14 Thread Kai Kang via lists.openembedded.org
.. DEPENDS = " \ ..." Adjust the DEPENDS line to use += in order to fix this. Signed-off-by: Ovidiu Panait Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (From OE-Core rev: a207c8f42f809340e0794cd326cb5c45e32d7d56) Signed-off-by: Kai Kang --- meta/recipes-sato/webkit

[OE-core] [PATCH v2] kexec-tools: update COMPATIBLE_HOST because of makedumpfile

2024-11-01 Thread Kai Kang via lists.openembedded.org
From: Kai Kang makedumpfile is not compatible with mipsarcho32 and riscv32, so set for kexec-tools accordingly. And update packagegroup-core-tools-testapps too. Signed-off-by: Kai Kang --- .../packagegroups/packagegroup-core-tools-testapps.bb | 1 + meta/recipes-kernel/kexec/kexec

[OE-core] [PATCH] kexec-tools: update COMPATIBLE_HOST because of makedumpfile

2024-11-01 Thread Kai Kang via lists.openembedded.org
From: Kai Kang makedumpfile is not compatible with mipsarcho32 and riscv32, so set for kexec-tools accordingly. Signed-off-by: Kai Kang --- meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb b

[OE-core] [PATCH] systemd: fix VERSION_TAG related build error

2024-07-16 Thread Kai Kang via lists.openembedded.org
From: Kai Kang The patch 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch for systemd-boot is also required by systemd to resolve VERSION_TAG related build error. Signed-off-by: Kai Kang --- meta/recipes-core/systemd/systemd_256.bb | 1 + 1 file changed, 1 insertion(+) diff

Re: [OE-core] [PATCH v3 1/1] gfortran: update runtime dependencies

2024-07-15 Thread Kai Kang via lists.openembedded.org
On 7/15/24 17:59, Martin Jansa wrote: Hi Kai, are you also seeing these buildpaths warnings from libgfortran? These will be fatal since ERROR_QA update from yesterday: https://git.openembedded.org/openembedded-core/commit/?id=b79b191cc43a45dde2adb61ea349b426cb2461d1 and it probably wasn&#

Re: [OE-core] [PATCH v3 0/1] Update for gfortran

2024-06-30 Thread Kai Kang via lists.openembedded.org
On 6/28/24 06:16, Alexandre Belloni wrote: On 24/06/2024 18:06:38+0800, Kai wrote: On 6/18/24 14:40, Alexandre Belloni wrote: You must always resend the whole series, else ths patch is not applicable as-is. The work must be on your side, not on the maintainer's side. Because the first

[OE-core] [PATCH v3 1/1] glibc: fix fortran header file conflict for arm

2024-06-24 Thread Kai Kang via lists.openembedded.org
From: Kai Kang There is a file conflict for arm when multilib enabled: | Error: Transaction test error: | file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626

[OE-core] [PATCH v3 0/1] Fix glibc fortran header conflict for arm

2024-06-24 Thread Kai Kang via lists.openembedded.org
From: Kai Kang Tested for qemuarm64 with multilib enabled: 1. set machine and enable multilib require conf/multilib.conf MULTILIBS = "multilib:lib32" MACHINE = "qemuarm64" DEFAULTTUNE:virtclass-multilib-lib32 = "armv7vethf-neon" 2.

Re: [OE-core] [PATCH v3 1/1] gfortran: update runtime dependencies

2024-06-24 Thread Kai Kang via lists.openembedded.org
On 6/19/24 23:00, Martin Jansa wrote: See https://lists.openembedded.org/g/openembedded-core/message/200915 which allows to me to build nativesdk-gcc again. Thanks for your fix. Regards, Kai I've built nativesdk-libgfortran and libgfortran with the patch, but haven't used

Re: [OE-core] [PATCH v3 0/1] Update for gfortran

2024-06-24 Thread Kai Kang via lists.openembedded.org
ed on master-next. Regards, Kai On 16/06/2024 23:31:34+0800, Kai Kang via lists.openembedded.org wrote: From: Kai Kang v3: * update INSANE_SKIP for ${MLPREFIX}gfortran v2: * add sub-package gfortran conditionally Kai Kang (1): gfortran: update runtime dependencies meta/recipes-devtools/gc

[OE-core] [PATCH v3 1/1] gfortran: update runtime dependencies

2024-06-16 Thread Kai Kang via lists.openembedded.org
From: Kai Kang It fails to run both `gcc` and `gfortran` with errors: | root@qemux86-64:~# x86_64-poky-linux-gcc a.c | x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory then add binutils which provides `as` to RDEPENDS of gcc. libgf

[OE-core] [PATCH v3 0/1] Update for gfortran

2024-06-16 Thread Kai Kang via lists.openembedded.org
From: Kai Kang v3: * update INSANE_SKIP for ${MLPREFIX}gfortran v2: * add sub-package gfortran conditionally Kai Kang (1): gfortran: update runtime dependencies meta/recipes-devtools/gcc/gcc-target.inc | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.34.1

[OE-core] [PATCH v2 1/2] gfortran: update runtime dependencies

2024-06-14 Thread Kai Kang via lists.openembedded.org
From: Kai Kang It fails to run both `gcc` and `gfortran` with errors: | root@qemux86-64:~# x86_64-poky-linux-gcc a.c | x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory then add binutils which provides `as` to RDEPENDS of gcc. libgf

[OE-core] [PATCH v2 2/2] gcc: remove g77/f77

2024-06-14 Thread Kai Kang via lists.openembedded.org
From: Kai Kang g77/f77 has been removed from gcc 4.0.0 via commit: * b4117c30610 Makefile.def, [...]: Remove all mention of libf2c. When set FORTRAN = ",f77" it complains with error: | The following requested languages could not be built: f77 | Supported languages are: c,c,c

[OE-core] [PATCH v2 0/2] Update for gfortran

2024-06-14 Thread Kai Kang via lists.openembedded.org
From: Kai Kang v2: * add sub-package gfortran conditionally Kai Kang (2): gfortran: update runtime dependencies gcc: remove g77/f77 .../gcc/gcc-configure-common.inc | 2 +- meta/recipes-devtools/gcc/gcc-runtime.inc | 13 + meta/recipes-devtools/gcc/gcc-target.inc

Re: [OE-core] [PATCH 1/2] gfortran: update runtime dependencies

2024-06-13 Thread Kai Kang via lists.openembedded.org
On 6/14/24 05:56, Richard Purdie wrote: On Thu, 2024-06-13 at 19:51 +0800, Kai Kang via lists.openembedded.org wrote: From: Kai Kang It fails to run both `gcc` and `gfortran` with errors: root@qemux86-64:~# x86_64-poky-linux-gcc a.c x86_64-poky-linux-gcc: fatal error: cannot execute &#x

[OE-core] [PATCH 2/2] gcc: remove g77/f77

2024-06-13 Thread Kai Kang via lists.openembedded.org
From: Kai Kang g77/f77 has been removed from gcc 4.0.0 via commit: * b4117c30610 Makefile.def, [...]: Remove all mention of libf2c. When set FORTRAN = ",f77" it complains with error: | The following requested languages could not be built: f77 | Supported languages are: c,c,c

[OE-core] [PATCH 1/2] gfortran: update runtime dependencies

2024-06-13 Thread Kai Kang via lists.openembedded.org
From: Kai Kang It fails to run both `gcc` and `gfortran` with errors: | root@qemux86-64:~# x86_64-poky-linux-gcc a.c | x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory then add binutils which provides `as` to RDEPENDS of gcc. libgf

[OE-core] [PATCH] multilib.bbclass: replace deprecated e.data with d

2024-06-04 Thread Kai Kang via lists.openembedded.org
From: Kai Kang Replace deprecated e.data with d in multilib.bbclass and multilib_global.bbclass. Remove event check in function multilib_virtclass_handler_vendor in multilib_global.bbclass. The function flag 'eventmask' has been set with 'bb.event.ConfigParsed', so no nee

[OE-core] [PATCH] cmake-qemu.bbclass: fix if criterion

2024-06-03 Thread Kai Kang
From: Kai Kang It always executes the scripts whether 'qemu-usermode' in 'MACHINE_FEATURES' or not. Fix the criterion to make it work. Signed-off-by: Kai Kang --- meta/classes-recipe/cmake-qemu.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[OE-core] [PATCH v2] glibc: fix multilib headers conflict for arm

2024-05-10 Thread Kai Kang
From: Kai Kang The header files conflic when multilib enabled for arm: | Error: Transaction test error: | file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626

[OE-core] [PATCH] webkitgtk: 2.44.0 -> 2.44.1

2024-04-11 Thread Kai Kang
From: Kai Kang Update webkitgtk from 2.44.0 to the first bug fix release in the stable 2.44 series 2.44.1. * remove backported patch What's new in the WebKitGTK 2.44.1 release? === - Fix handling of lifetime of web view child dialogs in GTK4.

Re: [OE-core] [PATCH] glibc: fix multilib headers conflict for arm

2024-03-04 Thread Kai Kang
On 3/5/24 01:00, Richard Purdie wrote: On Mon, 2024-03-04 at 09:12 +0800, Kai Kang wrote: From: Kai Kang The header files conflic when multilib enabled for arm: Error: Transaction test error:   file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of

[OE-core] [PATCH] glibc: fix multilib headers conflict for arm

2024-03-03 Thread Kai Kang
From: Kai Kang The header files conflic when multilib enabled for arm: | Error: Transaction test error: | file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626

[OE-core] [PATCH] nativesdk-cairo: fix build error

2024-01-22 Thread Kai Kang
From: Kai Kang It fails to build nativesdk-cairo: | ../cairo-1.18.0/meson.build:381:13: ERROR: Can not run test applications in this cross environment. Set meson property ipc_rmid_deferred_release in cross-file to fix the issue which is as same as for target cairo Signed-off-by: Kai Kang

[OE-core] [PATCH] p11-kit: fix parallel build failures

2024-01-21 Thread Kai Kang
From: Kai Kang It fails occasionally with missing generated header files: | ../git/common/asn1.c:42:10: fatal error: openssl.asn.h: No such file or directory |42 | #include "openssl.asn.h" | | ^~~ | compilation terminated. According to meson manual pa

[OE-core] [PATCH] xserver-xorg: 21.1.9 -> 21.1.11

2024-01-18 Thread Kai Kang
From: Kai Kang Update xserver-xorg from 21.1.9 to 21.1.11. Release Notes of 21.1.11 [1]: This release contains fixes for the issues reported in today's security advisory: https://lists.x.org/archives/xorg/2024-January/061525.html * CVE-2023-6816 * CVE-2024-0229 * CVE-2024-21885 * CVE

[OE-core] [mickledore][PATCH] xserver-xorg: fix CVE-2023-5367 & CVE-2023-5380

2023-11-08 Thread Kai Kang
From: Kai Kang CVE: CVE-2023-5367 CVE: CVE-2023-5380 Backport patches to fix CVE-2023-5367 & CVE-2023-5380 for xserver-xorg. Signed-off-by: Kai Kang --- .../xserver-xorg/CVE-2023-5367.patch | 85 +++ .../xserver-xorg/CVE-2023-5380.patch |

[OE-core] [PATCH v3] adwaita-icon-theme: 43 -> 45.0

2023-09-22 Thread Kai Kang
From: Kai Kang Update adwaita-icon-theme from 43 to 45.0. * meson is used to replace autotools, then the patch is redundant * not overwrite PACKAGES, and remove sub-packages ${PN}-hires and ${PN}-symbolic-hires which are created to handle big icon files which do not exist in adwaita-icon

Re: [OE-core] [PATCH v2] adwaita-icon-theme: 43 -> 45.0

2023-09-21 Thread Kai Kang
inherit allarch after gnomebase which inherit meson doesn't fail the oe-test. Many thanks. Kai - you should not set GTK_IC = "4", as I had previously assumed -- Kai Kang Wind River Linux -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. Vie

Re: [OE-core] [PATCH v2] adwaita-icon-theme: 43 -> 45.0

2023-09-21 Thread Kai Kang
On 9/21/23 15:06, Alexander Kanavin wrote: Did you verify that fail in https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/5795/steps/14/logs/stdio does not occur? Yes, it is caused by the update. I'll check the root cause. Regards, Kai Also booting sato and checking th

[OE-core] [PATCH v2] adwaita-icon-theme: 43 -> 45.0

2023-09-20 Thread Kai Kang
From: Kai Kang Update adwaita-icon-theme from 43 to 45.0. * meson is used to replace autotools, then the patch is redundant * not overwrite PACKAGES and split license files to ${PN}-doc Signed-off-by: Kai Kang --- v2: * not overwrite PACKAGES and split license files to ${PN}-doc .../0001

Re: [OE-core] [PATCH] adwaita-icon-theme: 43 -> 45.0

2023-09-20 Thread Kai Kang
On 9/21/23 13:49, Alexander Kanavin wrote: On Thu, 21 Sept 2023 at 07:14, Kai Kang wrote: -inherit allarch autotools pkgconfig gettext gtk-icon-cache gnomebase +inherit allarch gnomebase gtk-icon-cache meson gnomebase inherits autotools by default via GNOMEBASEBUILDCLASS, so that needs to be

[OE-core] [PATCH] adwaita-icon-theme: 43 -> 45.0

2023-09-20 Thread Kai Kang
From: Kai Kang Update adwaita-icon-theme from 43 to 45.0. * meson is used to replace autotools, then the patch is redundant Signed-off-by: Kai Kang --- .../0001-Don-t-use-AC_CANONICAL_HOST.patch| 27 --- ...theme_43.bb => adwaita-icon-theme_45.0.bb} | 7 +++-- 2 fi

[OE-core] [PATCH] goarch.bbclass: not compatible with riscv32

2023-09-12 Thread Kai Kang
From: Kai Kang It fails to build recipes which inherit goarch.bbclass for qemuriscv32: | ERROR: Nothing PROVIDES 'docker-moby' | docker-moby was skipped: Unsupported CPU architecture: riscv32 So empty COMPATIBLE_HOST for riscv32. Signed-off-by: Kai Kang --- meta/clas

[OE-core] [mickledore][PATCH 1/2] webkitgtk: fix CVE-2023-32439

2023-09-07 Thread Kai Kang
From: Kai Kang Backport patch to fix CVE-2023-32439 for webkitgtk. CVE: CVE-2023-32439 Signed-off-by: Kai Kang --- .../webkit/webkitgtk/CVE-2023-32439.patch | 128 ++ meta/recipes-sato/webkit/webkitgtk_2.38.6.bb | 1 + 2 files changed, 129 insertions(+) create mode

[OE-core] [mickledore][PATCH 2/2] webkitgtk: fix CVE-2023-32435

2023-09-07 Thread Kai Kang
From: Kai Kang Backport and rebase patch to fix CVE-2023-32435 for webkitgtk 2.38.6: * drop the patches for the files WasmAirIRGenerator64.cpp and WasmAirIRGeneratorBase.h which are involved in 2.40.0 * drop test cases as well CVE: CVE-2023-32435 Signed-off-by: Kai Kang --- .../webkit

[OE-core] [PATCH] webkitgtk: fix build failure with DEBUG_BUILD enabled

2023-09-04 Thread Kai Kang
From: Kai Kang It fails to compile webkitgtk when debug build enabled: | /path_to/tmp/work/core2-64-poky-linux/webkitgtk/2.40.5/webkitgtk-2.40.5/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1: error: inlining failed in call to 'always_inline' 'pas_al

[OE-core] [kirkstone][PATCH] webkitgtk: fix CVE-2023-23529

2023-09-04 Thread Kai Kang
From: Kai Kang Backport and rebase patch to fix CVE-2023-23529. CVE: CVE-2023-23529 Signed-off-by: Kai Kang --- .../webkit/webkitgtk/CVE-2023-23529.patch | 65 +++ meta/recipes-sato/webkit/webkitgtk_2.36.8.bb | 1 + 2 files changed, 66 insertions(+) create mode 100644

Re: [OE-core] [PATCH] init-manager-systemd.inc: update KERNEL_FEATURES

2023-08-24 Thread Kai Kang
On 8/25/23 00:22, Khem Raj wrote: On 8/24/23 2:07 AM, Kai Kang wrote: From: Kai Kang Append cfg/systemd.scc to init-manager-systemd.inc which enables kernel config CONFIG_FHANDLE. The config is required by systemd >= 209 [1]:    you have to enable CONFIG_FHANDLE in your kernel to use syst

[OE-core] [PATCH] init-manager-systemd.inc: update KERNEL_FEATURES

2023-08-24 Thread Kai Kang
From: Kai Kang Append cfg/systemd.scc to init-manager-systemd.inc which enables kernel config CONFIG_FHANDLE. The config is required by systemd >= 209 [1]: you have to enable CONFIG_FHANDLE in your kernel to use systemd >= 209 successfully, otherwise udev won't find any d

Re: [OE-core] [PATCH] llvm: remove libLTO.so.*

2023-08-22 Thread Kai Kang
On 8/22/23 00:44, Khem Raj wrote: On 8/20/23 7:36 PM, Kai Kang wrote: From: Kai Kang Remove libLTO.so.* from llvm which should be provided by clang and packaged to llvm-linker-tools. It could avoids the error: ERROR: clang-16.0.6-r0 do_create_spdx: The recipe clang is trying to

[OE-core] [PATCH] llvm: remove libLTO.so.*

2023-08-20 Thread Kai Kang
From: Kai Kang Remove libLTO.so.* from llvm which should be provided by clang and packaged to llvm-linker-tools. It could avoids the error: ERROR: clang-16.0.6-r0 do_create_spdx: The recipe clang is trying to install files into a shared area when those files already exist. Those

Re: [OE-core] [mickledore][PATCH] webkitgtk: disable DEBUG_BUILD

2023-07-24 Thread Kai Kang
m not sure that is a good fix. I'll discuss with upstream about it. Regards, Kai Alex On Mon, 24 Jul 2023 at 09:48, Kai Kang wrote: From: Kai Kang It fails to build webkitgtk with DEBUG_BUILD: Source/bmalloc/libpas/src/libpas/pas_generic_large_free_heap.h:140:1: err

[OE-core] [mickledore][PATCH] webkitgtk: disable DEBUG_BUILD

2023-07-24 Thread Kai Kang
From: Kai Kang It fails to build webkitgtk with DEBUG_BUILD: Source/bmalloc/libpas/src/libpas/pas_generic_large_free_heap.h:140:1: error: inlining failed in call to 'always_inline' 'pas_generic_large_free_heap_try_allocate_test_allocation_candidate': indirect func

[OE-core] [mickledore][PATCH] webkitgtk: 2.38.5 -> 2.38.6

2023-07-17 Thread Kai Kang
From: Kai Kang Update webkitgtk from 2.38.5 to 2.38.6. It fixes CVE-2023-27932 and CVE-2023-27954. What’s new in the WebKitGTK 2.38.6 release? * Enable the Asynchronous Clipboard API to make certain pages work (e.g. GithHub started recently requiring it). * Support :has() CSS selectors in

Re: [OE-core] [mickledore][PATCH 0/1] Cherry pick commit from master to update webkitgtk to 2.40.2

2023-07-16 Thread Kai Kang
On 7/14/23 15:15, Kai Kang wrote: From: Kai Kang Hi, I've discussed with webkitgtk maintainers about api compatable issues on https://lists.webkit.org/pipermail/webkit-gtk/2023-March/003887.html WebKitGTK 2.38.x is backwards compatible with 2.36.x, you can safely update without needi

Re: [OE-core] [mickledore][PATCH] libx11: fix CVE-2023-3138

2023-07-16 Thread Kai Kang
On 7/15/23 00:13, Steve Sakoman wrote: This is being handled with a stable branch version bump which is in the current test queue: "libx11: upgrade 1.8.5 -> 1.8.6" OK. Thanks. Kai Steve On Fri, Jul 14, 2023 at 5:05 AM Kai Kang wrote: From: Kai Kang CVE: CVE-2023-3138 B

[OE-core] [mickledore][PATCH] libx11: fix CVE-2023-3138

2023-07-14 Thread Kai Kang
From: Kai Kang CVE: CVE-2023-3138 Backport patch to fix CVE-2023-3138 for libx11. Signed-off-by: Kai Kang --- .../xorg-lib/libx11/CVE-2023-3138.patch | 113 ++ .../recipes-graphics/xorg-lib/libx11_1.8.5.bb | 4 +- 2 files changed, 116 insertions(+), 1 deletion

[OE-core] [mickledore][PATCH 1/1] webkitgtk: update 2.38.5 -> 2.40.2

2023-07-14 Thread Kai Kang
Signed-off-by: Richard Purdie Cherry pick from master and update context for SRC_URI. Signed-off-by: Kai Kang --- meta/recipes-gnome/epiphany/epiphany_43.1.bb | 3 ++ ...tCore-CMakeLists.txt-ensure-reproduc.patch | 28 + ...44e17d258106617b0e6d783d073b188a2548.patch | 42

[OE-core] [mickledore][PATCH 0/1] Cherry pick commit from master to update webkitgtk to 2.40.2

2023-07-14 Thread Kai Kang
From: Kai Kang Hi, I've discussed with webkitgtk maintainers about api compatable issues on https://lists.webkit.org/pipermail/webkit-gtk/2023-March/003887.html > WebKitGTK 2.38.x is backwards compatible with 2.36.x, you can safely update without needing to change applications. In

[OE-core] [PATCH] pm-utils: fix multilib conflictions

2023-05-24 Thread Kai Kang
From: Kai Kang It fails to instal pm-utils and lib32-pm-utils at same time: Error: Transaction test error: file /usr/bin/pm-is-supported conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64 file /usr/sbin/pm-hibernate conflicts between

[OE-core] [kirkstone][PATCH] webkitgtk: fix CVE-2022-32888 & CVE-2022-32923

2023-05-05 Thread Kai Kang
From: Kai Kang Backport patches to fix CVE-2022-32888 and CVE-2022-32923 for webkitgtk 2.36.8. The bugzilla IDs of the CVEs are from https://support.apple.com which have been listed in patch headers. Signed-off-by: Kai Kang --- .../webkit/webkitgtk/CVE-2022-32888.patch | 41

[OE-core] [PATCH] libnotify: remove dependency dbus

2023-04-06 Thread Kai Kang
From: Kai Kang It ported to use GDBus in libnotify 0.7.0 [1]. So remove dbus from DEPENDS. And GDBus is provided by glib-2.0. [1]: https://gitlab.gnome.org/GNOME/libnotify/-/commit/f63e8ab Signed-off-by: Kai Kang --- meta/recipes-gnome/libnotify/libnotify_0.8.2.bb | 2 +- 1 file changed, 1

[OE-core] [PATCH] mesa: fix non-trivial designated initializers issue

2023-04-04 Thread Kai Kang
From: Kai Kang It fails to compile intel/compiler/brw_simd_selection.cpp with g++ 7.5.0: | mesa-23.0.0/src/intel/compiler/brw_simd_selection.cpp: In function ‘int brw_simd_select_for_workgroup_size(const intel_device_info*, const brw_cs_prog_data*, const unsigned int*)’: | mesa-23.0.0/src

[OE-core] [dunfell][PATCH v2 1/2] QEMU: CVE-2022-4144 QXL: qxl_phys2virt unsafe address translation can lead to out-of-bounds read

2023-03-25 Thread Kai Kang
From: Hitendra Prajapati Upstream-Status: Backport from https://gitlab.com/qemu-project/qemu/-/commit/6dbbf055148c6f1b7d8a3251a65bd6f3d1e1f622 Signed-off-by: Hitendra Prajapati Signed-off-by: Steve Sakoman Replace the tabs with spaces to correct the indent. Signed-off-by: Kai Kang

[OE-core] [dunfell][PATCH v2 2/2] qemu: fix compile error

2023-03-25 Thread Kai Kang
From: Kai Kang Backport 2 patches and rebase 0002-hw-display-qxl-Pass-requested-buffer-size-to-qxl_phy.patch to fix compile error: ../qemu-6.2.0/hw/display/qxl.c: In function 'qxl_phys2virt': ../qemu-6.2.0/hw/display/qxl.c:1477:67: error: 'size' undeclared (first use in thi

[OE-core] [PATCH] webkitgtk: 2.38.5 -> 2.40.0

2023-03-25 Thread Kai Kang
From: Kai Kang Update webkitgtk from 2.38.5 to 2.40.0 * remove d318bb461f040b90453bc4e100dcf967243ecd98.patch which applied already * rebase 0d3344e17d258106617b0e6d783d073b188a2548.patch * add dependency unifdef-native * remove packgeconfig 'opengl' that ENABLE_GRAPHICS_CONTEXT_G

[OE-core] [kirkstone][PATCH] python3-git: fix indent error

2023-03-15 Thread Kai Kang
From: Kai Kang It fails to import anything from git/remote.py: File "/path_to/python3-git-native/3.1.27-r0/GitPython-3.1.27/git/remote.py", line 700 url = Git.polish_url(url) ^ IndentationError: unexpected indent Signed-off-by: Kai Kang --- .../0001-python3-git-CVE-2022

Re: [OE-core] [kirkstone][PATCH] qemu: fix compile error

2023-03-14 Thread Kai Kang
On 3/13/23 23:43, Steve Sakoman wrote: On Tue, Feb 14, 2023 at 4:22 PM Kai Kang wrote: On 2/14/23 22:30, Martin Jansa wrote: Thanks Kai, this should fix what I've reported in: https://lists.openembedded.org/g/openembedded-core/message/176508 once this is merged, can you please add bo

[OE-core] [dunfell][PATCH 2/2] qemu: fix compile error

2023-03-14 Thread Kai Kang
From: Kai Kang Backport 2 patches and rebase 0001-hw-display-qxl-Pass-requested-buffer-size-to-qxl_phy.patch to fix compile error: ../qemu-6.2.0/hw/display/qxl.c: In function 'qxl_phys2virt': ../qemu-6.2.0/hw/display/qxl.c:1477:67: error: 'size' undeclared (first use in thi

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

2023-03-14 Thread Kai Kang
From: Hitendra Prajapati Upstream-Status: Backport from https://gitlab.com/qemu-project/qemu/-/commit/6dbbf055148c6f1b7d8a3251a65bd6f3d1e1f622 Signed-off-by: Hitendra Prajapati Signed-off-by: Steve Sakoman Replace the tabs with spaces to correct the indent. Signed-off-by: Kai Kang

[OE-core] [PATCH] grub2: support metadata_csum_seed feature

2023-03-05 Thread Kai Kang
From: Kai Kang It enable the metadata_csum_seed feature by default in e2fsprogs 1.47.0 and causes grub doesn't work. Backport patch to make grub support this feature. Signed-off-by: Kai Kang --- ...gnore-checksum-seed-incompat-feature.patch | 66 +++ meta/recipes-bsp

[OE-core] [kirkstone][PATCH] xserver-xorg: 21.1.6 -> 21.1.7

2023-02-19 Thread Kai Kang
From: Kai Kang According to the ANNOUNCE of xorg-server 21.1.7[1]: This release contains the fix for CVE-2023-0494 in today's security advisory: https://lists.x.org/archives/xorg-announce/2023-February/003320.html It also fixes a second possible OOB access during EnqueueEvent and a cr

Re: [OE-core] [kirkstone][PATCH] qemu: fix compile error

2023-02-14 Thread Kai Kang
On 2/14/23 22:30, Martin Jansa wrote: Thanks Kai, this should fix what I've reported in: https://lists.openembedded.org/g/openembedded-core/message/176508 <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/176508__;!!Ajv

Re: [OE-core] [kirkstone][PATCH 0/1] Update webkitgtk to 2.38.4 for CVEs

2023-02-14 Thread Kai Kang
lares that some CVEs have been fixed in x.x.x version. And update to 2.38.4 could resolve 15 CVEs at least. Exceptions to the policy would require TSC approval. Who is TSCer? Would he/she like to review it, please? Thanks, Kai Best regards, Steve On Sun, Feb 12, 2023 at 7:50 PM Kai

[OE-core] [kirkstone][PATCH] qemu: fix compile error

2023-02-14 Thread Kai Kang
From: Kai Kang Backport 2 patches and rebase 0001-hw-display-qxl-Pass-requested-buffer-size-to-qxl_phy.patch to fix compile error: ../qemu-6.2.0/hw/display/qxl.c: In function 'qxl_phys2virt': ../qemu-6.2.0/hw/display/qxl.c:1477:67: error: 'size' undeclared (first use in thi

[OE-core] [kirkstone][PATCH 1/1] webkitgtk: 2.36.8 -> 2.38.4

2023-02-12 Thread Kai Kang
From: Kai Kang Update webkitgtk 2.36.8 to latest version 2.38.4 which solves a lot of CVEs. Copies recipe and patches from master branch and only keep value PACKAGECONFIG_SOUP with 'soup2'. According to webkitgtk release information file NEWS[1], it adds new apis but no removal from

[OE-core] [kirkstone][PATCH 0/1] Update webkitgtk to 2.38.4 for CVEs

2023-02-12 Thread Kai Kang
From: Kai Kang Update webkitgtk 2.36.8 to latest version 2.38.4 which solves a lot of CVEs. The diff output of header files is attached at the end of this file. Kai Kang (1): webkitgtk: 2.36.8 -> 2.38.4 ...spection.cmake-prefix-variables-obta.patch | 39 +-- .../0001-Fix-build-with

[OE-core] [PATCH] webkitgtk: 2.38.3 -> 2.38.4

2023-02-12 Thread Kai Kang
From: Kai Kang Update webkitgtk from 2.38.3 to 2.38.4. * remove 0001-When-building-introspection-files-do-not-quote-CFLAG.patch which has been merged in upstream What’s new in the WebKitGTK 2.38.4 release?[1] * Improve GStreamer multimedia playback across the board with improved codec

[OE-core] [PATCH] xserver-xorg: 21.1.6 -> 21.1.7

2023-02-09 Thread Kai Kang
From: Kai Kang According to the ANNOUNCE of xorg-server 21.1.7[1]: This release contains the fix for CVE-2023-0494 in today's security advisory: https://lists.x.org/archives/xorg-announce/2023-February/003320.html It also fixes a second possible OOB access during EnqueueEvent and a cr

Re: [OE-core] [PATCH] mesa: update submitted patch with backported version

2023-01-18 Thread Kai Kang
On 1/16/23 23:33, Martin Jansa wrote: Kai: can you please test it on ubuntu-18.04? Hi Martin, It works for me with & without DEBUG_BUILD on ubuntu-18.04.6(gcc 7.5.0). Regards, Kai I've tested it with DEBUG_BUILD in native and target build on a host with new toolchain (gentoo

[OE-core] [PATCH 4/4] libsm: 1.2.3 > 1.2.4

2022-12-29 Thread Kai Kang
From: Kai Kang Signed-off-by: Kai Kang --- .../xorg-lib/{libsm_1.2.3.bb => libsm_1.2.4.bb}| 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{libsm_1.2.3.bb => libsm_1.2.4.bb} (87%) diff --git a/meta/recipes-graphics/xo

[OE-core] [PATCH 3/4] libx11: 1.8.1 -> 1.8.3

2022-12-29 Thread Kai Kang
From: Kai Kang Update libx11 from 1.8.1 to 1.8.3. * add LICENSE 'ISC' which is added by https://github.com/freedesktop/xorg-libX11/commit/a04b84f0 * adjust the ordering according to https://www.openembedded.org/wiki/Styleguide#Ordering_and_grouping Signed-off-by

[OE-core] [PATCH 1/4] xorg-lib-common.inc: set default value of XORG_EXT

2022-12-29 Thread Kai Kang
From: Kai Kang It replaced tar.bz2 tar archieves with tar.xz from the middle of 2021 on page https://www.x.org/releases/individual/lib/. So set the default value of XORG_EXT with 'tar.xz', and update related recipes accordingly. Signed-off-by: Kai Kang --- meta/recipes-graphic

[OE-core] [PATCH 2/4] libx11-compose-data: 1.6.8 -> 1.8.3

2022-12-29 Thread Kai Kang
From: Kai Kang Update libx11-compose-data from 1.6.8 to 1.8.3 * add 'ISC' to LICENSE because of commit https://github.com/freedesktop/xorg-libX11/commit/a04b84f0 * adjust ordering according to https://www.openembedded.org/wiki/Styleguide#Ordering_and_grouping Signed-off-by

[OE-core] [kirkstone][PATCH] webkitgtk: 2.36.7 -> 2.36.8

2022-12-20 Thread Kai Kang
From: Kai Kang webkitgtk 2.36.8 is a bug fix release in the stable 2.36 series. What’s new in the WebKitGTK 2.36.8 release? * Fix jumpy elements when scrolling GitLab and other web sites. * Fix WebKitWebView:web-process-terminated signal not being emitted for the first web view when

[OE-core] [PATCH] libuv: fixup SRC_URI

2022-11-04 Thread kai
From: Kai Kang Add the trailing '.git' to git repo uri in SRC_URI then it could share source code repo on premirror with grpc which uses libuv as a git submodule with fixed revision. Signed-off-by: Kai Kang --- meta/recipes-connectivity/libuv/libuv_1.44.2.bb | 2 +- 1 file

Re: [OE-core] [PATCH v2] mesa: Add native patch via a variable

2022-10-18 Thread kai
DEBUG_BUILD enabled. But it fails to compile mesa with that patch. Kai Alex On Wed 19. Oct 2022 at 7.42, Alexander Kanavin via lists.openembedded.org <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8

Re: [OE-core] [PATCH v3] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-10-12 Thread kai
On 9/30/22 16:34, kai wrote: From: Kai Kang 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not needed by target mesa any more. But it still fails to compile mesa-native without this patch when DEBUG_BUILD is enabled on Ubuntu 18.04 with gcc 7.5.0: | ../mesa-22.1.6/src

[OE-core] [PATCH v3] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-09-30 Thread kai
From: Kai Kang 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not needed by target mesa any more. But it still fails to compile mesa-native without this patch when DEBUG_BUILD is enabled on Ubuntu 18.04 with gcc 7.5.0: | ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In

Re: [OE-core] [PATCH v2] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-09-29 Thread kai
On 9/30/22 06:15, Alexandre Belloni wrote: Hello, On 29/09/2022 17:20:52+0800, kai wrote: On 9/21/22 17:08, Richard Purdie wrote: On Wed, 2022-09-21 at 16:03 +0800, kai wrote: From: Kai Kang 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not required by target mesa any

Re: [OE-core] [PATCH v2] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-09-29 Thread kai
On 9/21/22 17:08, Richard Purdie wrote: On Wed, 2022-09-21 at 16:03 +0800, kai wrote: From: Kai Kang 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not required by target mesa any more. But it still fails to compile mesa-native with DEBUG_BUILD enabled on Ubuntu 18.04 with

[OE-core] [PATCH] binutils: another way to clear GPROFNG_ALTS for clang and musl

2022-09-29 Thread kai
From: Kai Kang It disables gprofng for toolchain clang and libc musl, so GPROFNG_ALTS should be cleared for them. But override 'toolchain-clang' is applied before overrides 'TRANSLATED_TARGET_ARCH' such as x86-64, then GPROFNG_ALTS is still set and not cleared. Apply overri

Re: [OE-core] [PATCH] binutils: apply override toolchain-clang last

2022-09-29 Thread kai
On 9/29/22 15:21, Richard Purdie wrote: On Thu, 2022-09-29 at 15:13 +0800, kai wrote: On 9/29/22 14:49, Richard Purdie wrote: On Thu, 2022-09-29 at 11:32 +0800, kai wrote: From: Kai Kang It disables gprofng for toolchain clang, so it should clear GPROFNG_ALTS when clang is used. But

Re: [OE-core] [PATCH] binutils: apply override toolchain-clang last

2022-09-29 Thread kai
On 9/29/22 14:49, Richard Purdie wrote: On Thu, 2022-09-29 at 11:32 +0800, kai wrote: From: Kai Kang It disables gprofng for toolchain clang, so it should clear GPROFNG_ALTS when clang is used. But override 'toolchain-clang' is applied before overrides 'TRANSLATED_TARGET_ARCH&

[OE-core] [PATCH] binutils: apply override toolchain-clang last

2022-09-28 Thread kai
From: Kai Kang It disables gprofng for toolchain clang, so it should clear GPROFNG_ALTS when clang is used. But override 'toolchain-clang' is applied before overrides 'TRANSLATED_TARGET_ARCH' such as x86-64, then GPROFNG_ALTS is still set and not cleared. Append 'forcev

Re: [OE-core] [PATCH v3] binutils: handle symlink files for gprofng

2022-09-26 Thread kai
-text: /usr/bin/aarch64-poky-linux-gp-display-text does not exist WARNING: binutils-2.39-r0 do_package: binutils: NOT adding alternative provide /usr/bin/gprofng: /usr/bin/aarch64-poky-linux-gprofng does not exist Sorry, I'll figure it out. Regards, Kai Ross On 22 Sep 2022, at 09:25, ka

[OE-core] [PATCH v3] binutils: handle symlink files for gprofng

2022-09-22 Thread kai
From: Kai Kang It provides gprofng by binutils 2.39 for x86, x86_64 and aarch64 according to configure.ac: https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=configure.ac;h=aa9c91b42214afc46a0ab8b629e4c6fedcc0;hb=HEAD#l401 Add them to USE_ALTERNATIVES_FOR the same as others to handle

[OE-core] [PATCH v2] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-09-21 Thread kai
From: Kai Kang 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not required by target mesa any more. But it still fails to compile mesa-native with DEBUG_BUILD enabled on Ubuntu 18.04 with gcc 7.5.0 without this patch: | ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In

Re: [OE-core] [PATCH] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-09-21 Thread kai
On 9/21/22 15:49, Khem Raj wrote: On Wed, Sep 21, 2022 at 1:31 AM kai wrote: From: Kai Kang 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not required by target mesa any more. But it still fails to compile mesa-native with DEBUG_BUILD enabled on Ubuntu

[OE-core] [PATCH] mesa: only apply patch to fix ALWAYS_INLINE for native

2022-09-20 Thread kai
From: Kai Kang 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not required by target mesa any more. But it still fails to compile mesa-native with DEBUG_BUILD enabled on Ubuntu 18.04 with gcc 7.5.0 without this patch: | ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In

  1   2   3   4   5   6   7   8   9   10   >