me
/
guix
Archived
1
0
Fork 0

gnu: wireshark: Update to 4.0.4.

* gnu/packages/networking.scm (wireshark): Update to 4.0.4.
[arguments]<#:phases>: Re-introduce a now succeeding test and enable parallel
tests.  Update comment.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
master
Nicolas Goaziou 2023-03-17 10:27:23 +01:00 committed by Maxim Cournoyer
parent 735b83994f
commit d22cf3a3f2
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 11 additions and 11 deletions

View File

@ -1758,29 +1758,29 @@ of the same name.")
(define-public wireshark (define-public wireshark
(package (package
(name "wireshark") (name "wireshark")
(version "4.0.3") (version "4.0.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://www.wireshark.org/download/src/wireshark-" (uri (string-append "https://www.wireshark.org/download/src/wireshark-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 "04cmgvmkyvxdpfy08adxf3smklgzakrvyvb89rrr7yqaridy2lbc")))) (base32 "0jz76ra86gy7r4wwb174lggnl5y29nn68l7ydw1kj1phcijrz854"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
;; Skip test suite failing with "Program reassemble_test is not
;; available" and alike errors. Also skip test suite failing
;; with "AssertionError: Program extcap/sdjournal is not
;; available" error.'
(when tests? (when tests?
(invoke "ctest" (invoke "ctest" "-VV"
"-E" "-j" (if parallel-tests?
(string-join (list "suite_unittests" "suite_extcaps") (number->string (parallel-job-count))
"|")))))) "1")
;; Skip the suite_extcaps.case_extcaps.test_sdjournal
;; test as it requires sdjournal (from systemd) and
;; fails.
"-E" "suite_extcaps")))))
;; Build process chokes during `validate-runpath' phase. ;; Build process chokes during `validate-runpath' phase.
;; ;;
;; Errors are like the following: ;; Errors are like the following: