make fails when guile-json is not present

  • Done
  • quality assurance status badge
Details
2 participants
  • Ben Woodcroft
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ben Woodcroft
Severity
normal
B
B
Ben Woodcroft wrote on 10 Jan 2017 00:32
(address . bug-guix@gnu.org)
10c33a8d-1108-aaf8-411f-b63403f93992@uq.edu.au
Hi,

Since "#:use-module (guix docker)" is at the top of
guix/scripts/refresh.scm and "#:use-module (json)" is at the top of
guix/docker.scm, when the json module is unavailable make fails:

[...]

In unknown file:
?: 9 [primitive-load-path "guix/docker" ...]
In ice-9/eval.scm:
505: 8 [#<procedure 561cba494500 at ice-9/eval.scm:499:4 (exp)> #]
In ice-9/psyntax.scm:
1106: 7 [expand-top-sequence ((define-module # # # ...)) () ((top)) ...]
989: 6 [scan ((define-module (guix docker) #:use-module ...)) () ...]
279: 5 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...]
In ice-9/eval.scm:
411: 4 [eval # ()]
In ice-9/boot-9.scm:
2951: 3 [define-module* (guix docker) #:filename ...]
2926: 2 [resolve-imports (((guix hash)) ((guix store)) ((guix utils)) ...)]
2867: 1 [resolve-interface (json) #:select ...]
In unknown file:
?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (json)) #f]

[...]

I'm under the impression that guile-json is still an optional dependency.
Thanks, ben
L
L
Ludovic Courtès wrote on 10 Jan 2017 15:58
(name . Ben Woodcroft)(address . b.woodcroft@uq.edu.au)(address . 25409-done@debbugs.gnu.org)
878tqjvu60.fsf@gnu.org
Hi Ben,

Ben Woodcroft <b.woodcroft@uq.edu.au> skribis:

Toggle quote (4 lines)
> Since "#:use-module (guix docker)" is at the top of
> guix/scripts/refresh.scm and "#:use-module (json)" is at the top of
> guix/docker.scm, when the json module is unavailable make fails:

I believe commit 1545a012cb7cd78e25ed99ecee26df457be590e9 fixes that.

Thanks!

Ludo’.
Closed
?