gnu: libarchive: Update to 3.6.1.

* gnu/packages/backup.scm (libarchive): Update to 3.6.1.
[arguments]: Enable one test.
This commit is contained in:
Marius Bakke 2022-06-26 11:20:43 +02:00
parent a00a3eb1cf
commit 2ff1a14bda
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -238,7 +238,7 @@ (define-public hdup
(define-public libarchive (define-public libarchive
(package (package
(name "libarchive") (name "libarchive")
(version "3.5.1") (version "3.6.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -249,7 +249,7 @@ (define-public libarchive
version ".tar.xz"))) version ".tar.xz")))
(sha256 (sha256
(base32 (base32
"16r95rlmikll1k8vbhh06vq6x3srkc10hzxjjf3021mjs2ld65qf")))) "1rj8q5v26lxxr8x4b4nqbrj7p06qvl91hb8cdxi3xx3qp771lhas"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
(list bzip2 (list bzip2
@ -275,16 +275,7 @@ (define-public libarchive
;; test_write_disk_lookup tests expect user 'root' to ;; test_write_disk_lookup tests expect user 'root' to
;; exist, but the chroot's /etc/passwd doesn't have ;; exist, but the chroot's /etc/passwd doesn't have
;; it. Turn off those tests. ;; it. Turn off those tests.
;;
;; XXX: Adjust test that fails with zstd 1.4.1
;; because the default options compresses two bytes
;; better than this test expects.
;; https://github.com/libarchive/libarchive/issues/1226
(begin (begin
(substitute* "libarchive/test/test_write_filter_zstd.c"
(("compression-level\", \"6\"")
"compression-level\", \"7\""))
;; The tests allow one to disable tests matching a globbing pattern. ;; The tests allow one to disable tests matching a globbing pattern.
(invoke "make" (invoke "make"
"libarchive_test" "libarchive_test"