From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: bug#27005: guile-json error on making Docker image Date: Sat, 20 May 2017 12:18:16 +0200 Message-ID: <20170520101816.GA3981@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC1TV-0005Au-SK for bug-guix@gnu.org; Sat, 20 May 2017 06:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dC1TS-0001zy-NE for bug-guix@gnu.org; Sat, 20 May 2017 06:19:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dC1TS-0001zu-JN for bug-guix@gnu.org; Sat, 20 May 2017 06:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dC1TS-0003yh-Bj for bug-guix@gnu.org; Sat, 20 May 2017 06:19:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dC1TF-0005Ac-EK for bug-guix@gnu.org; Sat, 20 May 2017 06:18:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dC1TC-0001w6-6M for bug-guix@gnu.org; Sat, 20 May 2017 06:18:49 -0400 Received: from mail.thebird.nl ([95.154.246.10]:50272) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dC1TC-0001l5-0L for bug-guix@gnu.org; Sat, 20 May 2017 06:18:46 -0400 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27005@debbugs.gnu.org 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 #] 1739: 18 [#] In unknown file: ?: 17 [primitive-load "/gnu/store/k7gzj72ax2i5fxc4n6v02bkhwwi3a94g-docker-pack.tar.gz-builder"] In ice-9/eval.scm: 505: 16 [# (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 # ((#) (#))] 3623: 9 [# ((guix docker))] 2900: 8 [resolve-interface (guix docker) #:select ...] 2825: 7 [# # ...] 3101: 6 [try-module-autoload (guix docker) #f] 2412: 5 [save-module-excursion #] 3121: 4 [#] In unknown file: ?: 3 [primitive-load-path "guix/docker" ...] In ./guix/docker.scm: 34: 2 [#] 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 --