From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yBJwCm2u+2JFFQEAbAwnHQ (envelope-from ) for ; Tue, 16 Aug 2022 16:49:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2P15Cm2u+2LHKwAAauVa8A (envelope-from ) for ; Tue, 16 Aug 2022 16:49:17 +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 B84EE287CF for ; Tue, 16 Aug 2022 16:49:16 +0200 (CEST) Received: from localhost ([::1]:42438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNxsZ-0000P2-IN for larch@yhetil.org; Tue, 16 Aug 2022 10:49:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNxsN-0000OX-0O for guix-patches@gnu.org; Tue, 16 Aug 2022 10:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNxsM-0000mT-MZ for guix-patches@gnu.org; Tue, 16 Aug 2022 10:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNxsM-0006E5-FT for guix-patches@gnu.org; Tue, 16 Aug 2022 10:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57050] [PATCH v2 04/13] gnu: Add Zuo. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Aug 2022 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath , Liliana Marie Prikler , 57050@debbugs.gnu.org Cc: Liliana Marie Prikler , Thiago Jung Bauermann Received: via spool by 57050-submit@debbugs.gnu.org id=B57050.166066128623805 (code B ref 57050); Tue, 16 Aug 2022 14:49:02 +0000 Received: (at 57050) by debbugs.gnu.org; 16 Aug 2022 14:48:06 +0000 Received: from localhost ([127.0.0.1]:48002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNxrR-0006Bq-Fc for submit@debbugs.gnu.org; Tue, 16 Aug 2022 10:48:05 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:52562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNxrN-0006B4-UE for 57050@debbugs.gnu.org; Tue, 16 Aug 2022 10:48:04 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by albert.telenet-ops.be with bizsmtp id 8Eny2800120ykKC06Enyq9; Tue, 16 Aug 2022 16:48:00 +0200 Message-ID: <923c0709-4fe9-5f02-06a1-196095f5199e@telenet.be> Date: Tue, 16 Aug 2022 16:47:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US References: <285372112d70bcb4011d6c085592787df4f57d44.1660215295.git.philip@philipmcgrath.com> <4ae7af77-4ab6-4642-8c2f-854adec719c5@www.fastmail.com> From: Maxime Devos In-Reply-To: <4ae7af77-4ab6-4642-8c2f-854adec719c5@www.fastmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------T6SBa0Nsnm1O38Qyt70mwS6o" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1660661280; bh=sf4Fmto2TAJzJeSsbqq7vbOm/Yw3kXYkWCMfkHIsetc=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=NTkKnqP6ZLnQ0bcb+Iedpxs+iEwQaN95Y24VV05v1jBwqwaKn1xueUUsbU66Rh0YT Y1Htqmh512f741eeuToDVXYTienxRg/Ic9Gf9lrto5MMvP3rmhzj9Cpk2eAqZDttwM KI5l9BVpLHhwtpec8c44ger56tYN0SsiDNMQBFHm9YVHaGBLTxOrNs9W8QSU5S16Tg yrMhJ1xgoRAPfEykWZtbiK8J4+RY3fADQ0NUAaKNOuFhzetMW3ZgI8tc5h47AoKKfR ZgVdeqz/57aBInzSsDmzeL20XImHCRfg8WvXJfyZKCfyh+OR70S2kMEbQxih38R/he 8Kiy+lf6gBUDg== 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=1660661356; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=qVxlXWAyZKsSCJbDhnz3oMqY0YDK0GWovKtbIerXB9s=; b=VWPWTfFPq0onginSk4tITmAt7gDXD3ZnNx0AqZPeZP75t31XWHxtMN57zmC5FS/x/bmjx3 VyxKJuB9ehex/pzD4PpVo0IRk0roAN7/KRPUy5BrWDFt0RgWMr4iqO7dCj6YkuoqHiaoCQ uB5ouB7SpxQkCnKOJ5uFKC02o2+11/A2bVViFyx9DF0azbW4lwzCm/yIrYlfZ/8mAgMPV5 n7ELy6gfmTU/1vqYrQHc7mEYIFEZJ0NbZzIs+nYLPP+hm5b2lUZSKIY6e0ofc0nWiptOAG DAtPiksPJKsVEBtpX0rsux02dheiVbn+vx5jl9ZQ+kBselROVGAxxQCq3ivx/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660661356; a=rsa-sha256; cv=none; b=UD0U9XVCZJvnGCOUDKV8CAW65C58weeZ4VCvPdzNc+5d3VeMuOSsk9UUwStfREra4i8aLZ 0J4MTL61/LVTRLItn7+UIeyl27sdjpORiEs3zHERN0gnONDgMGdiAo+R7nbmeV0BjfVcsA nBSlc4GrhyLCR9wT7uvipyfWzFyGAXasMyiaB/E78M0RPLFKt5MV4pG47vZBdFBNg4FZ9G Ez5FCkzj2iBiwofH0zScqd42lyCCyq94BhFGsMmnYRF9iWxPN4QoFawFwJ1yeMlCO9XDJT QDOraJKQmPHZ6XM4TpJwwDiF8mv2i/HgkNjpijthdcb6kC4celbvMKIOr4Su9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=telenet.be header.s=r22 header.b=NTkKnqP6; 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: 4.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=telenet.be header.s=r22 header.b=NTkKnqP6; 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: B84EE287CF X-Spam-Score: 4.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: HhFpH03SRMds This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------T6SBa0Nsnm1O38Qyt70mwS6o Content-Type: multipart/mixed; boundary="------------0KCVQ1PB1d48zV1oPZRWx3lM"; protected-headers="v1" From: Maxime Devos To: Philip McGrath , Liliana Marie Prikler , 57050@debbugs.gnu.org Cc: Liliana Marie Prikler , Thiago Jung Bauermann Message-ID: <923c0709-4fe9-5f02-06a1-196095f5199e@telenet.be> Subject: Re: [bug#57050] [PATCH v2 04/13] gnu: Add Zuo. References: <285372112d70bcb4011d6c085592787df4f57d44.1660215295.git.philip@philipmcgrath.com> <4ae7af77-4ab6-4642-8c2f-854adec719c5@www.fastmail.com> In-Reply-To: <4ae7af77-4ab6-4642-8c2f-854adec719c5@www.fastmail.com> --------------0KCVQ1PB1d48zV1oPZRWx3lM Content-Type: multipart/mixed; boundary="------------LRcNl5DbBHilduc86pH0AEHd" --------------LRcNl5DbBHilduc86pH0AEHd Content-Type: multipart/alternative; boundary="------------o01K23qUyG1wq1P3bAqagfre" --------------o01K23qUyG1wq1P3bAqagfre Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAxMS0wOC0yMDIyIDE2OjAwLCBQaGlsaXAgTWNHcmF0aCB3cm90ZToNCj4+PiArwqDC oMKgwqDCoMKgwqAgI35gKCwoc3RyaW5nLWFwcGVuZCAiQ1BQRkxBR1M9LURHVUlYX1JLVElP X0JJTl9TSD0iDQo+Pj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoCAjJChmaWxlLWFwcGVuZCAodGhpcy1wYWNrYWdlLWlucHV0DQo+ Pj4gImJhc2gtbWluaW1hbCI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hdGl2 ZS1pbnB1dC9iaW4vc2ggR1VJWF9DSEVaX0JJTl9TSD0vbmF0aXZlLWlucHV0L2Jpbi9zaCIN Cg0KRXhhbXBsZTogR1VJWF9TSD0vaW5wdXRzL2Jpbi9zaC4NCg0KSSBoYXZlbid0IGJlZW4g Zm9sbG93aW5nIHRoZSBkaXNjdXNzaW9uIG9uIHRoZSBvdGhlciBwYXRjaGVzLCBidXQgZGlk bid0IA0KSSBnaXZlIGFuIGV4YW1wbGUgb2Ygc29tZXRoaW5nIGluZGVwZW5kZW50IG9mIHRo ZSBSYWNrZXQgY29tcG9uZW50IGluIA0KdXNlIGFuZCBldmVuIGluZGVwZW5kZW50IG9mIFJh Y2tldCBpdHNlbGY/IFNlZSB0aGUgc3VnZ2VzdGlvbiBvZiB1c2luZyANCnRoZSBhbHJlYWR5 IGV4aXN0aW5nIF9QQVRIX0JTSEVMTCBmcm9tIDxwYXRocy5oPi4gSXQncyBldmVuIG5vdCAN Ckd1aXgtc3BlY2lmaWMsIGFwcGFyZW50bHkgaXQncyBhIEJTRC1pc20hDQoNCkdyZWV0aW5n cywNCg0KTWF4aW1lLg0KDQoNCg== --------------o01K23qUyG1wq1P3bAqagfre Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 11-08-2022 16:00, Philip McGrath wrote:
=
+=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 #~`(,(string-append "CPPFLAGS=3D-DGUIX_RKTIO_BIN_SH=3D=
"
+=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=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 #$(file-append (this-package-input
"bash-minimal")
+=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=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=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 "/bin/sh"))
As with chez-scheme, I do =
think using a Racket-agnostic macro name is
helpful here.
I'm planning to respond in t=
he other thread about the possibility of a truly generic macro name, but =
I hope it doesn't need to become an issue blocking this patch series. For=
 now, I'm not entirely sure what "Racket-agnostic" means; the bottom line=
 for my is I think it would be absurdly awful to have to write, e.g. if c=
