|
From: | Catonano |
Subject: | Re: weird errors |
Date: | Sun, 14 Jan 2018 08:21:10 +0100 |
Heya,
Catonano <address@hidden> skribis:
> In execvp of TRYTONPASSFILE =
> /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44 It’s trying to execute a program named “TRYTONPASSFILE = …/…”. Thisv6-passfile
> /gnu/store/144hjm67pzq9x0v47hwfiabwqq219a ya-trytond-4.6.2/bin/trytond- admin:
> No such file or directory
> ERROR: In procedure scm-error:
> ERROR: program "TRYTONPASSFILE =
> /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44 v6-passfile
> /gnu/store/144hjm67pzq9x0v47hwfiabwqq219a ya-trytond-4.6.2/bin/trytond- admin"
> exited with non-zero code 32512
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?") ‘invoke’ is in (guix build utils), so you need (use-modules (guix build
> 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
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! :-)
[Prev in Thread] | Current Thread | [Next in Thread] |