Subject: bug#77984: closed (Re: bug#77984: [PATCH] Update mercurial to 6.9.5 and disable failing test)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 26 Apr 2025 12:09:02 +0000

Your bug report

#77984: mercurial test failure

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77984: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77984
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#77984: [PATCH] Update mercurial to 6.9.5 and disable failing test
From: Z572 <[email-masked]>
To: "Dr. Arne Babenhauserheide" via Bug reports for GNU Guix <[email-masked]>
Cc: "Dr. Arne Babenhauserheide" <[email-masked]>, [email-masked]
Date: Sat, 26 Apr 2025 20:08:40 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

"Dr. Arne Babenhauserheide" via Bug reports for GNU Guix <[email-masked]> writes:

> Hi,
>
> Just the rebased version of the patch.
>
> From aebc32c9eb5e097130449043fa87a49b68f5e326 Mon Sep 17 00:00:00 2001
> Message-ID: <[email-masked]>
> From: Arne Babenhauserheide <[email-masked]>
> Date: Thu, 24 Apr 2025 18:43:35 +0200
> Subject: [PATCH] Update mercurial to 6.9.5 and disable failing test
>
> * gnu/packages/version-control.scm (mercurial): update to 6.9.5
> * gnu/packages/version-control.scm (mercurial): disable test-revlog-mmapindex.t
>
> Change-Id: I48f26635b896fb6038b7f656a53395e79c0ee43a
> ---
>  gnu/packages/version-control.scm | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
> index d9e7dd249f4..1a5962b9930 100644
> --- a/gnu/packages/version-control.scm
> +++ b/gnu/packages/version-control.scm
> @@ -2624,7 +2624,7 @@ (define-public python-pre-commit
>  (define-public mercurial
>    (package
>      (name "mercurial")
> -    (version "6.7.2")
> +    (version "6.9.5")
>      (source (origin
>               (method url-fetch)
>               (uri (string-append "https://www.mercurial-scm.org/"
> @@ -2632,7 +2632,7 @@ (define-public mercurial
>               (patches (search-patches "mercurial-hg-extension-path.patch"))
>               (sha256
>                (base32
> -               "01nqvp3cvidlz9z5vm05vpq81r6x10jwwfcaz0gw9anz0l60f8hw"))))
> +               "1zb5rjqs5z0y900hml0v4wsmv59cdhi50a8kcbjxdp79z7p2mwnk"))))
>      (build-system gnu-build-system)
>      (arguments
>       `(#:make-flags
> @@ -2657,6 +2657,11 @@ (define-public mercurial
>                             ;; PATH from before (that's why we are building it!)?
>                             "test-hghave.t"
>  
> +                           ;; This test is missing a debug line
> +                           ;; mmapping $TESTTMP/a/.hg/store/00changelog.i (no-pure !)
> +                           ;; but the relevant output is correct.
> +                           "test-revlog-mmapindex.t"
> +
>                             ;; This test creates a shebang spanning multiple
>                             ;; lines which is difficult to substitute.  It
>                             ;; only tests the test runner itself, which gets
>
> base-commit: 7ff20b9e94c429f1160bd8f0db86b153a03e4683
> -- 
> 2.49.0
>
>
> Best wishes,
> Arne
pushed, closing.

Subject: mercurial test failure
From: Dariqq <[email-masked]>
To: [email-masked]
Date: Tue, 22 Apr 2025 10:52:13 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

guix --version
guix (GNU Guix) f9a7f2c8afdf33a36bd36177c0aa98d35331bf26

mercurial is currently failing a test. Apart from not being able to use 
it for scm this also breaks hg-download.

See https://ci.guix.gnu.org/build/9604657/details or 
https://ci.guix.gnu.org/build/9584618/details for x86_64-linux or i686-linux

Failed test-patchbomb.t: output changed.

--- 
/tmp/guix-build-mercurial-6.7.2.drv-0/mercurial-6.7.2/tests/test-patchbomb.t
+++ 
/tmp/guix-build-mercurial-6.7.2.drv-0/mercurial-6.7.2/tests/test-patchbomb.t.err
@@ -2419,41 +2419,11 @@
    >  --config email.bcc='"Quux, A." <quux>'
    this patch series consists of 1 patches.

-
-  sending [PATCH] test ...
+  abort: no recipient addresses provided
+  [255]
    $ cat < tmp.mbox
-  From quux ... ... .. ..:..:.. .... (re)
-  MIME-Version: 1.0
-  Content-Type: text/plain; charset="us-ascii"
-  Content-Transfer-Encoding: 7bit
-  Subject: [PATCH] test
-  X-Mercurial-Node: 8580ff50825a50c8f716709acdf8de0deddcd6ab
-  X-Mercurial-Series-Index: 1
-  X-Mercurial-Series-Total: 1
-  Message-Id: <8580ff50825a50c8f716.315532860@test-hostname>
-  X-Mercurial-Series-Id: <8580ff50825a50c8f716.315532860@test-hostname>
-  User-Agent: Mercurial-patchbomb/* (glob)
-  Date: Tue, 01 Jan 1980 00:01:00 +0000
-  From: quux
-  To: =?iso-8859-1?q?spam?= <spam>, eggs, toast
-  Cc: foo, [email-masked], =?iso-8859-1?q?A=2C_B_=3C=3E?= <[email-masked]>
-  Bcc: =?iso-8859-1?q?Quux=2C_A=2E?= <quux>
-
-  # HG changeset patch
-  # User test
-  # Date 1 0
-  #      Thu Jan 01 00:00:01 1970 +0000
-  # Node ID 8580ff50825a50c8f716709acdf8de0deddcd6ab
-  # Parent  0000000000000000000000000000000000000000
-  a
-
-  diff -r 000000000000 -r 8580ff50825a a
-  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-  +++ b/a	Thu Jan 01 00:00:01 1970 +0000
-  @@ -0,0 +1,1 @@
-  +a
-
-
+  $TESTTMP.sh: line 226: tmp.mbox: $ENOENT$
+  [1]

  test flag template:
    $ echo foo > intro.text

ERROR: test-patchbomb.t output changed
!# Ret was: 0 (test-patchbomb.t)