ross-compiling using `distro-build` with the top-level Makefile:

    ./configure CPPFLAGS=3D"GUIX_RKTIO_BIN_SH=3D/input/bin/sh GUIX_ZUO_BI=
N_SH=3D/input/bin/sh GUIX_CHEZ_BIN_SH=3D/input/bin/sh" CPPFLAGS_FOR_BUILD=
=3D"GUIX_RKTIO_BIN_SH=3D/native-input/bin/sh GUIX_ZUO_BIN_SH=3D/native-in=
put/bin/sh GUIX_CHEZ_BIN_SH=3D/native-input/bin/sh"

Example: GUIX_SH=3D/inputs/bin/sh.

I haven't been following the discussion on the other patches, but didn't I give an example of something independent of the Racket component in use and even independent of Racket itself? See the suggestion of using the already existing _PATH_BSHELL from <paths.h>. It's even not Guix-specific, apparently it's a BSD-ism!

Greetings,

Maxime.


--------------o01K23qUyG1wq1P3bAqagfre-- --------------LRcNl5DbBHilduc86pH0AEHd Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------LRcNl5DbBHilduc86pH0AEHd-- --------------0KCVQ1PB1d48zV1oPZRWx3lM-- --------------T6SBa0Nsnm1O38Qyt70mwS6o Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYvuuHQUDAAAAAAAKCRBJ4+4iGRcl7kFJ AP9V0+M+O0mXyGPiVRNJatsdde9k76yo253kYapJzePkSAD6AvFdKsPfl9netcHL8smV3afCsaUf 3CkBrvTCSA2OIQc= =cas+ -----END PGP SIGNATURE----- --------------T6SBa0Nsnm1O38Qyt70mwS6o--