Package Details: rr 4.2.0-1

Git Clone URL: https://aur.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: 11
Popularity: 1.198125
First Submitted: 2015-08-24 23:26
Last Updated: 2016-03-20 17:15

Latest Comments

pmderodat commented on 2016-06-08 12:51

@dequis I’ll indeed try to contact directly upstream maintainers. Thank you for your help!

dequis commented on 2016-06-08 10:35

@pmderodat irc.mozilla.org #rr

You might want to ask there or file an issue in the github issue tracker, I personally have no idea. At least the mentioned -Werror issue should be fixed in git, though. Downgrading gcc-multilib and gcc-libs-multilib to 5.x may also help.

FWIW, here's my built package: http://dequis.org/rr-4.2.0-1-x86_64.pkg.tar.xz

There's also a prebuilt .tar.gz available in https://github.com/mozilla/rr/releases/tag/4.2.0

pmderodat commented on 2016-06-08 10:25

@dequis @SilverOne Thanks for your answers! Yes, same problem in the rr-git package as well.
@dequis: where did you get the info about it fixed upstream?

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?

All comments