7 Commits

Author SHA256 Message Date
0103d730c0 Accepting request 1303557 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1303557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rr?expand=0&rev=10
2025-09-10 15:30:33 +00:00
db55900de0 fix build
OBS-URL: https://build.opensuse.org/package/show/devel:tools/rr?expand=0&rev=59
2025-09-10 09:06:26 +00:00
283e61f5bb Accepting request 1245844 from devel:tools
- Update to 5.9.0:
  * As usual there are lots of small improvements and bugfixes.
    The main feature of this release is that in kernels >= 6.10,
    rr now works with perf_event_paranoid set to 2, which is the
    default for most distributions. This requires a kernel bug fix
    by Kyle Huey that only shipped in 6.10. rr is slightly more
    efficient with perf_event_paranoid set to 1, but that won't
    matter in practice.

OBS-URL: https://build.opensuse.org/request/show/1245844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rr?expand=0&rev=9
2025-02-14 18:22:08 +00:00
cb0a96f1ce OBS-URL: https://build.opensuse.org/package/show/devel:tools/rr?expand=0&rev=57 2025-02-14 08:52:59 +00:00
2a54f2a29f OBS-URL: https://build.opensuse.org/package/show/devel:tools/rr?expand=0&rev=56 2025-02-14 08:48:29 +00:00
578695cc01 OBS-URL: https://build.opensuse.org/package/show/devel:tools/rr?expand=0&rev=55 2025-02-14 08:39:47 +00:00
1f9a78edab - Update to version 0~20241220.8344124:
* Add support to llvm-19

OBS-URL: https://build.opensuse.org/package/show/devel:tools/rr?expand=0&rev=54
2025-02-14 08:26:22 +00:00
5 changed files with 71 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b162a3340a6ddb29170b359fe0f2e023f86a9bfea035555b74d38d9fc5e0c00
size 1734617

3
5.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3a7ea10fc72a74fe9949baa8f2598192c4ee77e50ed229b88d6c3ee34381a39
size 1801696

View File

@@ -0,0 +1,23 @@
From 6251648873b9e1ed23536beebbaa5d6fead3d5be Mon Sep 17 00:00:00 2001
From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 29 Jul 2025 23:05:21 +1200
Subject: [PATCH] Stop checking struct sizes against glibc `termio` since that
has been removed.
Resolves #3995.
---
src/kernel_abi.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/kernel_abi.h b/src/kernel_abi.h
index b17111833cd..fbb8514e410 100644
--- a/src/kernel_abi.h
+++ b/src/kernel_abi.h
@@ -750,7 +750,6 @@ struct BaseArch : public wordsize,
unsigned char c_line;
unsigned char c_cc[8];
};
- RR_VERIFY_TYPE(termio);
struct seccomp_notif_sizes {
uint16_t seccomp_notif;

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Sep 9 21:02:32 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- fix build, add rr-5.9.0-fix-glibc-2-42.patch from upstream
-------------------------------------------------------------------
Fri Feb 14 08:25:25 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 5.9.0:
* As usual there are lots of small improvements and bugfixes.
The main feature of this release is that in kernels >= 6.10,
rr now works with perf_event_paranoid set to 2, which is the
default for most distributions. This requires a kernel bug fix
by Kyle Huey that only shipped in 6.10. rr is slightly more
efficient with perf_event_paranoid set to 1, but that won't
matter in practice.
-------------------------------------------------------------------
Tue May 21 05:59:29 UTC 2024 - Michael Vetter <mvetter@suse.com>

32
rr.spec
View File

@@ -1,7 +1,8 @@
#
# spec file for package rr
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Anreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +18,21 @@
Name: rr
Version: 5.8.0
Version: 5.9.0
Release: 0
Summary: Records nondeterministic executions and debugs them deterministically
License: MIT
Group: Development/Languages/C and C++
URL: https://rr-project.org/
Source: https://github.com/mozilla/%{name}/archive/%{version}.tar.gz
# https://github.com/rr-debugger/rr/issues/3995
Patch0: rr-5.9.0-fix-glibc-2-42.patch
BuildRequires: capnproto
BuildRequires: cmake >= 3.5.0
BuildRequires: gcc-c++
BuildRequires: gdb
BuildRequires: libcapnp-devel
BuildRequires: libzstd-devel
BuildRequires: patchelf
BuildRequires: pkgconfig
BuildRequires: python3-base
@@ -39,6 +43,20 @@ ExclusiveArch: x86_64 aarch64
%ifarch x86_64
BuildRequires: gcc-c++-32bit
%endif
%if 0%{?suse_version} < 1600
BuildRequires: gcc12-c++
%endif
%package zsh-completion
Summary: Zsh completion for %{name}
Group: Development/Tools/Version Control
Requires: %{name} = %{version}
Requires: zsh
Supplements: (%{name} and zsh)
BuildArch: noarch
%description zsh-completion
Zsh command line completion support for %{name}.
%description
This program aspires to be your primary debugging tool, enhancing gdb. It
@@ -51,13 +69,15 @@ data watchpoints and quickly reverse-execute to where they were hit.
%build
# Fix incorrect path to bash
sed -i "s|%{_bindir}/bash|/bin/bash|g" ./scripts/signal-rr-recording.sh
%if 0%{?suse_version} < 1600
export CXX=g++-12
%endif
%cmake \
-DBUILD_TESTS=OFF \
%ifarch aarch64
-Ddisable32bit=true \
%endif
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=14
%{nil}
%cmake_build
%install
@@ -83,4 +103,8 @@ sed -i "s|%{_bindir}/bash|/bin/bash|g" ./scripts/signal-rr-recording.sh
%{_datadir}/rr/*
%{_datadir}/bash-completion/completions/rr
%files zsh-completion
%license LICENSE
%{_datadir}/zsh
%changelog