Getting "Symbol's function definition is void" on Doom update after updating emacs to 29.3 via Void xbps

What happened?

Tried to update Doom after a sync got this message:

  • 0.381623:*:cli:run!: doom up
  • 0.382061:*:cli:context-parse: found command (doom)
  • 0.383346:*:cli:load: autoload /home/[ME]/.emacs.d/lisp/cli/upgrade.el
  • 0.383495:*:cli:load: ~/.emacs.d/lisp/cli/upgrade.el nil
  • 0.384522:*:cli:load: ~/.emacs.d/lisp/cli/packages nil
  • 0.419932:*:cli:context-parse: found command (doom up)
  • 0.420166:*:cli:context-parse: path += (doom up)
  • 0.420307:*:cli:context-parse: path += (doom upgrade)
  • 0.421820:*:cli:context-execute: doom upgrade → doom upgrade
  • 0.423205:*:cli:execute: (:before) ((input) (context . #s(doom-cli-context (26122 30231 755443 907000) 9413 0 (188 . 52) nil nil doom nil nil (doom upgrade) ((doom upgrade) (doom up)) (up) ((–jobs) (-j) (–packages) (-p) (–eval) (-E) (–strict-load) (–load) (-L) (–color) (–benchmark) (–profile) (–pager) (–emacsdir) (–doomdir) (–verbose) (-v) (–debug) (-D) (–force) (-!)) ((t) ((doom upgrade)) ((doom) up)) doom-cli stdin doom-cli stdout doom-cli stderr nil)) (_) (evals) (loads) (color?) (bench?) (profile) (pager) (emacsdir) (doomdir) (verbose?) (debug?) (force?))
  • 0.423494:*:cli:execute: (doom upgrade) ((context . #s(doom-cli-context (26122 30231 755443 907000) 9413 0 (188 . 52) nil nil doom nil nil (doom upgrade) ((doom upgrade) (doom up)) (up) ((–jobs) (-j) (–packages) (-p) (–eval) (-E) (–strict-load) (–load) (-L) (–color) (–benchmark) (–profile) (–pager) (–emacsdir) (–doomdir) (–verbose) (-v) (–debug) (-D) (–force) (-!)) ((t) ((doom upgrade)) ((doom) up)) doom-cli stdin doom-cli stdout doom-cli stderr nil)) (jobs) (packages?))

Preparing to upgrade Doom Emacs and its packages…

  • A new version of Doom Emacs is available!

    Old revision: 286be1b249 (7 days ago) New revision: 5f5a163c49 (2 days ago)

Link to diff: Comparing 286be1b2496a3ffa2280a16a41f56babebea93f0...5f5a163c49207a7083ab1ecc9e78d268fd6600b8 · doomemacs/doomemacs · GitHub

Upgrading Doom Emacs… x There was an unexpected runtime error Message: Symbol’s function definition is void Details: (doom-compile-clean) Backtrace: (doom-compile-clean) (let ((doom-print-level (or nil doom-print-level)) (doom-print-indent (+ (if t (or nil doom-print-indent-increment) 0) doom-print-indent))) (doom-compile-clean) (doom-cli-context… (progn (let ((doom-print-level (or nil doom-print-level)) (doom-print-indent (+ (if t (or nil doom-print-indent-increment) 0) doom-print-indent))) (doom-compile-clean) (doom-cli-… (if (not (or auto-accept-p (y-or-n-p “Proceed with upgrade?”))) (ignore (doom-print (doom-print–format (doom-print–class 'error “Aborted”)))) (doom-print (doom-print–format (d… (cond ((and (null this-rev) (null new-rev)) (error “Failed to get revisions for %s” target-remote)) ((equal this-rev new-rev) (doom-print (doom-print–format (doom-print–class '… (let ((this-rev (cdr (sh! “git” “rev-parse” “HEAD”))) (new-rev (cdr (sh! “git” “rev-parse” target-remote)))) (cond ((and (null this-rev) (null new-rev)) (error "Failed to get rev… (let (result) (or (= 0 (car (sh! “git” “remote” “add” doom-upgrade-remote doom-upgrade-url))) (error “Failed to add %s to remotes” doom-upgrade-remote)) (or (= 0 (car (setq resul… (unwind-protect (let (result) (or (= 0 (car (sh! “git” “remote” “add” doom-upgrade-remote doom-upgrade-url))) (error “Failed to add %s to remotes” doom-upgrade-remote)) (or (= 0 … (let* ((branch (replace-regexp-in-string “^\(?:[^/]+/[^/]+/\)?\(.+\)\(?:~[0-9]+\)?$” “\1” (cdr (sh! “git” “name-rev” “–name-only” “HEAD”)))) (target-remote (format “%s_%s… (let ((default-directory doom-emacs-dir) process-file-side-effects) (doom-print (doom-print–format (doom-print–class 'start “Preparing to upgrade Doom Emacs and its packages… (doom-cli-upgrade #s(doom-cli-context (26122 30231 755443 907000) 9413 0 (188 . 52) nil nil “doom” nil nil (“doom” “upgrade”) ((“doom” “upgrade”) (“doom” “up”)) (“up”) ((”–jobs”… (cond (packages? (let ((recipe (doom-cli-context-get context 'straight-recipe))) (if (and recipe (not (equal recipe (doom-upgrade–get-straight-recipe)))) (progn (doom-print (doo… ! Wrote extended backtrace to ~/.emacs.d/.local/state/logs/cli.doom.240401175343.9413.error * 11.979007:*:cli:Finished (GCs: 1, elapsed: 0.037656s)

  • 11.979007:*:cli:Finished (GCs: 1, elapsed: 0.037656s) ✓ Finished in 11.97921s

What did you expect to happen?

Update to proceed as usual

Steps to reproduce

  1. update Doom after doom sync

System information

generated Apr 01, 2024 18:15:51 system “Void Linux” Linux 6.6.23_1 x86_64 emacs 29.3 EMACSDIR=~/.emacs.d/ EMACS=/usr/bin/emacs doom 3.0.0-pre PROFILE=_@0 HEAD → master 286be1b24 2024-03-24 18:55:43 -0400 ~/.doom.d/ shell /bin/bash features ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB traits batch envvar-file modules :config use-package :completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline ophints (popup +defaults) vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold (format +onsave) snippets :emacs dired electric undo vc :term vterm :checkers syntax :tools (eval +overlay) lookup lsp magit :lang common-lisp emacs-lisp markdown org (python +lsp) sh :app irc :config (default +bindings +smartparens)

Attaching error log cli.doom.240401175343.9413.error.txt (238.4 KB)

This keeps getting reported, so I’ll repeat this here.

  1. Please check our Github issue tracker before reporting issues. Especially the pinned issues.
  2. This error was reported in #7769 on March 27th.
  3. It was fixed in 3f966f4 the same day.
  4. You will need to update Doom manually to get around this and the Failed to fetch from upstream errors.

If you see this reported anywhere/again, please link them to #7769.

I don’t have a ~/.config/emacs folder. I did it thru my ~/.emacs.d folder. It worked. Thanks.