Package Details: rr-bin 5.8.0-3

Git Clone URL: https://aur.archlinux.org/rr-bin.git (read-only, click to copy)
Package Base: rr-bin
Description: Binary record and replay framework: lightweight recording and deterministic debugging
Upstream URL: http://rr-project.org/
Keywords: debugging execution reverse
Licenses: custom
Conflicts: rr, rr-git
Provides: rr
Submitter: Techcable
Maintainer: eklausmeier
Last Packager: eklausmeier
Votes: 5
Popularity: 0.000000
First Submitted: 2017-09-20 16:13 (UTC)
Last Updated: 2024-09-22 13:21 (UTC)

Latest Comments

1 2 Next › Last »

eklausmeier commented on 2024-09-22 13:26 (UTC) (edited on 2024-09-22 15:01 (UTC) by eklausmeier)

Added all so-files from rr-5.8.0-Linux-x86_64/lib/rr/

Dominiquini commented on 2024-09-21 06:44 (UTC)

There are files on the lib folder that are missing in the installation:

Failed to locate librrpage.so

eklausmeier commented on 2024-09-19 17:07 (UTC)

Thanks!

Package has been corrected.

Dominiquini commented on 2024-09-18 22:11 (UTC) (edited on 2024-09-18 22:17 (UTC) by Dominiquini)

@eklausmeier: I clone the repo on my machine and run 'updpkgsums' This is the diff from the original version:


diff --git a/PKGBUILD b/PKGBUILD

index ed44efb..e95ce94 100644

--- a/PKGBUILD

+++ b/PKGBUILD

@@ -11,9 +11,9 @@ license=('custom')

depends=('gdb')

source=("https://github.com/rr-debugger/rr/releases/download/$pkgver/rr-$pkgver-Linux-x86_64.tar.gz" "https://raw.githubusercontent.com/rr-debugger/rr/$pkgver/LICENSE")

sha256sums=('fe545439c5200f1967f4847ed6608943462d4c753b53b6fe694dab8915d1028a'

-- 'fa03106ff7c9018337f1b489bdec8763a1a19b857466055f77637a0af7181f32')

++ 'aaec860979579376519b0bb376a317d0c52a7182f5dde5f362a8df3590312f9f')

provides=('rr')

conflicts=('rr' 'rr-git')

package() {


On my machine, the sha256 of the file LICENSE is 'aaec860979579376519b0bb376a317d0c52a7182f5dde5f362a8df3590312f9f'

Thanks

eklausmeier commented on 2024-09-18 17:11 (UTC)

I cannot reproduce mentioned LICENSE problem. This is what I see:

$ time makepkg
==> Making package: rr-bin 5.8.0-1 (Tue 17 Sep 2024 10:00:35 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found rr-5.8.0-Linux-x86_64.tar.gz
  -> Found LICENSE
==> Validating source files with sha256sums...
    rr-5.8.0-Linux-x86_64.tar.gz ... Passed
    LICENSE ... Passed
==> Extracting sources...
  -> Extracting rr-5.8.0-Linux-x86_64.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "rr-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "rr-bin-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rr-bin 5.8.0-1 (Tue 17 Sep 2024 10:00:41 PM CEST)
        real 6.29s
        user 4.67s
        sys 0
        swapped 0
        total space 0

Installing is smooth:

$ pacman -U /var/cache/aur/rr-bin-5.8.0-1-x86_64.pkg.tar.zst
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) rr-bin-5.8.0-1

Total Installed Size:  5.48 MiB
Net Upgrade Size:      0.51 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                  [##################################################################] 100%
(1/1) checking package integrity                [##################################################################] 100%
(1/1) loading package files                     [##################################################################] 100%
(1/1) checking for file conflicts               [##################################################################] 100%
(1/1) checking available disk space             [##################################################################] 100%
:: Processing package changes...
(1/1) upgrading rr-bin                          [##################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Dominiquini commented on 2024-09-17 20:12 (UTC)

Failed to install! Checksum of the LICENSE file is wrong!

==> Validating source files with sha256sums... rr-5.8.0-Linux-x86_64.tar.gz ... Passed LICENSE ... FAILED

eklausmeier commented on 2021-07-16 16:09 (UTC)

@duongdominhchau: Thanks for pointing out this omission and clear error messages. It is now corrected.

eklausmeier commented on 2021-07-16 02:39 (UTC)

Will take a look.

duongdominhchau commented on 2021-07-15 06:42 (UTC)

I got the following output when running rr record ./a:

rr: Saving execution to trace directory `/home/chau/.local/share/rr/a-4'.
[FATAL /home/roc/rr/rr/src/AddressSpace.cc:314:map_rr_page() errno: ENOENT]
 (task 42899 (rec:42899) at time 14)
 -> Assertion `page.is_open()' failed to hold. Failed to open rr_page file /usr/bin/../share/rr/rr_page_64
Tail of trace dump:
=== Start rr backtrace:
rr(_ZN2rr13dump_rr_stackEv+0x28)[0x56d088]
rr(_ZN2rr9GdbServer15emergency_debugEPNS_4TaskE+0x225)[0x5bfcd5]
rr[0x59f5be]
rr(_ZN2rr12AddressSpace11map_rr_pageERNS_18AutoRemoteSyscallsE+0x160)[0x4a4c90]
rr(_ZN2rr12AddressSpace17post_exec_syscallEPNS_4TaskE+0x71)[0x4a5251]
rr(_ZN2rr4Task17post_exec_syscallEv+0x26)[0x53a306]
rr[0x5e262f]
rr[0x544d67]
rr(_ZN2rr19rec_process_syscallEPNS_10RecordTaskE+0x285)[0x4ff795]
rr(_ZN2rr13RecordSession21syscall_state_changedEPNS_10RecordTaskEPNS0_9StepStateE+0x8e8)[0x510678]
rr(_ZN2rr13RecordSession11record_stepEv+0x4a2)[0x52a612]
rr(_ZN2rr13RecordCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0xd64)[0x513324]
rr(main+0x353)[0x498163]
/usr/lib/libc.so.6(__libc_start_main+0xd5)[0x7f2bcf1a2b25]
rr(_start+0x29)[0x498579]
=== End rr backtrace
Launch gdb with
  gdb '-l' '10000' '-ex' 'set sysroot /' '-ex' 'target extended-remote 127.0.0.1:42899' /home/chau/a

This package missed the whole /usr/share/rr directory. I checked the build dir, the files are there, but the PKGBUILD doesn't install them, thus result in file not found error.

Techcable commented on 2021-03-15 19:51 (UTC)

I'm going to recommend people use the rr package. It's been somewhat more reliable for me

This may change later though (Linux....)