From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: weird errors Date: Sat, 13 Jan 2018 22:13:18 +0100 Message-ID: <87a7xhmpht.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaT7E-0000nW-Rq for guix-devel@gnu.org; Sat, 13 Jan 2018 16:13:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaT7B-0005ix-Mm for guix-devel@gnu.org; Sat, 13 Jan 2018 16:13:24 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40078) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eaT7B-0005hK-Hk for guix-devel@gnu.org; Sat, 13 Jan 2018 16:13:21 -0500 In-Reply-To: (catonano@gmail.com's message of "Sat, 13 Jan 2018 18:00:37 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Catonano Cc: guix-devel Heya, Catonano skribis: > In execvp of TRYTONPASSFILE =3D > /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile > /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/trytond-adm= in: > No such file or directory > ERROR: In procedure scm-error: > ERROR: program "TRYTONPASSFILE =3D > /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile > /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/trytond-adm= in" > exited with non-zero code 32512 It=E2=80=99s trying to execute a program named =E2=80=9CTRYTONPASSFILE =3D = =E2=80=A6/=E2=80=A6=E2=80=9D. This initial =E2=80=9CTRYTONPASSFILE =3D=E2=80=9D string is bogus, it=E2=80=99s = 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 #(# #("tryt?" ?) ?)) > 142:16 1 (compile-top-call _ (7 . invoke) ((11 0 . 1) (10 # # ?))) > In unknown file: > 0 (%resolve-variable (7 . invoke) #) > > ERROR: In procedure %resolve-variable: > ERROR: Unbound variable: invoke =E2=80=98invoke=E2=80=99 is in (guix build utils), so you need (use-modules= (guix build utils)) somewhere. Specifically, in the =E2=80=98tryton-shepherd-service=E2=80=99 procedure yo= u posted, you need to define =E2=80=98start-script=E2=80=99 like this: (program-file "start-trytond" (with-imported-modules '((guix build utils)) #~(begin (use-modules (guix build utils)) (let ((user =E2=80=A6)) ;; =E2=80=A6 (invoke =E2=80=A6))))) > warning: failed to load '(gnu tests install)': > In procedure allocate-struct: Wrong type argument in position 2: 13 This suggests an ABI mismatch; run =E2=80=98make clean-go && make=E2=80=99. HTH, looks like you=E2=80=99re almost there! :-) Ludo=E2=80=99.