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 ms8.migadu.com with LMTPS id 6ApUGILsrWVESQAAe85BDQ:P1 (envelope-from ) for ; Mon, 22 Jan 2024 05:18:10 +0100 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 6ApUGILsrWVESQAAe85BDQ (envelope-from ) for ; Mon, 22 Jan 2024 05:18:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=SeqdSKHm; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705897090; h=from:from:sender:sender:reply-to: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=+wbzz/0iqwoWyJEvG0VeqTglfIn3dAdHNY5d2AUV2B0=; b=Fbgwtg+SfNSrvZXYJvSzA01RYKYcFUR0ERGpD1cO4Y8ka1/NvzYqmyrMbULo7XWPFOtJTo YTB84UIGftdQkby0UX6nfqi4kqyJjpdBvVTxgoJrrEGbXEtKhIqR6EbmoRt2ccfkfFB+Ut 9TlIuT2brC5ipgcU7Ig0LbpvGMqiiHlEdlFImLDgpuCYeB0AO8l3PB4lvmG5Ma98nll9Jg /bsmcejsMoSxVrMpQLVFFfZHrc+8zd//4cgNf2n0diNHMQpyaE5nVOQ4d4TPnzcsU/AJfY SvNQf7vEpVwGz2uMh7bNrRje32fGh/1LL0YPqpi6XgxnzegeEM33hXqOB1uwBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=SeqdSKHm; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705897090; a=rsa-sha256; cv=none; b=JYDdXWdV9+1E4j0eFFmEexskuNZE2J1CtV1XSm0HlC2y9hZKrnrTgFleTcGxMBLxQJeZZ+ Bc1BUPh828BZhIVwQLAAeNfOV5Uni7pAHeEQ63Vn3cBOa3IpojgZwAwy0py5TH2qSc3+TD GS25csM85hq85NrX/kfva5wZJ/S+Jj5XSHscTsEq6PyMbKzP7FqILJAI/XkjCKa9vOYdvX vW5doYzhTKfPF5HEoUtUVE1a4QN8oqTULSBpNDTTcc2IetBEfjr2eT/Aa114jfIxQcBUev 4Tr+ucjf7k/5Qh4qnqDlPOrqwgwy2kp3s8C81ulWzqS3/XH7tqIz3Slssy2nmg== 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 2FF06232EF for ; Mon, 22 Jan 2024 05:18:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRll3-0002Jt-95; Sun, 21 Jan 2024 23:18:01 -0500 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 1rRll0-0002JW-Mf for guix-patches@gnu.org; Sun, 21 Jan 2024 23:17:59 -0500 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 1rRll0-0004f0-EM for guix-patches@gnu.org; Sun, 21 Jan 2024 23:17:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRll4-0003uZ-6y for guix-patches@gnu.org; Sun, 21 Jan 2024 23:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v5 6/6] gnu: emacs: Disable jit compilation. References: In-Reply-To: Resent-From: Suhail Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jan 2024 04:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: cox.katherine.e+guix@gmail.com, 67260@debbugs.gnu.org, andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170589703514975 (code B ref 67260); Mon, 22 Jan 2024 04:18:02 +0000 Received: (at 67260) by debbugs.gnu.org; 22 Jan 2024 04:17:15 +0000 Received: from localhost ([127.0.0.1]:39576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRlkI-0003tS-L2 for submit@debbugs.gnu.org; Sun, 21 Jan 2024 23:17:15 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]:51527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRlkE-0003t6-58 for 67260@debbugs.gnu.org; Sun, 21 Jan 2024 23:17:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayesians.ca; s=protonmail2; t=1705897018; x=1706156218; bh=+wbzz/0iqwoWyJEvG0VeqTglfIn3dAdHNY5d2AUV2B0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=SeqdSKHmbbGIh5YkMbcB2m6n9/Qh4nF+rbWHbvbFUr8il64ghTADju8Sn3dzoiA4D dS3XuhMbu7BEiLXZSV/fNM529WhlHfAnvLeRRyy8DDv7rJ4HTFPt4OmSd6K0+65Uyi ACbevmPmRGmCuryz1n7rFdnCVxu+z6ObcTTSbipXvYuUzoPes9Ovrdr+tnknl4ZhG3 ZAaRw/FEOZRKXB9GU3jqP2KFhKUZViYixuRbGi68jpg5d0lQDPbnC641zHgR9Kp1Qe mPMsMMEsIjez7yfUL8JtVl+SQXrTomP2s5xEx0U4lvVfG1wxpL/6t044/9hVnWhc2W Jfy0eNoy38ejg== Date: Mon, 22 Jan 2024 04:16:56 +0000 Message-ID: <87sf2qator.fsf@> Feedback-ID: 38691229:user:proton 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Suhail X-ACL-Warn: , Suhail via Guix-patches From: Suhail via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.47 X-Spam-Score: -3.47 X-Migadu-Queue-Id: 2FF06232EF X-Migadu-Scanner: mx12.migadu.com X-TUID: GIXz6byEjC/P Liliana Marie Prikler writes: > * gnu/packages/patches/emacs-disable-jit-compilation.patch: New file. > * gnu/local.mk (dist_patch_DATA): Register it here. > * gnu/packages/emacs.scm (emacs-minimal)[patches]: Use it here. > --- > gnu/local.mk | 1 + > gnu/packages/emacs.scm | 3 ++- > .../emacs-disable-jit-compilation.patch | 19 +++++++++++++++++++ > 3 files changed, 22 insertions(+), 1 deletion(-) > create mode 100644 gnu/packages/patches/emacs-disable-jit-compilation.pa= tch I don't believe this patch is sufficient. It seems that the variable 'native-comp-eln-load-path may also need to be tweaked. The path to the "native-lisp" directory needs to be specified absolutely to make it not be dependent on the invocation-directory. Details below. #+begin_src bash :results replace emacs --batch --eval "(message \"%s\" (car (split-string (describe-functi= on 'describe-function) \"\n\")))" #+end_src #+RESULTS: : Type q in help window to delete it : describe-function is an autoloaded interactive byte-compiled Lisp #+begin_src bash :results replace type emacs ls ~/.guix-profile/lib/emacs/29.2/native-lisp/29.2-e9db68ab/help-fns.eln ls ~/.guix-profile/lib/emacs/29.2/native-lisp/29.2-e9db68ab/*.eln | wc -l ls ~/.guix-profile/lib/emacs/native-site-lisp/29.2-e9db68ab/*.eln | wc -l emacs --batch --eval "(message \"%s\" native-comp-eln-load-path)" #+end_src #+RESULTS: : emacs is hashed (/home/user/.guix-profile/bin/emacs) : /home/user/.guix-profile/lib/emacs/29.2/native-lisp/29.2-e9db68ab/help-fn= s.eln : 1715 : 236 : (/home/user/.emacs.d/eln-cache/ /home/user/.guix-profile/lib/emacs/native= -site-lisp ../native-lisp/) #+begin_src bash :results replace emacs --batch --eval "(message \"%s\" (progn (add-to-list 'native-comp-el= n-load-path \"/home/user/.guix-profile/lib/emacs/29.2/native-lisp\") (car (= split-string (describe-function 'describe-function) \"\n\"))))" #+end_src #+RESULTS: : Type q in help window to delete it : describe-function is an autoloaded interactive native-compiled Lisp --=20 Suhail This email is not an offer capable of acceptance, does not evidence an intention to enter into an agreement, has no operative effect until a definitive agreement is signed in writing by both parties, and that no party should act in reliance on the email or any representations of the sender until a definitive agreement is signed in writing by both parties.