unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Running shepherd as user: incompatible bytecode version
@ 2021-04-15 15:39 elaexuotee
  2021-04-15 22:19 ` Léo Le Bouter
  0 siblings, 1 reply; 4+ messages in thread
From: elaexuotee @ 2021-04-15 15:39 UTC (permalink / raw)
  To: help-guix

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


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 15:39 Running shepherd as user: incompatible bytecode version elaexuotee
2021-04-15 22:19 ` Léo Le Bouter
2021-04-18 16:49   ` elaexuotee
2023-02-12  8:09   ` elaexuotee

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