From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guile ERROR: Unbound variable: sha256 Date: Mon, 27 Oct 2014 10:18:37 +0100 Message-ID: <874mupan0y.fsf@gnu.org> References: <20140504175144.GA28798@thebird.nl> <87wqe0ps8d.fsf@gnu.org> <20141027045812.GA22505@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigRg-000805-4w for guix-devel@gnu.org; Mon, 27 Oct 2014 05:18:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XigRZ-0004Ym-Pf for guix-devel@gnu.org; Mon, 27 Oct 2014 05:18:36 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:41971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigRZ-0004YT-Ib for guix-devel@gnu.org; Mon, 27 Oct 2014 05:18:29 -0400 In-Reply-To: <20141027045812.GA22505@thebird.nl> (Pjotr Prins's message of "Mon, 27 Oct 2014 05:58:12 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel Hi Pjotr, Pjotr Prins skribis: > I suspect this was introduced with bags. When I use below Guile instruct= ion running > from the CLI I get > > $2 =3D # > 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 # 2af8dc0>) > In ice-9/eval.scm: > 386:9 2 (eval #utf8 (derivation->string <= 0>)))> (# . #)) > 393:14 1 (eval # (# 2af8d70> () = (("out" . "")) (("out" . "")) . #)) > In unknown file: > 0 (memoize-variable-access! # #) I can=E2=80=99t 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=E2=80=99.