unofficial mirror of gwl-devel@gnu.org
 help / color / mirror / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: gwl-devel@gnu.org
Subject: `--run=simple` error ?
Date: Thu, 21 Feb 2019 16:22:01 +0100	[thread overview]
Message-ID: <CAJ3okZ1-x3cs0BULKRe1uQh8-QYVq74k2ZusET6FBCK4wHSX1A@mail.gmail.com> (raw)

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	other threads:[~2019-02-21 15:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21 15:22 zimoun [this message]
2019-02-21 15:40 ` `--run=simple` error ? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.guixwl.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ1-x3cs0BULKRe1uQh8-QYVq74k2ZusET6FBCK4wHSX1A@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=gwl-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).