From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SmnFmcOtIMWgcGHEjWVr?= Subject: Using Cuirass to build substitutions for pkgs in manifest Date: Wed, 15 May 2019 17:23:10 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:42568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQxcu-0008M4-K5 for help-guix@gnu.org; Wed, 15 May 2019 13:23:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQxct-0001UN-4j for help-guix@gnu.org; Wed, 15 May 2019 13:23:36 -0400 Received: from mail-it1-x12f.google.com ([2607:f8b0:4864:20::12f]:38855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQxcs-0001Q9-SD for help-guix@gnu.org; Wed, 15 May 2019 13:23:35 -0400 Received: by mail-it1-x12f.google.com with SMTP id i63so1427449ita.3 for ; Wed, 15 May 2019 10:23:34 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hello, I'm trying to setup cuirass configured as GuixSD service but I'm getting stuck. Basically, I'm trying to use cuirass for building substitutions for packages from my manifest (ie. only those that I actively use on my systems). My manifest contains package provided by standard Guix distribution alongside with a few custom packages coming from my own channel. My Curiass config (modified version of example mentioned in the Guix Reference Manual) can be seen below: (define %cuirass-specs #~(list '((#:name . "my-manifest") (#:load-path-inputs . ("guix")) (#:package-path-inputs . ("personal")) (#:proc-input . "guix") (#:proc-file . "build-aux/cuirass/gnu-system.scm") (#:proc . cuirass-jobs) (#:proc-args . ((subset . "manifests") (systems . ("x86_64-linux")) (manifests . (("config" . "guix/manifest.scm"))))) (#:inputs . (((#:name . "guix") (#:url . "git://git.savannah.gnu.org/guix.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) ((#:name . "config") (#:url . "https://github.com/geostarling/guix-manifest.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t)) ((#:name . "personal") (#:url . "https://github.com/geostarling/guix-packages.git") (#:load-path . ".") (#:branch . "master") (#:no-compile? . #t))))))) When I try to start Cuirass service with `herd start cuirass` I get following error in cuirass log: error in finalization thread: Bad file descriptor 2019-05-15T18:36:18 running Fibers on 2 kernel threads 2019-05-15T18:36:18 marking stale builds as "scheduled"... 2019-05-15T18:36:18 retrieving list of pending builds... 2019-05-15T18:36:18 listening on 127.0.0.1:8081 2019-05-15T18:36:18 heap: 12.10 MiB; threads: 6; file descriptors: 33 2019-05-15T18:36:18 canceling 0 stale builds 2019-05-15T18:36:18 restarting 0 pending builds 2019-05-15T18:36:18 building 0 derivations in batches of 200 2019-05-15T18:36:18 done with 0 derivations 2019-05-15T18:36:18 done with restarted builds 2019-05-15T18:36:18 fetching input 'personal' of spec 'my-manifest' 2019-05-15T18:36:18 fetching input 'guix' of spec 'my-manifest' 2019-05-15T18:36:19 fetching input 'config' of spec 'my-manifest' 2019-05-15T18:36:19 fetched input 'personal' of spec 'my-manifest' (commit "d379e02fa3052cb42481f2677b05033ebfd2e342") 2019-05-15T18:36:19 fetched input 'guix' of spec 'my-manifest' (commit "247649d42e60b718f3f46b2bcf72d19bf799d503") 2019-05-15T18:36:19 fetched input 'config' of spec 'my-manifest' (commit "ccfef170799a1a995c21e9275a320de2c731d3f3") 2019-05-15T18:36:19 next evaluation in 60 seconds 2019-05-15T18:36:19 evaluating spec 'my-manifest' Backtrace: 17 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 16 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 15 (_ #(#(#))) 293:34 14 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) 159:9 13 (_ _) 619:8 12 (_ #(#(#(#) # ?) ?)) 626:19 11 (_ #(#(#(#) # ?) ?)) In guix/store.scm: 1794:24 10 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/channels.scm: 498:2 9 (_ _) 455:2 8 (_ _) In guix/monads.scm: 482:9 7 (_ _) In guix/store.scm: 1667:8 6 (_ _) In guix/gexp.scm: 708:2 5 (_ _) In guix/monads.scm: 482:9 4 (_ _) In guix/gexp.scm: 573:13 3 (_ _) In guix/store.scm: 1667:13 2 (_ _) In guix/gexp.scm: 210:2 1 (lower-object #f _ #:target _) 189:36 0 (lookup-compiler #f) guix/gexp.scm:189:36: In procedure lookup-compiler: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. 2019-05-15T18:36:21 failed to evaluate spec 'my-manifest' The service itself won't crash, no packages will get built though. I suspect the problem lies in `proc-args` definition or in improper `(#:proc . cuirass-jobs)` use, but I was unable to find any more info on these parameters. Also, I would be very grateful if someone could share their Cuirass config that does something similar. Thank you. Jiri