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 kB8WIU9fd2YkAwAAqHPOHw:P1 (envelope-from ) for ; Sat, 22 Jun 2024 23:33:35 +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 kB8WIU9fd2YkAwAAqHPOHw (envelope-from ) for ; Sun, 23 Jun 2024 01:33:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=alphapapa.net header.s=dreamhost header.b=yg1ELNxl; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719099215; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AqVMhlIzwtitMCn03xjwhxXsMZWawDle8XR2i+2YduE=; b=dG/UI3hIHs6G/ruXP5brdWmnFxTbf68dQYgP1Y4HGVJyFh4VTfzWQ25eRH0jU1GBG/+yIg 8mNDgaIb7LkMg6j3lc2KcaNh++3/Yu2cuboMgeSkKUgMELp1NtbmetfzF29OibNRqgXvjD DAyEOLYJpYK725E/S5iLyod02tJTfytjq2iAt/a/zxcHA+V1LpnXpqkuj2nAai4zLnCxn+ LDwZVFyCQZPq+jt+Tme4NmXRsE00tSR+FLVCYkGM7d8QcY8gnFcpOPzku9EYBFqcc4DWOx +A8XINTkzkjlsTMM6RvuOG/LFoiY2OLHJl4H3Afz2st4fPWoT6jP9rEI/f/Eeg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1719099215; a=rsa-sha256; cv=fail; b=jUeDgidNCmsnW7s8FG2J4x0j0KRvictVoREZuq4xQWrUO/cG+np2oAMpjY09btKvFgatER VWISxn/bvyACqo7gObkE4ujKyXA0PWNrBGOgHnTzw/cA4oomoHO/xOd2yCbWUt4Ho0GorP o0WWsIrkH7tfBPiZhMQEYK1NGL86a93a8ZMwLeXpKCof6CWca0fYuposIL/VOO5o19Q0g6 flYgFPHgB5PMasRpV9Ka98KISKikrPycCnA6wwgxAXq+TAiV5w71HfAVVHL+vs6qSJV7MH ZQK0g1BfIX1tLATzSR9E8qSrS7RWqd5XbSkAihQ77o0CjvbTz7U2L4153EbN/A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=alphapapa.net header.s=dreamhost header.b=yg1ELNxl; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=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 1196AB864 for ; Sun, 23 Jun 2024 01:33:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLAEE-0006xs-VU; Sat, 22 Jun 2024 19:33: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 1sLAEA-0006xf-Gi for bug-guix@gnu.org; Sat, 22 Jun 2024 19:33: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 1sLAEA-0001tI-8t for bug-guix@gnu.org; Sat, 22 Jun 2024 19:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLAEA-0000OT-5H for bug-guix@gnu.org; Sat, 22 Jun 2024 19:33: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: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Jun 2024 23:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71725 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71725@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17190991281429 (code B ref -1); Sat, 22 Jun 2024 23:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2024 23:32:08 +0000 Received: from localhost ([127.0.0.1]:35960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLADI-0000Mz-82 for submit@debbugs.gnu.org; Sat, 22 Jun 2024 19:32:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:51802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLADD-0000Mk-Fh for submit@debbugs.gnu.org; Sat, 22 Jun 2024 19:32: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 1sLADD-0006n0-3a for bug-guix@gnu.org; Sat, 22 Jun 2024 19:32:03 -0400 Received: from snail.cherry.relay.mailchannels.net ([23.83.223.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLAD9-0001qQ-BU for bug-guix@gnu.org; Sat, 22 Jun 2024 19:32:02 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8AEBB8315A for ; Sat, 22 Jun 2024 23:31:56 +0000 (UTC) Received: from pdx1-sub0-mail-a263.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 311838509D for ; Sat, 22 Jun 2024 23:31:56 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1719099116; a=rsa-sha256; cv=none; b=R4zlWmMSTDTp/dVZ08DJV0Rz5zaTAr6eRLio5+mEXNecyKXsYkjRCugGemaKJuNa8Zlv34 BGFG/vtszNyg4FzWmmi78wwIGcdFD+zp41KUTnIAgVOHBpHB+dW9NV/vXthRuivi2Ueryt 8Zn4OhgSOWqQRsND5DxXg2Zn2OMkmEr6GvaB1w0RPQLNLO28a8oAUn4AyxW7ATl9aexzHe IlqK4utjC8ks6UH+NpNYibmG8+i2qBhCNx7A6GOhVZcu3Qpk82LyUwsQXev/Ty4WQdukhp l5vCYQnNEbIiFrQsYhfOpG600szt6e17pifQC3zfKXWOBm1r/QrG5F7v0xT/7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1719099116; h=from:from: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:dkim-signature; bh=AqVMhlIzwtitMCn03xjwhxXsMZWawDle8XR2i+2YduE=; b=j2rqSzM/28Jxc/yjVwoyGzesWIGWMxqo38gav5J8vXzRvEl9x7kGf3n4s1BvJtFzBjKDvt PVPsry4oaDQZ7Hvfh7p+2qMsymPZ9F/CP48Vh+sl+z555UCgLWWVF8ib1R9xntBGNg5+li 4DPRPRk+uy4w+0fGPr3kHikFIxEfPjUL6i5f/2E4e68N+VTOIFsiAXqx7xaRJ0Ku7j9ESf /oUpsnYb20M0lmvRKYyi8Oj56Po6XAXr4DMC/L9sCETAdCnebVi2rFF836oDiCHgg0vtwW eX7QwnbLDABFgxc1a62zChMXcfVXFnVJUG7u/VdGUZ3M7crNfhtRUb5Kn2Aqng== ARC-Authentication-Results: i=1; rspamd-79677bdb95-7z7zn; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Junk X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Imminent-Eight: 5947a78576bfe0c6_1719099116413_2390207455 X-MC-Loop-Signature: 1719099116413:606322933 X-MC-Ingress-Time: 1719099116413 Received: from pdx1-sub0-mail-a263.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.112.86.14 (trex/6.10.3); Sat, 22 Jun 2024 23:31:56 +0000 Received: from [10.17.178.125] (unknown [172.98.33.7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a263.dreamhost.com (Postfix) with ESMTPSA id 4W69VM6D3fzCT for ; Sat, 22 Jun 2024 16:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1719099116; bh=AqVMhlIzwtitMCn03xjwhxXsMZWawDle8XR2i+2YduE=; h=Date:To:From:Subject:Content-Type:Content-Transfer-Encoding; b=yg1ELNxlRG9kkuj1VbAUeOdwta9xLcolzm2z6tV1cvUnoBtMh1aRKH7yZNKysdIja bIvlN+cKhviKToHFWYCAAcP+QGbo2A74M8I2e2dWxkgjTQAAUaPIouVvKt13cVLqyB bnqiUzctAoeoavK6U5JiAmEtwTNEe2w1jAgQlBzFlb/64u9O8hZMGFry0JGIqQNDfD DCC4VSLnk5sTl9HLaEyfly557RoWXQJNlZgtQ8AlcN0M1eslT/4Ckxa0ax5bPULBcf RSsd/8toJHZsWN2PY/PFjk4JrmokO1Tkv4YnC62HZu5uO7fhxdRT07NaLqn9nbeJuy Ao+hS8ksXxS1A== Message-ID: <49f7c34f-38ff-4b4d-be57-1d35c5871df6@alphapapa.net> Date: Sat, 22 Jun 2024 18:31:54 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Adam Porter Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: neutral client-ip=23.83.223.170; envelope-from=adam@alphapapa.net; helo=snail.cherry.relay.mailchannels.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action 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-Spam-Score: -0.55 X-Spam-Score: -0.55 X-Migadu-Queue-Id: 1196AB864 X-Migadu-Scanner: mx11.migadu.com X-TUID: So/ySRIyxyK0 Hello, I've been installing and running Emacs through Guix as a foreign distro for a few years now, and since native compilation was added in Emacs 28 (before it was even released), I've enjoyed using it to the full, including having Elisp packages which are installed directly inside Emacs (i.e. not through Guix) be native compiled on-demand. I just noticed the patch file "emacs-disable-jit-compilation.patch", which was added to the Emacs package definition fairly recently, and disables the option `native-comp-jit-compilation' by default. The patch includes this warning in the docstring: "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!" So, 1. I would ask that this warning be expanded and clarified. For those of us users who aren't experts in all aspects of Guix, I don't understand exactly what this means. (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.) For example, if I enable this variable in my configuration so that packages not installed through Guix are native-compiled, is that now expected to break something? 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. While I admire Guix's end goal of encompassing everything, I don't want to install Elisp packages via Guix. (For one, being a developer of them, it would be impractical. 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.) I also don't want to be restricted from using native compilation for non-built-in libraries. Also, 2. I would ask, if indeed enabling that option is now expected to break something, that this be remedied in some way. 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. To impose such a limitation on users would be reason enough to abandon installing Emacs through Guix, even for serious Guix users. 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. If I were to have to go back to building and installing Emacs manually, what a regression that would be. I do want to express my appreciation for the work that was done to get to this point. I looked through, e.g. , and I realize that it took a lot of hard work to thoroughly integrate Guix with Emacs's native compilation features. Nevertheless, while the current packaging may be ideal for the most dedicated Guix users, it seems to have regressed for those of us who are less "pure" Guix users, who need more flexibility, and who have enjoyed such in the past. Thanks, Adam Porter