Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: rr 4.5.0-1

Git Clone URL: https://aur-dev.archlinux.org/rr.git (read-only)
Package Base: rr
Description: Record and Replay framework: lightweight recording and deterministic debugging
Upstream URL: http://rr-project.org/
Licenses: custom
Submitter: dequis
Maintainer: dequis
Last Packager: dequis
Votes: 18
Popularity: 0.432609
First Submitted: 2015-08-24 23:26
Last Updated: 2017-02-04 14:52

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

SilverOne commented on 2016-06-07 19:35

@dequis I get the same problem in the rr-git package.

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

Hello,

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

[ 42%] Building CXX object CMakeFiles/rr.dir/src/record_signal.cc.o
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/record_signal.cc:18:
/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/record_signal.cc:54:67: 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/record_signal.cc.o' failed
make[2]: *** [CMakeFiles/rr.dir/src/record_signal.cc.o] 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().
Aborting...

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/Scheduler.cc.o
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Scheduler.cc: In function ‘void sleep_time(double)’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Scheduler.cc:262:30: 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/Scheduler.cc: In member function ‘void Scheduler::maybe_reset_high_priority_only_intervals(double)’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Scheduler.cc:293:65: 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/Scheduler.cc: In member function ‘bool Scheduler::in_high_priority_only_interval(double)’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Scheduler.cc:313:56: error: ‘fmod’ was not declared in this scope
high_priority_only_intervals_period);
^
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Scheduler.cc: In member function ‘double Scheduler::interrupt_after_elapsed_time() const’:
/home/pmderodat/misc/rr/src/rr-4.2.0/src/Scheduler.cc:484:53: 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/Scheduler.cc.o' failed

Can anyone reproduce these?

Shrike 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: https://gist.github.com/SShrike/e9670f8d1e0994b70b61

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

cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..

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/__init__.py", line 75, in <module>
from .pty_spawn import spawn, spawnu
File "/usr/lib/python2.7/site-packages/pexpect/pty_spawn.py", 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?