syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.65k stars 4.89k forks source link

Launch hangs on: evil-iedit-state-autoloads.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice #16187

Closed komali2 closed 10 months ago

komali2 commented 10 months ago

Description :octocat:

After updating spacemacs and updating packages, emacs now partially hangs, with evil-iedit-state-autoloads.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice displayed in the modeline.

C-g allows cancelling whatever function is hanging, and if I then launch popwin:messages, I can see:

.emacs.d/core/core-dotspacemacs.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice [2 times]
Loading /home/caleb/.spacemacs...done
(Spacemacs) Warning: Cannot find any of the specified fonts (Fira Code)! Font settings may not be correct.
Wrote /home/caleb/.emacs.d/recentf
.emacs.d/layers/+completion/helm/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
.emacs.d/layers/+lang/python/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice [3 times]
.emacs.d/layers/+lang/common-lisp/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
.emacs.d/layers/+themes/colors/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
.emacs.d/layers/+spacemacs/spacemacs-completion/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice [2 times]
.emacs.d/layers/+spacemacs/spacemacs-layouts/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
.emacs.d/layers/+spacemacs/spacemacs-editing/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
.emacs.d/layers/+spacemacs/spacemacs-navigation/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
.emacs.d/layers/+spacemacs/spacemacs-purpose/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice [2 times]
.emacs.d/layers/+distributions/spacemacs-bootstrap/packages.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
.emacs.d/elpa/30.0/develop/evil-iedit-state-20220219.1432/evil-iedit-state-autoloads.el: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use advice-add or define-advice
Waiting for process to die...done
Quit

After quitting, not all of my .spacemacs appear to have been loaded, and many keybindings are not yet set. Other than that, emacs functions, but it's not really spacemacs at that point.

If I run emacs -q in a terminal, there are no errors and emacs runs normally.

I have tried deleting melpa elpa and quelpa directories and re-installing all packages.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: See above.

Expected behaviour: :heart: :smile: Launch concludes normally.

System Info :computer:

Backtrace :paw_prints:

komali2 commented 10 months ago

I have updated emacs with latest from savannah and rebuilt, still the same issue.

komali2 commented 10 months ago

Well, it just started working again, sorry folks wish I could tell you why.