From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 62235-done@debbugs.gnu.org
Subject: bug#62235: [PATCH] gnu: wireshark: Update to 4.0.4.
Date: Wed, 22 Mar 2023 10:13:20 -0400 [thread overview]
Message-ID: <87355wj2m7.fsf@gmail.com> (raw)
In-Reply-To: <20230317092723.249913-1-mail@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 17 Mar 2023 10:27:23 +0100")
Hi!
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> * gnu/packages/networking.scm (wireshark): Update to 4.0.4.
> [arguments]<#:phases>: Re-introduce a now succeeding test.
Thanks for this.
> ---
> gnu/packages/networking.scm | 14 ++++----------
> 1 file changed, 4 insertions(+), 10 deletions(-)
>
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index 3fac05c411..bec707a390 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -1758,29 +1758,23 @@ (define-public whois
> (define-public wireshark
> (package
> (name "wireshark")
> - (version "4.0.3")
> + (version "4.0.4")
> (source
> (origin
> (method url-fetch)
> (uri (string-append "https://www.wireshark.org/download/src/wireshark-"
> version ".tar.xz"))
> (sha256
> - (base32 "04cmgvmkyvxdpfy08adxf3smklgzakrvyvb89rrr7yqaridy2lbc"))))
> + (base32 "0jz76ra86gy7r4wwb174lggnl5y29nn68l7ydw1kj1phcijrz854"))))
> (build-system cmake-build-system)
> (arguments
> `(#:phases
> (modify-phases %standard-phases
> (replace 'check
> (lambda* (#:key 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.'
> + ;; Skip failing test suite.
> (when tests?
> - (invoke "ctest"
> - "-E"
> - (string-join (list "suite_unittests" "suite_extcaps")
> - "|"))))))
> + (invoke "ctest" "-E" "suite_extcaps")))))
I've modified the change like this, preserving the useful comment (and
enabling parallel tests):
--8<---------------cut here---------------start------------->8---
modified gnu/packages/networking.scm
@@ -1771,10 +1771,16 @@ (define-public wireshark
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- ;; Skip failing test suite.
+ (lambda* (#:key parallel-tests? tests? #:allow-other-keys)
(when tests?
- (invoke "ctest" "-E" "suite_extcaps")))))
+ (invoke "ctest" "-VV"
+ "-j" (if parallel-tests?
+ (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.
;;
;; Errors are like the following:
--8<---------------cut here---------------end--------------->8---
I've now installed this change, along a few others updating the
dependencies to Qt6 and restoring validate-runpath.
--
Thanks,
Maxim
prev parent reply other threads:[~2023-03-22 14:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-17 9:27 [bug#62235] [PATCH] gnu: wireshark: Update to 4.0.4 Nicolas Goaziou
2023-03-22 14:13 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87355wj2m7.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=62235-done@debbugs.gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).