From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gDJyF2ePomYtSwEAe85BDQ:P1 (envelope-from ) for ; Thu, 25 Jul 2024 17:46:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gDJyF2ePomYtSwEAe85BDQ (envelope-from ) for ; Thu, 25 Jul 2024 19:46:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lostca.se header.s=anamika header.b=CeH9KhmV; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721929575; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jUPhp8hLTi/QMYj2E7/DUsVAKf36Dx192+HrpUsmNs4=; b=EEUtuaAVYuXqd8lUnK0qtj6M6MG2HSjkrqhPICMOkptsRFeC3QuYaf+jxFfgNi4PWEudIm aQF82gs1q6uT720cX/GpvhLmI6MLUjX8R6Pt/7edDRWugZJBsQwe4tHpZAQG5o99QiDSTw y9MnPRig/jVdKhPYw8HtmVpRLm4NkQWaeHa83PIe7CYnoNjU7ybz74+KtSz6l0EsFOcQSf yEWQX986Kme9kQdnNk8lM8VaSgvVwuiMXThhWcfpNHpHWuaVUZBKzQeqcVnZiEtyRvFtlk xGZxF9eOjWA3Zr3f1ae/oz4Ao9tntaapsZ4u8QO/4ygAuX42F8P+WA3Zg+75wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lostca.se header.s=anamika header.b=CeH9KhmV; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721929575; a=rsa-sha256; cv=none; b=ntcDYFaBnLcgvFFA4252W2qHRuN4Ho2OwAK7BIAUCa9NYMhmo8CBoJ/u0Tcx9Hw7i2+ki7 xRl6dKG6oDzTRXHLAMvnHqMw4jUwg+EuTuGJcp7EETHPIrsM5CNcBPDcOw2U/TWdz/ZLBz q1QtZh5YKAPrHABiuX3QbKYNaa14bQtD66s7iCh2Vci98VI/YPjQNjs+a3M5dQDOEHbGZG cp4YFXDuKTFiA4UW9XhlbrER5TtbAbHWxRjsiwYC3RPUcYTAm3KpVey6Y+vj4Q/LDCIRFi hURqCqpxoRQNAWcPBot9k1GZNiwe47TE0vJdI4C49bsQSpuiT4xJB0sAgzKAow== 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 3837B7AC66 for ; Thu, 25 Jul 2024 19:46:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sX2XN-0008Uf-9D; Thu, 25 Jul 2024 13:45:57 -0400 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 1sX2XL-0008UF-Ly for guix-patches@gnu.org; Thu, 25 Jul 2024 13:45:55 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sX2XL-0000uy-AC for guix-patches@gnu.org; Thu, 25 Jul 2024 13:45:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sX2XS-0002XZ-Ot for guix-patches@gnu.org; Thu, 25 Jul 2024 13:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72173] [PATCH v2 2/2] guix: chicken-build-system: Update for 5.4.0. Resent-From: ashish.is@lostca.se Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Jul 2024 17:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72173 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: security To: 72173@debbugs.gnu.org Cc: Ashish SHUKLA Received: via spool by 72173-submit@debbugs.gnu.org id=B72173.17219295329723 (code B ref 72173); Thu, 25 Jul 2024 17:46:02 +0000 Received: (at 72173) by debbugs.gnu.org; 25 Jul 2024 17:45:32 +0000 Received: from localhost ([127.0.0.1]:37725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX2Wy-0002Wk-0T for submit@debbugs.gnu.org; Thu, 25 Jul 2024 13:45:32 -0400 Received: from anamika.lostca.se ([65.21.75.227]:50110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX2Ws-0002WJ-Hx for 72173@debbugs.gnu.org; Thu, 25 Jul 2024 13:45:26 -0400 Received: from localhost.localdomain (poincare.inet6.in [IPv6:2a0a:4cc0:1:12d4::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 618CD1CEEA; Thu, 25 Jul 2024 17:44:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1721929483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jUPhp8hLTi/QMYj2E7/DUsVAKf36Dx192+HrpUsmNs4=; b=CeH9KhmV8lmLPEA13iSAEw6zXsH5SUzWOBzhfP81dhuZHCYBXOIFUSltQurgg+rLPje+AH FWiTJ9fNh1V8h760s4NDc5rDOSsmrnssXYcEO3Z+rXrYpd0l5wVD948Tx0IHu0s/c/Z8gE giUFLzByx9xZi614WA/Y6qT8zFne/Vo= Date: Thu, 25 Jul 2024 17:41:15 +0000 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: ashish.is@lostca.se X-ACL-Warn: , "ashish.is--- via Guix-patches" From: "ashish.is--- via Guix-patches" via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.92 X-Migadu-Queue-Id: 3837B7AC66 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.92 X-TUID: UYfEsQ8276cg From: Ashish SHUKLA * guix/build/chicken-build-system (build): chdir to the directory containing sources, and let chicken-install process the current directory. (install): Switch to define as we do not need any keys. (check): Remove unused egg-name from the arguments. Change-Id: I4adf5e2378deab6e3f3b3c128c3cc75ce43f0e8a --- guix/build/chicken-build-system.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/guix/build/chicken-build-system.scm b/guix/build/chicken-build-system.scm index 8f9f59cc25..fd5a33fd22 100644 --- a/guix/build/chicken-build-system.scm +++ b/guix/build/chicken-build-system.scm @@ -93,13 +93,14 @@ (define* (unpack #:key source egg-name unpack-path #:allow-other-keys) (define* (build #:key egg-name #:allow-other-keys) "Build the Chicken egg named by EGG-NAME" - (invoke "chicken-install" "-cached" "-no-install" egg-name)) + (chdir egg-name) + (invoke "chicken-install" "-cached" "-no-install")) -(define* (install #:key egg-name #:allow-other-keys) +(define (install . _) "Install the already built egg named by EGG-NAME" - (invoke "chicken-install" "-cached" egg-name)) + (invoke "chicken-install" "-cached")) -(define* (check #:key egg-name tests? #:allow-other-keys) +(define* (check #:key tests? #:allow-other-keys) "Build and run tests for the Chicken egg EGG-NAME" ;; there is no "-test-only" option, but we've already run install ;; so this just runs tests. @@ -109,7 +110,7 @@ (define* (check #:key egg-name tests? #:allow-other-keys) ":" (getenv "CHICKEN_REPOSITORY_PATH"))) (when tests? - (invoke "chicken-install" "-cached" "-test" "-no-install" egg-name))) + (invoke "chicken-install" "-cached" "-test" "-no-install"))) (define* (stamp-egg-version #:key egg-name name #:allow-other-keys) "Check if EGG-NAME.egg contains version information and add some if not." -- 2.45.2