Package Details: rr 5.4.0-6

Git Clone URL: (read-only, click to copy)
Package Base: rr
Description: Record and Replay framework: lightweight recording and deterministic debugging
Upstream URL:
Licenses: custom
Submitter: dequis
Maintainer: codyps
Last Packager: codyps
Votes: 38
Popularity: 1.14
First Submitted: 2015-08-24 23:26
Last Updated: 2020-11-16 22:28

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

dequis commented on 2016-06-03 17:39

@pmderodat Apparently this stuff is fixed in the master branch, try the rr-git package.

pmderodat commented on 2016-05-31 13:29


I just tried to build this package and get the following error:

[ 42%] Building CXX object CMakeFiles/rr.dir/src/
In file included from /home/pmderodat/misc/rr/src/rr-4.2.0/src/AutoRemoteSyscalls.h:10:0,
from /home/pmderodat/misc/rr/src/rr-4.2.0/src/
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Registers.h: In instantiation of ‘void Registers::set_arg(T) [with int Index = 3; T = std::nullptr_t]’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/AutoRemoteSyscalls.h:224:30: recursively required from ‘void AutoRemoteSyscalls::syscall_helper(int, Registers&, T, Rest ...) [with int Index = 2; T = long unsigned int; Rest = {std::nullptr_t, long unsigned int}]’
/home/pmderodat/misc/rr/src/rr-4.2.0/src/AutoRemoteSyscalls.h:224:30: required from ‘void AutoRemoteSyscalls::syscall_helper(int, Registers&, T, Rest ...) [with int Index = 1; T = int; Rest = {long unsigned int, std::nullptr_t, long unsigned int}]’
/home/pmderodat/misc/rr/src/rr-4.2.0/src/AutoRemoteSyscalls.h:155:5: required from ‘long int AutoRemoteSyscalls::infallible_syscall(int, Rest ...) [with Rest = {int, long unsigned int, std::nullptr_t, long unsigned int}]’
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ required from here
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Registers.h:238:51: error: parameter ‘value’ set but not used [-Werror=unused-but-set-paramete]
template <int Index, typename T> void set_arg(T value) {
cc1plus: all warnings being treated as errors
CMakeFiles/rr.dir/build.make:846: recipe for target 'CMakeFiles/rr.dir/src/' failed
make[2]: *** [CMakeFiles/rr.dir/src/] Error 1
CMakeFiles/Makefile2:11117: recipe for target 'CMakeFiles/rr.dir/all' failed
make[1]: *** [CMakeFiles/rr.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

I’m surprised that rr uses -Werror for production builds as this may break the build with toolchain upgrades. Actually even if I patch the root CMakeLists.txt file to remove the -Werror flag, I get a build error for missing math.h include:

[ 50%] Building CXX object CMakeFiles/rr.dir/src/
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ In function ‘void sleep_time(double)’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ error: ‘floor’ was not declared in this scope
ts.tv_sec = (time_t)floor(t);
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ In member function ‘void Scheduler::maybe_reset_high_priority_only_intervals(double)’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ error: ‘pow’ was not declared in this scope
pow(high_priority_only_duration_step_factor, duration_step);
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ In member function ‘bool Scheduler::in_high_priority_only_interval(double)’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ error: ‘fmod’ was not declared in this scope
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ In member function ‘double Scheduler::interrupt_after_elapsed_time() const’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/ error: ‘floor’ was not declared in this scope
high_priority_only_intervals_period) +
CMakeFiles/rr.dir/build.make:1038: recipe for target 'CMakeFiles/rr.dir/src/' failed

Can anyone reproduce these?

severen commented on 2015-12-22 14:46

The dependencies libpfm4 and libdisasm are not required, the python2-pexpect dependency should be under checkdepends and there should a check() function that runs the tests.

I've updated your pkgbuild here:

dequis commented on 2015-11-04 16:46

Done. Also updated to 4.0.1.

(I actually had the /usr thing staged locally and forgot to commit it. Welp.)

Mic92 commented on 2015-11-04 15:08

Please install rr to /usr instead of /usr/local


And add a dependency on gcc-multilib.

janisozaur commented on 2015-11-02 20:36

@vale have you tried installing gcc-multilib?

vale commented on 2015-11-02 20:15

I'm getting some errors during ./configure:
> CMake Error at CMakeLists.txt:35 (message):
> Your toolchain doesn't support 32-bit cross-compilation.

A comment in CMakeLists.txt says the following:
> # Check that a 32-bit cross-compile works. This is needed regardless
> # of whether the entire build is being built 32-bit.

Any thoughts on correcting this?

janisozaur commented on 2015-10-25 12:18

Python complained about that package missing, but I see that today both python2-pexpect and python2-ptyprocess were updated. Perhaps they fixed that?

The error I was getting before I installed this package was:

(from cmake)
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.10", minimum required is "2.7")
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pexpect/", line 75, in <module>
from .pty_spawn import spawn, spawnu
File "/usr/lib/python2.7/site-packages/pexpect/", line 11, in <module>
import ptyprocess
ImportError: No module named ptyprocess
CMake Error at CMakeLists.txt:103 (message):
Couldn't find required Python module pexpect.

dequis commented on 2015-10-24 22:48

@janisozaur: I don't have that dependency and it works for me. What error are you getting?

janisozaur commented on 2015-10-24 22:18

Requires also python2-ptyprocess