From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 eJbQJewMk2Z+QQAAe85BDQ:P1 (envelope-from ) for ; Sat, 13 Jul 2024 23:25:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eJbQJewMk2Z+QQAAe85BDQ (envelope-from ) for ; Sun, 14 Jul 2024 01:25:32 +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=gXSMGQ6t; 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=1720913132; 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=etQwxUg9/hyNC7i+twE/SLLO63cN0kcLcuPg5g8aeAc=; b=mn3tex4/lJEdzwHk2mJtBgr7a4ZuoPg++02xQ2/MyDP+/vhrsM6QgvGuFQ4t9FdniANlgP zc7az9AfIQ9/YiWYmip38KQvU56iMIFjF/L9l54w1jNThT69dSsvylhS3QXgt87kKz9Vxf wjRkvqvxXq8m9904lSSyfT+6gYzN+FxKviMCL7IEbn7E6H2l4LI3/W+nQQQWJKXdIYqF55 7HG+F3e89EBk3GqnXX9IOjljSLxoBsb610Q3e9I5IoLy0+GsCL6BgHJnoGBm+5sZkc8l+0 cpQVwmrRDj9/9vQEN+6ec0LOuRKXpaulrPRGCCwg61LQZYY0rhOJHy3Xtsb+MA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720913132; a=rsa-sha256; cv=none; b=mJWKmt4CAL7mfSiTWbzFyFrQec0nEZpxLZ7lQSEhDoEF+V21Kk7S7QKxti7H5VyxqShWqu IL0k000lLONEV6Ex+fFTrbdFtJIICjUmmMbffX84L4uAUhwmyHLa9RAWrXJiHMpBxehTa+ 2iALn0CJVbD0SNLkV6jPU/VolQ9e9T1u61ulhJhqKl2Cu8m4j1z9KY2G0hZ2H4AFJ3VKta 7yfctgKoaWdduSvaV0l6Qz1iShSm5ow6FwWsd03hWa5ah3eSX9deHvw4BpcKue9HI5O75w d2hwdX/87Zh2SJUoUFyddYSffn7/U4ySauuIsJysOZGCKjWjrZgnlspbBo9PPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gXSMGQ6t; 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 52C051785A for ; Sun, 14 Jul 2024 01:25:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSm70-000751-Fd; Sat, 13 Jul 2024 19:25:06 -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 1sSm6y-00074r-H4 for bug-guix@gnu.org; Sat, 13 Jul 2024 19:25:04 -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 1sSm6y-0006Wk-80 for bug-guix@gnu.org; Sat, 13 Jul 2024 19:25:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSm6w-0007yd-Iy; Sat, 13 Jul 2024 19:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72045: Emacs graft lookup still fails Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, bug-guix@gnu.org Resent-Date: Sat, 13 Jul 2024 23:25: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: Liliana Marie Prikler Cc: 72045@debbugs.gnu.org, Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 72045-submit@debbugs.gnu.org id=B72045.172091304830581 (code B ref 72045); Sat, 13 Jul 2024 23:25:02 +0000 Received: (at 72045) by debbugs.gnu.org; 13 Jul 2024 23:24:08 +0000 Received: from localhost ([127.0.0.1]:56931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSm64-0007xA-Hb for submit@debbugs.gnu.org; Sat, 13 Jul 2024 19:24:08 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:40642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSm61-0007wg-D2 for 72045@debbugs.gnu.org; Sat, 13 Jul 2024 19:24:06 -0400 Received: by mail-qv1-f65.google.com with SMTP id 6a1803df08f44-6b5e3f57ea7so3680156d6.2 for <72045@debbugs.gnu.org>; Sat, 13 Jul 2024 16:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720912978; x=1721517778; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=etQwxUg9/hyNC7i+twE/SLLO63cN0kcLcuPg5g8aeAc=; b=gXSMGQ6tdKtEwG15AAof0R7cTLpQzxfi2lpoN8nryo2SsOUlTW1uWrhuaMaNx1k+0P NDsFfV3U1scYBJKNarlmGZaqRugosLqcHn7K7yZCkZ+le5/3ms+XDlv9zUjxCX7UJD5U Sp9CqWi7VOCITgPRk8vbs/eZnls4Vb3qTUPg7cfvBKh64xHh+5QnsHGD4t1ZhYXdRTx0 2dRVsR1nYir/kWplnyNoQX2vigso6sZA6a8ZnLP/2qXoX0yavTGwH9dWvUTaawiILYTg 9HCArKJv91d5Hmzw8pHPEa32lglg7L6EipvojvTm9wxW0FwxuOgQPtkJ3wCDLWDFX+U/ Rjng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720912978; x=1721517778; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=etQwxUg9/hyNC7i+twE/SLLO63cN0kcLcuPg5g8aeAc=; b=BH/KznKRrOxanKqOUoqHPrqj6a3jHHgBHaLoueJz0vjlqF9qHOGrKiSs4JROGVA3QV nF7xuAaI+YO2HWfRQe6QbC3xMQKn/tgizyyk5s/8AkhP17rUJS6n4kNSK2H6ayRAvEzP zcGt/ZiF/EW2TmEsrQYxvaOlNbv5uXKHpfUqb2BOWn6MWIMFqmY2qXvrfRl+9OOWqT7N nlpPOex+9pnlVkagOpRpOrYagZP6aHqvfSAPCQjhFta0dsTgx/HxBP4OjFq6TLCq1FmT z58hUb9WAVU0AiW+MZUsCVcKJ/2EsHzAZ3qGi0D3ePDzx/tyPM0w+goG1+9ov8plutW6 8hQQ== X-Gm-Message-State: AOJu0YxdSkS46FXbXVDS6ZoCKU7Umg/P+uTvqSJo1Fxv3KXNMMJGMpJ5 UuzHUPkPNInDKEg2u6jxSKOD935Wku2ZKjvi/IWi411BDptPHVzhZRq4NIt2 X-Google-Smtp-Source: AGHT+IEfjPJ+RJZDvn2f5X7rjNkVEAAkE/Xie0IbFDEaUsqRnYqKGzyPtcG+GgeNzkln7bjY+O/JRA== X-Received: by 2002:a05:6214:9ac:b0:6b5:90eb:370f with SMTP id 6a1803df08f44-6b74b1809eamr83373096d6.2.1720912977987; Sat, 13 Jul 2024 16:22:57 -0700 (PDT) Received: from gnus ([65.93.169.47]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b76194f86fsm8599176d6.10.2024.07.13.16.22.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jul 2024 16:22:57 -0700 (PDT) From: "Suhail Singh" In-Reply-To: (Liliana Marie Prikler's message of "Wed, 10 Jul 2024 22:06:13 +0200") References: Date: Sat, 13 Jul 2024 19:22:46 -0400 Message-ID: <87zfqkho6x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 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: 52C051785A X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.30 X-Spam-Score: -2.30 X-TUID: sC9Gl6AIueMW Liliana Marie Prikler writes: > 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. > > (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 > > 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 > > It seems that we might have to rebuild emacs native-compiled packages > even if emacs itself is grafted. I had missed this message, previously. 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. However, at run-time Emacs 29.4 gets grafted in. There are at least two possible ways (ignoring feasibility) to resolve this: 1. When emacs-dash etc. is being built we use Emacs 29.4 for native compilation. 2. When emacs-dash etc. is being built we use Emacs 29.3 for native compilation, but ensure that said files are transferred to a location where Emacs 29.4 is able to find them. Which do we desire? 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). If my analysis above is correct, then the question (which I don't know the answer to) is can 1 be accomplished with grafts? -- Suhail