From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SG/sM82Rk2auoAAAqHPOHw:P1 (envelope-from ) for ; Sun, 14 Jul 2024 08:52:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SG/sM82Rk2auoAAAqHPOHw (envelope-from ) for ; Sun, 14 Jul 2024 10:52:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=NHDc0mvW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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=1720947149; 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=tMCsXpbM3PpDksmQICFHHnUwU/kSMe04F/zHpUcdzWE=; b=cG8vguXk3XTI0pXio4NiE2jrtEB58T14k5fwMBQVuxFBX64UpEx70rqtrUcHkFK9tVeZI3 kS3GkiZBPQkpcENxYkKkCS3U9+QFa+9MbF/27s0nD2rCnrF2giqxPeO6kyB6Bp2g7fL9Gr bGusSS+Ksr/hKJhhNXGNftFWigbwYCR0+uBaZO913PTK0gCgkkDMHUdxT8EDXrn1TV49O+ MU9XSnWX674fJctzP+oBeA4QDwz/gxBePsYCJuo5u46acEV7uf+wgh2rZ4RBq3VfKO8Toy Wk0H8TLlVsb6kU0R3He42fGoicqcWPOqqTcqTveJFEBEhqkmNmCGT7VvNNXFGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720947149; a=rsa-sha256; cv=none; b=SDGU3fAY1Wfvmzcw6g8ke3EtEK/iLGf7P/+xzNEthQ/g83Rx/n1l5pMsEdT2oKlWWj+gda 1xm1tZMbI4kTv7bRng8WQXnWxk8yxAdhX2gW0CpIsTlYoEmnmnU7OVONKb5+LK4/2Dx6TR /O73ltGSoyxqngJu11XoF+UNXkw/744octIm4yH0bljEKMFqR4Dav+zv6reKVSTLpu+aTr TOnzh56ljvHvjJ3xMe02bRl1HriDbNLnAJ8c7BAhlliG64vmGnzVhd5uoLlvMUqh/AR71n miHz/i7jX8cqyiZJXcLcgQi6cP9ZUAT+zMAnXOUB+QuU8DkeYOk8o/GRxQ/Sbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=NHDc0mvW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" 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 C19CB38130 for ; Sun, 14 Jul 2024 10:52:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSuxj-0004hs-09; Sun, 14 Jul 2024 04:52:07 -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 1sSuxe-0004hc-10 for bug-guix@gnu.org; Sun, 14 Jul 2024 04:52:02 -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 1sSuxd-0003um-Oy for bug-guix@gnu.org; Sun, 14 Jul 2024 04:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSuxe-0005GM-4z for bug-guix@gnu.org; Sun, 14 Jul 2024 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72045: Emacs graft lookup still fails Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 14 Jul 2024 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72045 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Suhail Singh Cc: 72045@debbugs.gnu.org Received: via spool by 72045-submit@debbugs.gnu.org id=B72045.172094711320214 (code B ref 72045); Sun, 14 Jul 2024 08:52:02 +0000 Received: (at 72045) by debbugs.gnu.org; 14 Jul 2024 08:51:53 +0000 Received: from localhost ([127.0.0.1]:57134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSuxU-0005Fx-T8 for submit@debbugs.gnu.org; Sun, 14 Jul 2024 04:51:53 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:52366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSuxT-0005Fl-DQ for 72045@debbugs.gnu.org; Sun, 14 Jul 2024 04:51:52 -0400 Received: by mail-lj1-f193.google.com with SMTP id 38308e7fff4ca-2eaae2a6dc1so51401741fa.0 for <72045@debbugs.gnu.org>; Sun, 14 Jul 2024 01:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720947044; x=1721551844; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=tMCsXpbM3PpDksmQICFHHnUwU/kSMe04F/zHpUcdzWE=; b=NHDc0mvWPw3zCbinpnWs5BZ1Q1433qgCjPtA6hHtaDmmegFMOihmtMaNk+HzYYA48F phXQ63mmht4pcMbmdD+pFUSQHJbR2XtEk3xfYKAGKB6qE7lKIWZZJb+O6NvEyqxqtqhg OX55/G0lncF9rZjeoWO/ar2X+1GZ6ke2dOhILk4ih/0s1UUuXhYPWxXgYmQo4OqWlYoM IdqwrR81VqgT0h8GEAhibmJ+x9Huwa6vQYulwSFho2D+GHJewO+Z1Rth4QbmsJrm+rlS 2S0W9UhQ+9dDRz2+abhuU2AcjuyQMi92OPFv4ZkJrbJVcPGqHdUDb8K1PMvWO04asWXS 7rmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720947044; x=1721551844; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tMCsXpbM3PpDksmQICFHHnUwU/kSMe04F/zHpUcdzWE=; b=W5HKIm1LNFDeaQFw0mU+53FC6MhaE7mT1M6JvSmdiv7A9ViWcDM6MUqTAOBJy+22vt QK3IMXU+f5hlHJDt7OY1N+O4/fvs0yhqH+ZNtWdz6LT4U+lhjuJ3ijPTmtlIrQSXEYl2 1LVhOlInUcWR3VUBOFrrdblwRv2p7kIEUcpmi6aS9b6ZdZknRgUpnBD//1PyJCWZU1pH Lrjz8YgqDQi3JwrRxNn4TfWcgAwPKWAW3JKKxs+eL1TI2oks1hhWm1pTly7r5iXXFqKX rXIMnEieoJa99+jxHrpF7itjVigGnJ2QMAHB8EgfBamYBTk95803LHUuCRBreaEIYher DFJA== X-Gm-Message-State: AOJu0Yy1GuAX6brbRpNw0vZqqdAiYAQWVAE4S2aJyX2TgU6I2ykmzsGA oKprI53CtFOXtr93J/UrTsAD0Zdn+xksdHQ2MkRkgcOdDU+i+oc7 X-Google-Smtp-Source: AGHT+IE80MkNfNwlZ2k028o9TfXMMcFjGp+umCTGVTJtTyc5k6bv4+8SRuK1jSMizC82xbf8eOpjAA== X-Received: by 2002:a2e:9b84:0:b0:2ee:849b:576a with SMTP id 38308e7fff4ca-2eeb30bb3b5mr122625131fa.11.1720947043502; Sun, 14 Jul 2024 01:50:43 -0700 (PDT) Received: from lumine.fritz.box (85-127-20-124.dsl.dynamic.surfer.at. [85.127.20.124]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc822b51sm111670066b.225.2024.07.14.01.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jul 2024 01:50:42 -0700 (PDT) Message-ID: <6cbb251b1fd031428ec254e401f01777084d1dc0.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 14 Jul 2024 10:50:41 +0200 In-Reply-To: <87zfqkho6x.fsf@gmail.com> References: <87zfqkho6x.fsf@gmail.com> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: C19CB38130 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.30 X-Spam-Score: -5.30 X-TUID: KUaEPR9YN9kE Am Samstag, dem 13.07.2024 um 19:22 -0400 schrieb Suhail Singh: > Liliana Marie Prikler writes: >=20 > > with the grafting of Emacs 29.3 to 29.4, we see that Emacs itself > > is still correctly loaded, but Emacs libraries (e.g. dash) aren't. > >=20 > > (comp-el-to-eln-filename (expand-file-name "=E2=80=A6/dash.el")) > > =3D> $HOME/.config/emacs/eln-cache/29.4-46e5bcbe/dash-2.19.1/dash.eln > >=20 > > find $(guix build emacs-dash --with-input=3D=E2=80=A6) -name 'dash.eln' > > =3D> $PREFIX/lib/emacs/native-site-lisp/29.3-62809b9a/dash.eln > >=20 > > It seems that we might have to rebuild emacs native-compiled > > packages even if emacs itself is grafted. >=20 > I had missed this message, previously. >=20 > IIUC, the issue is that replacement packages are grafted post-build. > This means that when emacs-dash is built, its AOT native-compilation > happens with Emacs 29.3.=C2=A0 However, at run-time Emacs 29.4 gets > grafted in. Nitpick: Emacs 29.4 gets grafted in at profile-building time. > There are at least two possible ways (ignoring feasibility) to > resolve this: >=20 > 1. When emacs-dash etc. is being built we use Emacs 29.4 for native > =C2=A0=C2=A0 compilation. That kinda defeats the point of grafting, though. At this point, rebuilding with newer Emacs makes more sense. > 2. When emacs-dash etc. is being built we use Emacs 29.3 for native > =C2=A0=C2=A0 compilation, but ensure that said files are transferred to a > location where Emacs 29.4 is able to find them. Given that the ABI hash is used to guard against loading outdated libraries like this, I'm not sure whether this makes too much sense. I think what we would need is something like=20 3. Accurately capture the compatibility between Emacs-used-to-compile and Emacs-used-to-run. I.e. find a way to enable Emacs cross compilation. Perhaps upstream already has some ideas on this, perhaps not. > Which do we desire?=C2=A0 My belief is that 1 is what we need, and that > doing 2 may be inadequate for ensuring that appropriate security > fixes are deployed (consider the case where the bug is in a macro in > Emacs core). I think 1 could be accomplished with a build system hack, but see above. Cheers