public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtwebengine] epel9: Fix FTBS in rawhide due to glib and PipeWire updates
@ 2026-10-08 20:25 Jan Grulich
  0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-08 20:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qt6-qtwebengine
Branch : epel9
Commit : 0b9b2b1bb9ce2b94900eded29890e47d6c916201
Author : Jan Grulich <jgrulich@redhat.com>
Date   : 2025-10-30T10:27:44+01:00
Stats  : +38/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/qt6-qtwebengine/c/0b9b2b1bb9ce2b94900eded29890e47d6c916201?branch=epel9

Log:
Fix FTBS in rawhide due to glib and PipeWire updates

---
diff --git a/qt6-qtwebengine.spec b/qt6-qtwebengine.spec
index 17a2bd9..71e1ad1 100644
--- a/qt6-qtwebengine.spec
+++ b/qt6-qtwebengine.spec
@@ -88,7 +88,7 @@
 Summary: Qt6 - QtWebEngine components
 Name:    qt6-qtwebengine
 Version: 6.10.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
 # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html
@@ -126,6 +126,10 @@ Patch3:   qtwebengine-aarch64-new-stat.patch
 # Enable OpenH264
 Patch4:   qtwebengine-use-openh264.patch
 
+# FTBFS - /usr/include/bits/siginfo-consts.h:219:3: error: expected identifier
+# 219 |   SYS_SECCOMP = 1,              /* Seccomp triggered.  */
+Patch5:   qtwebengine-chromium-141-glibc-2.42-SYS_SECCOMP.patch
+
 ## Upstream patches:
 # https://bugreports.qt.io/browse/QTBUG-129985
 Patch80:  qtwebengine-fix-arm-build.patch
@@ -477,6 +481,7 @@ popd
 %patch -P2 -p1 -b .link-pipewire
 %patch -P3 -p1 -b .aarch64-new-stat
 %patch -P4 -p1 -b .use-openh264
+%patch -P5 -p1 -b .chromium-141-glibc-2.42-SYS_SECCOMP
 
 ## upstream patches
 %patch -P80 -p1 -b .fix-arm-build
@@ -840,6 +845,9 @@ done
 %endif
 
 %changelog
+* Thu Oct 30 2025 Jan Grulich <jgrulich@redhat.com> - 6.10.0-3
+- Fix FTBS in rawhide due to glib and PipeWire updates
+
 * Tue Oct 07 2025 Jan Grulich <jgrulich@redhat.com> - 6.10.0-2
 - 6.10.0
 

diff --git a/qtwebengine-chromium-141-glibc-2.42-SYS_SECCOMP.patch b/qtwebengine-chromium-141-glibc-2.42-SYS_SECCOMP.patch
new file mode 100644
index 0000000..6c827bc
--- /dev/null
+++ b/qtwebengine-chromium-141-glibc-2.42-SYS_SECCOMP.patch
@@ -0,0 +1,29 @@
+Fix FTBFS
+
+/usr/include/bits/siginfo-consts.h:219:3: error: expected identifier
+  219 |   SYS_SECCOMP = 1,              /* Seccomp triggered.  */
+      |   ^
+../../sandbox/linux/system_headers/linux_seccomp.h:220:39: note: expanded from macro 'SYS_SECCOMP'
+  220 | #define SYS_SECCOMP                   1
+      |                                       ^
+../../sandbox/linux/seccomp-bpf/trap.cc:159:46: error: use of undeclared identifier 'SYS_SECCOMP'
+  159 |   if (nr != LINUX_SIGSYS || info->si_code != SYS_SECCOMP || !ctx ||
+      |                                              ^~~~~~~~~~~
+/usr/include/bits/siginfo-consts.h:220:23: note: expanded from macro 'SYS_SECCOMP'
+  220 | #  define SYS_SECCOMP   SYS_SECCOMP
+
+diff -up chromium-141.0.7390.122/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h.me chromium-141.0.7390.122/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h
+--- chromium-141.0.7390.122/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h.me	2025-10-28 10:05:44.970248151 +0100
++++ chromium-141.0.7390.122/src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h	2025-10-28 10:05:52.291345772 +0100
+@@ -214,8 +214,11 @@ struct seccomp_notif_addfd {
+ #define SECCOMP_RET_INVALID 0x00010000U  // Illegal return value
+ #endif
+ 
++// check glibc version < 2.42
++#if (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 42)
+ #ifndef SYS_SECCOMP
+ #define SYS_SECCOMP                   1
+ #endif
++#endif
+ 
+ #endif  // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 20:25 [rpms/qt6-qtwebengine] epel9: Fix FTBS in rawhide due to glib and PipeWire updates Jan Grulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox