unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27005: guile-json error on making Docker image
@ 2017-05-20 10:18 Pjotr Prins
  2017-05-20 12:31 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Pjotr Prins @ 2017-05-20 10:18 UTC (permalink / raw)
  To: 27005


On latest guix d30ce4a7e2ba8f4eca7b99bb8483353c753e91bf

  ./pre-inst-env guix pack hello 

works. But this does not:

  ./pre-inst-env guix pack hello -f docker

I am sure guile-json is in the path (see below). 

The following derivation will be built:
   /gnu/store/xhfrvmh7vh2ipm32rdyisagnr5ac462x-docker-pack.tar.gz.drv
Backtrace:
In ice-9/boot-9.scm:
1734: 19 [%start-stack load-stack #<procedure 8f6de0 at ice-9/boot-9.scm:4080:10 ()>]
1739: 18 [#<procedure 8f76c0 ()>]
In unknown file:
   ?: 17 [primitive-load "/gnu/store/k7gzj72ax2i5fxc4n6v02bkhwwi3a94g-docker-pack.tar.gz-builder"]
In ice-9/eval.scm:
 505: 16 [#<procedure 79c6a0 at ice-9/eval.scm:499:4 (exp)> (begin # # # ...)]
In ice-9/psyntax.scm:
1107: 15 [expand-top-sequence ((begin # # # ...)) () ((top)) ...]
 990: 14 [scan ((begin (add-to-load-path #) (use-modules # #) ...)) () ...]
 990: 13 [scan (# # #) () (#) ...]
 279: 12 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3622: 11 [process-use-modules (((guix docker)) ((srfi srfi-19)))]
 712: 10 [map #<procedure 857840 at ice-9/boot-9.scm:3622:25 (mif-args)> ((#) (#))]
3623: 9 [#<procedure 857840 at ice-9/boot-9.scm:3622:25 (mif-args)> ((guix docker))]
2900: 8 [resolve-interface (guix docker) #:select ...]
2825: 7 [#<procedure 84a120 at ice-9/boot-9.scm:2813:4 (name #:optional autoload version #:key ensure)> # ...]
3101: 6 [try-module-autoload (guix docker) #f]
2412: 5 [save-module-excursion #<procedure 8fd270 at ice-9/boot-9.scm:3102:17 ()>]
3121: 4 [#<procedure 8fd270 at ice-9/boot-9.scm:3102:17 ()>]
In unknown file:
   ?: 3 [primitive-load-path "guix/docker" ...]
In ./guix/docker.scm:
  34: 2 [#<procedure 90c560 ()>]
In ice-9/boot-9.scm:
2903: 1 [resolve-interface (json) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (json)) #f]

ERROR: In procedure scm-error:
ERROR: no code for module (json)
builder for `/gnu/store/xhfrvmh7vh2ipm32rdyisagnr5ac462x-docker-pack.tar.gz.drv' failed with exit code 1
guix pack: error: build failed: build of `/gnu/store/xhfrvmh7vh2ipm32rdyisagnr5ac462x-docker-pack.tar.gz.drv' failed

Environment:

penguin2:~/genenetwork/gn-latest-guix$ guile --version
  guile (GNU Guile) 2.0.14
  Copyright (C) 2016 Free Software Foundation, Inc.
penguin2:~/genenetwork/gn-latest-guix$ set|grep GUILE
  GUILE_LOAD_COMPILED_PATH=/home/pjotr/.guix-profile/share/guile/site/2.0
  GUILE_LOAD_PATH=/home/pjotr/.guix-profile/share/guile/site/2.0
penguin2:~/genenetwork/gn-latest-guix$ ls /home/pjotr/.guix-profile/share/guile/site/2.0
  json  json.go  json.scm


-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#27005: guile-json error on making Docker image
  2017-05-20 10:18 bug#27005: guile-json error on making Docker image Pjotr Prins
@ 2017-05-20 12:31 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-05-20 12:31 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: 27005-done

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> On latest guix d30ce4a7e2ba8f4eca7b99bb8483353c753e91bf
>
>   ./pre-inst-env guix pack hello 
>
> works. But this does not:
>
>   ./pre-inst-env guix pack hello -f docker
>
> I am sure guile-json is in the path (see below). 
>
> The following derivation will be built:
>    /gnu/store/xhfrvmh7vh2ipm32rdyisagnr5ac462x-docker-pack.tar.gz.drv

[...]

> ERROR: In procedure scm-error:
> ERROR: no code for module (json)
> builder for `/gnu/store/xhfrvmh7vh2ipm32rdyisagnr5ac462x-docker-pack.tar.gz.drv' failed with exit code 1
> guix pack: error: build failed: build of `/gnu/store/xhfrvmh7vh2ipm32rdyisagnr5ac462x-docker-pack.tar.gz.drv' failed

Fixed in d6bf931cb23d73af5f74963e16d78f64c4f6df12.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-20 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-20 10:18 bug#27005: guile-json error on making Docker image Pjotr Prins
2017-05-20 12:31 ` Ludovic Courtès

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