From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:60464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwqAw-00020p-NY for gwl-devel@gnu.org; Thu, 21 Feb 2019 10:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwqAv-0005Id-TA for gwl-devel@gnu.org; Thu, 21 Feb 2019 10:22:14 -0500 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:46831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwqAv-0005IE-Nv for gwl-devel@gnu.org; Thu, 21 Feb 2019 10:22:13 -0500 Received: by mail-qk1-x735.google.com with SMTP id i5so4429092qkd.13 for ; Thu, 21 Feb 2019 07:22:13 -0800 (PST) MIME-Version: 1.0 From: zimoun Date: Thu, 21 Feb 2019 16:22:01 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: `--run=simple` error ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+kyle=kyleam.com@gnu.org Sender: "gwl-devel" To: gwl-devel@gnu.org Hi, I am not able to run any workflow any more. Well, I use Guix on a foreign distro so maybe my config is wrong; especially about the Guile modules. My variables are: export PATH=3D"$HOME/.config/guix/current/bin:$HOME/.guix-profile/bin:$HOME= /.guix-profile/sbin${PATH:+:}$PATH" export GUILE_LOAD_PATH=3D"$HOME/.guix-profile/share/guile/site/2.2${GUILE_L= OAD_PATH:+:}$GUILE_LOAD_PATH" export GUILE_LOAD_COMPILED_PATH=3D"$HOME/.guix-profile/lib/guile/2.2/site-c= cache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH" Then the environment is set with: guix environment --ad-hoc autoconf automake pkg-config texlive-tiny guile guile-commonmark guile-syntax-highlight guile-wisp Well, the compilation seems to work: ./bootstrap ./configure make However, `make check` fails on tests/sugar.scm. And finally, I am not able to run any workflow: GUIX_WORKFLOW_PATH=3D./doc/examples/ ./pre-inst-env guix workflow -l lists simple etc. But: GUIX_WORKFLOW_PATH=3D./doc/examples/ ./pre-inst-env guix workflow -r simple fails with the backtrace (below). Hum? Elsewhere Ricardo mentions issue with Guile versions. If I understand well, the issue should come from that GWL is compiled with a version of Guile and this Guile version is incompatible with the Guile version used to compile Guix with the `guix pull'. Right? The ./configure says: [...] configure: checking for guile 2.2 configure: found guile 2.2 checking for guile-2.2... no checking for guile2.2... no checking for guile-2... no checking for guile2... no checking for guile... /gnu/store/xd3p0nq4xh59wnvsadm2gf8xclbbwv4h-profile/bin/guile checking for Guile version >=3D 2.2... 2.2.4 checking for guild... /gnu/store/xd3p0nq4xh59wnvsadm2gf8xclbbwv4h-profile/bin/guild checking for guile-config... /gnu/store/xd3p0nq4xh59wnvsadm2gf8xclbbwv4h-profile/bin/guile-config [...] Then /gnu/store/xd3p0nq4xh59wnvsadm2gf8xclbbwv4h-profile/bin/guile points to /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guile And find /gnu/ -name "guile" -type f -print /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/bin/guile /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guile /gnu/store/1fl9vk8fpafkws4qyy25vcdfpybxyh1k-guile-2.0.14/bin/guile When I `guix pull`, I track which Guile is used. Surprise surprise... it is not the same. :-) It is the one in /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4. Well, the questions are: - Does the issue come from that? This subtle difference? - How can I fix the issue? Either recompile Guix with the correct Guile. Either compile GWL with the other Guix version. Thank you in advance for your lights. All the best, simon -- Backtrace: 9 (primitive-load "/home/simon/.config/guix/current/bin/g=E2=80= =A6") In guix/ui.scm: 1639:12 8 (run-guix-command _ . _) In guix/scripts/workflow.scm: 158:24 7 (guix-workflow . _) In gwl/workflows.scm: 223:4 6 (workflow-run # # =E2=80=A6) In gwl/cache.scm: 77:16 5 (make-process->cache-prefix _ _ _) 72:7 4 (workflow->data-hashes # (# = =E2=80=A6) =E2=80=A6) In srfi/srfi-1.scm: 466:18 3 (fold # () (#= =E2=80=A6)) In gwl/cache.scm: 56:19 2 (kons # ()) In gwl/processes.scm: 315:2 1 (derivation->script # =E2=80=A6) In unknown file: 0 (_ #) ERROR: Wrong type to apply: #