GNU bug report logs -
#73215
14.0.5; What about excluding .dir-locals.el from GNU ELPA tarballs
Previous Next
Reported by: Lin Jian <me <at> linj.tech>
Date: Thu, 12 Sep 2024 22:42:02 UTC
Severity: normal
Found in version 14.0.5
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73215 in the body.
You can then email your comments to 73215 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#73215
; Package
auctex
.
(Thu, 12 Sep 2024 22:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lin Jian <me <at> linj.tech>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 12 Sep 2024 22:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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/<hash>-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) #<bytecode -0xf42c55d2510e41>))
debug-early-backtrace()
debug-early(error (wrong-type-argument "/nix/store/<hash>-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/<hash>-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/<hash>-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/<hash>-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/<hash>-emacs-auctex-14.0.6/share/emacs/site-lisp/elpa/auctex-14.0.6/.dir-locals.el", proper-list-p, (#<symbol log-edit-font-lock-gnu-style at 424> . #<symbol t at 455>)
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
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#73215
; Package
auctex
.
(Fri, 13 Sep 2024 06:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 73215 <at> debbugs.gnu.org (full text, mbox):
Hi Lin,
>>>>> Lin Jian via bug-auctex via Bug reporting list for AUCTeX <bug-auctex <at> gnu.> 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
bug closed, send any further explanations to
73215 <at> debbugs.gnu.org and Lin Jian <me <at> linj.tech>
Request was from
Ikumi Keita <ikumi <at> ikumi.que.jp>
to
control <at> debbugs.gnu.org
.
(Fri, 13 Sep 2024 06:02:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 Oct 2024 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 312 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.