From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: 01/01: hydra: Work around import problem. Date: Mon, 29 Jan 2018 15:02:49 +0100 Message-ID: <20180129150249.7a1a7140@scratchpost.org> References: <20180129122403.22184.83539@vcs0.savannah.gnu.org> <20180129122403.D1E1420ABC@vcs0.savannah.gnu.org> <87efm8ojpc.fsf@gnu.org> 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]:39511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egA1T-0004jo-5w for guix-devel@gnu.org; Mon, 29 Jan 2018 09:03:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egA1P-0007gL-5g for guix-devel@gnu.org; Mon, 29 Jan 2018 09:02:59 -0500 In-Reply-To: <87efm8ojpc.fsf@gnu.org> 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" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org Hi Ludo, On Mon, 29 Jan 2018 14:53:03 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > dannym@scratchpost.org (Danny Milosavljevic) skribis: >=20 > > commit ebd6a6445fa7d3db64795840a607815abbd56880 > > Author: Danny Milosavljevic > > Date: Mon Jan 29 13:23:07 2018 +0100 > > > > hydra: Work around import problem. > > =20 > > * build-aux/hydra/gnu-system.scm: qemu-jobs: Work around import pro= blem. > > =20 > > Follow-up to 1fe805b290f26db477bcd49be91af54f6c5d061f. > > --- > > build-aux/hydra/gnu-system.scm | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-syste= m.scm > > index 46f09d1..0886d5f 100644 > > --- a/build-aux/hydra/gnu-system.scm > > +++ b/build-aux/hydra/gnu-system.scm > > @@ -166,7 +166,7 @@ system.") > > (define (adjust-bootloader os) > > (if (member system %u-boot-systems) > > (operating-system (inherit os) > > - (bootloader (bootloader-configuration > > + (bootloader ((@ (gnu bootloader) bootloader-configuration) > > (bootloader u-boot-bootloader) > > (target "/dev/null")))) =20 >=20 > What was the problem exactly? It=E2=80=99s best to add: >=20 > (use-modules (gnu bootloader)) >=20 > than to use =E2=80=98@=E2=80=99. >=20 > Ludo=E2=80=99. Previously, I had added (gnu bootloader) to the existing (use-modules) form in the file. That got me this: evaluating for 'i686-linux' (heap size: 743.0 MiB)... evaluating for 'armhf-linux' (heap size: 759.0 MiB)... Backtrace: In ice-9/boot-9.scm: 713:2 19 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 18 (_ #(#(#))) In ice-9/command-line.scm: 181:18 17 (_ #) In unknown file: 16 (eval (apply (module-ref (resolve-interface (?)) #) #) #) In /usr/local/bin/hydra-eval-guile-jobs: 242:18 15 (eval-guile-jobs . _) In ice-9/boot-9.scm: 152:2 14 (with-fluid* _ _ _) In srfi/srfi-1.scm: 679:15 13 (append-map _ _ . _) 592:29 12 (map1 _) 592:29 11 (map1 _) 592:17 10 (map1 ("armhf-linux")) In ice-9/eval.scm: 173:47 9 (_ #(#(#(#(# # ?) ?) ?) ?)) 159:9 8 (_ #(#(#(#) # ?) ?)) 196:43 7 (_ #(#(#(#) # ?) ?)) In guix/store.scm: 1443:24 6 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In ice-9/eval.scm: 191:27 5 (_ #(#(# #) ?)) 163:9 4 (_ #(#(# # ?) ?)) 293:34 3 (_ #(#(# "armhf-linux") #)) 182:19 2 (proc #(#(# "armhf-lin?") #)) 142:16 1 (compile-top-call _ (7 . bootloader-configuration) (# #)) In unknown file: 0 (%resolve-variable (7 . bootloader-configuration) #) ERROR: In procedure %resolve-variable: ERROR: bootloader-configuration: unbound variable Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message.