From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 qKZmNhH5d2a+BgAA62LTzQ:P1 (envelope-from ) for ; Sun, 23 Jun 2024 10:29:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qKZmNhH5d2a+BgAA62LTzQ (envelope-from ) for ; Sun, 23 Jun 2024 12:29:37 +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=H1oi2wbL; 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=1719138577; 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=kCynX2h7fKsOMB4HBORzMeEJc8pCf/kxV8FOgqnos4Y=; b=Hs+RFcx7FFD5476WozEHpEcy6OlQvA5Bw7GiuMpu/uFflDEoanun3SojowTsCx2CRUPNhG RNrqZqGYjhsmO849C8446DKRu+Gkt3J/imYOPJMg5V5x8EHaH3LLnbV+8qIuxWMt749rgq KpvqcLng29tAyfHsnL0ZtaX94j4GsHVMHz8p6crWCoYUh7q+p1HtkusaqmSlFlossbcWSU vai0I7gW2/rAEJzoHYFoMibiIblhuCf0Goki+a3oayOZrc8YoiVgxiVd36DT9Stn+fbMd7 keAFDHDjI97RRPaapIIKEff6Qa7MmMWfP6eE9FvfEGyKAJKT+cj2SimI5tpIbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719138577; a=rsa-sha256; cv=none; b=c5hD09cWtJVoycIdzUxHQAqafVm1saV0QZESoN/Xexd5YmFu73/IUQWLL4PkYVtc1SSuNe k4VzEBEL0ZlPhUlDGzJC80NlEaBpXWQfC3CwjHc/ESL8xWAsBgJjCBs/6Ymipe0xg+d1Tk IYEsrVPia8oKNw93tF3hixzoMRm3l8Mav2Yo8gjHF2gsKXlLta+mtEW++EEZ0j6P6lZWqV z4TZa0rYSMfVtk3K2Mnn9YSXShAWrYjga63p+uYTveBl0iYeFEkgZmD/jnCjUIENPBz3ig AmjzTvUpDK1DWNnfXBgK2pEXVN8tx9406SEVErauAklnE+9cFpLt0+0MbM+tjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=H1oi2wbL; 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 87D8D1A0B0 for ; Sun, 23 Jun 2024 12:29:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLKT2-00019k-1b; Sun, 23 Jun 2024 06:29:04 -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 1sLKT0-000192-L6 for bug-guix@gnu.org; Sun, 23 Jun 2024 06:29: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 1sLKT0-000369-D7 for bug-guix@gnu.org; Sun, 23 Jun 2024 06:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLKT0-0002a3-HL for bug-guix@gnu.org; Sun, 23 Jun 2024 06:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#71725: Emacs emacs-disable-jit-compilation.patch prevents native compilation of packages installed outside of Guix? Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 23 Jun 2024 10:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71725 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Adam Porter , 71725@debbugs.gnu.org Received: via spool by 71725-submit@debbugs.gnu.org id=B71725.17191385109842 (code B ref 71725); Sun, 23 Jun 2024 10:29:02 +0000 Received: (at 71725) by debbugs.gnu.org; 23 Jun 2024 10:28:30 +0000 Received: from localhost ([127.0.0.1]:53299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLKSU-0002Yf-1f for submit@debbugs.gnu.org; Sun, 23 Jun 2024 06:28:30 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:52420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLKSS-0002YL-1P for 71725@debbugs.gnu.org; Sun, 23 Jun 2024 06:28:28 -0400 Received: by mail-wr1-f67.google.com with SMTP id ffacd0b85a97d-3636c572257so2925167f8f.0 for <71725@debbugs.gnu.org>; Sun, 23 Jun 2024 03:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719138442; x=1719743242; 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=kCynX2h7fKsOMB4HBORzMeEJc8pCf/kxV8FOgqnos4Y=; b=H1oi2wbLj8BZNlmskFbVLSjMtIGg/0IN8m/5sFctS2Ps9pgU+xARUTKRBgKtKQMfeO s59LMW3pxuN4PrrWVHfoBHh7h0uz+heJ2tt2/YXf/jevTmPLh18gISWgUIyWi/wUP21e U9JBz2UW4Fqv4e0dJ8167NPq/YNaGYmUk2CuhztYSIVUk7d0ExVlZ6i7In57JwZ8cZnU WE5VxWNS/8qKrTNrGRHRTEglDlIfehPTgC3KWKaX9IRh2KHd4IGgGlp4ZnB8ze1LSx/p FCgSFeSp2FdvaBgtKT7CDsH2l8DDGknJI6zl4vHMb+JkpAk4cIVmad8J1NYMdO3vgkkr /Vag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719138442; x=1719743242; 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=kCynX2h7fKsOMB4HBORzMeEJc8pCf/kxV8FOgqnos4Y=; b=klEbgLObsI23y3nEp5Yo5+8OblQvcCQv+T2wSdmLofnYehhyLIrth4Ssw+NUoaoZLB m+w2dfgVivfeYJ4V0codOKTa5S6Yy7RKho9IOnVpq4mzW/Dse7Y3uGSKhpLjV6xcxKbV aM4QLmhJ11jZ3QzMtD4C5JIsEVFx0t8tBPqpgD6H7cGP01YPntO2xH2vbwh8Z5Cf/1z9 4G2eJ1MM9sDPcFJk1la3i8bl3zdVKxmSVoCp5u8P4q2taiuz/1lYOE+RTPhBIn8grfpX ONFGj9aKpoAbpC2hNEzgGzaabi0tu/E/vvnaDA/KFbVhIkNwfKsNsySU6wpN4/ACgnod Nvrw== X-Forwarded-Encrypted: i=1; AJvYcCUmrDJq1o7wtSjTmVGUMDo8DIPGLVYMNkxti7jm3k3JHPNTOl6wIUDwDMfIxVDsGQEAme5hTQct4H6sM+osQGI5e7DlJJ0= X-Gm-Message-State: AOJu0YwCocf/N/O8zZtaQWX2hhZrxV5wACS2Fgc55wWLbZiaSxfUsmIw iYowC6dGHdCtaGhp3EHXn3a8RT3mLBuVfPRc/gqn2cFzSbrFaS8WLreVKDj4 X-Google-Smtp-Source: AGHT+IGnpRArAyUJj2vmqDd17w9gPyr+HBa0yRTgiuHbFAcdVTAmvbjS/YWIQ9LiJWMHs1Qna3zSsQ== X-Received: by 2002:a5d:518c:0:b0:360:75b1:77fb with SMTP id ffacd0b85a97d-366e946707bmr1281787f8f.8.1719138441631; Sun, 23 Jun 2024 03:27:21 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3663a2f6f0csm6969833f8f.75.2024.06.23.03.27.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 03:27:21 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Sun, 23 Jun 2024 12:27:20 +0200 In-Reply-To: <49f7c34f-38ff-4b4d-be57-1d35c5871df6@alphapapa.net> References: <49f7c34f-38ff-4b4d-be57-1d35c5871df6@alphapapa.net> 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: 87D8D1A0B0 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.26 X-Spam-Score: -4.26 X-TUID: MGjntjgkUFOg Hello, Am Samstag, dem 22.06.2024 um 18:31 -0500 schrieb Adam Porter: > [=E2=80=A6T]he patch file "emacs-disable-jit-compilation.patch" [=E2=80= =A6]=20 > disables the option `native-comp-jit-compilation' by default [and] > includes this warning in the docstring: >=20 > "Notably, Guix removes the hashes that prevent inadvertent shadowing > frm the file names of compiled libraries in order to facilitate > grafts. Enable at your own risk!" Well, that's a typo I didn't notice before. > So, 1. I would ask that this warning be expanded and clarified.=C2=A0 For= =20 > those of us users who aren't experts in all aspects of Guix, I don't=20 > understand exactly what this means.=C2=A0 (I do understand what grafts > are, and I understand how Emacs's ELN files are named to facilitate > loading correct libraries, but I don't know what Guix is doing with > the filenames, and I don't know the implications of that.) >=20 > For example, if I enable this variable in my configuration so that=20 > packages not installed through Guix are native-compiled, is that now=20 > expected to break something?=C2=A0 Before the patch and accompanying > changes were added, I experienced no problems using native- > compilation, including making use of built-in, ahead-of-time native- > compiled libraries, as well as JIT native-compiled libraries > installed with Emacs's package system. Well, the short answer is "I don't know". The long answer is "Even without disabling this flag, we use the fact that the same file name points somewhere else for security updates. Thus, there is a legitimate use case, but I don't know what specific mess you sign yourself up to if you do enable this flag on your machine." In short, enable this at your own risk. > While I admire Guix's end goal of encompassing everything, I don't > want to install Elisp packages via Guix.=C2=A0 (For one, being a develope= r > of them, it would be impractical.=C2=A0 Even otherwise, not every library > is going to be available or up-to-date in Guix, and I don't want to > have to give up native-compilation for them.)=C2=A0 I also don't want to > be restricted from using native compilation for non-built-in > libraries. That's understandable, but why do you then need Emacs itself from Guix?=F0=9F=A4=94=EF=B8=8F If you want to do traditional package management, there ought to be enough to serve your purpose, perhaps even on your foreign distro. If not, you can use an .scm file to define an Emacs without this patch. I don't know whether that's desirable for your use case =E2=80=93 for us as G= uix the expectation is rather that our own packages work as expected, i.e. with graftable native-compilation. > Also, 2. I would ask, if indeed enabling that option is now expected > to break something, that this be remedied in some way.=C2=A0 To expect > Guix Emacs users to forego native compilation for Elisp packages > installed from within Emacs would be...well, it would simply be > impractical, because, as I said, it's not practical (or even > desirable) to install all Elisp packages with Guix. >=20 > To impose such a limitation on users would be reason enough to > abandon installing Emacs through Guix, even for serious Guix users.=C2=A0 > And that would be a shame, because this is one of Guix's great > strengths, to provide up-to-date software, regardless of the > underlying system, with simplicity and reliability.=C2=A0 If I were to > have to go back to building and installing Emacs manually, what a > regression that would be. Sorry, but none of that follows. We have an importer and updater for Elisp, so even the packages that are not yet in Guix or out-of-date ought to be easy to use regardless. Even outside of Emacs, we have this whole "Build it with Guix" thing going on =E2=80=93 you might want to consider using a guix.scm for your Emacs packages, particularly if you need newer versions of things that are not yet in Guix. Or contributing. Cheers