gnu: rr: Update to 5.6.0.

* gnu/packages/debug.scm (rr): Update to 5.6.0.
[arguments]<#:configure-flags>: Add -rpath to zlib to satisfy
validate-runpath.
[inputs]: Add zlib.

Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
Michael Rohleder 2022-08-28 15:58:23 +02:00 committed by Marius Bakke
parent 72cfcf1735
commit ed9558b17a
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -621,7 +621,7 @@ (define-public remake
(define-public rr (define-public rr
(package (package
(name "rr") (name "rr")
(version "5.5.0") (version "5.6.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -629,7 +629,7 @@ (define-public rr
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32
"079x891axkiy8qbvjar9vbaldlx7pm9p0i3nq6infdc66nc69635")) "0sdpsd7bcbmx9gmp7lv71znzxz708wm8qxq5apbyc6hh80z4fzqz"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
@ -641,7 +641,9 @@ (define-public rr
;; Satisfy the validate-runpath phase. This isn't a direct ;; Satisfy the validate-runpath phase. This isn't a direct
;; consequence of clearing CMAKE_INSTALL_RPATH. ;; consequence of clearing CMAKE_INSTALL_RPATH.
(string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath=" (string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
(assoc-ref %build-inputs "capnproto") "/lib") (assoc-ref %build-inputs "capnproto")
"/lib,-rpath=" (assoc-ref %build-inputs "zlib")
"/lib")
,@(if (and (not (%current-target-system)) ,@(if (and (not (%current-target-system))
(member (%current-system) (member (%current-system)
'("x86_64-linux" "aarch64-linux"))) '("x86_64-linux" "aarch64-linux")))
@ -666,7 +668,7 @@ (define-public rr
(native-inputs (native-inputs
(list pkg-config ninja which)) (list pkg-config ninja which))
(inputs (inputs
(list gdb capnproto python python-pexpect)) (list gdb capnproto python python-pexpect zlib))
(home-page "https://rr-project.org/") (home-page "https://rr-project.org/")
(synopsis "Record and reply debugging framework") (synopsis "Record and reply debugging framework")
(description (description