[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird errors
From: |
Ludovic Courtès |
Subject: |
Re: weird errors |
Date: |
Sat, 13 Jan 2018 22:13:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Heya,
Catonano <address@hidden> 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’.
- weird errors, Catonano, 2018/01/13
- Re: weird errors,
Ludovic Courtès <=
- Re: weird errors, Catonano, 2018/01/14
- Re: weird errors, Danny Milosavljevic, 2018/01/14
- Re: weird errors, Danny Milosavljevic, 2018/01/14
- Re: weird errors, Catonano, 2018/01/14
- Re: weird errors, Ricardo Wurmus, 2018/01/14
- Re: weird errors, Catonano, 2018/01/14
- Re: weird errors, Danny Milosavljevic, 2018/01/14
- Re: weird errors, Catonano, 2018/01/14
- Re: weird errors, Alex Vong, 2018/01/15
- Re: weird errors, Catonano, 2018/01/22