GNU bug report logs - #62641
[PATCH] gnu: hwloc: Update to 2.9.1.

Previous Next

Package: guix-patches;

Reported by: Philippe SWARTVAGHER <phil.swart <at> gmx.fr>

Date: Mon, 3 Apr 2023 09:48:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62641 in the body.
You can then email your comments to 62641 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62641; Package guix-patches. (Mon, 03 Apr 2023 09:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philippe SWARTVAGHER <phil.swart <at> gmx.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 03 Apr 2023 09:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philippe SWARTVAGHER <phil.swart <at> gmx.fr>
To: guix-patches <at> gnu.org
Cc: Philippe SWARTVAGHER <phil.swart <at> gmx.fr>
Subject: [PATCH] gnu: hwloc: Update to 2.9.1.
Date: Mon,  3 Apr 2023 11:46:19 +0200
* gnu/packages/mpi.scm (hwloc-2): Update to 2.9.1.

Patch to skip tests requiring /sys on non-x86 systems should not be
necessary anymore, as https://github.com/open-mpi/hwloc/pull/570 has
been merged in this new version.
---
 gnu/packages/mpi.scm | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index baef62616f..6faa47c669 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -141,7 +141,7 @@ (define-public hwloc-1
 (define-public hwloc-2
   (package
     (inherit hwloc-1)
-    (version "2.9.0")
+    (version "2.9.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://download.open-mpi.org/release/hwloc/v"
@@ -149,7 +149,7 @@ (define-public hwloc-2
                                   "/hwloc-" version ".tar.bz2"))
               (sha256
                (base32
-                "11v8hnl6fdsdbm3wnz5gg88f2ghixjyl7jlfmywj293ab5iyjw10"))))
+                "17jr14a5ns5rpwvy28fy7xqagbvfprsz7wrsjgh5gx7y40d97i3w"))))
 
     ;; libnuma is no longer needed.
     (inputs (modify-inputs (package-inputs hwloc-1)
@@ -168,16 +168,7 @@ (define-public hwloc-2
            (add-before 'check 'skip-tests-that-require-/sys
              (lambda _
                ;; 'test-gather-topology.sh' requires /sys as of 2.9.0; skip it.
-               (setenv "HWLOC_TEST_GATHER_TOPOLOGY" "0")
-
-               ;; 'hwloc_backends' also requires /sys on non-x86 systems, for
-               ;; which hwloc lacks a topology backend not reliant on the
-               ;; operating system; skip it also on these machines.
-               (substitute* "tests/hwloc/hwloc_backends.c"
-                 ,@(if (not (target-x86?))
-                       '((("putenv\\(\\(char \\*\\) \"HWLOC_L" all)
-                          (string-append "exit (77);\n" all)))
-                       '()))))
+               (setenv "HWLOC_TEST_GATHER_TOPOLOGY" "0")))
            (add-before 'check 'skip-test-that-fails-on-qemu
              (lambda _
                ;; Skip test that fails on emulated hardware due to QEMU bug:

base-commit: 1d0158ab9036cff7737cbfb1678f876ae67c4ac2
-- 
2.30.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 07 Apr 2023 14:53:02 GMT) Full text and rfc822 format available.

Notification sent to Philippe SWARTVAGHER <phil.swart <at> gmx.fr>:
bug acknowledged by developer. (Fri, 07 Apr 2023 14:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 62641-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Philippe SWARTVAGHER <phil.swart <at> gmx.fr>
Cc: 62641-done <at> debbugs.gnu.org
Subject: Re: bug#62641: [PATCH] gnu: hwloc: Update to 2.9.1.
Date: Fri, 07 Apr 2023 16:51:45 +0200
Hello!

Philippe SWARTVAGHER <phil.swart <at> gmx.fr> skribis:

> * gnu/packages/mpi.scm (hwloc-2): Update to 2.9.1.
>
> Patch to skip tests requiring /sys on non-x86 systems should not be
> necessary anymore, as https://github.com/open-mpi/hwloc/pull/570 has
> been merged in this new version.

Applied, thanks! :-)

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#62641; Package guix-patches. (Fri, 07 Apr 2023 14:53:02 GMT) Full text and rfc822 format available.

Message #13 received at 62641-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Philippe SWARTVAGHER <phil.swart <at> gmx.fr>
Cc: 62641-done <at> debbugs.gnu.org
Subject: Re: bug#62641: [PATCH] gnu: hwloc: Update to 2.9.1.
Date: Fri, 07 Apr 2023 16:52:23 +0200
Hello!

Philippe SWARTVAGHER <phil.swart <at> gmx.fr> skribis:

> * gnu/packages/mpi.scm (hwloc-2): Update to 2.9.1.
>
> Patch to skip tests requiring /sys on non-x86 systems should not be
> necessary anymore, as https://github.com/open-mpi/hwloc/pull/570 has
> been merged in this new version.

Applied, thanks! :-)

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 May 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.