From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yC+KMuC7vGIxVgAAbAwnHQ (envelope-from ) for ; Wed, 29 Jun 2022 22:53:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GB9aMuC7vGKcRwEAauVa8A (envelope-from ) for ; Wed, 29 Jun 2022 22:53:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7CD0232834 for ; Wed, 29 Jun 2022 22:53:52 +0200 (CEST) Received: from localhost ([::1]:51142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6eh4-0008L6-WB for larch@yhetil.org; Wed, 29 Jun 2022 16:53:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6egU-0008Kv-7X for help-guix@gnu.org; Wed, 29 Jun 2022 16:53:16 -0400 Received: from smtp-out-5.univ-rouen.fr ([193.52.152.100]:49302 helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6egR-0006Jj-TU for help-guix@gnu.org; Wed, 29 Jun 2022 16:53:13 -0400 Received: from localhost (i16-les01-ix2-62-35-41-231.sfr.lns.abo.bbox.fr [62.35.41.231]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id 3B9CD27C1 for ; Wed, 29 Jun 2022 22:53:06 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien?= Rey-Coyrehourcq To: Guix Help Subject: Help to debug a try with home-mcron-service-type on guix home Date: Wed, 29 Jun 2022 22:48:34 +0200 User-agent: mu4e 1.6.11; emacs 28.1.50 Message-ID: <87zghvw5sg.fsf@univ-rouen.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="====-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=193.52.152.100; envelope-from=sebastien.rey-coyrehourcq@univ-rouen.fr; helo=mailhoc.univ-rouen.fr X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HDRS_MISSP=2.497, HTML_MESSAGE=0.001, MIME_HTML_MOSTLY=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656536032; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ql4feavqqF7GLDieBmL1tcgXk0EYTIL90g8MGqEcv1E=; b=asZ87Hk3u/5zQVPT65gRy5g73hjZHvE1nHasXmI+CTcawJ48N16SUugJOnHNr9/UXlIm/q yFBtDjLxEriV3WLS3MPPRs06cVRINPR6Omr66quAdGLP1JVubDsfi2QGPjM/K67iGYPN8m dlc/2Rk8Juglem+/UH9o7WI/Y0C3oQzttYYbDSFiAxi1PVxLtLP3VVk4AMBneTdgLxfe0o khdbHoU4dUcJIhWLykxit62mzgl8RItrPlqMihbmXPU9tHqVGjS5W2W7YsY1vd/dRSzQj8 +2LhA5f8JNngYzuKB1e5zXr0FtEcNrNNJIAfRzFc5XWV+3gWoKq7etXS8k6aaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656536032; a=rsa-sha256; cv=none; b=Wusl/tFbFK372HvLoLtGo/vNi70w0r/r6r5ofYEbsCPFZ5aH9ULyqbz8ljD1HiMC+p1Foz 1oD3hk7DLrlbmueKRCIh4VjTx2GQQuqqHe91vGYNdb3KiSYW59qAcx/BvtAbPVH3HxYyJ7 m9UVPNkHFEEJx0+kazRbI22BBt9Mo248rw5C/IC8lOv4PPogAL0aMIMhaV0oe5oapJobRn 788w/pg2Sojwv4eaB9G50hCpvpIbdJBSJBwHLc0oxdnOgrGHYVDITnhdG1YslvgfZsEcWl vKXGscTIU5hakDDw+Ie6l629EUTA9E3NzhFq5sBMUJ2ffQJLLgrPCXsw+arFtA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.06 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7CD0232834 X-Spam-Score: -5.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: fe8D1PMcy5Zg --====-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; format=flowed Hi guix ! I'm trying to config a mcron service type for mbsync, something simple, but there are few example on the web for the new home-mcron-service-type. I try something like this : (use-modules (gnu packages mail) (gnu packages tls) (gnu home services mcron)) (define update-mail-service #~(job '(next-minute '(range 0 60 5)) (lambda () (execl (string-append #$isync "/bin/mbsync") "mbync" "-a")) "fetch mail")) (define-public %mail-module (home-module (list mu isync imapfilter msmtp gnutls) (list (simple-service 'isync-mail-config-service home-files-service-type `( (".mbsyncrc" ,(local-file "../config/mail/mbsyncrc")) (".msmtprc",(local-file "../config/mail/msmtprc")) (".imapfilter/config.lua",(local-file "../config/mail/config.lua")))) (simple-service `mcron-mail-update-service home-mcron-service-type (list update-mail-service)) ))) but when i run reconfigure, i have an error in drv compilation : Backtrace: 7 (primitive-load "/gnu/store/dpaczpr4j05437bk4dr1snqnfjx9ipfl-mcron-1.2.1/bin/mcron") In mcron/scripts/mcron.scm: 103:6 6 (main) In ice-9/boot-9.scm: 260:13 5 (for-each # _) In unknown file: 4 (eval-string "update-mail-service" #) In ice-9/boot-9.scm: 2835:4 3 (save-module-excursion #) In ice-9/eval-string.scm: 38:6 2 (read-and-eval # #:lang _) In ice-9/eval.scm: 223:20 1 (proc #) In unknown file: 0 (%resolve-variable (7 . update-mail-service) #) ERROR: In procedure %resolve-variable: Unbound variable: update-mail-service Backtrace: 2 (primitive-load "/gnu/store/b3k8pm2gabw29rmb86r5j4j4jzz7847d-mcron-job-builder") In ice-9/eval.scm: 619:8 1 (_ #f) In guix/build/utils.scm: 762:6 0 (invoke "/gnu/store/dpaczpr4j05437bk4dr1snqnfjx9ipfl-mcron-1.2.1/bin/mcron" "--schedule=20" "prologue" "job") guix/build/utils.scm:762:6: In procedure invoke: ERROR: 1. &invoke-error: program: "/gnu/store/dpaczpr4j05437bk4dr1snqnfjx9ipfl-mcron-1.2.1/bin/mcron" arguments: ("--schedule=20" "prologue" "job") exit-status: 1 term-signal: #f stop-signal: #f Any help appreciated :) ! Best regards, --=-=-= Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline --==-=-=-- --=-=-=-- --====-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJcBAEBCABGFiEEQdBRWS1ZqcB6tN8l3FXLa3BDQW4FAmK8u7AoHHNlYmFzdGll bi5yZXktY295cmVob3VyY3FAdW5pdi1yb3Vlbi5mcgAKCRDcVctrcENBbpQSD/9U z0AwoGnJoc+EpwejeCqNOemQ8A7T5sL1Rvli61gE5jI8hxf4RvqqwIFfvwridG04 ILvsUgSZe91xBDvLX9UgyemodBZhrydAPeXJidoEtsIX15KIZR55a/CFjukKS2G/ 5p2GYmoCJnJQ32yJtty1HXVSi167lfqc3JCFnneXyyMov3m1K1Im1TwsKAIJP7kk ML/IhxsRgYAZ3YiAuB38GTkcD6ekp1L29WEK9cdPogiQuOqRo7PqkZw+39xtfKJB hlP0dfdww0KCb8+YSoBSSqE0IXlQubqR7FG6xefUBBcRe+//AraBV4IcQUOCWXrk +8ylh9maRaY6bhvr/uItp9gWCBimJUrMcNad7Kfhe1ml3Owk/89BeGyp5tfNRiqe DjZeSZa3iFUTVSMzVCWklID5ddnry/OO40Oj4bWWWYUrEuFLaDt0N/aMyRovHiS0 NgvkM0WT9D+rTwBTnQ2pXyW+stajdlvZ/10NAF8axdpFC8gqIJFDcxTNV6qzGSfC Kqd5WGtpRYoFwkvyl9Pd7fJiJoDkymdLGUkBlY4bt/BP5tL65fp+iDEYI2781Diu +Uma/7kZoGyIReYMBEQKIhC1gUf9UQE6hOirjolMW3KHnu22HVQBnJYX6yCYowbb ql3AcLZHRNWo87ZxPDZJCNTkqwWJndN1drBPkdYjSA== =7hsM -----END PGP SIGNATURE----- --====-=-=--