GNU bug report logs -
#26791
Attempt to apply a string as a procedure during Hydra evaluation
Previous Next
Reported by: Mark H Weaver <mhw <at> netris.org>
Date: Sat, 6 May 2017 00:41:02 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26791 in the body.
You can then email your comments to 26791 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sat, 06 May 2017 00:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mark H Weaver <mhw <at> netris.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 06 May 2017 00:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The error message is:
ERROR: In procedure GNU with Linux-Libre 4.11 (beta):
ERROR: Wrong type to apply: "GNU with Linux-Libre 4.11 (beta)"
Here's the head and tail of the output of the evaluator. Unfortunately,
the relevant git commit is not printed.
Mark
--8<---------------cut here---------------start------------->8---
considering jobset gnu:master (last checked 72008s ago)
checking out Git branch master from https://git.savannah.gnu.org/r/guix.git
Initialized empty Git repository in /tmp/git-checkout-tmp-9693/git-export/.git/
From /var/lib/hydra/scm/git/f08e53b7f0f3ce68a74e8745c37add3d0aecabda3e30c724b0d838fdc6743e2b
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
Switched to a new branch 'fetchgit'
removing `.git'...
hash is c2f6ba71188a29e6940662f54dded0b754a41d03fe05d2e40bc1e054299f7ffa
path is /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export
evaluator hydra-eval-guile-jobs
hydra-eval-guile-jobs returned exit code 1:
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/local/bin/hydra-eval-guile-jobs
;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/bin/hydra-eval-guile-jobs.go
adding `/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export' to the load path
prepending "/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../.." to the load path
;;; compiling /home/hydra/.guix-profile/share/guile/site/2.0/guix/config.scm
;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/swbhvy5vw84hwjxwc2v069fdmr6b1cfy-guix-0.12.0-2.b291/share/guile/site/2.0/guix/config.scm.g
o
[...]
;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/wine.scm
;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/gnu/packages/wine.scm.go
;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/xfce.scm
;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/gnu/packages/xfce.scm.go
;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/xnee.scm
;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/gnu/packages/xnee.scm.go
Backtrace:
In unknown file:
?: 19 [apply-smob/1 #<catch-closure 2387c00>]
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 2399320 at ice-9/command-line.scm:176:6 (port)> #<input: string 2952820>]
In unknown file:
?: 14 [eval (apply (module-ref # #) (cdr #)) #<directory (guile-user) 2374bd0>]
In /usr/local/bin/hydra-eval-guile-jobs:
240: 13 [eval-guile-jobs "/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-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 56f3750 at ice-9/eval.scm:416:20 (a)> #]
575: 10 [map #<procedure 56f3750 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:
1338: 6 [run-with-store # #<procedure a6d5c90 at ice-9/eval.scm:416:20 (a)> # ...]
In gnu/system/vm.scm:
287: 5 [#<procedure a8c48c0 at gnu/system/vm.scm:287:4 (state)> #]
In gnu/services.scm:
268: 4 [#<procedure c536ed0 at gnu/services.scm:268:2 (state)> #]
In gnu/system.scm:
293: 3 [#<procedure 92d6a00 at gnu/system.scm:293:8 (state)> #]
797: 2 [#<procedure 7a1ccc0 at gnu/system.scm:797:2 (state)> #]
778: 1 [#<procedure 948bc00 at gnu/system.scm:773:2 (state)> #]
In unknown file:
?: 0 ["GNU with Linux-Libre 4.11 (beta)" "GNU with Linux-Libre 4.11 (beta)"]
ERROR: In procedure GNU with Linux-Libre 4.11 (beta):
ERROR: Wrong type to apply: "GNU with Linux-Libre 4.11 (beta)"
--8<---------------cut here---------------end--------------->8---
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sat, 06 May 2017 07:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 26791 <at> debbugs.gnu.org (full text, mbox):
Hi Mark,
This problem should be resolved by make clean-go && make, see here :
https://lists.gnu.org/archive/html/guix-patches/2017-05/msg00152.html
Mathieu
Mark H Weaver writes:
> The error message is:
>
> ERROR: In procedure GNU with Linux-Libre 4.11 (beta):
> ERROR: Wrong type to apply: "GNU with Linux-Libre 4.11 (beta)"
>
> Here's the head and tail of the output of the evaluator. Unfortunately,
> the relevant git commit is not printed.
>
> Mark
>
>
> --8<---------------cut here---------------start------------->8---
> considering jobset gnu:master (last checked 72008s ago)
> checking out Git branch master from https://git.savannah.gnu.org/r/guix.git
> Initialized empty Git repository in /tmp/git-checkout-tmp-9693/git-export/.git/
> From /var/lib/hydra/scm/git/f08e53b7f0f3ce68a74e8745c37add3d0aecabda3e30c724b0d838fdc6743e2b
> * branch master -> FETCH_HEAD
> * [new branch] master -> origin/master
> Switched to a new branch 'fetchgit'
> removing `.git'...
> hash is c2f6ba71188a29e6940662f54dded0b754a41d03fe05d2e40bc1e054299f7ffa
> path is /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export
> evaluator hydra-eval-guile-jobs
> hydra-eval-guile-jobs returned exit code 1:
> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;; or pass the --no-auto-compile argument to disable.
> ;;; compiling /usr/local/bin/hydra-eval-guile-jobs
> ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/bin/hydra-eval-guile-jobs.go
> adding `/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export' to the load path
> prepending "/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../.." to the load path
> ;;; compiling /home/hydra/.guix-profile/share/guile/site/2.0/guix/config.scm
> ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/swbhvy5vw84hwjxwc2v069fdmr6b1cfy-guix-0.12.0-2.b291/share/guile/site/2.0/guix/config.scm.g
> o
>
> [...]
>
> ;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/wine.scm
> ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/gnu/packages/wine.scm.go
> ;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/xfce.scm
> ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/gnu/packages/xfce.scm.go
> ;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/xnee.scm
> ;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/gnu/packages/xnee.scm.go
> Backtrace:
> In unknown file:
> ?: 19 [apply-smob/1 #<catch-closure 2387c00>]
> 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 2399320 at ice-9/command-line.scm:176:6 (port)> #<input: string 2952820>]
> In unknown file:
> ?: 14 [eval (apply (module-ref # #) (cdr #)) #<directory (guile-user) 2374bd0>]
> In /usr/local/bin/hydra-eval-guile-jobs:
> 240: 13 [eval-guile-jobs "/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-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 56f3750 at ice-9/eval.scm:416:20 (a)> #]
> 575: 10 [map #<procedure 56f3750 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:
> 1338: 6 [run-with-store # #<procedure a6d5c90 at ice-9/eval.scm:416:20 (a)> # ...]
> In gnu/system/vm.scm:
> 287: 5 [#<procedure a8c48c0 at gnu/system/vm.scm:287:4 (state)> #]
> In gnu/services.scm:
> 268: 4 [#<procedure c536ed0 at gnu/services.scm:268:2 (state)> #]
> In gnu/system.scm:
> 293: 3 [#<procedure 92d6a00 at gnu/system.scm:293:8 (state)> #]
> 797: 2 [#<procedure 7a1ccc0 at gnu/system.scm:797:2 (state)> #]
> 778: 1 [#<procedure 948bc00 at gnu/system.scm:773:2 (state)> #]
> In unknown file:
> ?: 0 ["GNU with Linux-Libre 4.11 (beta)" "GNU with Linux-Libre 4.11 (beta)"]
>
> ERROR: In procedure GNU with Linux-Libre 4.11 (beta):
> ERROR: Wrong type to apply: "GNU with Linux-Libre 4.11 (beta)"
> --8<---------------cut here---------------end--------------->8---
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sat, 06 May 2017 22:45:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 26791 <at> debbugs.gnu.org (full text, mbox):
Mathieu Othacehe <m.othacehe <at> gmail.com> writes:
> Hi Mark,
>
> This problem should be resolved by make clean-go && make, see here :
>
> https://lists.gnu.org/archive/html/guix-patches/2017-05/msg00152.html
As far as I know, *every* evaluation on Hydra is a clean build from
scratch, so I'm not sure how to proceed. In the meantime, our build
farm is essentially broken until this is resolved.
I've CC'd Ludovic in case he has more insight.
Mark
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sun, 07 May 2017 06:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 26791 <at> debbugs.gnu.org (full text, mbox):
Hi,
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).
It's still reconfiguring now but it looks good.
If it works out, I'll post it here for review...
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Sun, 07 May 2017 09:36:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Mark H Weaver <mhw <at> netris.org>
:
bug acknowledged by developer.
(Sun, 07 May 2017 09:36:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 26791-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Danny Milosavljevic <dannym <at> 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.
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sun, 07 May 2017 10:13:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 26791 <at> debbugs.gnu.org (full text, mbox):
For reference, the relevant commits are (newest first) 360874dd1c1aafddd82e389b9da09f69bddb2a20 (not really suspicious), 7e3f7acbe0885fd8a6e509fd0c309d1f4d9d3097, bf8b09169c7d8ae48ac99ea237b82867ee9aa885, 370ae085b5107a0928fd744a987fb4070bdf6a00, 83071b052a0585f7166245b7ba793436e104f8fe, 0315abe608007f1fed96cdcae21b6a83902b25e6, 9530e73b496fefe65dcb936825b6beda79f7fdf2, 33f0aa88155ee0718f21e7de24eb539cb9872217, 40fad1c24ce60076e26f6dc8096e4716d31d90c3 (!).
Note that this all works fine after Guix has been built using make, so I don't think the problem is in the source code of Guix.
As for that Hydra job:
>Switched to a new branch 'fetchgit'
>;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/bin/hydra-eval-guile-jobs.go
>adding `/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export' to the load path
>;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/xnee.scm
It seems that hydra auto-compiles some Guix modules:
So this Hydra job should run make in /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export first.
Unfortunately, I have no idea about Hydra - and "grep -r fetchgit ." inside "guix" doesn't turn up anything either.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sun, 07 May 2017 21:32:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 26791 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, May 07, 2017 at 11:35:39AM +0200, Ludovic Courtès wrote:
> Hi,
>
> Danny Milosavljevic <dannym <at> 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.
Unfortunately, this evaluation failed :(
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>
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sun, 07 May 2017 22:25:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 26791 <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) writes:
> Danny Milosavljevic <dannym <at> 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---
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Sun, 07 May 2017 22:38:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 26791 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> writes:
> On Sun, May 07, 2017 at 11:35:39AM +0200, Ludovic Courtès wrote:
>> Hi,
>>
>> Danny Milosavljevic <dannym <at> 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.
>
> Unfortunately, this evaluation failed :(
>
> 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>
This indicates another case of a macro being used before it is defined.
I don't have time at the moment to investigate further.
Mark
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Mon, 08 May 2017 12:41:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 26791 <at> debbugs.gnu.org (full text, mbox):
Mark H Weaver <mhw <at> netris.org> skribis:
>> ERROR: In procedure #<syntax-transformer boot-parameters-label>:
>> ERROR: Wrong type to apply: #<syntax-transformer boot-parameters-label>
>
> This indicates another case of a macro being used before it is defined.
> I don't have time at the moment to investigate further.
I just followed up on that here:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26339#304
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26791
; Package
guix
.
(Tue, 09 May 2017 21:30:17 GMT)
Full text and
rfc822 format available.
Message #37 received at 26791 <at> debbugs.gnu.org (full text, mbox):
Hi Danny,
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
> For reference, the relevant commits are (newest first) 360874dd1c1aafddd82e389b9da09f69bddb2a20 (not really suspicious), 7e3f7acbe0885fd8a6e509fd0c309d1f4d9d3097, bf8b09169c7d8ae48ac99ea237b82867ee9aa885, 370ae085b5107a0928fd744a987fb4070bdf6a00, 83071b052a0585f7166245b7ba793436e104f8fe, 0315abe608007f1fed96cdcae21b6a83902b25e6, 9530e73b496fefe65dcb936825b6beda79f7fdf2, 33f0aa88155ee0718f21e7de24eb539cb9872217, 40fad1c24ce60076e26f6dc8096e4716d31d90c3 (!).
>
> Note that this all works fine after Guix has been built using make, so I don't think the problem is in the source code of Guix.
>
> As for that Hydra job:
>
>>Switched to a new branch 'fetchgit'
>>;;; compiled /home/hydra/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/bin/hydra-eval-guile-jobs.go
>>adding `/gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export' to the load path
>>;;; compiling /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export/build-aux/hydra/../../gnu/packages/xnee.scm
>
> It seems that hydra auto-compiles some Guix modules:
>
> So this Hydra job should run make in /gnu/store/vsw3112dw48ai5arsxf1qsvma8y4fvqp-git-export first.
>
> Unfortunately, I have no idea about Hydra - and "grep -r fetchgit ." inside "guix" doesn't turn up anything either.
Not a bug! :-)
Hydra and Cuirass first go through an “evaluation” step, which consists
in producing a list of derivations + meta-data from Guix/GuixSD.
Concretely, Hydra runs build-aux/hydra/gnu-system.scm, which returns
that list (you can run “make hydra-jobs.scm” to see that result.)
As can be seen at the top of gnu-system.scm, the idea is to let Guile’s
auto-compilation kick in rather than have an explicit build step. It
simplifies gnu-system.scm at the expense of providing messy output; it’s
also quite expensive.
I’m open to a brainstorming session on this. I’m not sure how to
improve the situation myself. We have a similar problem with ‘guix
pull’ in fact: should we first compile everything and then run, or
compile everything but the (gnu packages …) modules, or…?
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 07 Jun 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.