package/qt5/qt5webengine-chromium: fix build with glibc >= 2.43
PATCH 1/1 package/qt5/qt5webengine-chromium: fix build with glibc >= 2.43
No autobuilder errors were recorded, the build error can be reproduced with this defconfig:
BR2_x86_64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_XORG7=y
--- ...-Fix-build-with-glibc-2.43-and-above.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch
package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch new file +41 -0
@@ -0,0 +1,41 @@ +From bf8bd5512920b28468d99b9ce550f0617e57d7f4 Mon Sep 17 00:00:00 2001 +From: Peter Varga <[email protected]> +Date: Mon, 16 Feb 2026 16:12:58 +0100 +Subject: [PATCH] [sandbox] Fix build with glibc-2.43 and above +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes error: +//sandbox/linux/system_headers/linux_seccomp.h:218:39: error: expected identifier before numeric constant + 218 | #define SYS_SECCOMP 1 + | ^ +error: expected ‘}’ before numeric constant + +See https://crbug.com/456218403 + +Pick-to: 134-based 130-based 122-based +Change-Id: I5f2ea6826650b9eff6b4defff694f24e301f7663 +Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/713181 +Reviewed-by: Moss Heim <[email protected]> + +Upstream: https://github.com/qt/qtwebengine-chromium/commit/bf8bd5512920b28468d99b9ce550f0617e57d7f4 + +[Bernd: backported patch] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + chromium/sandbox/linux/system_headers/linux_seccomp.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/chromium/sandbox/linux/system_headers/linux_seccomp.h b/chromium/sandbox/linux/system_headers/linux_seccomp.h +index 8690a96eb01b..8988836508c7 100644 +--- a/chromium/sandbox/linux/system_headers/linux_seccomp.h ++++ b/chromium/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 "build/build_config.h" +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 14 lines · Bernd Kuhls
No autobuilder errors were recorded, the build error can be reproduced with this defconfig:
BR2_x86_64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_XORG7=y
Quoted 1 line
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 14 lines
No autobuilder errors were recorded, the build error can be reproduced with this defconfig:
BR2_x86_64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_XORG7=y
Quoted 1 line
Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2026.08.x. Thanks
Quoted 42 lines
--- ...-Fix-build-with-glibc-2.43-and-above.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patchpackage/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch new file +31
-0@@ -0,0 +1,41 @@ +From bf8bd5512920b28468d99b9ce550f0617e57d7f4 Mon Sep 17 00:00:00 2001 +From: Peter Varga <[email protected]> +Date: Mon, 16 Feb 2026 16:12:58 +0100 +Subject: [PATCH] [sandbox] Fix build with glibc-2.43 and above +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes error: +//sandbox/linux/system_headers/linux_seccomp.h:218:39: error: expected identifier before numeric constant + 218 | #define SYS_SECCOMP 1 + | ^ +error: expected ‘}’ before numeric constant + +See https://crbug.com/456218403 + +Pick-to: 134-based 130-based 122-based +Change-Id: I5f2ea6826650b9eff6b4defff694f24e301f7663 +Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/713181 +Reviewed-by: Moss Heim <[email protected]> + +Upstream: https://github.com/qt/qtwebengine-chromium/commit/bf8bd5512920b28468d99b9ce550f0617e57d7f4 + +[Bernd: backported patch] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + chromium/sandbox/linux/system_headers/linux_seccomp.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/chromium/sandbox/linux/system_headers/linux_seccomp.h b/chromium/sandbox/linux/system_headers/linux_seccomp.h +index 8690a96eb01b..8988836508c7 100644
package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch line 41
Quoted 10 lines
package/qt5/qt5webengine-chromium/0010-Fix-build-with-glibc-2.43-and-above.patch new file +10
-0+--- a/chromium/sandbox/linux/system_headers/linux_seccomp.h ++++ b/chromium/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 "build/build_config.h" +
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot