From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6Ed7NnfFEmGP9AAAgWs5BA (envelope-from ) for ; Tue, 10 Aug 2021 20:29:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GDksMnfFEmHfYAAAbx9fmQ (envelope-from ) for ; Tue, 10 Aug 2021 18:29:11 +0000 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 43599B754 for ; Tue, 10 Aug 2021 20:29:11 +0200 (CEST) Received: from localhost ([::1]:34796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDWUw-0005uP-B0 for larch@yhetil.org; Tue, 10 Aug 2021 14:29:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDWUp-0005sa-0v for guix-patches@gnu.org; Tue, 10 Aug 2021 14:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDWUo-0004m4-QZ for guix-patches@gnu.org; Tue, 10 Aug 2021 14:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDWUo-0004ne-Ge for guix-patches@gnu.org; Tue, 10 Aug 2021 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49946] [PATCH 08/31] gnu: node: Patch /usr/bin/env in node-gyp. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Aug 2021 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49946 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Langlois , 49946@debbugs.gnu.org Received: via spool by 49946-submit@debbugs.gnu.org id=B49946.162862014018442 (code B ref 49946); Tue, 10 Aug 2021 18:29:02 +0000 Received: (at 49946) by debbugs.gnu.org; 10 Aug 2021 18:29:00 +0000 Received: from localhost ([127.0.0.1]:60813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDWUl-0004nO-Qu for submit@debbugs.gnu.org; Tue, 10 Aug 2021 14:28:59 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:59564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDWUl-0004nF-3w for 49946@debbugs.gnu.org; Tue, 10 Aug 2021 14:28:59 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id fuUx250090mfAB401uUxe4; Tue, 10 Aug 2021 20:28:57 +0200 Message-ID: <42e10baddb6afe308f67c3240bf5da8159e6f118.camel@telenet.be> From: Maxime Devos Date: Tue, 10 Aug 2021 20:28:56 +0200 In-Reply-To: <20210808233354.6745-8-pierre.langlois@gmx.com> References: <87h7fztt60.fsf@gmx.com> <20210808233354.6745-1-pierre.langlois@gmx.com> <20210808233354.6745-8-pierre.langlois@gmx.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-CyIgvPAPhMZfPTaU/NLl" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1628620137; bh=ZqzBSV581QQKxdRohSUvKqvtaosDOLPl4td/N8hEtZE=; h=Subject:From:To:Date:In-Reply-To:References; b=ny5ceS+sV+1umwUB7+1COxE0fWdMqjLnK/YwM1PXZbkpW5xuC9jgMmV5Z1hp+yozv 6/dz42ZMp8U+2QHZGpUEzfivP1Twk+lHQRs/CgeF3OTu7hnO6sp//rEIzUZ9KlFgIO jd6CDmaqu/fi2AdshWe8XzN6MhacnOi//PlFyQRjaRn+erxs6CJd+B8HsmG8bKzXnT 8atThDYnvJd2xzdLiz4/9rcfCSeUc8g0svcQgoVm6nHIRbBlBkeblocx8BorsQwJ9D YAycNkyS73nMUQqQtJUjI1u6UbtA7BkqTHriYPPBxnDhVLd2bS9Pf0ZxZ4AmM64CSx OVq1TCUFQn10Q== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628620151; 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=ZqzBSV581QQKxdRohSUvKqvtaosDOLPl4td/N8hEtZE=; b=Db6fOWU3hfYEvKI0UfI4/r7aB8E2gAjOFrICz/Cfo91QHtZ9yurpZ1Fywkc35+Bb7tN7WX yPW/J3qPv16RO6NS9KWrvF648Q50xZShZn5dO3ufTd6mTDlUfKSD4qyg9qIXYC+NxM/HTv 6QEPgcHvAnQrnN3ScjvEYIUTZ5xtRXoA4sfdOH5hZGjdt9foJVCOHeRAVe3GmpVhBPXY5u qNX5qvNOq/KWzvsx8IQ3dYXu8dYL0WDsshtSeR9SNhaHj6BhkLHNpYVWPGdsiJ+hDyIX+6 E1qKrRw+XU9jpI1605qvA+ba6kONWHWP79i8diuiYB+5oGvpeuxH7Spqt4Ggfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628620151; a=rsa-sha256; cv=none; b=I1dG+dndJbPu/B6wjsyaqnZU7XQWm26PhlTtUWvWYE0m5xNQu/BlsEL6bLuwVmFZohSxZC RpxBcWH3yG1sR2G28D7RycfJ68u1IeP91+8K5hqBnHaQmphCe30v82rFF/dAYcMOgKUD52 2dWjfEJZZw5zbO3PQGVF6N8Mhb+Zj05Xpwp3k6daQTE46ORqNui1a0juON7SzWu9VmBeu9 gQ5N6WkYRueZvcNIZO033vEU8kWPnx+eQyE+hC2bY1VjLN+Yuwl3d1nrjxjXqBZ1uhSaN2 teGd1FZyutywN1pif//ntG8ZVeZLbQR4aw+L2unsk6C4A90T5CfrW4XaDvCuXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=ny5ceS+s; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=ny5ceS+s; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 43599B754 X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: xMCJ8HyMXC3T --=-CyIgvPAPhMZfPTaU/NLl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Pierre Langlois schreef op ma 09-08-2021 om 00:33 [+0100]: > @@ -120,6 +120,10 @@ > (("'/usr/bin/env'") > (string-append "'" (which "env") "'"))) >=20 > + ;; Fix /usr/bin/env shebang in node-gyp. > + (substitute* "deps/npm/node_modules/node-gyp/bin/node-gyp.j= s" > + (("#!/usr/bin/env") (string-append "#!" (which "env")))) For cross-compilation, this should most likely be (string-append (assoc-ref inputs "coreutils") "/bin/env") or something like that instead. Likewise in other places. The old code uses (which "env") in some cases, but those are probably wrong (except where it is patched in tests). Greetings, Maxime. --=-CyIgvPAPhMZfPTaU/NLl 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+4iGRcl7gUCYRLFaRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jcOAQCV9XqauiR9WpI550tltw8xH4Wv lvGKYPnUb14G5U/W3gEA6sDJnEtt6s7Ag/t6AerN4qI28JQeCxQ0LkrLhz4nzQ0= =80uq -----END PGP SIGNATURE----- --=-CyIgvPAPhMZfPTaU/NLl--