From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#26791: Attempt to apply a string as a procedure during Hydra evaluation Date: Sun, 07 May 2017 18:23:57 -0400 Message-ID: <87shkgmhky.fsf@netris.org> References: <87a86qvmvh.fsf@netris.org> <20170507084326.3e5be220@scratchpost.org> <8760hdqaac.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]:54271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7Ubx-0007A2-TG for bug-guix@gnu.org; Sun, 07 May 2017 18:25:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7Ubu-0005GD-PD for bug-guix@gnu.org; Sun, 07 May 2017 18:25:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34454) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7Ubu-0005G7-LP for bug-guix@gnu.org; Sun, 07 May 2017 18:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7Ubu-00071u-FY for bug-guix@gnu.org; Sun, 07 May 2017 18:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8760hdqaac.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 07 May 2017 11:35:39 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26791@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Danny Milosavljevic skribis: > >> I think it always works (also without compilation) when I move the boot-= parameters record definition up in gnu/system.scm (so it comes before its c= lients). > > Yeah I just pushed that as 8e815c5b6903a545c46b674c1cd1cc3180f835db. > > The thing is that =E2=80=98boot-parameters=E2=80=99 is a macro, so it mus= t be defined > before used. > > Because of the way build-aux/compile-all.scm builds things (first loads > modules, then builds them), this error would not show up because the > macro would have been defined during the load phase. However evaluation > on Hydra relies on auto-compilation, which does things the =E2=80=9Cnorma= l=E2=80=9D way. > > I=E2=80=99ve started an evaluation of =E2=80=98master=E2=80=99 on Hydra. The new evaluation failed again, but with a different error this time: --8<---------------cut here---------------start------------->8--- ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/a2y2xip= ciazkxv796iczrjiv5qi6x2qb-git-export/gnu/packages/web-browsers.scm.go ;;; compiling /gnu/store/a2y2xipciazkxv796iczrjiv5qi6x2qb-git-export/build-= aux/hydra/../../gnu/packages/wine.scm ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/a2y2xip= ciazkxv796iczrjiv5qi6x2qb-git-export/gnu/packages/wine.scm.go ;;; compiling /gnu/store/a2y2xipciazkxv796iczrjiv5qi6x2qb-git-export/build-= aux/hydra/../../gnu/packages/xnee.scm ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/a2y2xip= ciazkxv796iczrjiv5qi6x2qb-git-export/gnu/packages/xnee.scm.go Backtrace: In unknown file: ?: 19 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 18 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 17 [eval # #] In unknown file: ?: 16 [call-with-input-string "(apply (module-ref (resolve-interface '(h= ydra-eval-guile-jobs)) 'eval-guile-jobs) (cdr (command-line)))" ...] In ice-9/command-line.scm: 181: 15 [# #] In unknown file: ?: 14 [eval (apply (module-ref # #) (cdr #)) #] In /usr/local/bin/hydra-eval-guile-jobs: 240: 13 [eval-guile-jobs "/gnu/store/a2y2xipciazkxv796iczrjiv5qi6x2qb-git-= export/build-aux/hydra/gnu-system.scm" ...] In ice-9/eval.scm: 481: 12 [lp (#) (#f)] In srfi/srfi-1.scm: 643: 11 [append-map # #] 575: 10 [map # #] In ice-9/eval.scm: 387: 9 [eval # #] 387: 8 [eval # #] 387: 7 [eval # #] In guix/store.scm: 1347: 6 [run-with-store # #= # ...] In gnu/system/vm.scm: 287: 5 [# #] In gnu/system.scm: 851: 4 [# #] In gnu/system/grub.scm: 289: 3 [grub-configuration-file # # # ...] In srfi/srfi-1.scm: 575: 2 [map #menu-entry (conf)> (#)] In gnu/system/grub.scm: 272: 1 [boot-parameters->menu-entry #] In unknown file: ?: 0 [# #] ERROR: In procedure #: ERROR: Wrong type to apply: # --8<---------------cut here---------------end--------------->8---