From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eBG0HNlIBGd3qwAA62LTzQ:P1 (envelope-from ) for ; Mon, 07 Oct 2024 20:47:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eBG0HNlIBGd3qwAA62LTzQ (envelope-from ) for ; Mon, 07 Oct 2024 22:47:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=F6gim2MD; dkim=fail ("headers rsa verify failed") header.d=runbox.eu header.s=selector1 header.b=Fue75KFm; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=runbox.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728334041; a=rsa-sha256; cv=none; b=NmkSo+Zfo7SMKQNe2dQlAKfP3UvBV7MnGa8ASikUthnqSEa59p5EAh0aAnsqj29IdL2/GL 08oeYsfwaHWH7/Qv7Hzt0v/KRCG14GDnGUCoTpEwXtEMsdJBZ8XA1VWeAANnJU0d8/KIrk tlxubQTxntNVtwDBltUzXNCRDgJtDlAcykhFTggk4uDi5oSm13IGGVL+ieLfIPWSgZCs0u BqYtstt9N1gFI7QYg6E+H7BkvMHbNGJ+s9DkxD3uQX+u86exL3GiqaUq7yPh/moAdsJmzz TD+qQF0raCayHfDo4itjHPErBv8Ep39Jx/GqAJPB7ArKtIAlwe7gDMrOptQRjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=F6gim2MD; dkim=fail ("headers rsa verify failed") header.d=runbox.eu header.s=selector1 header.b=Fue75KFm; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=runbox.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728334041; 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=uX1fL5ymC+clEo1pQtCmNEyhLSqoMKZxnZUH84VDXq4=; b=MiB3rXOf803abpNg0EFSrQj/MFUH2zU1dwPfbc4g+jlwKfUVpDvvFoO5fWI9JpDIy9qf7q zuW0+Xnu4ID/a6D94PIgpH/jBtjPF7C4EUKPe3fw+XIHQ9enaSqir2u6hPFEG3C4u97eBo 6jHy//uWIOX+5ESeq3U8hgXdc4AGYjkhHa0j9No+6PpmJQUbHFjGmy0uvjOG/dc1SL8B0M /Knla7fe8GhK0dNVCfCFCHs7KzR1GCawt142NYxQXb8DRhjug1qX0wVA4XIXOOgOJy/qKK xxajTp+VNMyrNPzzVrq7N8LJT9RFDu+prUMEWXIt0bs6NjWtDNP049VZCztijw== 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 A8D1D185FA for ; Mon, 07 Oct 2024 22:47:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxud8-0002Gg-Ij; Mon, 07 Oct 2024 16:46:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxud5-0002GQ-VE for bug-guix@gnu.org; Mon, 07 Oct 2024 16:46:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxud4-0005WM-GD for bug-guix@gnu.org; Mon, 07 Oct 2024 16:46:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:Date:From:MIME-Version:To:Subject; bh=uX1fL5ymC+clEo1pQtCmNEyhLSqoMKZxnZUH84VDXq4=; b=F6gim2MDufli+YQevFqtWL/oYkRvk1BkmNIRFy+ssxADQdzXQRnYlPzgSbp17Wtfp5YeYhUfmO/SlidFvuZFvRTwAW+xFlvY4mFsDhEU0brVhu/+gQcKPOLq2bITJsuekb1AjR7vHhBPyMOvRHVbljCQBOf5zJ9QfJnBiGveLiLntEZ+x1z1gnxerKN748ESqxHVy5Voj2Xjgk0fKUBoHksrZBY/wPemSNCKvWiHGzi3+4welCFjV+aA3Masn4Sp2kIwKYpfAJuraF/BJImKJFcYJYxoBgMJgDXxCf0yo13LXEA0bQ/2CsPyftC2o7QQ3Hc1nCrRCFs9ePA0Np7RVQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxudB-0003Ik-RG for bug-guix@gnu.org; Mon, 07 Oct 2024 16:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73681: Maybe partly undo the patch on Elisp comp-el-to-eln-filename Resent-From: "Martin =?UTF-8?Q?Edstr=C3=B6m?=" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Oct 2024 20:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73681 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Liliana Marie Prikler" Cc: 73681 <73681@debbugs.gnu.org> Received: via spool by 73681-submit@debbugs.gnu.org id=B73681.172833400912671 (code B ref 73681); Mon, 07 Oct 2024 20:47:01 +0000 Received: (at 73681) by debbugs.gnu.org; 7 Oct 2024 20:46:49 +0000 Received: from localhost ([127.0.0.1]:48484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxucz-0003II-7J for submit@debbugs.gnu.org; Mon, 07 Oct 2024 16:46:49 -0400 Received: from mailtransmit05.runbox.com ([185.226.149.38]:37044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxucw-0003I3-Ou for 73681@debbugs.gnu.org; Mon, 07 Oct 2024 16:46:47 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sxuci-00DCyw-At; Mon, 07 Oct 2024 22:46:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.eu; s=selector1; h=Message-Id:In-Reply-To:References:Date:Subject:CC:To:From: MIME-Version:Content-Transfer-Encoding:Content-Type; bh=uX1fL5ymC+clEo1pQtCmNEyhLSqoMKZxnZUH84VDXq4=; b=Fue75KFmcjVDvtEJEONdon/uDw ID87tPunJNgTvAfNdYEwZVLFWbonoe7+XWM1ZlPtGiUqyOFKe/D6tpjWcKReC9lmMZPkl2mHvouIb JC5H8GHBSn5YNnHfw1IJx3XUa5LXN8t647qGohW66D2SEk6jOBUOtoAugRlievbA3Qj9YugnoICG7 Tp8E+OdXM8hlrAm1pQiwf/eV5yxF5YUc74CdTQFTn3VT0ka/JeCPMyCW/0xaYGNuNtOdHtDI1nCjR pbSDVIF/qYnt8HT4+nWOpFfh2QBnBTr1npzUNNRiZvwEpIWQ7Fq9DcdGgWn0ykuCP95B9PASkqCtM BlW+iwlA==; Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sxuch-0006av-Pe; Mon, 07 Oct 2024 22:46:32 +0200 Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1sxuch-0007aP-NN; Mon, 07 Oct 2024 22:46:31 +0200 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated alias (1196375)] by runbox.com with http (RMM6); Mon, 07 Oct 2024 20:46:31 GMT From: "Martin =?UTF-8?Q?Edstr=C3=B6m?=" Date: Mon, 07 Oct 2024 22:46:31 +0200 (CEST) X-RMM-Aliasid: 1196375 X-Mailer: RMM6 References: In-Reply-To: Message-Id: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.13 X-Spam-Score: -1.13 X-Migadu-Queue-Id: A8D1D185FA X-Migadu-Scanner: mx10.migadu.com X-TUID: zwU5wbg4KtT7 Hi, thanks for the prompt response! On Mon, 07 Oct 2024 20:02:17 +0200, Liliana Marie Prikler wrote: > What about aggressive-recompilation-on-write?=20=20 That works in the init.el case, because the user would be the one writing t= he file.=20=20 In my package, the use case is instead that it starts sub-processes, each o= f which should load a file "org-node-parser.eln". I could ahve made them j= ust load the output of (locate-library "org-node-parser"), but for unrelate= d reasons, that seems it would only ever locate an .elc and not an .eln. So I need to use `comp-el-to-eln-filename` to find the up-to-date .eln (or = force it to be compiled). Regardless of whether or not the rest of the pac= kage has already been native-compiled. The worst-case scenario is using package version 1.4.1 in the main Emacs pr= ocess, but 1.4.0 of org-node-parser.eln in the subprocesses. That leads to= unintended bugs. I suppose the other way around could also happen - using package version 1.= 4.0 but 1.4.1 in the subprocesses - but that'll be my own mess to figure ou= t :) > We write store paths to a subdirs.el =E2=80=93 unless specifically prompt= ed to > reload that, Emacs will keep using old libraries. This is by design, > so that updating Emacs does not cause any issues with (byte) compiled > files. Let me know if I understand this correctly: updating a package compiles it = at the same time, so we can have store paths like /gnu/store/package-1.4.0/...{.elc,.el,.eln} /gnu/store/package-1.4.1/...{.elc,.el,.eln} which sounds like it will be all consistent. An .eln in the second directo= ry would never secretly be 1.4.0, for example. But since you said we disabled the JIT compilation, and store dirs are read= -only, where do the .eln actually end up, after the user starts Emacs and i= t does its async-native-compile thing? (or does it not do any JIT compilation at all?) I don't have a Guix machine at the moment, but is it a deterministic path l= ike ~/.emacs.d/eln-cache/29.4-HASH/package-HASH.eln ? The user in my GitHu= b issue gets no such path from running `comp-el-to-eln-filename`, but maybe= they're on an old Guix Emacs.=