diff mbox series

[meta-arago,master,v2] chromium: Add a patch to fix build against GLIBC 2.43

Message ID 20260317211840.384483-1-t-lannynd@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master,v2] chromium: Add a patch to fix build against GLIBC 2.43 | expand

Commit Message

Thorsten Lannynd March 17, 2026, 9:18 p.m. UTC
From: Zoltán Böszörményi <zboszor@gmail.com>

An update to oe-core leads to build failures with Chromium v142. This fix
is currently pending in meta-browser but is needed to get Chromium to build
succesfully.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
---
v2:
- Update From and Signed off to include original author
- Update Upstream-Status to Submitted
 .../fix-SYS_SECCOMP-redefinition.patch           | 16 ++++++++++++++++
 .../chromium/chromium-ozone-wayland-arago.inc    |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch

Comments

PRC Automation March 17, 2026, 9:23 p.m. UTC | #1
meta-arago / na / 20260317211840.384483-1-t-lannynd

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH v2] chromium: Add a patch to fix build against GLIBC 2.43
- Submitter: From: Thorsten Lannynd <t-lannynd@ti.com>
From: Zolt=C3=A1n B=C3=B6sz=C3=B6rm=C3=A9nyi <zboszor@gmail.com>
- Date: Date: Tue, 17 Mar 2026 16:18:40 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 75f94b9e99c9280eeccfc4c4ddd465cec9686c70

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Thorsten Lannynd <t-lannynd@ti.com>
- Commit Subject: ti-test: Add request and websocket-client to packagegroup
- Commit SHA: 64d6190f700d54addcd17687b7428a64c2bbb0fb

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: Nothing PROVIDES 'gstreamer1.0-vaapi' (but <build-dir>/sources/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb DEPENDS on or otherwise requires it). Close matches:
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Denys Dmytriyenko March 17, 2026, 9:33 p.m. UTC | #2
On Tue, Mar 17, 2026 at 04:18:40PM -0500, Thorsten Lannynd via lists.yoctoproject.org wrote:
> From: Zoltán Böszörményi <zboszor@gmail.com>
> 
> An update to oe-core leads to build failures with Chromium v142. This fix
> is currently pending in meta-browser but is needed to get Chromium to build
> succesfully.
> 
> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
> Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>

While I understsand that nested patches may be a bit confusing, but you don't 
need the original SoB for the yocto patch. And that is a minor issue - I'll 
let Ryan decide.


> ---
> v2:
> - Update From and Signed off to include original author
> - Update Upstream-Status to Submitted
>  .../fix-SYS_SECCOMP-redefinition.patch           | 16 ++++++++++++++++
>  .../chromium/chromium-ozone-wayland-arago.inc    |  1 +
>  2 files changed, 17 insertions(+)
>  create mode 100644 meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch
> 
> diff --git a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch
> new file mode 100644
> index 00000000..52085fbf
> --- /dev/null
> +++ b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch
> @@ -0,0 +1,16 @@
> +Taken from:
> +https://aur.archlinux.org/cgit/aur.git/tree/0007-qt5-webengine-glibc-2.43-SYS_SECCOMP-as-enum@chromium.patch?h=qt5-webengine
> +
> +Upstream-Status: Submitted [https://github.com/OSSystems/meta-browser/pull/962/changes/4e450497be557fc4b5ff1397f78fa0f8381e281d]
> +diff --git a/sandbox/linux/system_headers/linux_seccomp.h b/sandbox/linux/system_headers/linux_seccomp.h
> +index 8690a96eb0..8988836508 100644
> +--- a/sandbox/linux/system_headers/linux_seccomp.h	2026-03-13 17:54:03.000000000 +0100
> ++++ b/sandbox/linux/system_headers/linux_seccomp.h	2026-03-16 08:52:25.509439677 +0100
> +@@ -6,6 +6,7 @@
> + #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
> +
> + #include <stdint.h>
> ++#include <signal.h>
> + #include <sys/ioctl.h>
> +
> + #include "build/build_config.h"
> diff --git a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
> index 5b0f2703..3ec0610a 100644
> --- a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
> +++ b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
> @@ -9,6 +9,7 @@ SRC_URI:append = " \
>                    file://0002-chromium-gpu-sandbox-Allow-GPU-sandbox-access-to-V4L.patch \
>                    file://0003-chromium-gpu-v4l2-Fix-OUTPUT-queue-streaming-in-V4L2.patch \
>                    file://0004-media-gpu-v4l2-Avoid-placing-incomplete-H264-access-.patch \
> +                  file://fix-SYS_SECCOMP-redefinition.patch \
>                    "
>  
>  # Override do_copy_clang_library to handle both target and host architectures
> -- 
> 2.34.1
diff mbox series

Patch

diff --git a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch
new file mode 100644
index 00000000..52085fbf
--- /dev/null
+++ b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-142.0.7444.175/fix-SYS_SECCOMP-redefinition.patch
@@ -0,0 +1,16 @@ 
+Taken from:
+https://aur.archlinux.org/cgit/aur.git/tree/0007-qt5-webengine-glibc-2.43-SYS_SECCOMP-as-enum@chromium.patch?h=qt5-webengine
+
+Upstream-Status: Submitted [https://github.com/OSSystems/meta-browser/pull/962/changes/4e450497be557fc4b5ff1397f78fa0f8381e281d]
+diff --git a/sandbox/linux/system_headers/linux_seccomp.h b/sandbox/linux/system_headers/linux_seccomp.h
+index 8690a96eb0..8988836508 100644
+--- a/sandbox/linux/system_headers/linux_seccomp.h	2026-03-13 17:54:03.000000000 +0100
++++ b/sandbox/linux/system_headers/linux_seccomp.h	2026-03-16 08:52:25.509439677 +0100
+@@ -6,6 +6,7 @@
+ #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
+
+ #include <stdint.h>
++#include <signal.h>
+ #include <sys/ioctl.h>
+
+ #include "build/build_config.h"
diff --git a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
index 5b0f2703..3ec0610a 100644
--- a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
+++ b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
@@ -9,6 +9,7 @@  SRC_URI:append = " \
                   file://0002-chromium-gpu-sandbox-Allow-GPU-sandbox-access-to-V4L.patch \
                   file://0003-chromium-gpu-v4l2-Fix-OUTPUT-queue-streaming-in-V4L2.patch \
                   file://0004-media-gpu-v4l2-Avoid-placing-incomplete-H264-access-.patch \
+                  file://fix-SYS_SECCOMP-redefinition.patch \
                   "
 
 # Override do_copy_clang_library to handle both target and host architectures