From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cAs9C6YiBGciAAAAqHPOHw:P1 (envelope-from ) for ; Mon, 07 Oct 2024 18:04:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cAs9C6YiBGciAAAAqHPOHw (envelope-from ) for ; Mon, 07 Oct 2024 20:04:22 +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=d85cUR8+; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=D6h3csP1; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728324261; 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: 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=EEd27weQ9drMttZGC/d2VGDABlzwq2rTbKN63NQ7Dec=; b=hMlJZdmsGGW1rdF36T2KnklO3IAOam6vHUBiF7Cjv5mpVoDQTodE5yfQgisEGapKeGeukV nl6ibVKIx7FL305+pAKpZNJz3ZNRRup4t4x+GPh01y6LoOYRAA+sngHZc0NcTkPgCDmfP0 EDUeWXImaquZ0vO5lY+CATPWPo/YlsuhhY3gInrjyNzTgLNlsE7n6rqOvrrbQ2NaVhLRfY 2cCQJoPd2B0FMWbErS09X0jE++h+XvkRdMGqH8OoWLLNSORd4Ru0gpXBR9V+KJ3ykpmU+q EySXN2ca9UJceMb8LnrwdsSpm0JazfQgdVoSHiXPFalg7iaa30o6QJsl3ye03w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=d85cUR8+; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=D6h3csP1; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728324261; a=rsa-sha256; cv=none; b=d+nMS5cugot/UydBPSzMROHcSvesZgGVgLc2P2orWXzHoIDxrJzsnksSHh9shUWVRDKDZC dcMkkmciQFAbO2GKz1kh2lEX9aeuVkDKBfIXc+2f4qTsMB6v8ypiN5NhITaLpf3mLkVV+0 mInoC6VZkuNNxnxUME1w1FtZEOyRAhgs1W5r/0hbgfd0ys9CKsqZmPTuGILfl4IIgc3eUI DNR+Nf2aExVqoi98sFQ3i8aJivO9MOwxVkpy2ZN8PIdsq2FFvXvGHkHgtUvkFZrkxv6V4m sKpoII8D9dBbTEf8slDUfg7DmVkDaQ0aRvfCPQZ04orJDQ8gYG3+updnkz1MgQ== 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 7B68978857 for ; Mon, 07 Oct 2024 20:04:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxs5Q-0007aj-MK; Mon, 07 Oct 2024 14:04:01 -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 1sxs5O-0007Ye-2w for bug-guix@gnu.org; Mon, 07 Oct 2024 14:03:58 -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 1sxs5M-000211-Sr for bug-guix@gnu.org; Mon, 07 Oct 2024 14:03:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=EEd27weQ9drMttZGC/d2VGDABlzwq2rTbKN63NQ7Dec=; b=d85cUR8+FVNg4TyByYm2YtwIc9OXuMURNRLmGh58GGVhUgl/3Lg+elZc7dweYMO5TptLyi9sBQk/a5zkO/a/qtRqYOg19NUQwKp0gQO76o/74eRWYJiHZ6DduDeTn1SdQiReS+JopL84HwQYkNRyy4vhkWU5aIJYTgng1/9pQz1JVO9xBF6ly982uRq7AL403MZ+d/iPGKUlMMUHHVQGmCJKUjxmkSxyxT+Znm3wi6gth4qGX8D0lT1Tq3r87JPp+JhcrO7Drli7CiHjuwF5VYX3UlwDkJ8b/jcBEPSt5659ODbnLUIjR/3PHcBalUaMH/rd81lQjsnJb6kfhwloCg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxs5S-0002Sp-D7 for bug-guix@gnu.org; Mon, 07 Oct 2024 14:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73681: Maybe partly undo the patch on Elisp comp-el-to-eln-filename Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Oct 2024 18:04:02 +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: Martin =?UTF-8?Q?Edstr=C3=B6m?= , 73681@debbugs.gnu.org Received: via spool by 73681-submit@debbugs.gnu.org id=B73681.17283242199438 (code B ref 73681); Mon, 07 Oct 2024 18:04:02 +0000 Received: (at 73681) by debbugs.gnu.org; 7 Oct 2024 18:03:39 +0000 Received: from localhost ([127.0.0.1]:47866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxs54-0002SA-SU for submit@debbugs.gnu.org; Mon, 07 Oct 2024 14:03:39 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:50622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxs52-0002Rw-Im for 73681@debbugs.gnu.org; Mon, 07 Oct 2024 14:03:37 -0400 Received: by mail-wr1-f66.google.com with SMTP id ffacd0b85a97d-37cc810ce73so2508802f8f.1 for <73681@debbugs.gnu.org>; Mon, 07 Oct 2024 11:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728324143; x=1728928943; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=EEd27weQ9drMttZGC/d2VGDABlzwq2rTbKN63NQ7Dec=; b=D6h3csP1RKujeRcMMzrE9gdMh7fnMWFu2EWNgo2XroM/3avWl0WarkhNf9ZrUhY/+n 7fUiEyQZK6Ra6F1MpvyJpeQObfRDs7HJln4pTt/hPAWFbxqMw/20n7GMm30ALZs2xTPa LvJvzYFfEOGA6nKzb9dIhOycLnlKe4omgJquBMXSYQWzQtkmxgnwKPT2tof2lwkfxkdH XEckFHyzqDNG0i/OGYUPZPmaBoyB2jljbYHe2Xx+PE0S/A1YS270OE1QUrRO9M4mzi/s 41+DdgQPaKMGA/NNQ1dy/aHVErN8YTBa1jgu3jiypJPjGoTPGdYK3oAJuRIslNZLpAs1 yyEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728324143; x=1728928943; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=EEd27weQ9drMttZGC/d2VGDABlzwq2rTbKN63NQ7Dec=; b=UZETz9pgOEMBdU+HKR/5r1BFqGZ+gwGwbAT8sRIA7AG6RWtUZQCgqBHIc4FNXoUvhc BdSHiyai7cFFR34eclrcLq6sWCofaIMazRgKTU216whGf5Bh2sK3z6vfltBqapUYPTJI UWjkzzNDU4YmNDc63z04QFKsGSuR1KoFEeABvKQO+xv3jOP+3nx/FnEibMlhD19pAGEf 48RWi5S4XW1v35wMvvl5D83YEahUmwFTYE1Efz5q26GI8UbtArfS0xSuYuNikFRK/4ZY M5rj6pSgujeaz976aKdVY9waZAnEne8h57wDCTx+lPYMarkmxMtpFqaZiS6WNYxGmy57 0yBA== X-Forwarded-Encrypted: i=1; AJvYcCWJNiG2W2EHhnRI2l9/mv1T584iJhwV+tyDbSgnJuqPxTbie5GT40fuhO3AA9wxKWrCk5W7dA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz2vVUYq84dDWSTQcqWv29BnTZbW9qfzAXaGKQ5sJhT4vxkXZjO VKKUpXqVvgf7ZeCI9KLW8Q98HzTfg1miLxTnBh7VI6d5FaR1EXJ+t06+d+nR X-Google-Smtp-Source: AGHT+IFUJn9tymveMkQcxlPxQ5EatXsH7kTU7DrztzCIExR9BNZBGunLRbUVhpq/FMhuwIg2Yq/HoQ== X-Received: by 2002:a5d:61d2:0:b0:37c:c9b9:3732 with SMTP id ffacd0b85a97d-37d0e748d0bmr6722670f8f.21.1728324142721; Mon, 07 Oct 2024 11:02:22 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42f86a20595sm99161205e9.14.2024.10.07.11.02.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 11:02:22 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Mon, 07 Oct 2024 20:02:17 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 3.01 X-Spam-Score: 3.01 X-Migadu-Queue-Id: 7B68978857 X-TUID: q6OcW1Iq2qQu Am Montag, dem 07.10.2024 um 16:56 +0200 schrieb Martin Edstr=C3=B6m: > Hi, I suggest to maybe amend one of the things done by this > patchset:=C2=A0 https://issues.guix.gnu.org/67260 >=20 > It undoes the hashing effect of the Elisp function `comp-el-to-eln- > filename`, and that seems likely to cause issues downstream, for > example in my Emacs package: > https://github.com/meedstrom/org-node/issues/60. >=20 > To summarize: that function is supposed to generate a filename with a > hash based not only the filename but the contents of the file.=C2=A0 Whil= e > it makes sense in Guix to ignore the contribution of the filename, I > believe it should still output a new filename when the contents > change. There are opposite goals to "make sure that the file hasn't been tampered with" (upstream) and "to keep files patchable" (Guix). I don't think we can easily satisfy both. Perhaps we could use the original store path as some kind of key to match the files (since we compile them in-store IIRC), but that wouldn't work for the "let's compile our init.el" use case. As a matter of fact, we've disabled JIT compilation for the very reason that stuff can break ;) > Otherwise there seems to be no way for a downstream package to ensure > that it is using an up-to-date .eln variant of an .el file. What about aggressive-recompilation-on-write? =20 > I may have missed something though.=C2=A0 Can someone in the know tell me > what happens if you have not updated Emacs (which if I understand > correctly, means ELN-DIR does not change), but you do update an Elisp > package, whether through Guix or through Emacs' own package managers. > Will Emacs then possibly load an old .eln?=C2=A0=20 We write store paths to a subdirs.el =E2=80=93 unless specifically prompted= 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. > I do not believe that user options like `load-prefer-newer` would > affect it. It would just rely on running the aforementioned function > and counting on it to output an .eln filename that does not exist if > the source is newer. Since all timestamps point to 1970, you are right, `load-prefer-newer' does nothing. Cheers