help-guix
[Top][All Lists]
Advanced

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

Running shepherd as user: incompatible bytecode version


From: elaexuotee
Subject: Running shepherd as user: incompatible bytecode version
Date: Fri, 16 Apr 2021 00:39:54 +0900
User-agent: mblaze/1.1

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 via email to

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