From unknown Wed Aug 20 05:16:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73215: 14.0.5; What about excluding .dir-locals.el from GNU ELPA tarballs Resent-From: Lin Jian Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Thu, 12 Sep 2024 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73215 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 73215@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172618087727300 (code B ref -1); Thu, 12 Sep 2024 22:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Sep 2024 22:41:17 +0000 Received: from localhost ([127.0.0.1]:42099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sosV3-00076F-1T for submit@debbugs.gnu.org; Thu, 12 Sep 2024 18:41:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:51370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sosV1-000767-0q for submit@debbugs.gnu.org; Thu, 12 Sep 2024 18:41:16 -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 1sosUr-0003F5-M8 for bug-auctex@gnu.org; Thu, 12 Sep 2024 18:41:06 -0400 Received: from mail.linj.tech ([5.255.109.209]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sosUn-0001QS-IP for bug-auctex@gnu.org; Thu, 12 Sep 2024 18:41:05 -0400 From: Lin Jian DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linj.tech; s=mail; t=1726180858; bh=ekF+P1sOFTdorn/GLVsPMrWZrT502x9xaJMnBzgJL84=; h=From:To:Subject:Date; b=fFIf8FGFPRqTSOJ73Ygcf/UCcm16Pr/k4pRGohimPoJV1lXNd47RSdUf6tKEBVCE4 mciAh8mLWdECpcUTEwJNE4l62LmPhsDodsZCZaIxVSL2IjDW6YQFVtDbQ5JWnbw5F3 EYD7bTRvzMY9KuhM+BtRgvgT4DPIRfqc6dxAhcbQqQK+/CjfM3I4PHhCH/njjPdCjr YnFzPdGyJ2VjdaRIZuLgbeHzdd/68i2reQvqnTm6+zubFhRAnWcFHspdQSbLpnMcur mC2R0Cm4y8ctOIq2pw77ZtLOCo8udZ6nmyElPI5QYUvLyYMq8EXAazJaH/AQOIFRMf +v6L6TeHP5Exg== Date: Fri, 13 Sep 2024 06:40:44 +0800 Message-ID: <875xr0xzpv.fsf@linj.tech> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=5.255.109.209; envelope-from=me@linj.tech; helo=mail.linj.tech X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Dear AUCTeX maintainers, Currently, the .dir-locals.el file is included in the GNU ELPA tarball[1], which causes this compilation error[2] when doing AOT native compilation for Emacs lisp packages in NixOS. Error: wrong-type-argument ("/nix/store/-emacs-auctex-14.0.6/share/emacs/site-lisp/elpa/auctex-14.0.6/.dir-locals.el" proper-list-p (log-edit-font-lock-gnu-style . t)) mapbacktrace(#f(compiled-function (evald func args flags) #)) debug-early-backtrace() debug-early(error (wrong-type-argument "/nix/store/-emacs-auctex-14.0.6/share/emacs/site-lisp/elpa/auctex-14.0.6/.dir-locals.el" proper-list-p (log-edit-font-lock-gnu-style . t))) signal(wrong-type-argument ("/nix/store/-emacs-auctex-14.0.6/share/emacs/site-lisp/elpa/auctex-14.0.6/.dir-locals.el" proper-list-p (log-edit-font-lock-gnu-style . t))) comp--native-compile("/nix/store/-emacs-auctex-14.0.6/share/emacs/site-lisp/elpa/auctex-14.0.6/.dir-locals.el") batch-native-compile() command-line-1(("--eval" "(setq large-file-warning-threshold nil)" "--eval" "(setq byte-compile-error-on-warn nil)" "-f" "batch-native-compile" "/nix/store/-emacs-auctex-14.0.6/share/emacs/site-lisp/elpa/auctex-14.0.6/.dir-locals.el")) command-line() normal-top-level() Wrong type argument: "/nix/store/-emacs-auctex-14.0.6/share/emacs/site-lisp/elpa/auctex-14.0.6/.dir-locals.el", proper-list-p, (# . #) We can workaround this by skipping native compilation for .dir-locals.el. However, I do not think .dir-locals.el has to be included in the GNU ELPA tarball. In addition, MELPA ignores[3] that file by default. Could you exclude .dir-locals.el from GNU ELPA tarball? FYI, :ignored-files[4] of GNU ELPA specification can be used to do this. [1]: https://elpa.gnu.org/packages/auctex-14.0.6.tar [2]: https://hydra.nixos.org/build/271252219/nixlog/1 [3]: https://github.com/melpa/melpa/blob/0c608bf895a3b5230b781662510e1326af17ea13/README.md?plain=1#L169-L170 [4]: https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/README?id=51936a29b693bfc5f4f92e365b485a7c547b2ac1#n175 Best wishes, Lin Jian From unknown Wed Aug 20 05:16:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73215: 14.0.5; What about excluding .dir-locals.el from GNU ELPA tarballs Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 13 Sep 2024 06:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73215 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Lin Jian Cc: 73215@debbugs.gnu.org Received: via spool by 73215-submit@debbugs.gnu.org id=B73215.172620726023254 (code B ref 73215); Fri, 13 Sep 2024 06:01:02 +0000 Received: (at 73215) by debbugs.gnu.org; 13 Sep 2024 06:01:00 +0000 Received: from localhost ([127.0.0.1]:42215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sozMa-000630-Hy for submit@debbugs.gnu.org; Fri, 13 Sep 2024 02:01:00 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:58858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sozMY-00062o-Em for 73215@debbugs.gnu.org; Fri, 13 Sep 2024 02:00:59 -0400 Received: from localhost (42-144-34-247.rev.home.ne.jp [42.144.34.247]) by smtp1a.inetd.co.jp (Postfix) with ESMTPSA id E33F65C; Fri, 13 Sep 2024 15:00:46 +0900 (JST) From: Ikumi Keita In-reply-to: <875xr0xzpv.fsf@linj.tech> References: <875xr0xzpv.fsf@linj.tech> Comments: In-reply-to Lin Jian via bug-auctex via Bug reporting list for AUCTeX message dated "Fri, 13 Sep 2024 06:40:44 +0800." X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 29.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6029.1726207245.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Sep 2024 15:00:45 +0900 Message-ID: <6032.1726207245@localhost> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Lin, >>>>> Lin Jian via bug-auctex via Bug reporting list for AUCTeX Currently, the .dir-locals.el file is included in the GNU ELPA > tarball[1], which causes this compilation error[2] when doing AOT native > compilation for Emacs lisp packages in NixOS. > We can workaround this by skipping native compilation for > .dir-locals.el. However, I do not think .dir-locals.el has to be > included in the GNU ELPA tarball. In addition, MELPA ignores[3] that > file by default. > Could you exclude .dir-locals.el from GNU ELPA tarball? FYI, > :ignored-files[4] of GNU ELPA specification can be used to do this. Thanks for your suggestion. I adapted .elpaignore instead to remove obsolete entries at the same time. I'll close this bug. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 13 02:01:39 2024 Received: (at control) by debbugs.gnu.org; 13 Sep 2024 06:01:39 +0000 Received: from localhost ([127.0.0.1]:42219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sozNC-00064l-Tc for submit@debbugs.gnu.org; Fri, 13 Sep 2024 02:01:39 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:58862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sozNB-00064b-6q for control@debbugs.gnu.org; Fri, 13 Sep 2024 02:01:37 -0400 Received: from localhost (42-144-34-247.rev.home.ne.jp [42.144.34.247]) by smtp1a.inetd.co.jp (Postfix) with ESMTPSA id 8A1565C for ; Fri, 13 Sep 2024 15:01:27 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #73215 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6078.1726207286.1@localhost> Date: Fri, 13 Sep 2024 15:01:26 +0900 Message-ID: <6079.1726207286@localhost> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 73215 quit