unofficial mirror of gwl-devel@gnu.org
 help / color / mirror / Atom feed
* `--run=simple` error ?
@ 2019-02-21 15:22 zimoun
  2019-02-21 15:40 ` Ricardo Wurmus
  0 siblings, 1 reply; 16+ messages in thread
From: zimoun @ 2019-02-21 15:22 UTC (permalink / raw)
  To: gwl-devel

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>

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

end of thread, other threads:[~2019-02-24 12:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-21 15:22 `--run=simple` error ? zimoun
2019-02-21 15:40 ` Ricardo Wurmus
2019-02-22 16:22   ` zimoun
2019-02-22 16:33     ` Pjotr Prins
2019-02-22 16:48       ` zimoun
2019-02-22 16:57         ` Pjotr Prins
2019-02-22 21:05           ` zimoun
2019-02-22 21:18             ` Pjotr Prins
2019-02-24 11:40               ` zimoun
2019-02-24 12:02                 ` Pjotr Prins
2019-02-22 16:35     ` Ricardo Wurmus
2019-02-22 16:55       ` zimoun
2019-02-22 17:04         ` Ricardo Wurmus
2019-02-22 21:10           ` zimoun
2019-02-22 22:54             ` Ricardo Wurmus
2019-02-24 11:56               ` zimoun

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