From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 11 16:57:12 2022 Received: (at 54304) by debbugs.gnu.org; 11 Mar 2022 21:57:12 +0000 Received: from localhost ([127.0.0.1]:38547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSnG4-0004cQ-BS for submit@debbugs.gnu.org; Fri, 11 Mar 2022 16:57:12 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:55150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSnG2-0004cG-0S for 54304@debbugs.gnu.org; Fri, 11 Mar 2022 16:57:10 -0500 Received: from [172.20.10.5] ([188.188.45.72]) by laurent.telenet-ops.be with bizsmtp id 59x7270011ZSGwU019x75N; Fri, 11 Mar 2022 22:57:08 +0100 Message-ID: <3772387f64195fabd6d4a69a4d29912e43896ba9.camel@telenet.be> Subject: Re: bug#54304: [PATCH] Don't fix git executable location during Elixir build From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= , Cees de Groot Date: Fri, 11 Mar 2022 22:57:02 +0100 In-Reply-To: <87wnh0w41s.fsf_-_@gnu.org> References: <5e1d2abc1008c43dd70a85999420d529980c2bd1.camel@telenet.be> <3FC21903-C19B-49C1-B865-7D15E1B3EC74@tobias.gr> <2D451842-1953-44AE-A6E8-B50EC77A26A0@tobias.gr> <_Zczh2RFJMdo3Xxkpzzzfq2LT3_PlZVB2huEPbAOcMoPnxeZWSZD7_BJfMZewYiM_LRQk4y6ScvTx_M7L-JQau-5IDMIe9G-req83waeb5o=@evrl.com> <87wnh0w41s.fsf_-_@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-xxIDBDr6DNllgrljEoko" 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=1647035828; bh=ADvAMBHZ9yPiFoqmjI1dqwklqb4ZE6DgIZPROhsJI90=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=nUl95+34sZTbptx6Q42A0e9BpzC4PHtJVQdPFnWA6rGBGyYcDUg3ScY/0p7AWA79v cHFP5WS5MUdlIiDW/i9abqUUHO1CDZBQoxmBQn2edhMiKx0AMafB+Iv92NyJQgBY45 +jcX6/QbcBkfMjvLPeUVQRTmpfSITsdxQfL65I1hq6gfjQ+3lKeNLazOhimNqscrbY e3G9L1sLLZX9RZiePzSG7SOsdkr8Wes8loMY6q2YZzPkJ2awldw79oEIqR8t9mZi4+ KQ9v1NJF+qp/md4VnG3VIlFVPqJhwcSXOAAZM1lRqCx/f8yJr605Xv6JG1zVsVEbpc My4iHROXJ8U0A== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54304 Cc: 54304@debbugs.gnu.org, Tobias Geerinckx-Rice 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 (-) --=-xxIDBDr6DNllgrljEoko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op vr 11-03-2022 om 22:51 [+0100]: > If we know what set of store references go in those blogs, we could > create a text file or something in #$output whose sole purpose is to > keep a reference to those store items. >=20 > For example, if we know those BEAM files contain a reference to Git, we > can add a phase like: >=20 > =C2=A0 (lambda* (#:key inputs outputs #:allow-other-keys) > =C2=A0=C2=A0=C2=A0 (symlink (search-input-file inputs "git") Doesn't that need to be "bin/git" instead of "git"? > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (string-append (assoc-ref output "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=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 "/libexec/elixir/.git"))) >=20 > That way the GC will keep Git around. > > Thoughts? That is not sufficient if git acquires a graft. Can elixir be patched to not compress the literals table (*)? Alternatively, does deflate have some kind of "compression level=3D0" setting -- perhaps we could do the same trick as done for JARs? (*) Preferably submitted upstream in some form, maybe with a configuration flag? Greetings, Maxime. --=-xxIDBDr6DNllgrljEoko 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+4iGRcl7gUCYivFrhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kQFAQDv0QE3g+zx0/zoD5Tq3+UTeZ0U A0svmRKtHiJ2XDjuJgEApzTC/9Y3SGpZvFMxYXvgsjZwjCNroM6i11ggtK25dQw= =vPIB -----END PGP SIGNATURE----- --=-xxIDBDr6DNllgrljEoko--