GNU bug report logs -
#52833
native compilation fails on teco.el from MELPA
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52833 in the body.
You can then email your comments to 52833 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Mon, 27 Dec 2021 20:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mark Kennedy <mark.t.kennedy <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 27 Dec 2021 20:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
from a fresh build:
src/emacs -Q -batch -l comp -f batch-native-compile
/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el
Debugger entered--Lisp error: (args-out-of-range
"/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el" "d" 1)
signal(args-out-of-range
("/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el" "d" 1))
comp--native-compile("/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el")
batch-native-compile()
command-line-1(("-l" "comp" "-f" "batch-native-compile"
"/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el"))
command-line()
normal-top-level()
In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.31,
cairo version 1.17.4)
of 2021-12-27 built on x1.mofjwutu.com
Repository revision: 8df3a71c526c28b17926f7b56860f9798ab6d933
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12014000
System Description: Fedora Linux 35 (Workstation Edition)
Configured using:
'configure --with-native-compilation'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PNG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE
XIM XPM GTK3 ZLIB
Important settings:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=none
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
indent-guide-mode: t
subword-mode: t
save-place-mode: t
desktop-save-mode: t
global-display-line-numbers-mode: t
display-line-numbers-mode: t
beacon-mode: t
pcre-mode: t
dynamic-completion-mode: t
msb-mode: t
winner-mode: t
savehist-mode: t
which-function-mode: t
global-page-break-lines-mode: t
page-break-lines-mode: t
global-hi-lock-mode: t
hi-lock-mode: t
icomplete-mode: t
dap-tooltip-mode: t
dap-ui-many-windows-mode: t
dap-ui-controls-mode: t
dap-ui-mode: t
which-key-mode: t
treemacs-filewatch-mode: t
treemacs-follow-mode: t
treemacs-git-mode: t
treemacs-fringe-indicator-mode: t
dap-auto-configure-mode: t
dap-mode: t
yas-minor-mode: t
flycheck-mode: t
override-global-mode: t
hl-todo-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
tab-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
size-indication-mode: t
column-number-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
Load-path shadows:
/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco hides
/usr/local/share/emacs/site-lisp/teco
/home/mtk/.emacs.d/elpa/transient-20211226.738/transient hides
/usr/local/share/emacs/29.0.50/lisp/transient
Features:
(shadow sort emacsbug jka-compr mail-extr smtpmail sendmail cl-print
debug backtrace cus-start misearch multi-isearch hippie-exp shortdoc
help-fns radix-tree teco bs add-log mm-archive message yank-media dired
dired-loaddefs rfc822 mml mml-sec epa derived gnus-util mailabbrev
gmm-utils mm-decode mm-bodies mm-encode lsp-headerline lsp-icons
bug-reference url-http url-gw url-cache url-auth mule-util vc-git
diff-mode vc-dispatcher lsp-diagnostics lsp-modeline company-oddmuse
company-keywords company-etags etags fileloop generator company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml
lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v
lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf
lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-perl
lsp-ocaml lsp-nix lsp-nim lsp-nginx lsp-markdown lsp-lua lsp-kotlin
lsp-json lsp-javascript lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-go
lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang
lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp
gnutls lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tokens lsp-clangd
dom lsp-beancount lsp-bash lsp-angular lsp-ada lsp-actionscript ccls
ccls-member-hierarchy ccls-inheritance-hierarchy ccls-call-hierarchy
ccls-tree ccls-code-lens ccls-semantic-highlight ccls-common scala-mode
scala-mode-prettify-symbols scala-mode-imenu scala-mode-map
scala-mode-fontlock scala-mode-indent scala-mode-paragraph
scala-mode-syntax scala-mode-lib time-date disp-table indent-guide
hlinum linum cap-words superword subword saveplace desktop frameset
display-line-numbers beacon pcre2el rxt re-builder completion msb winner
savehist which-func page-break-lines hi-lock avoid icomplete server
lsp-pyright dap-mouse dap-ui gdb-mi gud bui bui-list bui-info bui-entry
bui-core bui-history bui-button bui-utils cus-edit pp cus-load dap-java
lsp-java request mailheader autorevert mail-utils cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
which-key lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu
lsp-ui-peek lsp-ui-sideline lsp-ui-util face-remap company hydra
flycheck-package package-lint let-alist finder finder-inf projectile
lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr grep ibuf-ext ibuffer ibuffer-loaddefs lsp-metals view
lsp-metals-treeview lsp-treemacs lsp-treemacs-themes treemacs
treemacs-header-line treemacs-compatibility treemacs-mode
treemacs-interface treemacs-extensions treemacs-mouse-interface
treemacs-tags treemacs-persistence treemacs-filewatch-mode
treemacs-follow-mode treemacs-rendering treemacs-async
treemacs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator treemacs-scope pulse treemacs-faces
treemacs-icons treemacs-themes treemacs-core-utils pfuture hl-line
treemacs-logging treemacs-customization treemacs-macros
lsp-metals-protocol lsp-lens dap-mode dap-launch posframe dap-overlays
lsp-mode lsp-protocol aws-snippets go-snippets yasnippet-snippets
yasnippet xref project tree-widget wid-edit spinner pcase network-stream
puny nsm rmc markdown-mode color thingatpt noutline outline lv inline
imenu ht filenotify ewoc epg rfc6068 epg-config compile
text-property-search comint ring flycheck-eldev flycheck ansi-color
find-func use-package-bind-key bind-key easy-mmode importmagic f dash s
epc ctable edmacro kmacro concurrent deferred hl-todo use-package-ensure
ialign align use-package-core tab-line comp comp-cstr warnings cl-extra
help-mode trim page-menu cperl-mode facemenu rx cl advice info package
browse-url url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars seq gv subr-x byte-opt bytecomp
byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile emacs)
Memory information:
((conses 16 2033024 1757529)
(symbols 48 66451 1630)
(strings 32 383718 254293)
(string-bytes 1 13170950)
(vectors 16 191556)
(vector-slots 8 3613222 864180)
(floats 8 900 4896)
(intervals 56 211261 67849)
(buffers 992 38))
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Tue, 28 Dec 2021 15:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 52833 <at> debbugs.gnu.org (full text, mbox):
Mark Kennedy <mark.t.kennedy <at> gmail.com> writes:
> from a fresh build:
>
> src/emacs -Q -batch -l comp -f batch-native-compile /home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el
> Debugger entered--Lisp error: (args-out-of-range "/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el" "d" 1)
> signal(args-out-of-range ("/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el" "d" 1))
> comp--native-compile("/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el")
> batch-native-compile()
> command-line-1(("-l" "comp" "-f" "batch-native-compile" "/home/mtk/.emacs.d/elpa/teco-20200707.2309/teco.el"))
> command-line()
> normal-top-level()
Hi Mark,
having a look here, the trouble is that the compiler is presented with a
function named "teco:type-1-\^M". The ^M is the trigger for the bug
while converting the lisp function name in a valid symbol name for the C
toolchain. The fix should cover all characters below 15 that might
appear in a symbol.
I've installed a fix on master as e7699bf290, please have a look if it
works for you as well.
Maintainers will tell us if we want to backport it on emacs-28 as well
(I think would be worth).
Thanks
Andrea
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Tue, 28 Dec 2021 15:11:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52833 <at> debbugs.gnu.org (full text, mbox):
Andrea Corallo <akrl <at> sdf.org> writes:
> I've installed a fix on master as e7699bf290, please have a look if it
> works for you as well.
>
> Maintainers will tell us if we want to backport it on emacs-28 as well
> (I think would be worth).
If it doesn't lead to any regressions on master, backporting it to
emacs-28 sounds like a good idea to me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Tue, 28 Dec 2021 15:22:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 52833 <at> debbugs.gnu.org (full text, mbox):
> Resent-From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
> Resent-CC: bug-gnu-emacs <at> gnu.org
> Resent-Sender: help-debbugs <at> gnu.org
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Tue, 28 Dec 2021 16:09:52 +0100
> Cc: Mark Kennedy <mark.t.kennedy <at> gmail.com>, 52833 <at> debbugs.gnu.org
>
> Andrea Corallo <akrl <at> sdf.org> writes:
>
> > I've installed a fix on master as e7699bf290, please have a look if it
> > works for you as well.
> >
> > Maintainers will tell us if we want to backport it on emacs-28 as well
> > (I think would be worth).
>
> If it doesn't lead to any regressions on master, backporting it to
> emacs-28 sounds like a good idea to me.
Agreed, let's revisit this in a week or two.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Tue, 28 Dec 2021 19:09:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 52833 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
that fix is working well for me. thanks for the quick turn around. and i
hope you don't get tired of hearing it but native compilation is enormously
*fun* (and useful)!
/mark
On Tue, Dec 28, 2021 at 10:21 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Resent-From: Lars Ingebrigtsen <larsi <at> gnus.org>
> > Original-Sender: "Debbugs-submit" <
> debbugs-submit-bounces <at> debbugs.gnu.org>
> > Resent-CC: bug-gnu-emacs <at> gnu.org
> > Resent-Sender: help-debbugs <at> gnu.org
> > From: Lars Ingebrigtsen <larsi <at> gnus.org>
> > Date: Tue, 28 Dec 2021 16:09:52 +0100
> > Cc: Mark Kennedy <mark.t.kennedy <at> gmail.com>, 52833 <at> debbugs.gnu.org
> >
> > Andrea Corallo <akrl <at> sdf.org> writes:
> >
> > > I've installed a fix on master as e7699bf290, please have a look if it
> > > works for you as well.
> > >
> > > Maintainers will tell us if we want to backport it on emacs-28 as well
> > > (I think would be worth).
> >
> > If it doesn't lead to any regressions on master, backporting it to
> > emacs-28 sounds like a good idea to me.
>
> Agreed, let's revisit this in a week or two.
>
> Thanks.
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Tue, 28 Dec 2021 21:38:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 52833 <at> debbugs.gnu.org (full text, mbox):
Mark Kennedy <mark.t.kennedy <at> gmail.com> writes:
> that fix is working well for me. thanks for the quick turn around. and i hope you don't get tired of hearing it but
> native compilation is enormously *fun* (and useful)!
> /mark
Sure not, that was very useful.
Thanks for reporting
Andrea
Added tag(s) pending.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 29 Dec 2021 15:42:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Sat, 15 Jan 2022 12:32:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 52833 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> > I've installed a fix on master as e7699bf290, please have a look if it
>> > works for you as well.
>> >
>> > Maintainers will tell us if we want to backport it on emacs-28 as well
>> > (I think would be worth).
>>
>> If it doesn't lead to any regressions on master, backporting it to
>> emacs-28 sounds like a good idea to me.
>
> Agreed, let's revisit this in a week or two.
It's now been two weeks, so should this be backported now? (I can't
recall seeing any regressions, but I haven't paid that much attention
the past few weeks.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52833
; Package
emacs
.
(Sat, 15 Jan 2022 12:47:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 52833 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: mark.t.kennedy <at> gmail.com, 52833 <at> debbugs.gnu.org, akrl <at> sdf.org
> Date: Sat, 15 Jan 2022 13:31:31 +0100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> > I've installed a fix on master as e7699bf290, please have a look if it
> >> > works for you as well.
> >> >
> >> > Maintainers will tell us if we want to backport it on emacs-28 as well
> >> > (I think would be worth).
> >>
> >> If it doesn't lead to any regressions on master, backporting it to
> >> emacs-28 sounds like a good idea to me.
> >
> > Agreed, let's revisit this in a week or two.
>
> It's now been two weeks, so should this be backported now?
I won't object to backporting it.
> (I can't recall seeing any regressions, but I haven't paid that much
> attention the past few weeks.)
Neither did I.
Reply sent
to
Andrea Corallo <akrl <at> sdf.org>
:
You have taken responsibility.
(Mon, 17 Jan 2022 11:00:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Mark Kennedy <mark.t.kennedy <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 17 Jan 2022 11:00:03 GMT)
Full text and
rfc822 format available.
Message #33 received at 52833-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Lars Ingebrigtsen <larsi <at> gnus.org>
>> Cc: mark.t.kennedy <at> gmail.com, 52833 <at> debbugs.gnu.org, akrl <at> sdf.org
>> Date: Sat, 15 Jan 2022 13:31:31 +0100
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> > I've installed a fix on master as e7699bf290, please have a look if it
>> >> > works for you as well.
>> >> >
>> >> > Maintainers will tell us if we want to backport it on emacs-28 as well
>> >> > (I think would be worth).
>> >>
>> >> If it doesn't lead to any regressions on master, backporting it to
>> >> emacs-28 sounds like a good idea to me.
>> >
>> > Agreed, let's revisit this in a week or two.
>>
>> It's now been two weeks, so should this be backported now?
>
> I won't object to backporting it.
>
>> (I can't recall seeing any regressions, but I haven't paid that much
>> attention the past few weeks.)
>
> Neither did I.
Hi all,
I then pushed the backport into emacs-28 as 9e64aeff40.
Closing this.
Thanks!
Andrea
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 14 Feb 2022 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.