Subject: bug#55902: closed (Re: bug#55902: gnu: libtree: Update to 3.1.1)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 16 Jun 2022 09:08:01 +0000

Your bug report

#55902: gnu: libtree: Update to 3.1.1

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

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

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

Subject: Re: bug#55902: gnu: libtree: Update to 3.1.1
From: Ludovic Courtès <[email-masked]>
To: "Artyom V. Poptsov" <[email-masked]>
Cc: [email-masked]
Date: Thu, 16 Jun 2022 11:07:06 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

"Artyom V. Poptsov" <[email-masked]> skribis:

> From c1c778323017336de16a77ccd972c4809782bd47 Mon Sep 17 00:00:00 2001
> From: "Artyom V. Poptsov" <[email-masked]>
> Date: Sat, 11 Jun 2022 10:50:39 +0300
> Subject: [PATCH] gnu: libtree: Update to 3.1.1.
>
> * gnu/packages/linux.scm (libtree): Update to 3.1.1.

Applied, thanks!

Ludo’.

Subject: gnu: libtree: Update to 3.1.1
From: "Artyom V. Poptsov" <[email-masked]>
To: [email-masked]
Date: Sat, 11 Jun 2022 10:53:37 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

this patch updates 'libtree' to 3.1.1.

- Artyom
From c1c778323017336de16a77ccd972c4809782bd47 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <[email-masked]>
Date: Sat, 11 Jun 2022 10:50:39 +0300
Subject: [PATCH] gnu: libtree: Update to 3.1.1.

* gnu/packages/linux.scm (libtree): Update to 3.1.1.
---
 gnu/packages/linux.scm | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index dacb29a6ac..1ebc186f4f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9199,7 +9199,7 @@ older system-wide @file{/sys} interface.")
 (define-public libtree
   (package
     (name "libtree")
-    (version "3.0.2")
+    (version "3.1.1")
     (source
      (origin
        (method git-fetch)
@@ -9208,7 +9208,7 @@ older system-wide @file{/sys} interface.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "072624anz9g01mp5vfkahfmzy0nb7axg5rwk3n1yrdm4hr3d4zrb"))))
+        (base32 "1jbc60cslzcfxk9jwva51ncr1zl1nz0fkgfjdckgv81is11nswmb"))))
     (arguments
      (list #:make-flags
            ;; NOTE: Official documentation recommends to build libtree with
@@ -9217,6 +9217,15 @@ older system-wide @file{/sys} interface.")
                    (string-append "PREFIX=" #$output))
            #:phases
            #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-tests
+                 ;; XXX: '08_nodeflib' fails as 'libtree' returns a non-zero
+                 ;; code in one of the tests.
+                 ;;
+                 ;; See <https://github.com/haampie/libtree/issues/80>).
+                 (lambda _
+                   (substitute* "tests/08_nodeflib/Makefile"
+                     (("! ../../libtree -vvv exe_b")
+                      "../../libtree -vvv exe_b"))))
                (delete 'configure))))
     (build-system gnu-build-system)
     (home-page "https://github.com/haampie/libtree")
-- 
2.25.1

-- 
Artyom "avp" Poptsov <[email-masked]>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F