diff mbox series

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

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

Commit Message

Thorsten Lannynd March 17, 2026, 7:38 p.m. UTC
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.

https://github.com/OSSystems/meta-browser/pull/962/changes/4e450497be557fc4b5ff1397f78fa0f8381e281d

Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
---
 .../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, 7:43 p.m. UTC | #1
meta-arago / na / 20260317193808.343457-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] chromium: Add a patch to fix build against GLIBC 2.43
- Submitter: From: Thorsten Lannynd <t-lannynd@ti.com>
- Date: Date: Tue, 17 Mar 2026 14:38:08 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 88029868c2147d0de98a03eaa0922cbc1e2e28d3

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.
Ryan Eatmon March 17, 2026, 7:56 p.m. UTC | #2
On 3/17/2026 2:38 PM, Thorsten Lannynd via lists.yoctoproject.org wrote:
> 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.
> 
> https://github.com/OSSystems/meta-browser/pull/962/changes/4e450497be557fc4b5ff1397f78fa0f8381e281d
> 
> Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
> ---
>   .../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..594729b3
> --- /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: Inappropriate [glibc 2.43 fix]

I would argue that this is not "Inappropriate" as this is not an OE 
specific kind of change.  This should either be a Backport of a patch 
that is pending on meta-browser, or Pending if you have submitted this 
patch to the chromium project itself.


> +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
> ++++ b/sandbox/linux/system_headers/linux_seccomp.h
> +@@ -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
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#17372): https://lists.yoctoproject.org/g/meta-arago/message/17372
> Mute This Topic: https://lists.yoctoproject.org/mt/118371153/6551054
> Group Owner: meta-arago+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
>
Antonios Christidis March 17, 2026, 8:01 p.m. UTC | #3
On 3/17/26 2:56 PM, Ryan Eatmon wrote:
>
>
> On 3/17/2026 2:38 PM, Thorsten Lannynd via lists.yoctoproject.org wrote:
>> 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.
>>
>> https://github.com/OSSystems/meta-browser/pull/962/changes/4e450497be557fc4b5ff1397f78fa0f8381e281d 
>>
>>
>> Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
>> ---
>>   .../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..594729b3
>> --- /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: Inappropriate [glibc 2.43 fix]
>
> I would argue that this is not "Inappropriate" as this is not an OE 
> specific kind of change.  This should either be a Backport of a patch 
> that is pending on meta-browser, or Pending if you have submitted this 
> patch to the chromium project itself.
>
Could this be "Submitted [link]", link pointing to 
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
>> ++++ b/sandbox/linux/system_headers/linux_seccomp.h
>> +@@ -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
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#17372): 
>> https://lists.yoctoproject.org/g/meta-arago/message/17372
>> Mute This Topic: https://lists.yoctoproject.org/mt/118371153/6551054
>> Group Owner: meta-arago+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
>> [reatmon@ti.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>
>
Denys Dmytriyenko March 17, 2026, 8:18 p.m. UTC | #4
On Tue, Mar 17, 2026 at 03:01:22PM -0500, Antonios Christidis via lists.yoctoproject.org wrote:
> 
> On 3/17/26 2:56 PM, Ryan Eatmon wrote:
> >
> >
> >On 3/17/2026 2:38 PM, Thorsten Lannynd via lists.yoctoproject.org wrote:
> >>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.
> >>
> >>https://github.com/OSSystems/meta-browser/pull/962/changes/4e450497be557fc4b5ff1397f78fa0f8381e281d
> >>
> >>
> >>Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com>
> >>---
> >>  .../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..594729b3
> >>--- /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: Inappropriate [glibc 2.43 fix]
> >
> >I would argue that this is not "Inappropriate" as this is not an
> >OE specific kind of change.  This should either be a Backport of a
> >patch that is pending on meta-browser, or Pending if you have
> >submitted this patch to the chromium project itself.
> >
> Could this be "Submitted [link]", link pointing to https://github.com/OSSystems/meta-browser/pull/962/changes/4e450497be557fc4b5ff1397f78fa0f8381e281d
> ?

Yes, this sounds correct ^^^


> >>+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
> >>++++ b/sandbox/linux/system_headers/linux_seccomp.h
> >>+@@ -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
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..594729b3
--- /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: Inappropriate [glibc 2.43 fix]
+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
++++ b/sandbox/linux/system_headers/linux_seccomp.h
+@@ -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