From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 0A+2Gd0RjWLa9gAAbAwnHQ (envelope-from ) for ; Tue, 24 May 2022 19:11:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OGudGd0RjWIYuQAA9RJhRA (envelope-from ) for ; Tue, 24 May 2022 19:11:57 +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 099B63622C for ; Tue, 24 May 2022 19:11:57 +0200 (CEST) Received: from localhost ([::1]:52238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntY4Z-00030w-UO for larch@yhetil.org; Tue, 24 May 2022 13:11:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntY0p-0000Fi-Mm for guix-patches@gnu.org; Tue, 24 May 2022 13:08:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntY0o-0003O1-Do for guix-patches@gnu.org; Tue, 24 May 2022 13:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntY0o-0001mB-7H for guix-patches@gnu.org; Tue, 24 May 2022 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55606] [PATCH 2/2] gnu: Add hare. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 May 2022 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55606 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Antero Mejr , 55606@debbugs.gnu.org Received: via spool by 55606-submit@debbugs.gnu.org id=B55606.16534120496780 (code B ref 55606); Tue, 24 May 2022 17:08:02 +0000 Received: (at 55606) by debbugs.gnu.org; 24 May 2022 17:07:29 +0000 Received: from localhost ([127.0.0.1]:53218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntY0G-0001lH-LU for submit@debbugs.gnu.org; Tue, 24 May 2022 13:07:28 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:58686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntY0B-0001l1-Ud for 55606@debbugs.gnu.org; Tue, 24 May 2022 13:07:27 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id ah7M2700T4UW6Th01h7NHL; Tue, 24 May 2022 19:07:22 +0200 Message-ID: <6fb4da7ebb8e56fd2e107e37293f3d76002d557d.camel@telenet.be> From: Maxime Devos Date: Tue, 24 May 2022 19:07:21 +0200 In-Reply-To: <20220524012155.48729-2-antero@mailbox.org> References: <20220524012155.48729-1-antero@mailbox.org> <20220524012155.48729-2-antero@mailbox.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-zb7D5wwr423LmuzZIEVE" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1653412042; bh=MPPm+sZ17rJTZD8/IQ6tbjwCB8a2cIDzeIhs8o1yrC8=; h=Subject:From:To:Date:In-Reply-To:References; b=WaanobtSIs+Iuea/OXIcaGVsrrTB9kNLBkuzFklsNc4WeEZTG9y4c+znn2BGIj6oU mMkpIac3vxOs+81spvL7lky7JoTNEJjobsDUZpsqlT9MmThvf1fPiJBLC6BiijXP83 RTdwR+ndXjoAYDAM8a9nGClebx+CQVBl0HZo+i3lcenmqnMkRB9QH4m2Vf9sjS23z+ trLxoU/LwbL+7rVrlIqfXezUwo9/0KajHv0C3lgqAU8q+PFG8vRDCa+c66zsQdI/dj rpqtzxQGu6kD7SQHBJK/Vx3tOUu6wDX8j9Z0f+IJP4xGiKFfGQqSC6mNgLhTKVeImi G8npcrchpRoaw== 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1653412317; 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: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=MPPm+sZ17rJTZD8/IQ6tbjwCB8a2cIDzeIhs8o1yrC8=; b=Mn30yNevC58yZZ9xzwwM+/LFasGlOJmsOgt40VWYqf9PnHZwDZbVIJApH50wqtybZn2DqR ecXN0yBL0lWY/+65jVkMFIgVDzAxC77NzEwIFST4YOY9/S1v8AB1VTw3dNVmrZoeDNEeuF LmyKU4ofz6k6AE8m+kk0WprYKvJayd6kXyiMFFTuvTCPhxM6xhNeJQBxM5VvW1KVshu7c8 GWbEf2GQIeqH7pHPR5RVjcitpi+mOBbPEWdBrVJFUnadQFich24uYh7/jJLQqOKZKzolia Vu/HepsozwjHa7d4cuU47LmXZAM4jR/rUa9EL47SyRhKYfgqLOdUSeGBBpnTGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653412317; a=rsa-sha256; cv=none; b=mV+2ihu9ZPlTT9VAOqiPJ+vFH16RgO+1WjkHtdK6lAH+RWmJcwwGJIqxQOfE7pUCa1RTEk tSI4zrA4NF904sBNFEqL3unL4iNZ9wTdQZenvFRuh2HoSw0Jh2edBdsTNJZig2Nj7h+5Ds JzM/1wvLP+sjjDvb3llE5yWAJi5uR6/6p0i6x/6Obp7PYKSTnw5s7tLp8TgJDitVmDLL5l c1GAQ44xCbxNGGaAmFCKzYCY7ZgnrpHIUT9QGorj6bHkgneA8QtiglVpEk14yWlR2J+A9t YjYvdEONP2H/fHJLFyyi4KfoLs6BGIjNwxJqhKatoxuUi10RJDFAZXmuokF6bQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WaanobtS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Spam-Score: 3.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WaanobtS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Queue-Id: 099B63622C X-Spam-Score: 3.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: tsrwbNUu101s --=-zb7D5wwr423LmuzZIEVE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Antero Mejr via Guix-patches via schreef op ma 23-05-2022 om 21:21 [- 0400]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(#:make-flags > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (list (string-append "D= ESTDIR=3D" (assoc-ref %outputs "out")) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "BINDIR=3D/bin" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "MANDIR=3D/share/man" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "SRCDIR=3D/src" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "LOCALSRCDIR=3D/src/hare" See previous message about G-exp and DESTDIR. + (string-append "HAREPATH=3D" + (assoc-ref %outputs "out") + "/src/hare/stdlib:" + (assoc-ref %outputs "out") Likewise, (assoc-ref ... "out") -> #$output + (string-append "HAREC=3D" + (string-append (assoc-ref %build-inputs "harec") + "/bin/harec")) Likewise about input labels, though in this case search-input-file. Or (file-append #$(this-package-input "harec") "/bin/harec"). + (string-append "AS=3D" + (string-append (assoc-ref %build-inputs "binutils") IIRC %build-inputs does not exist when cross-compiling, try "guix build --target=3Daarch64-linux-gnu hare". Also, it is ambigious if you meant inputs or native-inptus here. You might need %build-target-input or one of those instead. They are undocumented though, so maybe better use this-package-{native,}-input. Those don't support implicit inputs though, so you may need to add the gcc manually (maybe look at (guix build-system gnu) for how). > + "HARECACHE=3D.cache") Is this used for building the hare compiler itself or for building hare libraries and applications? Greetings, Maxime. --=-zb7D5wwr423LmuzZIEVE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYo0QyRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rckAQDd9wpIgNEu4pqcaDLLfItcfAZE GZvkwpHDcRGXa9BnvgEAi38kJIo3fZfnhvqkSO+1QRGBrfGpjgIobngwILkTGgo= =CU+j -----END PGP SIGNATURE----- --=-zb7D5wwr423LmuzZIEVE--