about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpjotrp2023-12-01 13:23:12 -0600
committerpjotrp2023-12-01 13:23:12 -0600
commite5bff14a977277fabe1c97db38407f490fd06a75 (patch)
tree6e1fede41b5831facd1cdeb76b28e9642d99b05f
parent50a7bc10fb80bd9396a613ffd69d2b84d184a53d (diff)
downloadguix-bioinformatics-e5bff14a977277fabe1c97db38407f490fd06a75.tar.gz
roll-back on lizardfs because fuse3 issues
-rw-r--r--gn/packages/file-systems.scm74
1 files changed, 36 insertions, 38 deletions
diff --git a/gn/packages/file-systems.scm b/gn/packages/file-systems.scm
index c145e1a..bf92ed9 100644
--- a/gn/packages/file-systems.scm
+++ b/gn/packages/file-systems.scm
@@ -13,38 +13,37 @@
   #:use-module (gnu packages linux)
   #:use-module (gnu packages logging)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages python))
 
-
 (define-public lizardfs
-  (let ((commit "b1e97f974fc3a4046edaf9fdc3962264d4cd24fa"))
-    (package
-     (name "lizardfs")
-     (version (string-append "3.12.1-" (string-take commit 7)))
-     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/lizardfs/lizardfs")
-                    (commit commit)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "1jh5alwgaalsnnn53clp3zr5rhzqlbd6apiqvvm6gdxw6ja3f4s1"))))
-     (build-system cmake-build-system)
-     (arguments
-      `(#:configure-flags
-        (list "-DENABLE_CLIENT_LIB=YES"
-              "-DENABLE_TESTS=NO"
-              "-DENABLE_STATIC=NO"
-              "-DENABLE_VERBOSE_ASCIIDOC=YES"
-              "-DENABLE_TCMALLOC=NO"
-                                        ;"-DLIB_SUBDIR=lib" ; no 64 suffix
-              ;; Some directories need to be changed
-                                        ;"-DRUN_SUBDIR=/var/run/lizardfs"
-                                        ;"-DDATA_SUBDIR=/var/lib/lizardfs"
-                                        ;"-DETC_SUBDIR=/etc/lizardfs"
-              "-DENABLE_UTILS=YES")
+  (package
+    (name "lizardfs")
+    (version "3.12.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/lizardfs/lizardfs")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0zk73wmx82ari3m2mv0zx04x1ggsdmwcwn7k6bkl5c0jnxffc4ax"))
+        (patches (search-patches "lizardfs-issues-found-on-Fedora-34-using-GCC-11.patch"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "-DENABLE_CLIENT_LIB=YES"
+             "-DENABLE_TESTS=YES"
+             "-DENABLE_STATIC=NO"
+             "-DENABLE_VERBOSE_ASCIIDOC=YES"
+             "-DENABLE_TCMALLOC=NO"
+             ;"-DLIB_SUBDIR=lib" ; no 64 suffix
+             ;; Some directories need to be changed
+             ;"-DRUN_SUBDIR=/var/run/lizardfs"
+             ;"-DDATA_SUBDIR=/var/lib/lizardfs"
+             ;"-DETC_SUBDIR=/etc/lizardfs"
+             "-DENABLE_UTILS=YES")
        ;; Tests involve setting up a lizardfs instance and run as root.
        ;; We will make do with just building the tests.
        #:tests? #f
@@ -121,14 +120,13 @@
                               (string-append etc "/" (basename file) ".dist")))
                  (find-files data "\\.cfg(\\.in)?$")))))))))
     (inputs
-     `(("bdb" ,bdb)
-       ("boost" ,boost)
-       ("fuse" ,fuse)
-       ("fmt" ,fmt)
-       ("linux-pam" ,linux-pam)
-       ("python" ,python-2)
-       ("spdlog" ,spdlog)
-       ("zlib" ,zlib)))
+     (list bdb
+           boost
+           fuse-2
+           linux-pam
+           python-2
+           spdlog
+           zlib))
     (native-inputs
      `(("asciidoc" ,asciidoc)
        ("googletest" ,(package-source googletest-1.7))
@@ -146,7 +144,7 @@ any downtime.  The system will automatically move data across to the newly
 added servers, as it continuously takes care of balancing disk usage across all
 connected nodes.")
     (license (list license:asl2.0   ; external/crcutil
-                   license:gpl3)))))
+                   license:gpl3))))
 
 (define-public googletest-1.7
   ;; Source only package