Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol’s value as variable is void: evil-evilified-state-map #16619

Open
c02y opened this issue Oct 13, 2024 · 19 comments
Open

Symbol’s value as variable is void: evil-evilified-state-map #16619

c02y opened this issue Oct 13, 2024 · 19 comments

Comments

@c02y
Copy link

c02y commented Oct 13, 2024

Unable to use SPC h I since emacs starts with Error message:

⛔ Error (use-package): Cannot load evil-evilified-state
⛔ Warning (initialization): An error occurred while loading ‘/home/chz/.emacs.d/init.el’:

Symbol's value as variable is void: evil-evilified-state-map

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.

emacs version: emacs-native-comp-git 31.0.50.175165-1
OS: Archlinux
Already tried to update all the packages but failed at the end because of evil-evilified-state-map error

This happens when I tried to upgrade my emacs package from emacs-git-30.0.50.166798-2 to emacs-native-comp-git 31.0.50.175165-1

I've tried emacs-nativecomp 29.4-3, it is working fine.

@smile13241324
Copy link
Collaborator

@sunlin7 can you have a look at this ticket? I remember you were already on Emacs 31. Maybe there is an incompatibility in our code.

@sunlin7
Copy link
Contributor

sunlin7 commented Oct 17, 2024

@smile13241324 Yes, I'm on Emacs 31 with native-comp enabled.
@c02y Could you start emacs with --debug-init then should be able to get the backtrack, that will more helpful, thanks.

@c02y
Copy link
Author

c02y commented Oct 17, 2024

I use ~/.emacs.d/core/templates/.spacemacs.template as ~/.spacemacs, here is the emacs --debug-init:

