public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rr] epel10.3: Rebase to rr-5.7.0.
@ 2026-11-10 21:34 William Cohen
0 siblings, 0 replies; 2+ messages in thread
From: William Cohen @ 2026-11-10 21:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rr
Branch : epel10.3
Commit : e03296bb1d91bcc76aacd9ff51b323c288385a00
Author : William Cohen <wcohen@redhat.com>
Date : 2023-10-04T11:38:36-04:00
Stats : +7/-154 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/rr/c/e03296bb1d91bcc76aacd9ff51b323c288385a00?branch=epel10.3
Log:
Rebase to rr-5.7.0.
---
diff --git a/.gitignore b/.gitignore
index f4006aa..c4b6d24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/rr-5.5.0.tar.gz
/rr-da33770.tar.gz
/rr-5.6.0.tar.gz
+/rr-5.7.0.tar.gz
diff --git a/rr-cstdint.patch b/rr-cstdint.patch
deleted file mode 100644
index 63f536e..0000000
--- a/rr-cstdint.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 23ff468f083234b010df3daf69fa2d603ec0046c Mon Sep 17 00:00:00 2001
-From: William Cohen <wcohen@redhat.com>
-Date: Wed, 18 Jan 2023 12:15:04 -0500
-Subject: [PATCH] Explicitly include <cstdint> where required.
-
-The uint8_t and uintptr_t ptr types are from the header <cstdint>.
-Earlier versions of gcc appear to declare them even if the header
-is not included, but gcc-13 does not. Explicitly including the
-header to allow compilations with gcc-13.
----
- src/log.h | 1 +
- src/remote_ptr.h | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/src/log.h b/src/log.h
-index 26ba7f19..ffdc7cce 100644
---- a/src/log.h
-+++ b/src/log.h
-@@ -9,6 +9,7 @@
- #include <iostream>
- #include <type_traits>
- #include <vector>
-+#include <cstdint>
-
- /**
- * Print siginfo on ostream.
-diff --git a/src/remote_ptr.h b/src/remote_ptr.h
-index 2cd1b28c..6786bfab 100644
---- a/src/remote_ptr.h
-+++ b/src/remote_ptr.h
-@@ -5,6 +5,7 @@
-
- #include <cstddef>
- #include <iostream>
-+#include <cstdint>
-
- namespace rr {
-
---
-2.39.0
-
diff --git a/rr-ethtool-struct.patch b/rr-ethtool-struct.patch
deleted file mode 100644
index b0b32bb..0000000
--- a/rr-ethtool-struct.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 2979c60ef8bbf7c940afd90172ddc5d8863f766e Mon Sep 17 00:00:00 2001
-From: Robert O'Callahan <robert@ocallahan.org>
-Date: Thu, 25 Aug 2022 20:40:59 +1200
-Subject: [PATCH] Avoid creating a struct with elements after
- ethtool_sset_info's variable-length-array.
-
-Resolves #3369
----
- src/record_syscall.cc | 27 +++++++++++++--------------
- 1 file changed, 13 insertions(+), 14 deletions(-)
-
-diff --git a/src/record_syscall.cc b/src/record_syscall.cc
-index 2e4cdec35..48544e1df 100644
---- a/src/record_syscall.cc
-+++ b/src/record_syscall.cc
-@@ -1450,17 +1450,17 @@ template <typename Arch> void get_ethtool_gstrings_arch(RecordTask* t) {
- AutoRemoteSyscalls remote(t);
-
- // Do a ETHTOOL_GSSET_INFO to get the number of strings
-- struct SingleStringSet {
-- ethtool_sset_info et;
-- uint32_t data;
-- };
-- SingleStringSet sss;
-- sss.et.cmd = ETHTOOL_GSSET_INFO;
-- sss.et.reserved = 0;
-- sss.et.sset_mask = 1 << et_gstrings.string_set;
-- AutoRestoreMem sss_mem(remote, &sss, sizeof(sss));
--
-- ifreq.ifr_ifru.ifru_data = sss_mem.get();
-+ ethtool_sset_info et;
-+ et.cmd = ETHTOOL_GSSET_INFO;
-+ et.reserved = 0;
-+ et.sset_mask = 1 << et_gstrings.string_set;
-+ std::vector<uint8_t> buffer;
-+ buffer.resize(sizeof(et) + sizeof(uint32_t));
-+ memcpy(buffer.data(), &et, sizeof(et));
-+ memset(buffer.data() + sizeof(et), 0, sizeof(uint32_t));
-+ AutoRestoreMem et_mem(remote, buffer.data(), buffer.size());
-+
-+ ifreq.ifr_ifru.ifru_data = et_mem.get();
- AutoRestoreMem ifr_mem(remote, &ifreq, sizeof(ifreq));
-
- long ret = remote.syscall(regs.original_syscallno(), regs.arg1(),
-@@ -1470,8 +1470,7 @@ template <typename Arch> void get_ethtool_gstrings_arch(RecordTask* t) {
- return;
- }
-
-- sss = t->read_mem(sss_mem.get().cast<SingleStringSet>());
--
-+ uint32_t data = t->read_mem((et_mem.get() + sizeof(et)).cast<uint32_t>());
- // Now do the ETHTOOL_GSTRINGS call
- ret = remote.syscall(regs.original_syscallno(), regs.arg1(), SIOCETHTOOL,
- regs.arg3());
-@@ -1479,7 +1478,7 @@ template <typename Arch> void get_ethtool_gstrings_arch(RecordTask* t) {
- if (ret < 0) {
- return;
- }
-- t->record_remote(orig_gstrings, sizeof(ethtool_gstrings) + ETH_GSTRING_LEN*sss.data);
-+ t->record_remote(orig_gstrings, sizeof(ethtool_gstrings) + ETH_GSTRING_LEN*data);
- }
-
- static void get_ethtool_gstrings(RecordTask* t) {
diff --git a/rr-test-include-sys-mount.patch b/rr-test-include-sys-mount.patch
deleted file mode 100644
index ebc8c4b..0000000
--- a/rr-test-include-sys-mount.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-test: Include <sys/mount.h> in util.h
-
-The mount_ns_exec test needs it to call the mount function.
-
-Submitted upstream: <https://github.com/rr-debugger/rr/pull/3409>
-
-diff --git a/src/test/util.h b/src/test/util.h
-index ec891db8ce13019b..cb4b978ee730771b 100644
---- a/src/test/util.h
-+++ b/src/test/util.h
-@@ -78,6 +78,7 @@
- #include <sys/ioctl.h>
- #include <sys/ipc.h>
- #include <sys/mman.h>
-+#include <sys/mount.h>
- #include <sys/msg.h>
- #include <sys/prctl.h>
- #include <sys/ptrace.h>
diff --git a/rr-time.patch b/rr-time.patch
deleted file mode 100644
index 906aea4..0000000
--- a/rr-time.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 2bcd4ebd97622e08fcfe44b7e77e32f6d97e4d94 Mon Sep 17 00:00:00 2001
-From: William Cohen <wcohen@redhat.com>
-Date: Thu, 4 Aug 2022 15:49:57 -0400
-Subject: [PATCH 2/2] Add needed <time.h> include.
-
----
- src/test-monitor/test-monitor.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/test-monitor/test-monitor.cc b/src/test-monitor/test-monitor.cc
-index 2ac6173b..e2175a3c 100644
---- a/src/test-monitor/test-monitor.cc
-+++ b/src/test-monitor/test-monitor.cc
-@@ -9,6 +9,7 @@
- #include <string.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-+#include <time.h>
- #include <unistd.h>
-
- #include <string>
---
-2.37.1
-
diff --git a/rr.spec b/rr.spec
index 74f1e2c..437373a 100644
--- a/rr.spec
+++ b/rr.spec
@@ -2,7 +2,7 @@
%undefine __cmake_in_source_build
%global commit da33770d22b404d7333e46e26495eaca0c5a6d8a
-%global gittag 5.6.0
+%global gittag 5.7.0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global baserelease 8
@@ -15,7 +15,7 @@ ExclusiveArch: %{ix86} x86_64 aarch64
%endif
Summary: Tool to record and replay execution of applications
Name: rr
-Version: 5.6.0
+Version: 5.7.0
Release: %{baserelease}%{?dist}
# The entire source code is MIT with the exceptions of
# files in following directories:
@@ -26,11 +26,6 @@ License: MIT and CC0 and BSD
URL: http://rr-project.org
Source: https://github.com/rr-debugger/rr/archive/%{gittag}/%{name}-%{version}.tar.gz
-#Patch1: rr-mount.patch
-Patch2: rr-time.patch
-Patch3: rr-ethtool-struct.patch
-Patch4: rr-test-include-sys-mount.patch
-Patch5: rr-cstdint.patch
%if 0%{?rhel} == 7
BuildRequires: cmake3
@@ -128,6 +123,9 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
%license LICENSE
%changelog
+* Wed Oct 4 2023 William Cohen <wcohen@redhat.com> - 5.7.0-1
+- Rebase to rr-5.7.0.
+
* Tue Sep 12 2023 William Cohen <wcohen@redhat.com> - 5.6.0-8
- Rebuild for capnproto 1.0.1
diff --git a/sources b/sources
index 3a3d43d..29422ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rr-5.6.0.tar.gz) = 4b5ef65b6c6a4b62fc72949b4541aaf608f6133ea0b6c2e529a8eed725e6a0b5186f20ed60b210821e6929410e1f21723840eacfdc85bf12c87703e7ebf5f9a7
+SHA512 (rr-5.7.0.tar.gz) = e0e45f47a5f1de9e0e3f982e9eb5565699189ed23c52de03bf68b8215e7b8ac267619c04495c19e75a55aa8e0face08b9bb6c7f325650384c10a719c17ecf576
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/rr] epel10.3: Rebase to rr-5.7.0.
@ 2026-11-10 21:34 William Cohen
0 siblings, 0 replies; 2+ messages in thread
From: William Cohen @ 2026-11-10 21:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rr
Branch : epel10.3
Commit : 36da997cce53ed8e58842471863f4e26bf8e66a3
Author : William Cohen <wcohen@redhat.com>
Date : 2023-10-04T11:42:28-04:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rr/c/36da997cce53ed8e58842471863f4e26bf8e66a3?branch=epel10.3
Log:
Rebase to rr-5.7.0.
---
diff --git a/rr.spec b/rr.spec
index 437373a..df53af1 100644
--- a/rr.spec
+++ b/rr.spec
@@ -4,7 +4,7 @@
%global commit da33770d22b404d7333e46e26495eaca0c5a6d8a
%global gittag 5.7.0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global baserelease 8
+%global baserelease 9
ExclusiveArch: %{ix86} x86_64 aarch64
@@ -123,7 +123,7 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
%license LICENSE
%changelog
-* Wed Oct 4 2023 William Cohen <wcohen@redhat.com> - 5.7.0-1
+* Wed Oct 4 2023 William Cohen <wcohen@redhat.com> - 5.7.0-9
- Rebase to rr-5.7.0.
* Tue Sep 12 2023 William Cohen <wcohen@redhat.com> - 5.6.0-8
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-10 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 21:34 [rpms/rr] epel10.3: Rebase to rr-5.7.0 William Cohen
2026-11-10 21:34 William Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox