unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: elaexuotee@wilsonb.com
To: help-guix@gnu.org
Subject: Running shepherd as user: incompatible bytecode version
Date: Fri, 16 Apr 2021 00:39:54 +0900	[thread overview]
Message-ID: <2LMA87TQA8XIP.2SPAQUHC3NTSG@wilsonb.com> (raw)

Hey Guix,

Reading https://guix.gnu.org/en/blog/2020/gnu-shepherd-user-services/, I was
inspired to start trying this out on my own.  However, I immediately ran into
this huge mess:

    $ shepherd
    ...
    ;;; WARNING: loading compiled file /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/xnee.go failed:
    ;;; In procedure load-thunk-from-memory: incompatible bytecode version
    ;;; WARNING: loading compiled file /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/zwave.go failed:
    ;;; In procedure load-thunk-from-memory: incompatible bytecode version
    ;;; WARNING: loading compiled file /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/zwave.go failed:
    ;;; In procedure load-thunk-from-memory: incompatible bytecode version

After about 20 seconds shepherd finally starts; however, the same thing happens
again when trying to start services:

    $ herd start fccache
    ... <same stderr as above>

Am I simply doing something incorrect? The /run/current-system/profile paths
seem mildly suspect, since the guile there is 3.0.5 but shepherd is running
3.0.2, apparently:

    $ command -v guile
    /run/current-system/profile/bin/guile

    $ guile --version
    guile (GNU Guile) 3.0.5

    $ command -v shepherd
    /run/current-system/profile/bin/shepherd

    $ command -v shepherd | xargs guix gc -R | grep guile
    /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2

Just for good measure:

    $ guix describe
    Generation 48	Apr 15 2021 23:54:15	(current)
      guix a5bbd38
        repository URL: https://git.savannah.gnu.org/git/guix.git
        branch: master
        commit: a5bbd38fd131282e928144e869dcdf1e09259085


             reply	other threads:[~2021-04-15 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15 15:39 elaexuotee [this message]
2021-04-15 22:19 ` Running shepherd as user: incompatible bytecode version Léo Le Bouter
2021-04-18 16:49   ` elaexuotee
2023-02-12  8:09   ` elaexuotee

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://guix.gnu.org/

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

  git send-email \
    --in-reply-to=2LMA87TQA8XIP.2SPAQUHC3NTSG@wilsonb.com \
    --to=elaexuotee@wilsonb.com \
    --cc=help-guix@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).