Debugger entered--Lisp error: (void-variable evil-evilified-state-map)
  (define-key evil-evilified-state-map (kbd dotspacemacs-leader-key) spacemacs-default-map)
  spacemacs-bootstrap/init-evil-evilified-state()
  funcall(spacemacs-bootstrap/init-evil-evilified-state)
  (let* ((pkg-name (eieio-oref pkg ':name)) (owner (car (eieio-oref pkg ':owners)))) (spacemacs-buffer/message (format "%S -> init (%S)..." pkg-name owner)) (funcall (intern (format "%S/init-%S" owner pkg-name))))
  configuration-layer//configure-package(#<cfgl-package cfgl-package-1e787cfd13bf>)
  mapc(configuration-layer//configure-package (#<cfgl-package cfgl-package-1e787cfd13c2> #<cfgl-package cfgl-package-1e787cfd13bf> #<cfgl-package cfgl-package-1e787cfd1c4a> #<cfgl-package cfgl-package-1e787cfd1c67> #<cfgl-package cfgl-package-1e787cfd1dc9>))
  (let (packages-to-configure) (let ((tail packages)) (while tail (let ((pkg-name (car tail))) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg ...) (spacemacs-buffer/message ...)) ((and ... ...) (spacemacs-buffer/message ...)) ((null ...) (spacemacs-buffer/message ...)) ((not ...) (spacemacs-buffer/message ...)) ((not ...) (spacemacs-buffer/message ...)) (t (let ... ...) (if ... nil ...) (cond ... ...)))) (setq tail (cdr tail))))) (setq packages-to-configure (reverse packages-to-configure)) (mapc 'configuration-layer//configure-package packages-to-configure) (mapc 'configuration-layer//post-configure-package packages-to-configure))
  configuration-layer//configure-packages-2((dotenv-mode evil-evilified-state holy-mode hybrid-mode pcre2el which-key-posframe))
  configuration-layer//configure-packages((abbrev ace-jump-helm-line ace-link ace-window aggressive-indent all-the-icons ansi-colors archive-mode async auto-compile auto-highlight-symbol avy bind-key bind-map bookmark buffer-menu centered-cursor-mode clean-aindent-mode column-enforce-mode compile conf-mode cus-edit dash debug default-helm-config default-ivy-config default-org-config define-word desktop devdocs diminish dired dired-quick-sort dired-x disable-mouse display-fill-column-indicator display-line-numbers doc-view doom-modeline dotenv-mode drag-stuff dumb-jump edebug ediff editorconfig eldoc electric-indent-mode elisp-def elisp-demos elisp-slime-nav ...))
  configuration-layer//load()
  (cond (changed-since-last-dump-p (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message "Layer list has changed since last dump.") (configuration-layer//dump-emacs)))) (spacemacs-force-dump (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "--force-dump passed on the command line or configuration has " "been reloaded, forcing a redump.")) (configuration-layer//dump-emacs)))) ((spacemacs-is-dumping-p) (configuration-layer//load)) ((and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) (configuration-layer/message "Running from a dumped file. Skipping the loading process!")) (t (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "Layer list has not changed since last time. " "Skipping dumping process!"))))))
  (let (changed-since-last-dump-p) (if (file-exists-p configuration-layer--last-dotspacemacs-configuration-layers-file) (progn (configuration-layer/load-file configuration-layer--last-dotspacemacs-configuration-layers-file))) (let ((layers dotspacemacs-configuration-layers)) (progn (if "Calling dotfile layers..." (progn (spacemacs-buffer/message "Calling dotfile layers..."))) (if (fboundp 'dotspacemacs/layers) (progn (condition-case err (dotspacemacs/layers) ((debug error) (configuration-layer//increment-error-count) (spacemacs-buffer/append ... t)))))) (setq dotspacemacs--configuration-layers-saved dotspacemacs-configuration-layers) (setq changed-since-last-dump-p (not (equal layers dotspacemacs-configuration-layers))) (spacemacs/dump-vars-to-file '(dotspacemacs-configuration-layers) configuration-layer--last-dotspacemacs-configuration-layers-file)) (cond (changed-since-last-dump-p (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message "Layer list has changed since last dump.") (configuration-layer//dump-emacs)))) (spacemacs-force-dump (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "--force-dump passed on the command line or configuration has " "been reloaded, forcing a redump.")) (configuration-layer//dump-emacs)))) ((spacemacs-is-dumping-p) (configuration-layer//load)) ((and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) (configuration-layer/message "Running from a dumped file. Skipping the loading process!")) (t (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "Layer list has not changed since last time. " "Skipping dumping process!")))))))
  configuration-layer/load()
  (let ((please-do-not-disable-file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start)))))
  (if (not (version<= spacemacs-emacs-min-version emacs-version)) (error (concat "Your version of Emacs (%s) is too old. " "Spacemacs requires Emacs version %s or above.") emacs-version spacemacs-emacs-min-version) (let ((please-do-not-disable-file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start))))))
  load-with-code-conversion("/home/chz/.emacs.d/init.el" "/home/chz/.emacs.d/init.el" t t)
  load("/home/chz/.emacs.d/init" noerror nomessage)
  #f(compiled-function () #<bytecode 0x17fc20916b449011>)()
  #f(compiled-function () #<bytecode -0x4307d7bb01d2857>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x4307d7bb01d2857>) (error) startup--debug)
  startup--load-user-init-file(#f(compiled-function () #<bytecode -0xb5ba406f98c937f>) #f(compiled-function () #<bytecode 0x731968ef8c7b19b>) t)
  command-line()
  normal-top-level()

@sunlin7
Copy link
Contributor

sunlin7 commented Oct 17, 2024

The evil-evilified-state-map is defined in macro evil-define-state in evil-evilified-state.el line 60,


The function spacemacs-bootstrap/init-evil-evilified-state will use the evil-evilified-state package, then define the key
(define-key evil-evilified-state-map (kbd dotspacemacs-leader-key) spacemacs-default-map).

And it maybe caused by some *.elc files from mismatched version of Emacs.

Could you remove all the *.elc files and try again? (To find all *.elc used by Emacs can be done with "strace").

Maybe related ticket: #16514

@c02y
Copy link
Author

c02y commented Oct 18, 2024

I did these, should be more enough than remove all the *.elc files

  1. remove ~/.emacs.d and ~/.spacemacs.env
  2. start fresh install using git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d -b develop,
  3. then cp ~/.emacs.d/core/templates/.spacemacs.template ~/.spacemacs
  4. emacs to install the package, it failed
  5. emacs --debug-init

Here is the emacs --debug-init result:

Debugger entered--Lisp error: (void-variable evil-evilified-state-map)
  (define-key evil-evilified-state-map (kbd dotspacemacs-leader-key) spacemacs-default-map)
  spacemacs-bootstrap/init-evil-evilified-state()
  funcall(spacemacs-bootstrap/init-evil-evilified-state)
  (let* ((pkg-name (eieio-oref pkg ':name)) (owner (car (eieio-oref pkg ':owners)))) (spacemacs-buffer/message (format "%S -> init (%S)..." pkg-name owner)) (funcall (intern (format "%S/init-%S" owner pkg-name))))
  configuration-layer//configure-package(#<cfgl-package cfgl-package-1e4e5735df2e>)
  mapc(configuration-layer//configure-package (#<cfgl-package cfgl-package-1e4e5735df35> #<cfgl-package cfgl-package-1e4e5735df2e> #<cfgl-package cfgl-package-1e4e5735c4ed> #<cfgl-package cfgl-package-1e4e5735c4f6> #<cfgl-package cfgl-package-1e4e5735c4c0>))
  (let (packages-to-configure) (let ((tail packages)) (while tail (let ((pkg-name (car tail))) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg ...) (spacemacs-buffer/message ...)) ((and ... ...) (spacemacs-buffer/message ...)) ((null ...) (spacemacs-buffer/message ...)) ((not ...) (spacemacs-buffer/message ...)) ((not ...) (spacemacs-buffer/message ...)) (t (let ... ...) (if ... nil ...) (cond ... ...)))) (setq tail (cdr tail))))) (setq packages-to-configure (reverse packages-to-configure)) (mapc 'configuration-layer//configure-package packages-to-configure) (mapc 'configuration-layer//post-configure-package packages-to-configure))
  configuration-layer//configure-packages-2((dotenv-mode evil-evilified-state holy-mode hybrid-mode pcre2el which-key-posframe))
  configuration-layer//configure-packages((abbrev ace-jump-helm-line ace-link ace-window aggressive-indent all-the-icons ansi-colors archive-mode async auto-compile auto-highlight-symbol avy bind-key bind-map bookmark buffer-menu centered-cursor-mode clean-aindent-mode column-enforce-mode compile conf-mode cus-edit dash debug default-helm-config default-ivy-config default-org-config define-word desktop devdocs diminish dired dired-quick-sort dired-x disable-mouse display-fill-column-indicator display-line-numbers doc-view doom-modeline dotenv-mode drag-stuff dumb-jump edebug ediff editorconfig eldoc electric-indent-mode elisp-def elisp-demos elisp-slime-nav ...))
  configuration-layer//load()
  (cond (changed-since-last-dump-p (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message "Layer list has changed since last dump.") (configuration-layer//dump-emacs)))) (spacemacs-force-dump (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "--force-dump passed on the command line or configuration has " "been reloaded, forcing a redump.")) (configuration-layer//dump-emacs)))) ((spacemacs-is-dumping-p) (configuration-layer//load)) ((and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) (configuration-layer/message "Running from a dumped file. Skipping the loading process!")) (t (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "Layer list has not changed since last time. " "Skipping dumping process!"))))))
  (let (changed-since-last-dump-p) (if (file-exists-p configuration-layer--last-dotspacemacs-configuration-layers-file) (progn (configuration-layer/load-file configuration-layer--last-dotspacemacs-configuration-layers-file))) (let ((layers dotspacemacs-configuration-layers)) (progn (if "Calling dotfile layers..." (progn (spacemacs-buffer/message "Calling dotfile layers..."))) (if (fboundp 'dotspacemacs/layers) (progn (condition-case err (dotspacemacs/layers) ((debug error) (configuration-layer//increment-error-count) (spacemacs-buffer/append ... t)))))) (setq dotspacemacs--configuration-layers-saved dotspacemacs-configuration-layers) (setq changed-since-last-dump-p (not (equal layers dotspacemacs-configuration-layers))) (spacemacs/dump-vars-to-file '(dotspacemacs-configuration-layers) configuration-layer--last-dotspacemacs-configuration-layers-file)) (cond (changed-since-last-dump-p (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message "Layer list has changed since last dump.") (configuration-layer//dump-emacs)))) (spacemacs-force-dump (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "--force-dump passed on the command line or configuration has " "been reloaded, forcing a redump.")) (configuration-layer//dump-emacs)))) ((spacemacs-is-dumping-p) (configuration-layer//load)) ((and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) (configuration-layer/message "Running from a dumped file. Skipping the loading process!")) (t (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "Layer list has not changed since last time. " "Skipping dumping process!")))))))
  configuration-layer/load()
  (let ((please-do-not-disable-file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start)))))
  (if (not (version<= spacemacs-emacs-min-version emacs-version)) (error (concat "Your version of Emacs (%s) is too old. " "Spacemacs requires Emacs version %s or above.") emacs-version spacemacs-emacs-min-version) (let ((please-do-not-disable-file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start))))))
  load-with-code-conversion("/home/chz/.emacs.d/init.el" "/home/chz/.emacs.d/init.el" t t)
  load("/home/chz/.emacs.d/init" noerror nomessage)
  #f(compiled-function () #<bytecode 0xc9871bf1bda9011>)()
  #f(compiled-function () #<bytecode -0x4307d7bb01d2857>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x4307d7bb01d2857>) (error) startup--debug)
  startup--load-user-init-file(#f(compiled-function () #<bytecode -0x195817f2a5c1b37f>) #f(compiled-function () #<bytecode 0x731968ef8c7b19b>) t)
  command-line()
  normal-top-level()

It is basically the same as the old one.

@sunlin7
Copy link
Contributor

sunlin7 commented Oct 19, 2024

Any error or warnings before this? And what's the Emacs git revision? I'm going to check out that version to give a try.

@c02y
Copy link
Author

c02y commented Oct 19, 2024

No, error message is in the beginning of the post when starting Emacs with emacs, no other error or warning.

version info is also in there,

  • emacs-git-30.0.50.166798-2 is working fine
  • emacs-nativecomp 29.4-3 is working fine
  • emacs-native-comp-git 31.0.50.175165-1 is the wrong version

I installed emacs-native-comp-git 31.0.50.175165-1 package from archlinuxcn repo of Archlinux

This is the detailed version of emacs-native-comp-git 31.0.50.175165-1

$ emacs --version
GNU Emacs 31.0.50
Development version 7d9513f9c48b on master branch; build date 2024-10-12.
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

@c02y
Copy link
Author

c02y commented Oct 19, 2024

UPDATE:

There is a new version emacs-native-comp-git 31.0.50.175232-1, the error is gone, I think this issue has been fixed.

$ emacs --version
GNU Emacs 31.0.50
Development version 1854f2751e3f on master branch; build date 2024-10-19.
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

@c02y c02y closed this as completed Oct 19, 2024
@smile13241324
Copy link
Collaborator

@sunlin7 thank you very much for having a look into this 💜.

@sunlin7
Copy link
Contributor

sunlin7 commented Oct 19, 2024

Glad to hear that. Good luck!

@BobenHome
Copy link

UPDATE:

There is a new version emacs-native-comp-git 31.0.50.175232-1, the error is gone, I think this issue has been fixed.

$ emacs --version
GNU Emacs 31.0.50
Development version 1854f2751e3f on master branch; build date 2024-10-19.
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

No, I also occurred.
My version is:
GNU Emacs 31.0.50
Development version 2c062dfdf509 on master branch; build date 2024-10-30.
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

And my error is:
⛔ Error (use-package): Cannot load evil-evilified-state
⛔ Warning (initialization): An error occurred while loading ‘/home/spacex/.emacs.d/init.el’:

Symbol's value as variable is void: evil-evilified-state-map

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.

@c02y
Copy link
Author

c02y commented Oct 31, 2024

UPDATE:
There is a new version emacs-native-comp-git 31.0.50.175232-1, the error is gone, I think this issue has been fixed.

$ emacs --version
GNU Emacs 31.0.50
Development version 1854f2751e3f on master branch; build date 2024-10-19.
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

No, I also occurred. My version is: GNU Emacs 31.0.50 Development version 2c062dfdf509 on master branch; build date 2024-10-30. Copyright (C) 2024 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.

And my error is: ⛔ Error (use-package): Cannot load evil-evilified-state ⛔ Warning (initialization): An error occurred while loading ‘/home/spacex/.emacs.d/init.el’:

Symbol's value as variable is void: evil-evilified-state-map

To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.

I already switched to emacs-nativecomp 29.4-3 which is a stable version without -git.

Have you tried to delete elc files or did a fresh installation of spacemacs? If you have, since your version Development version 2c062dfdf509 on master branch; build date 2024-10-30 is newer than mine Development version 1854f2751e3f on master branch; build date 2024-10-19., maybe the new version reverted the fix code. Anyway, if you have the old version of the package, you can try to downgrade the emacs package and added it to IgnorePkg of /etc/pacman.conf

@BobenHome
Copy link

UPDATE:
There is a new version emacs-native-comp-git 31.0.50.175232-1, the error is gone, I think this issue has been fixed.

$ emacs --version
GNU Emacs 31.0.50
Development version 1854f2751e3f on master branch; build date 2024-10-19.
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

No, I also occurred. My version is: GNU Emacs 31.0.50 Development version 2c062dfdf509 on master branch; build date 2024-10-30. Copyright (C) 2024 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.
And my error is: ⛔ Error (use-package): Cannot load evil-evilified-state ⛔ Warning (initialization): An error occurred while loading ‘/home/spacex/.emacs.d/init.el’:
Symbol's value as variable is void: evil-evilified-state-map
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.

I already switched to emacs-nativecomp 29.4-3 which is a stable version without -git.

Have you tried to delete elc files or did a fresh installation of spacemacs? If you have, since your version Development version 2c062dfdf509 on master branch; build date 2024-10-30 is newer than mine Development version 1854f2751e3f on master branch; build date 2024-10-19., maybe the new version reverted the fix code. Anyway, if you have the old version of the package, you can try to downgrade the emacs package and added it to IgnorePkg of /etc/pacman.conf

Ok,thank you for your answer!

@aam-at
Copy link
Contributor

aam-at commented Dec 3, 2024

I am still experiencing the exact same issue on Emacs 30.0.92. Is there any fix for this?

@sunlin7
Copy link
Contributor

sunlin7 commented Dec 3, 2024

NO issue with GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0)
without emacs native compile feature on latest Spacemacs develop branch.
Please refer #16514 to find potential solution.

@fnussbaum
Copy link
Collaborator

I'm going to try and reproduce this later today on 30.0.92 with native compilation.

@aam-at
Copy link
Contributor

aam-at commented Dec 3, 2024

@sunlin7 Thanks for letting me know!

I’m using Emacs built with native compilation and haven’t encountered any issues with Emacs 29.4.

@fnussbaum For reference, here are my compilation flags for both versions:
--with-cairo --with-gconf --with-gnutls --with-gsettings --with-imagemagick --with-mailutils --with-modules --with-native-compilation=aot --with-sqlite3 --with-tree-sitter --with-native-image-api --with-x-toolkit=gtk3 --without-xaw3d CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"

@c02y c02y reopened this Dec 3, 2024
@fnussbaum
Copy link
Collaborator

Unfortunately, I cannot reproduce the error (I used the same compilation flags with the 30.0.92 pre-release, though the problem is probably not related to any build options or native compilation). From the error above it seems that the local package evil-evilified-state is not being installed correctly.

I would suggest deleting the evil-evilified-state directory from your .emacs.d/elpa/ if it exists and restarting, but that's just a shot in the dark.

@aam-at
Copy link
Contributor

aam-at commented Dec 17, 2024

@fnussbaum I recompiled Emacs using make bootstrap, and the issue disappeared. I'm not sure what caused the original error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants