From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WHVsKs3EK2K7hQEAgWs5BA (envelope-from ) for ; Fri, 11 Mar 2022 22:53:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uJzdJ83EK2LcmAAA9RJhRA (envelope-from ) for ; Fri, 11 Mar 2022 22:53:17 +0100 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 621F51F263 for ; Fri, 11 Mar 2022 22:53:17 +0100 (CET) Received: from localhost ([::1]:35698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSnCF-00037R-QM for larch@yhetil.org; Fri, 11 Mar 2022 16:53:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSnC3-00036i-KB for guix-patches@gnu.org; Fri, 11 Mar 2022 16:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSnC2-00089b-Jz for guix-patches@gnu.org; Fri, 11 Mar 2022 16:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSnC2-0004WR-Em for guix-patches@gnu.org; Fri, 11 Mar 2022 16:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54304] [PATCH] Don't fix git executable location during Elixir build Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Mar 2022 21:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54304 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Cees de Groot Cc: 54304@debbugs.gnu.org, Tobias Geerinckx-Rice , Maxime Devos Received: via spool by 54304-submit@debbugs.gnu.org id=B54304.164703553217322 (code B ref 54304); Fri, 11 Mar 2022 21:53:02 +0000 Received: (at 54304) by debbugs.gnu.org; 11 Mar 2022 21:52:12 +0000 Received: from localhost ([127.0.0.1]:38542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSnBD-0004VK-NK for submit@debbugs.gnu.org; Fri, 11 Mar 2022 16:52:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSnBC-0004V5-2j for 54304@debbugs.gnu.org; Fri, 11 Mar 2022 16:52:11 -0500 Received: from [2001:470:142:3::e] (port=33432 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSnB5-00082z-54; Fri, 11 Mar 2022 16:52:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Ayz1+HNhC/7EmNemXdgsmAgT/oQusKBbSqSpb+QV7mk=; b=gAmsYr26tF7J3CmUFZKy JKdpdAqHc0B7dDmQ1ZhKEd4YxA5sxGeJBmam2/oZnYnZHzthWR6V5tgwvBRZKrNjKzORSBtdI6wyK v1FEVCJKchxHvGhKpMP+QVnBmRVvIF7e3dVZtxqgZ7y/PF767udCjDxCSLUTYW/noYyQmQ3KadM/V OurLpJ802LzUhyA86QdaOK/CDKeHjyjel+f7XFVI9CtXcA86Mwhf3WT/7hltbx/kc/B+LxdNb716N 1/n6OcVqkGFTJ+PV0GwiIBeJ+KcH6t7npiXA7YYPP1ujQwoBrOyMkpkG+xk3HcVQVpSnfxgrDGttw vzULUb2iSyGgXA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54529 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSnB3-0005IS-Nw; Fri, 11 Mar 2022 16:52:02 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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> Date: Fri, 11 Mar 2022 22:51:59 +0100 In-Reply-To: <_Zczh2RFJMdo3Xxkpzzzfq2LT3_PlZVB2huEPbAOcMoPnxeZWSZD7_BJfMZewYiM_LRQk4y6ScvTx_M7L-JQau-5IDMIe9G-req83waeb5o=@evrl.com> (Cees de Groot's message of "Fri, 11 Mar 2022 21:33:57 +0000") Message-ID: <87wnh0w41s.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-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=1647035597; 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: content-transfer-encoding:content-transfer-encoding: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=Ayz1+HNhC/7EmNemXdgsmAgT/oQusKBbSqSpb+QV7mk=; b=lAWmTr+RRcnm/BfBp2bXWB/YW58cBZzNsr8COHoOfUbolhX1MK/dhdXJFeicdzPMR1Ediu ZF0FxCOmR+2BXOiQNlww97hdfqlc+qKdiC4d/jLPEhNtnal4d3VYIwQqr7mttWjY7CWERn 0dh6SnzagkLg4Me3cJ2ZPY5eR6D8a8IOjUGVbslns+aQ9sJYk6o0Ofo5C6JzNsqAA34gG+ 9T3oun1WioINXrvRhAfkVBgrXhqtdPxp2ylhP68T22vsbhozZsNjMkzzxZj2VZdnjr+EyR Jai8qhc81P5DqxGra3zzdDAAfIrnbnyFqK5X1l8wWSnSvQAwrRRMBEF201+RLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647035597; a=rsa-sha256; cv=none; b=e9dPuESEBp8IDeZpor7ThtivuLDw22GF/XN0sVHsH9+wwq0DinqU00/TdS+/HwSonoJ2j0 JBR8+XgIkJFMI2BmzVAHFKjw4Oju3X5045elHbpqmr5cJfFxiPuvXeVcJeYW3Pf+ehar3Q h4jjMcdNj/agJ7I+FdXLKXpXIrJs9tFi78ddFOrdNtMyTvaVoSkXAqsK8058V6S07euCbC JX6herDfeRZBgVvHHIvc3auHIVgFWiywTvs+e57EHgU2J9EtCqaFAnmn3DcvoTMNMerCRq v3SkAebzeYUU3FT723Z8K7FmQGVgkS48cCl3H6NUqrSfpg+DR5fIRnL3e1YG/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=gAmsYr26; dmarc=pass (policy=none) header.from=gnu.org; 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.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=gAmsYr26; dmarc=pass (policy=none) header.from=gnu.org; 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: 621F51F263 X-Spam-Score: -4.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: /j4R3Ovs+SV5 Hi, Cees de Groot skribis: > On Wednesday, March 9th, 2022 at 16:49, Tobias Geerinckx-Rice wrote: >> If BEAM somehow obfuscates store references we'll have to find a similar= work-around to stop it. Let us know what you find. >> > Yup. BEAM files have literals stored in a single Deflated blob (https://b= eam-wisdoms.clau.se/en/latest/indepth-beam-file.html). So the scanning won'= t work. 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. For example, if we know those BEAM files contain a reference to Git, we can add a phase like: (lambda* (#:key inputs outputs #:allow-other-keys) (symlink (search-input-file inputs "git") (string-append (assoc-ref output "out") "/libexec/elixir/.git"))) That way the GC will keep Git around. Thoughts? Ludo=E2=80=99.