Subject: bug#25409: closed (Re: bug#25409: make fails when guile-json is not present)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 10 Jan 2017 14:59:02 +0000

Your bug report

#25409: make fails when guile-json is not present

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25409: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25409
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#25409: make fails when guile-json is not present
From: [email-masked] (Ludovic Courtès)
To: Ben Woodcroft <[email-masked]>
Cc: [email-masked]
Date: Tue, 10 Jan 2017 15:58:15 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Ben,

Ben Woodcroft <[email-masked]> skribis:

> 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’.

Subject: make fails when guile-json is not present
From: Ben Woodcroft <[email-masked]>
To: [email-masked]
Date: Tue, 10 Jan 2017 09:32:22 +1000
List-Id: <debbugs-submit.debbugs.gnu.org>

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