unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: 26791@debbugs.gnu.org
Subject: bug#26791: Attempt to apply a string as a procedure during Hydra evaluation
Date: Sun, 07 May 2017 18:23:57 -0400	[thread overview]
Message-ID: <87shkgmhky.fsf@netris.org> (raw)
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")

ludo@gnu.org (Ludovic Courtès) writes:

> Danny Milosavljevic <dannym@scratchpost.org> 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 clients).
>
> Yeah I just pushed that as 8e815c5b6903a545c46b674c1cd1cc3180f835db.
>
> The thing is that ‘boot-parameters’ is a macro, so it must 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 “normal” way.
>
> I’ve started an evaluation of ‘master’ 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/a2y2xipciazkxv796iczrjiv5qi6x2qb-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/a2y2xipciazkxv796iczrjiv5qi6x2qb-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/a2y2xipciazkxv796iczrjiv5qi6x2qb-git-export/gnu/packages/xnee.scm.go
Backtrace:
In unknown file:
   ?: 19 [apply-smob/1 #<catch-closure 1da8040>]
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 '(hydra-eval-guile-jobs)) 'eval-guile-jobs) (cdr (command-line)))" ...]
In ice-9/command-line.scm:
 181: 15 [#<procedure 1dbf680 at ice-9/command-line.scm:176:6 (port)> #<input: string 2680c30>]
In unknown file:
   ?: 14 [eval (apply (module-ref # #) (cdr #)) #<directory (guile-user) 1d97bd0>]
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 (#<fluid 38>) (#f)]
In srfi/srfi-1.scm:
 643: 11 [append-map #<procedure 60c7db0 at ice-9/eval.scm:416:20 (a)> #]
 575: 10 [map #<procedure 60c7db0 at ice-9/eval.scm:416:20 (a)> #]
In ice-9/eval.scm:
 387: 9 [eval # #]
 387: 8 [eval # #]
 387: 7 [eval # #]
In guix/store.scm:
1347: 6 [run-with-store # #<procedure 7bfd810 at ice-9/eval.scm:416:20 (a)> # ...]
In gnu/system/vm.scm:
 287: 5 [#<procedure 9656400 at gnu/system/vm.scm:287:4 (state)> #]
In gnu/system.scm:
 851: 4 [#<procedure 126c17e0 at gnu/system.scm:844:2 (state)> #]
In gnu/system/grub.scm:
 289: 3 [grub-configuration-file # # # ...]
In srfi/srfi-1.scm:
 575: 2 [map #<procedure boot-parameters->menu-entry (conf)> (#)]
In gnu/system/grub.scm:
 272: 1 [boot-parameters->menu-entry #]
In unknown file:
   ?: 0 [# #]

ERROR: In procedure #<syntax-transformer boot-parameters-label>:
ERROR: Wrong type to apply: #<syntax-transformer boot-parameters-label>
--8<---------------cut here---------------end--------------->8---

  parent reply	other threads:[~2017-05-07 22:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-06  0:40 bug#26791: Attempt to apply a string as a procedure during Hydra evaluation Mark H Weaver
2017-05-06  7:46 ` Mathieu Othacehe
2017-05-06 22:44   ` Mark H Weaver
2017-05-07  6:43 ` Danny Milosavljevic
2017-05-07  9:35   ` Ludovic Courtès
2017-05-07 21:31     ` Leo Famulari
2017-05-07 22:37       ` Mark H Weaver
2017-05-08 12:40         ` Ludovic Courtès
2017-05-07 22:23     ` Mark H Weaver [this message]
2017-05-07 10:11 ` bug#26791: Hydra doesn't run make before using Guix Danny Milosavljevic
2017-05-09 21:29   ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87shkgmhky.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=26791@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).