all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guile ERROR: Unbound variable: sha256
Date: Mon, 27 Oct 2014 10:18:37 +0100	[thread overview]
Message-ID: <874mupan0y.fsf@gnu.org> (raw)
In-Reply-To: <20141027045812.GA22505@thebird.nl> (Pjotr Prins's message of "Mon, 27 Oct 2014 05:58:12 +0100")

Hi Pjotr,

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> I suspect this was introduced with bags.  When I use below Guile instruction running
> from the CLI I get
>
> $2 = #<package python-3.3.5 gnu/packages/python.scm:49 3976210>
> scheme@(guile-user)> (package-derivation s python)
> ERROR: In procedure memoize-variable-access!:
> ERROR: Unbound variable: sha256

[...]

> In guix/utils.scm:
>    426:27  3 (derivation-hash #<derivation #f =>  2af8dc0>)
> In ice-9/eval.scm:
>     386:9  2 (eval #<memoized (sha256 (string->utf8 (derivation->string <0>)))> (#<derivation #f ...> . #))
>    393:14  1 (eval #<memoized sha256> (#<derivation #f =>  2af8d70> () (("out" . "")) (("out" . "")) . #))
> In unknown file:
>            0 (memoize-variable-access! #<memoized sha256> #<directory (guix derivations) 27dc480>)

I can’t reproduce it.  Could it be that guix/derivations.scm was
modified in your local tree, such that it misses the
#:use-module (guix hash) line?  Is there a warning when compiling
guix/derivations.go?

Thanks,
Ludo’.

  reply	other threads:[~2014-10-27  9:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-04 17:51 Ruby install Pjotr Prins
2014-05-05  8:03 ` Ludovic Courtès
2014-05-05  8:29   ` Pjotr Prins
2014-05-05 11:42     ` Ludovic Courtès
2014-06-04 21:36   ` Ludovic Courtès
2014-06-05  9:57     ` Pjotr Prins
2014-10-27  4:58   ` guile ERROR: Unbound variable: sha256 Pjotr Prins
2014-10-27  9:18     ` Ludovic Courtès [this message]
2014-09-27 12:29 ` [PATCH] New ruby package Pjotr Prins
2014-09-27 13:06   ` Pjotr Prins
2014-09-27 13:44     ` David Thompson
2014-09-28  4:00   ` David Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874mupan0y.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=pjotr.public12@thebird.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.