GNU bug report logs - #61989
[PATCH 00/11] Adding Gocryptfs (feature branch)

Previous Next

Package: guix-patches;

Reported by: Felix Lechner <felix.lechner <at> lease-up.com>

Date: Sun, 5 Mar 2023 20:53:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

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 61989 in the body.
You can then email your comments to 61989 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-sysadmin <at> gnu.org, guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix Lechner <felix.lechner <at> lease-up.com>:
New bug report received and forwarded. Copy sent to guix-sysadmin <at> gnu.org, guix-patches <at> gnu.org. (Sun, 05 Mar 2023 20:53:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: guix-patches <at> gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun,  5 Mar 2023 12:52:11 -0800
After a discussion on #guix, someone asked me to request a feature branch
here, as well as an associated jobset for ci.guix.gnu.org.

I think we are hoping to use this patch series as a proof-of-concept for the
idea of feature branches. Thanks!

Felix Lechner (11):
  gnu: go-golang-org-x-sys: Update to 0.4.0.
  gnu: go-golang-org-x-net: Update to 0.5.0.
  gnu: Add go-github-com-hanwen-go-fuse-v2.
  gnu: Add go-github-com-aperturerobotics-jacobsa-crypto.
  gnu: Add go-github-com-jacobsa-oglematchers.
  gnu: Add go-github-com-jacobsa-oglemock.
  gnu: Add go-github-com-jacobsa-ogletest.
  gnu: Add go-github-com-jacobsa-reqtrace.
  gnu: Add go-github-com-pkg-xattr.
  gnu: Add go-github-com-rfjakob-eme.
  gnu: Add gocryptfs.

 gnu/packages/file-systems.scm |  74 +++++++++
 gnu/packages/golang.scm       | 274 +++++++++++++++++++++++++++++++---
 2 files changed, 328 insertions(+), 20 deletions(-)


base-commit: 4775460ba9a60c3c09966216da10686a70b8fadb
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 01/11] gnu: go-golang-org-x-sys: Update to 0.4.0.
Date: Sun,  5 Mar 2023 12:54:45 -0800
* gnu/packages/golang.scm (go-golang-org-x-sys): Update to 0.4.0.
(go-golang-org-x-sys): Switch to gexp.
---
 gnu/packages/golang.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 465e0fd4c7..b8ff64019e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3218,11 +3218,11 @@ (define-public go-golang-org-x-sync
       (license license:bsd-3))))
 
 (define-public go-golang-org-x-sys
-  (let ((commit "ed5796bab16455f104b6a384d51b7f9990cb9806")
-        (revision "8"))
+  (let ((commit "b60007cc4e6f966b1c542e343d026d06723e5653")
+        (revision "0"))
     (package
       (name "go-golang-org-x-sys")
-      (version (git-version "0.0.0" revision commit))
+      (version (git-version "0.4.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -3231,15 +3231,17 @@ (define-public go-golang-org-x-sys
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "081vs5bg91mwg5bdmlcvy2qyrvg766aicj47smcwfk4bbh0nc0qa"))))
+                  "0fr2d6fnpbqx6n89sg9lsinqkdaw49y068kqj2g0cxlhbh69hzii"))))
       (build-system go-build-system)
       (arguments
-       `(#:import-path "golang.org/x/sys"
-         ;; Source-only package
-         #:tests? #f
-         #:phases
-         (modify-phases %standard-phases
-           (delete 'build))))
+       (list
+        #:import-path "golang.org/x/sys"
+        ;; Source-only package
+        #:tests? #f
+        #:phases
+        #~(modify-phases %standard-phases
+            ;; Source-only package
+            (delete 'build))))
       (synopsis "Go support for low-level system interaction")
       (description "This package provides supplemental libraries offering Go
 support for low-level interaction with the operating system.")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 02/11] gnu: go-golang-org-x-net: Update to 0.5.0.
Date: Sun,  5 Mar 2023 12:54:46 -0800
* gnu/packages/golang.scm (go-golang-org-x-net): Update to 0.5.0.
(go-golang-org-x-net): Switch to gexp.
---
 gnu/packages/golang.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b8ff64019e..e3e7c7f4c3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3118,11 +3118,11 @@ (define-public go-github-com-protonmail-go-crypto
     (license license:bsd-3)))
 
 (define-public go-golang-org-x-net
-  (let ((commit "ba9fcec4b297b415637633c5a6e8fa592e4a16c3")
-        (revision "4"))
+  (let ((commit "8e0e7d8d38f2b6d21d742845570dde2902d06a1d")
+        (revision "0"))
     (package
       (name "go-golang-org-x-net")
-      (version (git-version "0.0.0" revision commit))
+      (version (git-version "0.5.0" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -3131,15 +3131,17 @@ (define-public go-golang-org-x-net
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1hbqvy6r0s5h0dpdqw8fynl3cq0acin3iyqki9xvl5r8h33yb9bx"))))
+                  "1fidlcn3vcz42v2lc0rpmqh3bz08bcklj6jvnmz2vvgc481ci5hy"))))
       (build-system go-build-system)
       (arguments
-       `(#:import-path "golang.org/x/net"
-         ; Source-only package
-         #:tests? #f
-         #:phases
-         (modify-phases %standard-phases
-           (delete 'build))))
+       (list
+        #:import-path "golang.org/x/net"
+        ;; Source-only package
+        #:tests? #f
+        #:phases
+        #~(modify-phases %standard-phases
+            ;; Source-only package
+            (delete 'build))))
       (synopsis "Go supplemental networking libraries")
       (description "This package provides supplemental Go networking libraries.")
       (home-page "https://go.googlesource.com/net")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:03 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 03/11] gnu: Add go-github-com-hanwen-go-fuse-v2.
Date: Sun,  5 Mar 2023 12:54:47 -0800
* gnu/packages/golang.scm (go-github-com-hanwen-go-fuse-v2): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e3e7c7f4c3..608b08ba29 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1158,6 +1158,34 @@ (define-public go-github-com-operatorfoundation-shapeshifter-transports
 networks where it would otherwise be blocked or heavily throttled.")
     (license license:expat)))
 
+(define-public go-github-com-hanwen-go-fuse-v2
+  (let ((commit "915cf5413cdef5370ae3f953f8eb4cd9ac176d5c")
+        (revision "0"))
+    (package
+      (name "go-github-com-hanwen-go-fuse-v2")
+      (version (git-version "2.2.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/hanwen/go-fuse")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1ik0yvs9m40vxccpb0rpxc22fyqmcgyysc7w0yl9kn3jyr6qa1d5"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/hanwen/go-fuse/v2"))
+      (native-inputs (list
+                      go-golang-org-x-sys
+                      go-golang-org-x-sync
+                      go-github-com-kylelemons-godebug))
+      (home-page "https://github.com/hanwen/go-fuse")
+      (synopsis "Go bindings for FUSE filesystems")
+      (description
+       "This is a repository containing Go bindings for writing FUSE file systems.")
+      (license license:bsd-3))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:03 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 04/11] gnu: Add go-github-com-aperturerobotics-jacobsa-crypto.
Date: Sun,  5 Mar 2023 12:54:48 -0800
* gnu/packages/golang.scm (go-github-com-aperturerobotics-jacobsa-crypto): New variable.
---
 gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 608b08ba29..312a314e39 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1186,6 +1186,37 @@ (define-public go-github-com-hanwen-go-fuse-v2
        "This is a repository containing Go bindings for writing FUSE file systems.")
       (license license:bsd-3))))
 
+(define-public go-github-com-aperturerobotics-jacobsa-crypto
+  (let ((commit "b1eb679742a8deed015a4406384eea6bd985d08a")
+        (revision "0"))
+    (package
+      (name "go-github-com-aperturerobotics-jacobsa-crypto")
+      (version (git-version "1.0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/aperturerobotics/jacobsa-crypto")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "16dxigj8m6q18xqsy72iq287rh4fw0y0b9yqlw0qkclb8379n1z2"))))
+      (build-system go-build-system)
+      (arguments
+       (list #:import-path "github.com/aperturerobotics/jacobsa-crypto"
+             ;; Source-only package.
+             #:tests? #f
+             #:phases
+             #~(modify-phases %standard-phases
+                 ;; Source-only package.
+                 (delete 'build))))
+      (home-page "https://github.com/aperturerobotics/jacobsa-crypto")
+      (synopsis "Cryptography missing from the Go standard library")
+      (description
+       "This repository contains Go packages related to cryptographic standards that are
+not included in the Go standard library.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:04 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 05/11] gnu: Add go-github-com-jacobsa-oglematchers.
Date: Sun,  5 Mar 2023 12:54:49 -0800
* gnu/packages/golang.scm (go-github-com-jacobsa-oglematchers): New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 312a314e39..08050a35b7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1217,6 +1217,34 @@ (define-public go-github-com-aperturerobotics-jacobsa-crypto
 not included in the Go standard library.")
       (license license:asl2.0))))
 
+(define-public go-github-com-jacobsa-oglematchers
+  (let ((commit "141901ea67cd4769c6800aa7bfdfc558fa22bda5")
+        (revision "0"))
+    (package
+      (name "go-github-com-jacobsa-oglematchers")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jacobsa/oglematchers")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "09ff5x6vbhd9zl1z4yzyk573ifh16rry38q1rx986kbz4hqkmniq"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/jacobsa/oglematchers"
+         ;; break loop with with go-github-com-jacobsa-ogletest
+         #:tests? #f))
+      (home-page "https://github.com/jacobsa/oglematchers")
+      (synopsis "Matchers for Go testing framework")
+      (description
+       "Package oglematchers provides a set of matchers useful in a testing or mocking
+framework.  These matchers are inspired by and mostly compatible with Google
+Test for C++ and Google JS Test.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:04 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 06/11] gnu: Add go-github-com-jacobsa-oglemock.
Date: Sun,  5 Mar 2023 12:54:50 -0800
* gnu/packages/golang.scm (go-github-com-jacobsa-oglemock): New variable.
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 08050a35b7..c56813a0b3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1245,6 +1245,35 @@ (define-public go-github-com-jacobsa-oglematchers
 Test for C++ and Google JS Test.")
       (license license:asl2.0))))
 
+(define-public go-github-com-jacobsa-oglemock
+  (let ((commit "e94d794d06ffc6de42cb19d0dab3c219efdd6dcf")
+        (revision "0"))
+    (package
+      (name "go-github-com-jacobsa-oglemock")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jacobsa/oglemock")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "14yxf8ykwdwkcccksl6741xgzcf8qykyi58kp4maxpgscqhdl8rq"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:import-path "github.com/jacobsa/oglemock"
+        ;; break loop with with go-github-com-jacobsa-ogletest
+        #:tests? #f))
+      (native-inputs (list
+                      go-github-com-jacobsa-oglematchers))
+      (home-page "https://github.com/jacobsa/oglemock")
+      (synopsis "Mocking framework for unit tests")
+      (description
+       "Package oglemock provides a mocking framework for unit tests.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:05 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 07/11] gnu: Add go-github-com-jacobsa-ogletest.
Date: Sun,  5 Mar 2023 12:54:51 -0800
* gnu/packages/golang.scm (go-github-com-jacobsa-ogletest): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c56813a0b3..c289a8ef44 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1274,6 +1274,41 @@ (define-public go-github-com-jacobsa-oglemock
        "Package oglemock provides a mocking framework for unit tests.")
       (license license:asl2.0))))
 
+(define-public go-github-com-jacobsa-ogletest
+  (let ((commit "80d50a735a1108a2aeb7abc4a988d183f20c5292")
+        (revision "0"))
+    (package
+      (name "go-github-com-jacobsa-ogletest")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jacobsa/ogletest")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1lbwbxzr75g65q07ry5k4kglxqs3ym7xkvqznzm55rm3qk76v83r"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/jacobsa/ogletest"
+         ;; These tests should be made working
+         #:tests? #f))
+      (native-inputs (list
+                      go-github-com-jacobsa-oglematchers
+                      go-github-com-jacobsa-oglemock
+                      go-github-com-jacobsa-reqtrace
+                      go-golang-org-x-net))
+      (home-page "https://github.com/jacobsa/ogletest")
+      (synopsis "Expressive unit tests")
+      (description
+       "Package ogletest provides a framework for writing expressive unit tests.  It
+integrates with the builtin testing package, so it works with the gotest
+command.  Unlike the testing package which offers only basic capabilities for
+signalling failures, it offers ways to express expectations and get nice failure
+messages automatically.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:05 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 08/11] gnu: Add go-github-com-jacobsa-reqtrace.
Date: Sun,  5 Mar 2023 12:54:52 -0800
* gnu/packages/golang.scm (go-github-com-jacobsa-reqtrace): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c289a8ef44..d063c8f667 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1309,6 +1309,32 @@ (define-public go-github-com-jacobsa-ogletest
 messages automatically.")
       (license license:asl2.0))))
 
+(define-public go-github-com-jacobsa-reqtrace
+  (let ((commit "245c9e0234cb2ad542483a336324e982f1a22934")
+        (revision "0"))
+    (package
+      (name "go-github-com-jacobsa-reqtrace")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jacobsa/reqtrace")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0zfyijig10896v42rvxka1n4wn6lijqz40y2281187l7mq8vv5jn"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/jacobsa/reqtrace"))
+      (inputs (list
+               go-golang-org-x-net))
+      (home-page "https://github.com/jacobsa/reqtrace")
+      (synopsis "Simple request tracing framework")
+      (description
+       "Package reqtrace contains a very simple request tracing framework.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:05 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 09/11] gnu: Add go-github-com-pkg-xattr.
Date: Sun,  5 Mar 2023 12:54:53 -0800
* gnu/packages/golang.scm (go-github-com-pkg-xattr): New variable.
---
 gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d063c8f667..06420e408f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1406,6 +1406,36 @@ (define-public go-github-com-kortschak-utter
 aid data snapshotting.")
     (license license:isc)))
 
+(define-public go-github-com-pkg-xattr
+  (package
+    (name "go-github-com-pkg-xattr")
+    (version "0.4.9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/pkg/xattr")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0qg4zh0d8m4adaiicsd0cpw0w6g8sk01f4jz7jyxgirh1wfcsqyz"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/pkg/xattr"))
+    (native-inputs (list go-golang-org-x-sys))
+    (home-page "https://github.com/pkg/xattr")
+    (synopsis "Support for extended file system attributes")
+    (description
+     "Package xattr provides support for extended attributes on Linux, Darwin and
+FreeBSD.  Extended attributes are name:value pairs permanently associated with
+files or directories.  They are similar to the environment strings associated with
+a process.  An attribute may be defined or undefined.  If defined, its value may
+be empty or non-empty.  You can find more details here:
+@@url{https://en.wikipedia.org/wiki/Extended_file_attributes,
+https://en.wikipedia.org/wiki/Extended_file_attributes}
+.")
+    (license license:bsd-2)))
+
 (define-public go-github-com-shadowsocks-go-shadowsocks2
   (package
     (name "go-github-com-shadowsocks-go-shadowsocks2")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 20:56:06 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 10/11] gnu: Add go-github-com-rfjakob-eme.
Date: Sun,  5 Mar 2023 12:54:54 -0800
* gnu/packages/golang.scm (go-github-com-rfjakob-eme): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 06420e408f..3c6dadd892 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1436,6 +1436,29 @@ (define-public go-github-com-pkg-xattr
 .")
     (license license:bsd-2)))
 
+(define-public go-github-com-rfjakob-eme
+  (package
+    (name "go-github-com-rfjakob-eme")
+    (version "1.1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/rfjakob/eme")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1yrbhvy0337mf12fp8p4sy8ry8r3w2qfdf8val5hj07p2lri0cqk"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/rfjakob/eme"))
+    (home-page "https://github.com/rfjakob/eme")
+    (synopsis "EME for Go")
+    (description
+     "EME (ECB-Mix-ECB or, clearer, Encrypt-Mix-Encrypt) is a wide-block encryption
+mode developed by Halevi and Rogaway.")
+    (license license:expat)))
+
 (define-public go-github-com-shadowsocks-go-shadowsocks2
   (package
     (name "go-github-com-shadowsocks-go-shadowsocks2")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 05 Mar 2023 21:10:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 61989 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH 11/11] gnu: Add gocryptfs.
Date: Sun,  5 Mar 2023 12:54:55 -0800
* gnu/packages/file-systems.scm (gocryptfs): New variable.
---
 gnu/packages/file-systems.scm | 74 +++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index bc5bb41fb3..a62433c01c 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -435,6 +435,80 @@ (define-public fstransform
     (license (list license:gpl2         ; fsattr/src/e4attr.* → sbin/fsattr
                    license:gpl3+))))    ; the rest
 
+(define-public gocryptfs
+  (package
+    (name "gocryptfs")
+    (version "2.3.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/rfjakob/gocryptfs")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1m0xk5imkx81i1l4wv1j1xh9ckp0gqssq4v46pkkcq2xlv2dvxlr"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/rfjakob/gocryptfs"
+      #:build-flags
+      #~(list
+         "-ldflags" (string-append
+                     "-X main.GitVersion=" #$version
+                     " -X main.GitVersionFuse=" #$(package-version
+                                                   go-github-com-hanwen-go-fuse-v2)
+                     " -X main.BuildDate=" "[reproducible]"))
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; after 'check phase, should maybe unmount leftover mounts as in
+          ;; https://github.com/rfjakob/gocryptfs/blob/a55b3cc15a6d9bce116a90f33df4bc99d9dd6a10/test.bash#L28
+          (replace 'build
+            (lambda arguments
+              (for-each
+               (lambda (directory)
+                 (apply (assoc-ref %standard-phases 'build)
+                        (append arguments (list #:import-path directory))))
+               (list
+                "github.com/rfjakob/gocryptfs"
+                "github.com/rfjakob/gocryptfs/gocryptfs-xray"
+                "github.com/rfjakob/gocryptfs/contrib/statfs"
+                "github.com/rfjakob/gocryptfs/contrib/findholes"
+                "github.com/rfjakob/gocryptfs/contrib/atomicrename")))))))
+    (native-inputs (list
+                    go-github-com-hanwen-go-fuse-v2
+                    go-github-com-aperturerobotics-jacobsa-crypto
+                    go-github-com-jacobsa-oglematchers
+                    go-github-com-jacobsa-oglemock
+                    go-github-com-jacobsa-ogletest
+                    go-github-com-jacobsa-reqtrace
+                    go-github-com-pkg-xattr
+                    go-github-com-rfjakob-eme
+                    go-github-com-sabhiram-go-gitignore
+                    go-github-com-spf13-pflag
+                    go-golang-org-x-crypto
+                    go-golang-org-x-net
+                    go-golang-org-x-sys
+                    go-golang-org-x-term
+                    openssl
+                    pkg-config))
+    (home-page "https://github.com/rfjakob/gocryptfs")
+    (synopsis "Encrypted overlay filesystem")
+    (description
+     "Gocryptfs is an encrypted overlay filesystem written in Go.  It
+features a file-based encryption that is implemented as a mountable
+FUSE filesystem.
+
+Gocryptfs was inspired by EncFS and strives to fix its security issues
+while providing good performance.  Gocryptfs is as fast as EncFS in the
+default mode and significantly faster than paranoia mode in EncFS,
+which provides a security level comparable to Gocryptfs.
+
+On CPUs without AES-NI, gocryptfs uses OpenSSL through a thin wrapper
+called stupidgcm.  This provides a 4x speedup compared to Go's builtin
+AES-GCM implementation.")
+    (license license:expat)))
+
 (define-public gphotofs
   (package
     (name "gphotofs")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Mon, 06 Mar 2023 16:43:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner via Guix-patches via <guix-patches <at> gnu.org>
Cc: Felix Lechner <felix.lechner <at> lease-up.com>, 61989 <at> debbugs.gnu.org,
 guix-sysadmin <at> gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Mon, 6 Mar 2023 11:42:22 -0500
[Message part 1 (text/plain, inline)]
On Sun, Mar 05, 2023 at 12:52:11PM -0800, Felix Lechner via Guix-patches via wrote:
> After a discussion on #guix, someone asked me to request a feature branch
> here, as well as an associated jobset for ci.guix.gnu.org.

That was me! I've gone ahead and started the process of adding the
jobset on ci.guix.gnu.org. It should appear in the next day or two.

> I think we are hoping to use this patch series as a proof-of-concept for the
> idea of feature branches. Thanks!

Pushed to Savannah as 'wip-go-updates'.

The 'wip-' prefix stands for "work in progress", and indicates that
history may be rewritten on this branch. Concretely, we are able to
rebase the branch.

I also applied updates for Go 1.19 and 1.20.

https://git.savannah.gnu.org/cgit/guix.git/log/?h=wip-go-updates
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Mon, 06 Mar 2023 16:43:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Tue, 07 Mar 2023 23:07:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner via Guix-patches via <guix-patches <at> gnu.org>
Cc: Felix Lechner <felix.lechner <at> lease-up.com>, 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Tue, 7 Mar 2023 18:06:50 -0500
On Mon, Mar 06, 2023 at 11:42:22AM -0500, Leo Famulari wrote:
> That was me! I've gone ahead and started the process of adding the
> jobset on ci.guix.gnu.org. It should appear in the next day or two.

The jobset is live:

https://ci.guix.gnu.org/jobset/go-team

Please follow up with a summary of the results.

If any code changes are needed, send them as part of the full patch
series, versioned with the '--reroll-count=N' Git option, and I'll push
them on your behalf.

Please don't send updates to individual patches.




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Tue, 07 Mar 2023 23:07:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Wed, 08 Mar 2023 00:04:01 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Tue, 7 Mar 2023 16:02:42 -0800
Hi Leo,

On Tue, Mar 7, 2023 at 3:06 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> The jobset is live:

Thanks so much! I browsed around a bit (but am new to Cuirass) and
most of the failures seem to come from this one-hour timeout in
pandoc. [1]

Is that something I can address with an updated patch series?

Kind regards
Felix Lechner

[1] https://ci.guix.gnu.org/build/478772/log/raw




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Wed, 08 Mar 2023 15:11:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Wed, 8 Mar 2023 10:10:37 -0500
On Tue, Mar 07, 2023 at 04:02:42PM -0800, Felix Lechner wrote:
> Thanks so much! I browsed around a bit (but am new to Cuirass) and
> most of the failures seem to come from this one-hour timeout in
> pandoc. [1]

I see. Looks like it's actually GHC 9.2.5 that's failing, but pandoc
depends on GHC so all the rest of the dependency graph will fail too.

> Is that something I can address with an updated patch series?

For a while, setting the timeout and max-silent-time in a package
definition didn't work here, because Cuirass didn't respect those
options. I don't know if that's changed. Can you ask on IRC or
guix-devel about this?




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Fri, 10 Mar 2023 00:23:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Thu, 9 Mar 2023 16:21:20 -0800
Hi Leo,

On Wed, Mar 8, 2023 at 7:10 AM Leo Famulari <leo <at> famulari.name> wrote:
>
> Can you ask on IRC or guix-devel about this?

Thank you for taking the initiative on guix-devel! [1]

I did mention the Cuirass question on IRC as you had asked, but no one
seemed to remember. Then I addressed the Haskell failure by responding
to a recent thread about that upload. [2] By your reply, I know that
you saw my message.

As a newbie, I am not sure how to proceed. Please let me know if there
is anything I can do to help.

Kind regards
Felix Lechner

[1] https://lists.gnu.org/archive/html/guix-devel/2023-03/msg00094.html
[2] https://lists.gnu.org/archive/html/guix-devel/2023-03/msg00089.html




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Fri, 10 Mar 2023 01:55:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Thu, 9 Mar 2023 20:54:28 -0500
On Thu, Mar 09, 2023 at 04:21:20PM -0800, Felix Lechner wrote:
> I did mention the Cuirass question on IRC as you had asked, but no one
> seemed to remember. Then I addressed the Haskell failure by responding
> to a recent thread about that upload. [2] By your reply, I know that
> you saw my message.

Thanks for working on those leads!

In my reply to your message regarding Haskell, I CC-ed Mathieu Othacehe,
who is relatively active developing Cuirass and assists with operations
on ci.guix.gnu.org.  Let's see if he replies.

I do see that on ci.guix.gnu.org, we are running Cuirass
1.1.0-13.1341725, which should respect the max-silent-time property.
According to NEWS, this was added in Cuirass 1.0.0.

One might consider trying to debug a local installation of Cuirass, to
see if it actually respects this property. Imagine a test package that
sleeps for 10 seconds in a build phase but has a max-silent-time of 5.

In the meantime, I would check that gocryptfs is working satisfactorily
based on the branch.

I was surprised that Cuirass tried to build GHC and all these R packages
as a result of these patches. Do you know if these packages (e.g. GHC)
depend on Go somehow?




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sat, 11 Mar 2023 16:19:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sat, 11 Mar 2023 11:17:52 -0500
On Thu, Mar 09, 2023 at 08:54:28PM -0500, Leo Famulari wrote:
> I was surprised that Cuirass tried to build GHC and all these R packages
> as a result of these patches. Do you know if these packages (e.g. GHC)
> depend on Go somehow?

In the meantime, I rebased the branch and pushed again. Maybe the
building of all these non-Go packages was spurious (this can happen with
Cuirass), and we'll see a more clear result this time.




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 12 Mar 2023 05:29:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sat, 11 Mar 2023 21:27:19 -0800
[Message part 1 (text/plain, inline)]
Hi Leo,

On Sat, Mar 11, 2023 at 8:17 AM Leo Famulari <leo <at> famulari.name> wrote:
>
> I rebased the branch and pushed again. Maybe the
> building of all these non-Go packages was spurious (this can happen with
> Cuirass), and we'll see a more clear result this time.

Thanks for doing that! The results look much better, but I believe
some of the failures are still unrelated to our feature branch.

I cloned the wip-go-updates branch and successfully built pigx-rnaseq
on my own equipment even though Cuirass showed failing tests. [1] A
partial log is attached.

Kind regards
Felix Lechner

[1] https://ci.guix.gnu.org/build/533474/details
[pigx-rnaseq.log.xz (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Mon, 13 Mar 2023 17:54:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Mon, 13 Mar 2023 13:53:41 -0400
On Thu, Mar 09, 2023 at 08:54:28PM -0500, Leo Famulari wrote:
> In the meantime, I would check that gocryptfs is working satisfactorily
> based on the branch.

Were you able to test this?




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Mon, 13 Mar 2023 20:39:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Mon, 13 Mar 2023 13:37:41 -0700
Hi Leo,

On Mon, Mar 13, 2023 at 10:53 AM Leo Famulari <leo <at> famulari.name> wrote:
>
> Were you able to test this?

Yes, I did. It works great!

Kind regards
Felix Lechner




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Tue, 14 Mar 2023 02:07:01 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Mon, 13 Mar 2023 19:05:25 -0700
Hi Leo,

On Sat, Mar 11, 2023 at 8:17 AM Leo Famulari <leo <at> famulari.name> wrote:
>
> In the meantime, I rebased the branch and pushed again.

I am not sure how to read the Cuirass derivations, but the file
missing for powerpc64le-linux [1] called libgcc_s.so.1 is present on
x86_64:

    gcc-10.3.0-lib
    gcc-12.1.0-lib
    gcc-12.2.0-lib
    gcc-mesboot-4.9.4
    gfortran-10.3.0-lib
    libgccjit-10.3.0

The results were by courtesy of juix.org:

Kind regards
Felix

[1] https://ci.guix.gnu.org/build/547772/log/raw




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Thu, 16 Mar 2023 01:22:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Wed, 15 Mar 2023 21:21:18 -0400
On Mon, Mar 13, 2023 at 07:05:25PM -0700, Felix Lechner wrote:
> I am not sure how to read the Cuirass derivations, but the file
> missing for powerpc64le-linux [1] called libgcc_s.so.1 is present on
> x86_64:
> 
>     gcc-10.3.0-lib
>     gcc-12.1.0-lib
>     gcc-12.2.0-lib
>     gcc-mesboot-4.9.4
>     gfortran-10.3.0-lib
>     libgccjit-10.3.0

Are you saying that something is broken on powerpc64le-linux? Is it a
regression from this branch? Or a pre-existing problem?




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Thu, 16 Mar 2023 20:51:01 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Thu, 16 Mar 2023 12:44:11 -0700
Hi Leo,

On Wed, Mar 15, 2023 at 6:21 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> On Mon, Mar 13, 2023 at 07:05:25PM -0700, Felix Lechner wrote:
> > I am not sure how to read the Cuirass derivations, but the file
> > missing for powerpc64le-linux [1] called libgcc_s.so.1 is present on
> > x86_64:
> >
> >     gcc-10.3.0-lib
> >     gcc-12.1.0-lib
> >     gcc-12.2.0-lib
> >     gcc-mesboot-4.9.4
> >     gfortran-10.3.0-lib
> >     libgccjit-10.3.0
>
> Are you saying that something is broken on powerpc64le-linux? Is it a
> regression from this branch? Or a pre-existing problem?

I do not know the answers to your questions. With my message, I merely
tried to address what seemed like a remaining issue in this jobset:

    https://ci.guix.gnu.org/jobset/go-team

The failed build #547772 I references was part of the latest
evaluation #283979, but I am not sure how to read those reports.

Most significantly, I do not know if the reports are
cumulative—meaning that fewer errors later signify that earlier errors
have been resolved.

Kind regards
Felix Lechner




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Fri, 17 Mar 2023 00:01:02 GMT) Full text and rfc822 format available.

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

From: "Leo Famulari" <leo <at> famulari.name>
To: "Felix Lechner" <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Thu, 16 Mar 2023 19:59:41 -0400
On Thu, Mar 16, 2023, at 15:44, Felix Lechner wrote:
> Hi Leo,
>
> On Wed, Mar 15, 2023 at 6:21 PM Leo Famulari <leo <at> famulari.name> wrote:
>>
>> On Mon, Mar 13, 2023 at 07:05:25PM -0700, Felix Lechner wrote:
>> > I am not sure how to read the Cuirass derivations, but the file
>> > missing for powerpc64le-linux [1] called libgcc_s.so.1 is present on
>> > x86_64:
>> >
>> >     gcc-10.3.0-lib
>> >     gcc-12.1.0-lib
>> >     gcc-12.2.0-lib
>> >     gcc-mesboot-4.9.4
>> >     gfortran-10.3.0-lib
>> >     libgccjit-10.3.0
>>
>> Are you saying that something is broken on powerpc64le-linux? Is it a
>> regression from this branch? Or a pre-existing problem?
>
> I do not know the answers to your questions. With my message, I merely
> tried to address what seemed like a remaining issue in this jobset:
>
>     https://ci.guix.gnu.org/jobset/go-team
>
> The failed build #547772 I references was part of the latest
> evaluation #283979, but I am not sure how to read those reports.
>
> Most significantly, I do not know if the reports are
> cumulative—meaning that fewer errors later signify that earlier errors
> have been resolved.

Okay. Then your next steps should be identifying Guix developers who have a history of working on the PowerPC port and asking them to take a look. This kind of outreach to the Guix developer community is a critical part of landing big changes like this one.

If you can't find anyone to respond, then it's safe to say we can ignore this problem.




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Fri, 17 Mar 2023 19:04:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Fri, 17 Mar 2023 12:02:55 -0700
Hi Leo,

On Thu, Mar 16, 2023 at 5:00 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> your next steps should be identifying Guix developers who have a history
> of working on the PowerPC port and asking them to take a look.

Based on this blog post [1] I wrote to Efraim on IRC. I mentioned this
bug and the connection to the powerpc64le port. Then I asked the group
about the whereabouts of the two blog authors, namely Chris Marusich
and Léo Le Bouter. Unfortunately I did not receive a response to
either message.

if a side note is permitted, I am not sure how a Golang update can
affect the availability for a low-level GCC library for a new
architecture. Could the error be unrelated?

Kind regards,
Felix Lechner

[1] https://guix.gnu.org/en/blog/2021/new-supported-platform-powerpc64le-linux/




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 08:53:01 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 10:51:51 +0200
[Message part 1 (text/plain, inline)]
On Fri, Mar 17, 2023 at 12:02:55PM -0700, Felix Lechner via Guix-patches via wrote:
> Hi Leo,
> 
> On Thu, Mar 16, 2023 at 5:00 PM Leo Famulari <leo <at> famulari.name> wrote:
> >
> > your next steps should be identifying Guix developers who have a history
> > of working on the PowerPC port and asking them to take a look.
> 
> Based on this blog post [1] I wrote to Efraim on IRC. I mentioned this
> bug and the connection to the powerpc64le port. Then I asked the group
> about the whereabouts of the two blog authors, namely Chris Marusich
> and Léo Le Bouter. Unfortunately I did not receive a response to
> either message.

To the best of my knowledge both Léo and Chris have both left the
project.

As it currently stands on master, go-1.19 doesn't build for ppc64le. I
mentioned on IRC that it looks like the 'patch-gcc:lib phase in go-1.17
but for ppc64le, but after trying a few different combinations it looks
to me more like the test failures on aarch64 (which I haven't looked at
in forever).

Looking at it I'm convinced that we are missing patching something on
our end, and that these tests are probably supposed to pass.

My suggestion is to skip the tests on go-1.17+ on ppc64le and adjust the
note that all the listed architectures should have their test suite
reviewed to figure out what we're missing. There's something about the
internal linking on non-x86 architectures that needs investigating.


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 17:18:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Efraim Flashner <efraim <at> flashner.co.il>,
 Felix Lechner <felix.lechner <at> lease-up.com>, 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 13:17:24 -0400
On Sun, Mar 19, 2023 at 10:51:51AM +0200, Efraim Flashner wrote:
> As it currently stands on master, go-1.19 doesn't build for ppc64le. I
> mentioned on IRC that it looks like the 'patch-gcc:lib phase in go-1.17
> but for ppc64le, but after trying a few different combinations it looks
> to me more like the test failures on aarch64 (which I haven't looked at
> in forever).
> 
> Looking at it I'm convinced that we are missing patching something on
> our end, and that these tests are probably supposed to pass.
> 
> My suggestion is to skip the tests on go-1.17+ on ppc64le and adjust the
> note that all the listed architectures should have their test suite
> reviewed to figure out what we're missing. There's something about the
> internal linking on non-x86 architectures that needs investigating.

Okay, thanks for taking a look. Since this failure exists on master, I
don't think that fixing it is in scope for this branch, although it
certainly should be fixed. Or we disable the support on ppc64le for now.




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 17:23:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>, 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 13:22:33 -0400
On Sun, Mar 19, 2023 at 01:17:24PM -0400, Leo Famulari wrote:
> Okay, thanks for taking a look. Since this failure exists on master, I
> don't think that fixing it is in scope for this branch, although it
> certainly should be fixed. Or we disable the support on ppc64le for now.

Felix, do you see any other outstanding issues with the branch? Or do
you think it's ready for master?




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 17:27:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 10:25:31 -0700
Hi Leo,

On Sun, Mar 19, 2023 at 10:22 AM Leo Famulari <leo <at> famulari.name> wrote:
>
> Felix, do you see any other outstanding issues with the branch? Or do
> you think it's ready for master?

I do not know how to deduce from the Cuirass output that the failures
from earlier evaluations were cured. The numbers appear additive to
me. I would prefer to see about three thousand green packages and two
in red.

Kind regards
Felix




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 20:39:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 16:38:32 -0400
On Sun, Mar 19, 2023 at 10:25:31AM -0700, Felix Lechner wrote:
> I do not know how to deduce from the Cuirass output that the failures
> from earlier evaluations were cured. The numbers appear additive to
> me. I would prefer to see about three thousand green packages and two
> in red.

Unfortunately, Cuirass can't provide that kind of information. You could
use `guix weather` to check if substitutes are available based on the
patches.




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 20:47:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 16:46:27 -0400
[Message part 1 (text/plain, inline)]
On Sun, Mar 19, 2023 at 04:38:32PM -0400, Leo Famulari wrote:
> Unfortunately, Cuirass can't provide that kind of information. You could
> use `guix weather` to check if substitutes are available based on the
> patches.

I've attached a manifest that returns all packages using
go-build-system, as well as Go itself. It can be used with `guix
weather`.
[go-build-system-manifest.scm (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 20:50:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 13:48:32 -0700
Hi Leo,

On Sun, Mar 19, 2023 at 1:46 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> I've attached a manifest that returns all packages using
> go-build-system, as well as Go itself. It can be used with `guix
> weather`.

Thanks, that's awesome! Does the CI infrastructure publish build
output from feature branches?

Kind regards
Felix




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 20:52:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 16:51:28 -0400
On Sun, Mar 19, 2023 at 01:48:32PM -0700, Felix Lechner wrote:
> Thanks, that's awesome! Does the CI infrastructure publish build
> output from feature branches?

What sort of output are you looking for? 




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 20:55:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 13:54:00 -0700
Hi Leo,

On Sun, Mar 19, 2023 at 1:51 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> What sort of output are you looking for?

I suppose the answer is yes. It was not obvious to me that the CI
infrastructure would acknowledge the presence of substitutes for
feature branches, but it makes sense.

Kind regards
Felix




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 21:05:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 17:04:13 -0400
On Sun, Mar 19, 2023 at 01:54:00PM -0700, Felix Lechner wrote:
> I suppose the answer is yes. It was not obvious to me that the CI
> infrastructure would acknowledge the presence of substitutes for
> feature branches, but it makes sense.

Yeah. Basically, everything that's built on CI goes into the same store
and is served from there. Roughly.




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Sun, 19 Mar 2023 21:32:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Sun, 19 Mar 2023 14:31:18 -0700
Hi Leo,

On Sun, Mar 19, 2023 at 1:46 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> I've attached a manifest that returns all packages using
> go-build-system, as well as Go itself. It can be used with `guix
> weather`.

For a recent checkout of Guix from master, I saw:

computing 585 package derivations for x86_64-linux...
looking for 599 store items on https://ci.guix.gnu.org...
https://ci.guix.gnu.org ☀
  98.0% substitutes available (587 out of 599)
  at least 1,893.3 MiB of nars (compressed)
  4,188.9 MiB on disk (uncompressed)
  0.086 seconds per request (51.4 seconds in total)
  11.7 requests per second

  0.0% (0 out of 12) of the missing items are queued
  at least 1,000 queued builds
      i686-linux: 31 (3.1%)
      aarch64-linux: 228 (22.8%)
      x86_64-linux: 737 (73.7%)
      powerpc64le-linux: 4 (.4%)
  build rate: 1324.99 builds per hour
      i686-linux: 1049.02 builds per hour
      powerpc64le-linux: 86.39 builds per hour
      x86_64-linux: 239.82 builds per hour
looking for 599 store items on https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org ☀
  99.3% substitutes available (595 out of 599)
  at least 1,090.3 MiB of nars (compressed)
  4,199.4 MiB on disk (uncompressed)
  0.093 seconds per request (55.8 seconds in total)
  10.7 requests per second
  (continuous integration information unavailable)

while a recent pull of wip-go-updates showed this:

computing 594 package derivations for x86_64-linux...
looking for 608 store items on https://ci.guix.gnu.org...
https://ci.guix.gnu.org ☀
  96.9% substitutes available (589 out of 608)
  at least 1,886.4 MiB of nars (compressed)
  4,184.5 MiB on disk (uncompressed)
  0.087 seconds per request (14.7 seconds in total)
  11.5 requests per second

  0.0% (0 out of 19) of the missing items are queued
  at least 1,000 queued builds
      powerpc64le-linux: 60 (6.0%)
      i686-linux: 65 (6.5%)
      aarch64-linux: 225 (22.5%)
      x86_64-linux: 650 (65.0%)
  build rate: 1048.34 builds per hour
      i686-linux: 704.11 builds per hour
      powerpc64le-linux: 80.85 builds per hour
      x86_64-linux: 290.39 builds per hour
looking for 608 store items on https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org ☀
  96.4% substitutes available (586 out of 608)
  at least 836.2 MiB of nars (compressed)
  3,398.5 MiB on disk (uncompressed)
  0.099 seconds per request (16.1 seconds in total)
  10.1 requests per second
  (continuous integration information unavailable)

That looks very respectable to me for such a comprehensive change, but
I can ultimately not assess whether it's a good ratio.

It looks like perhaps seven items are failing due to our changes (on
x86_64, and out of about six hundred) but I do not know how important
they are for average Guix users.

Kind regards
Felix




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Tue, 28 Mar 2023 20:38:01 GMT) Full text and rfc822 format available.

Notification sent to Felix Lechner <felix.lechner <at> lease-up.com>:
bug acknowledged by developer. (Tue, 28 Mar 2023 20:38:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: 61989-done <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Tue, 28 Mar 2023 16:37:03 -0400
On Sun, Mar 19, 2023 at 02:31:18PM -0700, Felix Lechner wrote:
> That looks very respectable to me for such a comprehensive change, but
> I can ultimately not assess whether it's a good ratio.

Agreed, I think it looks good.

> It looks like perhaps seven items are failing due to our changes (on
> x86_64, and out of about six hundred) but I do not know how important
> they are for average Guix users.

Perhaps, but the Cuirass web interface doesn't make it easy to compare
and see which packages are failing as a result of these changes.  And
qa.guix.gnu.org doesn't yet build changes with this large of an impact.

So, I've gone ahead and pushed as
c4cca9cb5d3e93ef146acb930a95da9d2da6fb06




Information forwarded to guix-patches <at> gnu.org:
bug#61989; Package guix-patches. (Tue, 28 Mar 2023 20:56:02 GMT) Full text and rfc822 format available.

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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 61989 <at> debbugs.gnu.org
Subject: Re: [bug#61989] [PATCH 00/11] Adding Gocryptfs (feature branch)
Date: Tue, 28 Mar 2023 13:54:36 -0700
Hi Leo,

On Tue, Mar 28, 2023 at 1:37 PM Leo Famulari <leo <at> famulari.name> wrote:
>
> So, I've gone ahead and pushed

Yay, thank you!

Kind regards
Felix




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

This bug report was last modified 359 days ago.

Previous Next


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