all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15428: `guix pull' failed on debian jessie
@ 2013-09-20 19:37 Cyrill Schenkel
  2013-09-21 18:59 ` Cyrill Schenkel
  0 siblings, 1 reply; 3+ messages in thread
From: Cyrill Schenkel @ 2013-09-20 19:37 UTC (permalink / raw)
  To: 15428

Hello

I just built the latest version (commit:
2cd09108c9b316c9c8aa1c1b87b85a1c32cef089) of guix from
the repository. After compiling I tried to run `guix pull' what
resulted in following error:

Backtrace:
In ice-9/boot-9.scm:
 157: 10 [catch #t #<catch-closure 19ed400> ...]
In unknown file:
   ?: 9 [apply-smob/1 #<catch-closure 19ed400>]
In ice-9/boot-9.scm:
  63: 8 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 7 [eval # #]
In ice-9/boot-9.scm:
2320: 6 [save-module-excursion #<procedure 1a04cc0 at
ice-9/boot-9.scm:3961:3 ()>]
3966: 5 [#<procedure 1a04cc0 at ice-9/boot-9.scm:3961:3 ()>]
In unknown file:
   ?: 4 [load-compiled/vm
"/home/sirius/.cache/guile/ccache/2.0-LE-8-2.0/usr/bin/guix.go"]
In guix/ui.scm:
 544: 3 [run-guix-command pull]
In ice-9/boot-9.scm:
 157: 2 [catch srfi-34 #<procedure 24f8840 at guix/ui.scm:157:2 ()> ...]
 157: 1 [catch system-error ...]
In guix/scripts/pull.scm:
 203: 0 [#<procedure 24f8860 at guix/scripts/pull.scm:187:2 ()>]

guix/scripts/pull.scm:203:10: In procedure #<procedure 24f8860 at
guix/scripts/pull.scm:187:2 ()>:
guix/scripts/pull.scm:203:10: Throw to key `vm-error' with args
`(vm-run "Too few values returned to continuation" ())'.

Regards,
Cyrill

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15428: `guix pull' failed on debian jessie
  2013-09-20 19:37 bug#15428: `guix pull' failed on debian jessie Cyrill Schenkel
@ 2013-09-21 18:59 ` Cyrill Schenkel
  2013-09-21 20:18   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Cyrill Schenkel @ 2013-09-21 18:59 UTC (permalink / raw)
  To: 15428

[-- Attachment #1: Type: text/plain, Size: 87 bytes --]

Hello

I fixed the thing. It works for me now.
The patch is attached.

Regards,
Cyrill

[-- Attachment #2: 0001-guix-pull-requires-single-return-value-from-unpack-1.patch --]
[-- Type: application/octet-stream, Size: 1848 bytes --]

From bd00afc41640d1e8025961a62d5590b9144c8b76 Mon Sep 17 00:00:00 2001
From: Cyrill Schenkel <cyrill.schenkel@gmail.com>
Date: Sat, 21 Sep 2013 20:42:55 +0200
Subject: [PATCH] 'guix-pull' requires single return value from 'unpack'
 (#15428) * guix/scripts/pull.scm (guix-pull): Procedure doesn't require the
 'unpack'   procedure to return more than one value anymore.

---
 guix/scripts/pull.scm | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index f3d87a6..c01f163 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -200,15 +200,12 @@ Download and deploy the latest version of Guix.\n"))
                         (if (assoc-ref opts 'verbose?)
                             (current-error-port)
                             (%make-void-port "w"))))
-          (let*-values (((config-dir)
-                         (config-directory))
-                        ((source drv)
-                         (unpack store tarball))
-                        ((source-dir)
-                         (derivation-output-path
-                          (assoc-ref (derivation-outputs drv) "out"))))
-            (if (show-what-to-build store (list source))
-                (if (build-derivations store (list source))
+          (let* ((config-dir (config-directory))
+                 (drv (unpack store tarball))
+                 (source-dir (derivation-output-path
+                              (assoc-ref (derivation-outputs drv) "out"))))
+            (if (show-what-to-build store (list drv))
+                (if (build-derivations store (list drv))
                     (let ((latest (string-append config-dir "/latest")))
                       (add-indirect-root store latest)
                       (switch-symlinks latest source-dir)
-- 
1.8.4.rc3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#15428: `guix pull' failed on debian jessie
  2013-09-21 18:59 ` Cyrill Schenkel
@ 2013-09-21 20:18   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2013-09-21 20:18 UTC (permalink / raw)
  To: Cyrill Schenkel; +Cc: 15428-done

Hi,

Cyrill Schenkel <cyrill.schenkel@googlemail.com> skribis:

> I fixed the thing. It works for me now.
> The patch is attached.

Indeed.  I pushed a slightly different patch as 3b627ea.

Thanks for the report and patch!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-21 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20 19:37 bug#15428: `guix pull' failed on debian jessie Cyrill Schenkel
2013-09-21 18:59 ` Cyrill Schenkel
2013-09-21 20:18   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.