gwl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gwl-devel] `--run=simple` error ?


From: zimoun
Subject: [gwl-devel] `--run=simple` error ?
Date: Thu, 21 Feb 2019 16:22:01 +0100

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="$HOME/.config/guix/current/bin:$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin${PATH:+:}$PATH"
export 
GUILE_LOAD_PATH="$HOME/.guix-profile/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
export 
GUILE_LOAD_COMPILED_PATH="$HOME/.guix-profile/lib/guile/2.2/site-ccache${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=./doc/examples/ ./pre-inst-env guix workflow -l

lists simple etc. But:

GUIX_WORKFLOW_PATH=./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 >= 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…")
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 #<workflow simple> #<process-engine simp…> …)
In gwl/cache.scm:
    77:16  5 (make-process->cache-prefix _ _ _)
     72:7  4 (workflow->data-hashes #<workflow simple> (#<proces…> …) …)
In srfi/srfi-1.scm:
   466:18  3 (fold #<procedure kons (process acc)> () (#<process …> …))
In gwl/cache.scm:
    56:19  2 (kons #<process greet> ())
In gwl/processes.scm:
    315:2  1 (derivation->script #<procedure 40a6870 at gwl/process…> …)
In unknown file:
           0 (_ #<store-connection 256.99 410df00>)

ERROR: Wrong type to apply: #<syntax-transformer nix-server-version>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]