Heya, Catonano <caton...@gmail.com> skribis:
> In execvp of TRYTONPASSFILE = > /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile > /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/trytond-admin: > No such file or directory > ERROR: In procedure scm-error: > ERROR: program "TRYTONPASSFILE = > /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile > /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/trytond-admin" > exited with non-zero code 32512 It’s trying to execute a program named “TRYTONPASSFILE = …/…”. This initial “TRYTONPASSFILE =” string is bogus, it’s not the name of the program. > Respawning trytond. > Service trytond has been started. > Backtrace: > 3 (primitive-load "/gnu/store/dh2mm0hk37q4cr4g390psp5y7jl?") > In ice-9/eval.scm: > 182:19 2 (proc #(#<directory (guile-user) 2767140> #("tryt?" ?) ?)) > 142:16 1 (compile-top-call _ (7 . invoke) ((11 0 . 1) (10 # # ?))) > In unknown file: > 0 (%resolve-variable (7 . invoke) #<directory (guile-user?>) > > ERROR: In procedure %resolve-variable: > ERROR: Unbound variable: invoke ‘invoke’ is in (guix build utils), so you need (use-modules (guix build utils)) somewhere. Specifically, in the ‘tryton-shepherd-service’ procedure you posted, you need to define ‘start-script’ like this: (program-file "start-trytond" (with-imported-modules '((guix build utils)) #~(begin (use-modules (guix build utils)) (let ((user …)) ;; … (invoke …))))) > warning: failed to load '(gnu tests install)': > In procedure allocate-struct: Wrong type argument in position 2: 13 This suggests an ABI mismatch; run ‘make clean-go && make’. HTH, looks like you’re almost there! :-) Ludo’.