From unknown Fri Aug 15 02:02:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53643 <53643@debbugs.gnu.org> To: bug#53643 <53643@debbugs.gnu.org> Subject: Status: [PATCH] Gnu: Elixir: Use previous method for detecting sh Reply-To: bug#53643 <53643@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:02:49 +0000 retitle 53643 [PATCH] Gnu: Elixir: Use previous method for detecting sh reassign 53643 guix-patches submitter 53643 John Hamelink severity 53643 normal tag 53643 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 16:17:49 2022 Received: (at submit) by debbugs.gnu.org; 30 Jan 2022 21:17:49 +0000 Received: from localhost ([127.0.0.1]:37829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHa1-0002m2-CG for submit@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:57632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHZz-0002lv-Qg for submit@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEHZz-0007xy-KQ for guix-patches@gnu.org; Sun, 30 Jan 2022 16:17:47 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:33979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEHZx-0007gm-V0 for guix-patches@gnu.org; Sun, 30 Jan 2022 16:17:47 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1BC5932009C3 for ; Sun, 30 Jan 2022 16:17:43 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 30 Jan 2022 16:17:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnhame.link; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; bh=x jjT1PmgtBKHsmnlp3I2O99pVG0oxVRgLgaqlkfcsbg=; b=lHebdiiIMMQvCs2/c tfUXYTCKF0q6B9vKPJMmd3sM8Hm/wVwmX+B+SqtYTOjP0FOx36pqV1qZ5lVJqIya DZLsBCRhZ8iol00Xd5GZb1pR1XDqq2M9yR/A5atUnOJ92i8M3Dd1dSU3ptAq9kXo 8epZy5C827p1NN/cYwbiYuQ/7M/Wp95B8tTszcZArz8vAeS9uDjk4rxARjmlrs0N 7dYGxlyyHpR2PWy4/l4OJEzZ5h8m6NseNRWtvtO8h39RBjZQyTQOv1kdyCqWRDbF ajZh44zhhQQFmT0M7/w3FvrMIqm/nQwELtJyObsBK4rey3jwimp4XKwupgblywVZ J4a5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=xjjT1PmgtBKHsmnlp3I2O99pVG0oxVRgLgaqlkfcs bg=; b=VyhXpzaEJxhFwqVf+PI+zEWV2ZDmrGv+6VH4+d+qHpy4Ks0kMbHnrr+0g WS/yKWf5KRQU9/3y9MYOkkjfPuQrEAn50ITIpC8gE+uCsiU807gr4Pz5mtTGdLVs lZtr1twpv3+YUHzbi4zVbT/7MBu8E0AV/Z28zkkxSscx4v2EPg19FPakAvvKRR8T rC9NccZXQMfk9hwlfZI7KaaHdsL0XpKevlLRzD/MCZGp2i+SzEu9mRRMLwnM9Xqj G3crD4iLZsUdyk2WhPc5E16i+isI13fL6eT5HIDWd8xTPLs9MRlHVh9o66pC9PqJ 7g3A7iKbo0vyN4QF2BaYyc0RH/+MQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfeelgddugeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuffgfkfggtgesghdtreertd ertdenucfhrhhomheplfhohhhnucfjrghmvghlihhnkhcuoehmvgesjhhohhhnhhgrmhgv rdhlihhnkheqnecuggftrfgrthhtvghrnhepleefteevffetfeefgedtheffuddtvdettd dvvdfhhfdvfefgieeggffgtdelheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepmhgvsehjohhhnhhhrghmvgdrlhhinhhk X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 30 Jan 2022 16:17:42 -0500 (EST) From: John Hamelink To: guix-patches@gnu.org Subject: [PATCH] Gnu: Elixir: Use previous method for detecting sh Date: Sun, 30 Jan 2022 21:15:17 +0000 User-agent: mu4e 1.6.10; emacs 28.0.50 Message-ID: <878ruwexe3.fsf@johnhame.link> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=64.147.123.24; envelope-from=me@johnhame.link; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --===-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: quoted-printable gnu/packages/elixir.scm (elixir)[arguments]: Keep G-expressions, but use =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D WHICH instead of SEARCH-INPUT-FILES. Signed-off-by: John Hamelink =2D-- gnu/packages/elixir.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hi there, While following a tutorial, I found myself struggling to build elixir. After discussing on #guix, and looking on the build server for clues, it seems that the SEARCH-INPUT-FILE change in 3da297997d ("gnu: elixir: Use G-expressions.") was the culprit. Within the G-expression, I reverted to the use of WHICH for the "sh" binary, while leaving the others as they are. I do not understand the differences between these two functions or why SEARCH-INPUT-FILE is preferential, so there may be additional caveats I'm n= ot aware of that SEARCH-INPUT-FILE addresses. Thanks John diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 3fb74a56a5..5df50902ce 100644 =2D-- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -68,7 +68,7 @@ (define-public elixir (substitute* '("lib/mix/lib/mix/release.ex" "lib/mix/lib/mix/tasks/release.init.ex") (("#!/bin/sh") =2D (string-append "#!" (search-input-file inputs "sh")))) + (string-append "#!" (which "sh")))) (substitute* "bin/elixir" (("^ERTS_BIN=3D$") (string-append =2D-=20 2.35.1 --==-=-=-- --=-=-=-- --===-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE+Yt/N+nvP8wO2AcVFT3f6aVKmkwFAmH3AHQRHG1lQGpvaG5o YW1lLmxpbmsACgkQFT3f6aVKmkz0Zg//X3fqmssUTlK1YCLNWbtlHVQ33CynHeYJ O//RHqFOcya5JqliKZelHADW+WE5zsTyUW6IbDqzg4fXFVqPHPJGMHNsIVrSCBKk w0dgFPgAK955sTi/Iy/iXFujKQ0/qqR0FWn5urGV81VyDAJ6TT6SDi3vndUI3ue8 rV1GRNlHjSzF7wWaj8OFBgn+fFAQ161zpL7hzwZ0OToZlCwkmBpMm+/5NfV5zrCZ t6kkmZO7SsNHLwe4eyybcF6gfscwYUe5y71Wx1BBvXKMi+Rx8YiV4e2ANBWHITM6 Wvq0YITyt2WuOxk2pwmL22UJiGjRLxs0Gp9lmE4Loa96xhETsTq0APsFM2GqKsWl C6Xca59ud7GPj3vAbSeTaZlv3LlM013MYxguhTbOt9Oq0vEMNcH2Ikhp90iHvmLf 5guz84JYW3cI2ihF1zRe5vcYinLjhtZXavJbIfRBVoibnmRHo4onjg9/T+ghKolB JxwF/oF698L9GLR5Q1rk55cVid5TyXakDnRFJF6btgPjf7Ys2GhS7RRG89ozIqWp i2gp65NCg1+3XBGbV4rZOFuewKYyxyu9g3qTSI9gOknwzQL4r6GmatsBEII0M+Dj n2VmbrANz9qYmRzxq50eWm/2qGAxBILHhyhEcCI1wtiQBUzj64El4sn4Gpr6cxur yoBQWT+0NpE= =XwwH -----END PGP SIGNATURE----- --===-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 17:20:50 2022 Received: (at 53643) by debbugs.gnu.org; 30 Jan 2022 22:20:51 +0000 Received: from localhost ([127.0.0.1]:37923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIZ0-0002oZ-LE for submit@debbugs.gnu.org; Sun, 30 Jan 2022 17:20:50 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:50756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIYv-0002oK-SZ for 53643@debbugs.gnu.org; Sun, 30 Jan 2022 17:20:49 -0500 Received: from [172.20.10.5] ([213.119.234.37]) by laurent.telenet-ops.be with bizsmtp id pALi2600J0p50rZ01ALj8J; Sun, 30 Jan 2022 23:20:44 +0100 Message-ID: <1cfa84a32e79af82e0c57bfe11e4601a1db76880.camel@telenet.be> Subject: Re: [bug#53643] [PATCH] Gnu: Elixir: Use previous method for detecting sh From: Maxime Devos To: John Hamelink , 53643@debbugs.gnu.org Date: Sun, 30 Jan 2022 23:20:38 +0100 In-Reply-To: <878ruwexe3.fsf@johnhame.link> References: <878ruwexe3.fsf@johnhame.link> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-omfIz+OfvYskZJB/4VjS" 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=1643581244; bh=FDDnnbqZqZb2ay46ppWJsadloTZhIzBjR2Av3bz4LRg=; h=Subject:From:To:Date:In-Reply-To:References; b=WUm0hWi2kD9Dhb/0V1lktYDDYc5IHwjQEKQ4bj0EI8cJYguqzQjUwaBrN6eigEzPz 1VuTesSbs/xDcFRqa/Xt4qmgth0WTAphCtNhrVB16hagHogKlApgXsc2lM6HQ69V7+ nUmKNVbj7j0NCDTM1QOAVQhgRhOKJkvpnG0DeidPJ3fwcuhL0gpKtTaHMKsTRWRCK+ Z88KFwg3nE/xGzM15ZZVIhMxbjRuTS+9Kj2drLB9bwYnVhHGln4+6MO1u2ioCpexW7 0gY4oIGEbtUy6+5Xa8zItg8F4lNUegLri5Fs6HK+iwaSx88exu0UQQJYriPljF+8C7 Iv9DXSe6Nt8FQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53643 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-omfIz+OfvYskZJB/4VjS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Hamelink schreef op zo 30-01-2022 om 21:15 [+0000]: > - (string-append "#!" (search-input-file inputs "sh")))) > + (string-append "#!" (which "sh")))) 'which' looks in $PATH, which is formed by native-inputs, so this change is incorrect when cross-compiling. Instead, I suggest: - (string-append "#!" (search-input-file inputs "sh")))) + (string-append "#!" (search-input-file inputs "bin/sh")))) Greetings, Maxime. --=-omfIz+OfvYskZJB/4VjS 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+4iGRcl7gUCYfcPNhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7p7cAP4irrzsl+sdH1nvAcS3U5wMAg1F lKJlLWFbRVDM0fhmWAD/RuhYk0gQ58PxNARynOPeOHvMVAud/zVL1+u1YR42eQY= =ex28 -----END PGP SIGNATURE----- --=-omfIz+OfvYskZJB/4VjS-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 17:22:13 2022 Received: (at 53643) by debbugs.gnu.org; 30 Jan 2022 22:22:13 +0000 Received: from localhost ([127.0.0.1]:37928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIaK-0002rJ-W1 for submit@debbugs.gnu.org; Sun, 30 Jan 2022 17:22:13 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:37500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIaJ-0002r9-A9 for 53643@debbugs.gnu.org; Sun, 30 Jan 2022 17:22:12 -0500 Received: from [172.20.10.5] ([213.119.234.37]) by albert.telenet-ops.be with bizsmtp id pAN92600B0p50rZ06AN9s2; Sun, 30 Jan 2022 23:22:10 +0100 Message-ID: <73379b4b9c971a9fcfe586a99f584e5fc33c2e23.camel@telenet.be> Subject: Re: [bug#53643] [PATCH] Gnu: Elixir: Use previous method for detecting sh From: Maxime Devos To: John Hamelink , 53643@debbugs.gnu.org Date: Sun, 30 Jan 2022 23:22:09 +0100 In-Reply-To: <878ruwexe3.fsf@johnhame.link> References: <878ruwexe3.fsf@johnhame.link> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-jijZtO7j8N38i4JmOy10" 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=1643581330; bh=hqxf+/QbMhBXPXhdxaEZeKWFAx+AUmM/CajSlGFKyXU=; h=Subject:From:To:Date:In-Reply-To:References; b=RWN2cEk/KfUY3ZFcOBN2sPHVLigBB7ZGbplcLHW4hcnUGztS35A9EuDrPsh5wHZSN EMdi3thLw13bZ36BdLLYTT5iLGWvUkFNYloU7e+AgEQFO/DKiaZdRlGTEjqpSzirlP dwtun9b6rr7Y0uFWJoeNxrk4O7cle+J/GJlvzbfpGNa7FgT78w7wHx4D4c6jM9pDIf uYRCHnl9lIakibD32z0ydHNMDuh6aiprMzu5MKBOoa1dl7zG8q9sCRbffBRAroYDPe 93VwCrwNSyjz5H2BAR/m3DnEdCJnFQZQUK34ya9lU87Jj+Ce+YrvVxUVNPSjXx8KqH C+KgqvNY7tCjQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53643 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-jijZtO7j8N38i4JmOy10 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Hamelink schreef op zo 30-01-2022 om 21:15 [+0000]: > gnu/packages/elixir.scm (elixir)[arguments]: Keep G-expressions, but > use > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D >=20 > WHICH instead of SEARCH-INPUT-FILES. >=20 > Signed-off-by: John Hamelink That's not how Signed-off-by is used in Guix; Guix assigns a different (albeit slightly related) meaning to Signed-off-by than Linux does, see (guix)Commit access: When pushing a commit on behalf of somebody else, please add a =E2=80=98Signed-off-by=E2=80=99 line at the end of the commit log message= =E2=80=94e.g., with =E2=80=98git am --signoff=E2=80=99. This improves tracking of who did what= . Greetings, Maxime. --=-jijZtO7j8N38i4JmOy10 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+4iGRcl7gUCYfcPkRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lMiAPsEOhCLElrT70bi1zl74PLwXfZE /5HSnx2+FDyfQBJZIgD+IwN2gKJmXgiwVLxCIXOmn4J03KQAAbrwPkO9V64kzQ8= =0Jz9 -----END PGP SIGNATURE----- --=-jijZtO7j8N38i4JmOy10-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 17:23:11 2022 Received: (at 53643) by debbugs.gnu.org; 30 Jan 2022 22:23:11 +0000 Received: from localhost ([127.0.0.1]:37933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIbH-0002tF-AR for submit@debbugs.gnu.org; Sun, 30 Jan 2022 17:23:11 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:37500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEIbF-0002r9-Lj for 53643@debbugs.gnu.org; Sun, 30 Jan 2022 17:23:10 -0500 Received: from [172.20.10.5] ([213.119.234.37]) by albert.telenet-ops.be with bizsmtp id pAP82600C0p50rZ06AP9vX; Sun, 30 Jan 2022 23:23:09 +0100 Message-ID: Subject: Re: [bug#53643] [PATCH] Gnu: Elixir: Use previous method for detecting sh From: Maxime Devos To: John Hamelink , 53643@debbugs.gnu.org Date: Sun, 30 Jan 2022 23:23:08 +0100 In-Reply-To: <878ruwexe3.fsf@johnhame.link> References: <878ruwexe3.fsf@johnhame.link> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-C4+VNRxTcXySHioms0AG" 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=1643581389; bh=3MkOnnl4sQ4rK/NB7ynu/qURQ6sRe5xgw1SApob5ZP0=; h=Subject:From:To:Date:In-Reply-To:References; b=l+qzrvz4VlJHCC4egPDwhTxAVWAIuZZjnKZ5ZJtFOhnwEZgUwgsatkbmNScrUFuJl SxEd6ekaGmdykBpZQuQPsJ1HD87y8Tp9ymxp3moxIpZAv5aRhySoxPBBdS7oKC1XAv iWXJc/oLeONY6IZoeU9mti6k5JHI1/3RmKRlmj/VjuxDNzvi9MEQ94Y1yrSHuP6poZ K68w8lCOd5qA+H50fih2rXG68aJrlvFzmgfssBTF3kQxMgx6OxFS30LOlnNadsMKMk YsF8LZiIm0k76fhF0voWsYhhfTiJlD1Dj7nTOjTcbxtpi1iy9OfnIssfEPU2mA6EoX wuCKYCsAQSDIQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53643 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-C4+VNRxTcXySHioms0AG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Hamelink schreef op zo 30-01-2022 om 21:15 [+0000]: > [bug#53643] [PATCH] Gnu: Elixir: Use previous method for detecting sh The package is named 'elixir', not 'Elixir'. The directory is $CHECKOUT/gnu, not $CHECKOUT/Gnu. Greetings, Maxime. --=-C4+VNRxTcXySHioms0AG 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+4iGRcl7gUCYfcPzBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jppAQDnZktn8GbuVfTBQjLo8lp8hs+X Ys/MZaN1OgqRy34hCgEApvUdM9pQFHPH6puCduo8Q8whG+QixNcTHjd6q0shoQ0= =2weB -----END PGP SIGNATURE----- --=-C4+VNRxTcXySHioms0AG-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 18:17:18 2022 Received: (at 53643) by debbugs.gnu.org; 30 Jan 2022 23:17:18 +0000 Received: from localhost ([127.0.0.1]:37998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEJRe-00005X-6e for submit@debbugs.gnu.org; Sun, 30 Jan 2022 18:17:18 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:54085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEJRb-0008QL-3d for 53643@debbugs.gnu.org; Sun, 30 Jan 2022 18:17:16 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 548B43200E79; Sun, 30 Jan 2022 18:17:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 30 Jan 2022 18:17:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnhame.link; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; bh=wV/KnVvLyInAWJt+G4CdZ+JgsRokVH RJ0zrZYlNKDr8=; b=wOP5aWPpuUf4riMZOJQg3g/YY5Dib/ubegZNiShZ8uWLor NTAcMedL0c81klvF/t6DhLoa88FTN+OdDYQeI9PCq3SBx5VaEJirKRhj/C4x56dh PQfNupy65Mfi09v/FJIPo4FUkNPw25NkJ00I31A5TlBctn1ApXGrW8n//fmXZJv3 6qA7QkAdA0Dzh3lOJ72+yhnfgJRLsFeLOLcdwpgATcRwrXrhyd2pKU8DMcm+1NJg PeT5L4lH7JZDGEh3t+Wrrfl5whzDiIDIYDet0CylKVR6Ma/r2Acqsfx1XsOMKoqI TWl2fjHHjbzdXpTRGkPoOqe4KLzDmvGMOo9Ey30w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=wV/KnVvLyInAWJt+G 4CdZ+JgsRokVHRJ0zrZYlNKDr8=; b=jTXR5m7V4cn+RINPXzsLLOg65FEaSJuNx VU8wgpk/g1oEU1ACUjiDsbIqW/YZLsEjhJ+ydQ6SDx+roy0oGFygA8gEU7kZY0k7 JiK1bmSVoGLFr7GmbA3WZQMDjUKK5fQJqNT3/4isee5OHbwOee11nB4w0ycufOpJ tj8Ll5lsrz1wmvzsKRdRfTgN05+kbo7Ul0i9z7Lhn1k5itOv0+zJvx3ELc09LMca JNRKTrs9h6n6o0kOyBoqyanN4shuJmSAuxpwSuesYUhLGhEc4ivXUq04EZaF371t /dxntFcKjJkgDmHiu4lW2ErdErNvDZPHlzZF98RSgz7u73GgJz9GA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgedtgddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffuffhffggjkfggtgesghdtreertdertdenucfhrhhomheplfhohhhnucfj rghmvghlihhnkhcuoehmvgesjhhohhhnhhgrmhgvrdhlihhnkheqnecuggftrfgrthhtvg hrnhepudekgfetvdegffeileeigfeghfettdegffelteduheevieffleeigeevuddvheek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvse hjohhhnhhhrghmvgdrlhhinhhk X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 Jan 2022 18:17:07 -0500 (EST) From: John Hamelink To: Maxime Devos Subject: Re: [bug#53643] [PATCH] gnu: elixir: Use previous method for detecting sh Date: Sun, 30 Jan 2022 23:08:56 +0000 References: <878ruwexe3.fsf@johnhame.link> <1cfa84a32e79af82e0c57bfe11e4601a1db76880.camel@telenet.be> User-agent: mu4e 1.6.10; emacs 28.0.50 In-reply-to: <1cfa84a32e79af82e0c57bfe11e4601a1db76880.camel@telenet.be> Message-ID: <87k0eg4xvy.fsf@johnhame.link> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53643 Cc: 53643@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --===-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Maxime, Thanks for looking over my submission. I agree on all points. > - (string-append "#!" (search-input-file inputs "sh")))) > + (string-append "#!" (search-input-file inputs "bin/sh")))) The rest of the file's usage of search-input-file involves a forward-slash before bin. I tried including the forward-slash and leaving it out in all relevant places, and it doesn't seem like it makes a difference - I didn't try to cross-compile, though. Regardless, I made a patch for each option. =2D-- gnu/packages/elixir.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 3fb74a56a5..fae8279e5c 100644 =2D-- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -68,7 +68,7 @@ (define-public elixir (substitute* '("lib/mix/lib/mix/release.ex" "lib/mix/lib/mix/tasks/release.init.ex") (("#!/bin/sh") =2D (string-append "#!" (search-input-file inputs "sh")))) + (string-append "#!" (search-input-file inputs "/bin/sh")))) (substitute* "bin/elixir" (("^ERTS_BIN=3D$") (string-append =2D-=20 2.35.1 =2D-- gnu/packages/elixir.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 3fb74a56a5..2fee929d6a 100644 =2D-- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -64,11 +64,11 @@ (define-public elixir "lib/mix/lib/mix/scm/git.ex") (("(cmd\\(['\"])git" _ prefix) (string-append prefix =2D (search-input-file inputs "/bin/git")))) + (search-input-file inputs "bin/git")))) (substitute* '("lib/mix/lib/mix/release.ex" "lib/mix/lib/mix/tasks/release.init.ex") (("#!/bin/sh") =2D (string-append "#!" (search-input-file inputs "sh")))) + (string-append "#!" (search-input-file inputs "bin/sh")))) (substitute* "bin/elixir" (("^ERTS_BIN=3D$") (string-append @@ -79,7 +79,7 @@ (define-public elixir ;; are not in release mode and can point to the actual e= rl ;; binary in Guix store. "\nif [ -z \"$ERTS_BIN\" ]; then ERTS_BIN=3D" =2D (string-drop-right (search-input-file inputs "/bin/erl") 3) + (string-drop-right (search-input-file inputs "bin/erl") 3) "; fi\n"))) (substitute* "bin/mix" (("#!/usr/bin/env elixir") =2D-=20 2.35.1 --==-=-=-- --=-=-=-- --===-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE+Yt/N+nvP8wO2AcVFT3f6aVKmkwFAmH3HHERHG1lQGpvaG5o YW1lLmxpbmsACgkQFT3f6aVKmkwoyBAAxEjZuH/W+FdYjl289SID0aGUaau/X8O/ jzPBeh6dFJDMbvtXrPTKYb8w6QfEt5G9uFtRMuwXQPOz7RfnI6Omm7nmZ8Y9Ni8j tX44hGYKdA2JBjo+vK3MClutTMNzbftZ9k9bkWHOtX+/UMwvu2jqv0dIwllEMrR5 391EtPsQr0lo8Uht0Qfk3cynWCV4As/is8766Sf2Pnv8Qi5j8IGDv2df8swbOHPx UvY92o57kHdypNy3prQGQbSSKQyEQVpqlIfFVLwoJcsF+Na5fDpDB0YlUZ4IyDs7 6c+ruM7W82GMc+RmXJlYRh2lUunmA+zHYhJwpMTr3Z5dbch+4ORWHRaWMqiF47vK M0yHu1TIV+atbZwkiCFHoLjsxJVd81vlknJdEnorZyY14ekIY6I6y1m0AoSJkvYn 6sOC7YyegAD5b0D9VdVg6oirnZ0k0sUDfZVztSfAbHAB36Veim/85ME8cDvnGmpu mDSjCdgFkPJqYiApb2DDYvtwzfAm/xHtlAGU4GXSu2RSmmFeqsghSQMT4Sc5LnEp 0HoMJrwnHQOQmN8ggJNl3ERQbB3N719hTRIU+dZQGerZ1VUCC37XVzxmTPYp5Xi1 Od9rr/tOfhAm2/5J3kEG9ivSDvf0ETWs1O2ccwWtd+ucHO+z5mYRQXgm5ml9Pdkq nfByGu80Lko= =Fblg -----END PGP SIGNATURE----- --===-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 08:37:05 2022 Received: (at control) by debbugs.gnu.org; 14 Feb 2022 13:37:05 +0000 Received: from localhost ([127.0.0.1]:40257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbXN-0007pK-Bx for submit@debbugs.gnu.org; Mon, 14 Feb 2022 08:37:05 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbXL-0007o8-M4 for control@debbugs.gnu.org; Mon, 14 Feb 2022 08:37:03 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 482F9566 for ; Mon, 14 Feb 2022 14:36:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9mHEQn7uLbxg for ; Mon, 14 Feb 2022 14:36:57 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C73E0292 for ; Mon, 14 Feb 2022 14:36:57 +0100 (CET) Date: Mon, 14 Feb 2022 14:36:57 +0100 Message-Id: <875yphy3gm.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #53708 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 482F9566 X-Spamd-Result: default: False [0.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[control@debbugs.gnu.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.71)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) merge 53708 53643 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 09:52:28 2022 Received: (at 53643-done) by debbugs.gnu.org; 14 Feb 2022 14:52:28 +0000 Received: from localhost ([127.0.0.1]:40449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJciK-0002C5-Hg for submit@debbugs.gnu.org; Mon, 14 Feb 2022 09:52:28 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJciI-0002Bp-Dr for 53643-done@debbugs.gnu.org; Mon, 14 Feb 2022 09:52:26 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id E0620566; Mon, 14 Feb 2022 15:52:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ut2-4jKAfyri; Mon, 14 Feb 2022 15:52:20 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3E2BF416; Mon, 14 Feb 2022 15:52:20 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: John Hamelink Subject: Re: bug#53643: [PATCH] Gnu: Elixir: Use previous method for detecting sh References: <878ruwexe3.fsf@johnhame.link> Date: Mon, 14 Feb 2022 15:52:19 +0100 In-Reply-To: <878ruwexe3.fsf@johnhame.link> (John Hamelink's message of "Sun, 30 Jan 2022 21:15:17 +0000") Message-ID: <87pmnpwlek.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: E0620566 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53643-done Cc: 53643-done@debbugs.gnu.org, Cees de Groot X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, > While following a tutorial, I found myself struggling to build > elixir. After discussing on #guix, and looking on the build server for > clues, it seems that the SEARCH-INPUT-FILE change in 3da297997d ("gnu: > elixir: Use G-expressions.") was the culprit. Within the > G-expression, I reverted to the use of WHICH for the "sh" binary, > while leaving the others as they are. Fixed along the lines of what Maxime and Cees suggested. Thanks, Ludo=E2=80=99. From unknown Fri Aug 15 02:02:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Mar 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator