From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 CNLvIf3IqWPV0AAAbAwnHQ (envelope-from ) for ; Mon, 26 Dec 2022 17:17:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MFgkIf3IqWPzIAAAG6o9tA (envelope-from ) for ; Mon, 26 Dec 2022 17:17:01 +0100 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 2AD7F35543 for ; Mon, 26 Dec 2022 17:17:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9q9Q-0003vB-8J; Mon, 26 Dec 2022 11:16:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9q9O-0003uz-3H for guix-devel@gnu.org; Mon, 26 Dec 2022 11:16:30 -0500 Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9q99-00087u-BB for guix-devel@gnu.org; Mon, 26 Dec 2022 11:16:28 -0500 Date: Mon, 26 Dec 2022 16:15:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1672071358; x=1672330558; bh=I7gtlIqTKKOsImAOIWhtNpXH9zqMiNk1S/v8sEifOHM=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=tkXkoimm8BfN/ZbNFUB+uuLyn5xzH5se4xi3tu1+la0VuT86lEH/U2kJkBV0rL/AZ k9MMElpGWrmM1P3a9k8lq42oMs1j5pri7aO7lkqe0skNoF6kD9qhWuQiQsCVo+wfwE 8+K3FeHr4bsnBEpBAaFG3AF/TfhVPDpjoC7M2CoQIy9CVRO83kQASVW5h7e8P/uU0Z SGSy+nTZpYRYNkZ5auhRLchwK6UyD0uTS1F4jyH+OGJROHpjDp1WbXj4Yiy0iVE50o 5lxgOdgdW4mnu6gtTi2Sex4z2CS1sM3STc+8IVTv2UvcMJX/ufdI73yDQsd4LyDsuw 0RRL2L/ULWUSA== To: guix-devel From: Luis Felipe Subject: Packaging: Need some help replacing a check phase Message-ID: <5xgJfFJuZnP2-oQJDoA0KfZ2xvmuBDUKktLT0pNbBWeOMnY4YrulJK9C3daGtFyuTc6hgL-9wuVzjxqZfBdFi8LEhTksJByIENcT14MlTvw=@protonmail.com> Feedback-ID: 24022468:user:proton MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------868bd47abbd72d8219d414f9c20f4a8999fd4faf0ce65e85f22ed2fe31f4ea5b"; charset=utf-8 Received-SPF: pass client-ip=185.70.43.19; envelope-from=luis.felipe.la@protonmail.com; helo=mail-4319.protonmail.ch X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) AC_FROM_MANY_DOTS=2.999, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672071421; 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:dkim-signature; bh=I7gtlIqTKKOsImAOIWhtNpXH9zqMiNk1S/v8sEifOHM=; b=UilHI0k9R8yJuYHIG7067ggKbP0j7hBxokuSiqxavJKKmgvfxUq1yAcNE319B0DbIxkmt2 JDUYOzsjY2Jcl/UEkwSFS7PGJ10hCpGHSZD1crMwmBPnkyFNXnDahxy1fWstSXeyVKElYg ZAQQVYzsDEwOE/j+NtJ5qYMwoWH5wCPA8FZGzaz9q+NY8BZRQdFwH+excYLi4RUNlYdOMk r0z7Bb9xFYnuos7Y45O0HnS8D88eQHgB3g21C78nUhbxUCgUPFs+dOjSdzEvaAHb4VmSFi c9kAlpGHpOJ14mlv49WOp6dLuVhgaWL++sVF8xsux7A3OPueyhlZeRLsUgCK6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=tkXkoimm; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672071421; a=rsa-sha256; cv=none; b=EWqFrEvIcu6p8tnFut9F/FunGU7UwZVrj7IFX3a5blJMDS3h30/o3Fj9DnznS2669EwM3S 838rBWEdt61PePe93n1JAtumyZiWNrwlnC6JTwatlnyE7FqsNrogQvdLyjfu1ebCmxWZUT L4Cz7sNrt4p4O22fFAmXdIMwMpUyEn6twu5B3C2otUY1WFAvMOcI7gYCXr0ucjRWR9/jY0 e3IX4LBPoBmjlsSVl97gsyZKWdtjN8FvWMbL/pWUxDkqps1x1i04xmObchwV+CT6cZ3y88 pzlleT/cizYQZNSJbfLhX6WMBUMhwewuWm2PECXbpr/fc8ULdqO3+Aa3UROuYA== X-Spam-Score: -8.16 X-Migadu-Queue-Id: 2AD7F35543 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=tkXkoimm; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -8.16 X-TUID: 0a+Ss38TuCEg This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------868bd47abbd72d8219d414f9c20f4a8999fd4faf0ce65e85f22ed2fe31f4ea5b Content-Type: multipart/mixed;boundary=---------------------23f23f16addbab358f588f06c2a3bd06 -----------------------23f23f16addbab358f588f06c2a3bd06 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Hi, I'm packaging a Guile software but the package fails to build when I try t= o replace the check phase, and I can't see what I'm doing wrong. This is the package definition: =D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD (define-module (packages guile-proba) #:use-module (gnu packages guile) #:use-module (gnu packages guile-xyz) #:use-module (gnu packages texinfo) #:use-module (guix build-system guile) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) (define-public guile-proba (package (name "guile-proba") (version "0.1.0") (source (origin (method git-fetch) (uri (git-reference (url "https://codeberg.org/luis-felipe/guile-proba") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0bai3nhdmzpcxkp55a74afp92sq609hh9dy5a5w01aysvchp4715")))) (build-system guile-build-system) (native-inputs (list guile-3.0 texinfo)) (propagated-inputs (list guile-config guile-lib texinfo)) (arguments `(#:phases (modify-phases %standard-phases ;; FIXME: Replacing 'check phase makes build fail. (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "guile" "proba.scm" "run" "tests")))) (add-after 'install 'install-script-and-manual (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin-dir (string-append out "/bin")) (info-dir (string-append out "/share/info")) (script (string-append bin-dir "/proba"))) (mkdir-p bin-dir) (mkdir-p info-dir) (copy-file "proba.scm" script) (chmod script #o555) (invoke "makeinfo" "manual/main.texi") (install-file "guile-proba" info-dir))))) #:not-compiled-file-regexp "((packages|tests)\\/.*.scm|(proba|manifest).scm)$")) (home-page "https://luis-felipe.gitlab.io/guile-proba/") (synopsis "Testing tools for GNU Guile projects with SRFI 64 test suit= es") (description "This software is a set of testing tools for GNU Guile projects with SRFI 64-based test suites. It comes with a command-line interface to run test collections, and a library that includes a test runner and helpers for writing tests.") (license license:public-domain))) =D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD And this is the error after running "guix build -L . guile-proba" (using g= uix 9cb42f7): =D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD Backtrace: 14 (primitive-load "/gnu/store/36iw346l6n6s9wrd4qr923zywj1?") In ice-9/eval.scm: 214:21 13 (_ #f) 217:50 12 (lp (# ?)) 217:50 11 (lp (# ?)) 217:50 10 (lp (# ?)) 217:50 9 (lp (# ?)) 217:50 8 (lp (# ?)) 217:50 7 (lp (# ?)) 217:50 6 (lp (# ?)) 217:50 5 (lp (# ?)) 217:50 4 (lp (# ?)) 217:50 3 (lp (# ?)) 217:33 2 (lp (# ?)) 293:34 1 (_ #(# ((# . #) ?))) In guix/build/utils.scm: 713:4 0 (alist-replace check # ?) guix/build/utils.scm:713:4: In procedure alist-replace: Throw to key `match-error' with args `("match" "no matching pattern" ())'. =D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD=D9=AD Thanks in advance. --- Luis Felipe L=C3=B3pez Acevedo https://luis-felipe.gitlab.io/ -----------------------23f23f16addbab358f588f06c2a3bd06 Content-Type: application/pgp-keys; filename="publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc"; name="publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc"; name="publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4c0JOQkY4WnBVZ0JDQURMamgy dW0ySmRsOUJRS2tnTVNnbkhKK3NIaDdLei92UDlzd3E3SFlMRW5GZzYKSEI0S2t1b1dJcU15RUpy TmM0azVSUEhieGs5cUEwemtBMXdBOHh2M2pBKzJVbGlRa2taUjArNHI5Syt4CmZZRGx4ZHd2Sk1V RVJaUk5kb3QvZnFCaGtTYmhpVElTU3pvRUs2ZjNreHdiN3NyME9jSkx2aU5wQ0tvawpZWjVGdzRR endDRjlXWGNrRWY5c0V4Y0ZjNkNOR0svSkJWVlpmVmhxVk1reGpRTjZicXVZbnprcThZU2gKOWdZ UzlYMXZsYmRSQXllS1JhcTR1akl1dGlTNnYwMmw0UkU2dUY1amlyOHgvVHg3NzRGbmpQQjZnQ3Vs Ck5TeDZCZmhVTndZeWJ5UFB4SVhYOUpPNHZrT3ZXNE9NZVdjcW1BK1VnQ3c5Vmk5dnJDN3lISlRG QUJFQgpBQUhOUFd4MWFYTXVabVZzYVhCbExteGhRSEJ5YjNSdmJtMWhhV3d1WTI5dElEeHNkV2x6 TG1abGJHbHcKWlM1c1lVQndjbTkwYjI1dF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UJFQkFBSEN3RjhFR0FFSUFBa0ZBbDhacFVnQ0d3d0FD Z2tRT2VESApZM281eHFrZUtRZitKTWxjYlJsd2VoL0ZBMW53OHpGQ3hhRjU4UE5ERU84bEg5Mi94 dHpud0dkQXVselQKaFo0MGpHVEVpcHlnc25xSFY3V0hVZjQ0bmVYbjJBMWN2Q1orNzNLY3BhUU5o OU1wOHlXbkdLWllVR2tHCjZPZjFoRVU3OTJYWkV4a3lBODJQZ0xCTlkrVnpOWFhLQ0g3Tlh4WlFR V1Y1blhjYlVGQ1p5Slp1ZFNnUQp4azE5c1FmNHM5dkpYNlBDNjhxd2k3YUoxN25WZnJiY01heVJw bTJPR0pYZCt0OTFWL0xuTnBDUmd0bDMKak5Zc0NCRktEQzBZeGRBL05DZEVrMWdmdWpGemwwYkJz Nys1SmJkM3pSYUU1QWZkVlF0SWxtRVhEa1c2CjB1eUVpM050Y3E1b2RYQTFubFIrZTA0NEtGdmVa ekZ1Tk5lVGdzekFCcjVIaVU3MC9FbHlzdz09Cj16NmU3Ci0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZ IEJMT0NLLS0tLS0K -----------------------23f23f16addbab358f588f06c2a3bd06-- --------868bd47abbd72d8219d414f9c20f4a8999fd4faf0ce65e85f22ed2fe31f4ea5b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBQJjqcigCRA54MdjejnGqRYhBBLeFZh9HEWkNPdw7zngx2N6 OcapAACQkgf5Aayg+GYARRSU5I2z8X8sB2pkWWts7ntmuEun2gYwfZVI5Cm9 AnHVSoVvJZ57c+4vRUa3AK5DPelRqirqaRTCNND+WTDOvStXgbqQt4tzbvsn AWeGUJI94Sw0X0RzTun0OQKLQiIeBMWcUO1rEYnFBTDomQyo2psktwLnc64c CKCdLuN7vb5T322q+jrpxwlvjADB4lnNBuYIN5477CHV29NRNQ6FE1JEVXWA QxxU47kabRqkl8lVW3RqYi+DBKOgmODEjfBLQ5ZUSKmFzDurSFd9MyTuTjwt WpeToQ8f8UploW5F5KlEuILF1Ylb0E11FlmBPD2EkSme/neUXqAMGQ== =5xGt -----END PGP SIGNATURE----- --------868bd47abbd72d8219d414f9c20f4a8999fd4faf0ce65e85f22ed2fe31f4ea5b--