public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rr] epel10: Add patch to fix build with Linux 6.19+
Date: Tue, 10 Nov 2026 21:33:42 GMT [thread overview]
Message-ID: <179434642250.1.9086196339127714210.rpms-rr-06d1899c3857@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rr
Branch : epel10
Commit : 06d1899c3857a179b20f43b1e612413d239beed8
Author : Neal Gompa <ngompa@fedoraproject.org>
Date : 2026-01-03T10:47:33-05:00
Stats : +51/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rr/c/06d1899c3857a179b20f43b1e612413d239beed8?branch=epel10
Log:
Add patch to fix build with Linux 6.19+
---
diff --git a/rr-5.9.0-use-openat2-header.patch b/rr-5.9.0-use-openat2-header.patch
new file mode 100644
index 0000000..40c1145
--- /dev/null
+++ b/rr-5.9.0-use-openat2-header.patch
@@ -0,0 +1,48 @@
+From 4c7c66d4bad3c00e22dbcf45709c71feae8de655 Mon Sep 17 00:00:00 2001
+From: Neal Gompa <neal@gompa.dev>
+Date: Sat, 3 Jan 2026 10:37:33 -0500
+Subject: [PATCH] Revert "Don't rely on linux/openat2.h"
+
+This is now broken as of Linux 6.19.
+
+This reverts commit aa2ef05cfd68af9ae45f0d05ef07a267749727f3.
+---
+ src/test/openat2.c | 2 ++
+ src/test/util.h | 8 --------
+ 2 files changed, 2 insertions(+), 8 deletions(-)
+
+diff --git a/src/test/openat2.c b/src/test/openat2.c
+index 22ed2b04..33b9d07a 100644
+--- a/src/test/openat2.c
++++ b/src/test/openat2.c
+@@ -2,6 +2,8 @@
+
+ #include "util.h"
+
++#include <linux/openat2.h> /* Definition of RESOLVE_* constants */
++
+ #define TEST_DIR "test_dir"
+ #define FILENAME "foo"
+ #define REL_FILENAME "../" TEST_DIR "/" FILENAME
+diff --git a/src/test/util.h b/src/test/util.h
+index f7a751b7..2882aa5f 100644
+--- a/src/test/util.h
++++ b/src/test/util.h
+@@ -439,14 +439,6 @@ inline static SyscallWrapper get_spurious_desched_syscall(void) {
+ #define RR_KCMP_FILE 0
+ #define RR_KCMP_FILES 2
+
+-/* Old systems don't have linux/openat2.h */
+-struct open_how {
+- __u64 flags;
+- __u64 mode;
+- __u64 resolve;
+-};
+-#define RESOLVE_BENEATH 0x08
+-
+ /* Old systems don't have these */
+ #ifndef TIOCGPKT
+ #define TIOCGPKT _IOR('T', 0x38, int)
+--
+2.52.0
+
diff --git a/rr.spec b/rr.spec
index d905d6f..0a33c71 100644
--- a/rr.spec
+++ b/rr.spec
@@ -32,6 +32,8 @@ Source: https://github.com/rr-debugger/rr/archive/%{gittag}/%{name}-%{version}.t
Patch1: remove-termio.patch
Patch2: update-cmake-ver.patch
+# https://github.com/rr-debugger/rr/issues/4037
+Patch3: rr-5.9.0-use-openat2-header.patch
%if 0%{?rhel} == 7
BuildRequires: cmake3
@@ -135,6 +137,7 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
%changelog
* Sat Jan 03 2026 Neal Gompa <ngompa@fedoraproject.org> - 5.9.0-6
+- Add patch to fix build with Linux 6.19+
- Rebuild for capnproto 1.3.0
* Fri Nov 28 2025 Neal Gompa <ngompa@fedoraproject.org> - 5.9.0-5
reply other threads:[~2026-11-10 21:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179434642250.1.9086196339127714210.rpms-rr-06d1899c3857@fedoraproject.org \
--to=ngompa@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox