What did you expect to happen?
Installation completes successfully after following quickstart instructions in README.md.
What actually happened?
Installation failed.
Additional details:
SPC
h k KEY or C-h h k KEY to inspect keys).M-x
view-echo-area-messages to see it).
$ ~/.emacs.d/bin/doom -d sync
Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...
Loading /home/akira/.emacs.d/core/autoload/buffers.el (source)...
Loading /home/akira/.emacs.d/core/autoload/cache.el (source)...
Loading /home/akira/.emacs.d/core/autoload/cli.el (source)...
Loading /home/akira/.emacs.d/core/autoload/config.el (source)...
Loading /home/akira/.emacs.d/core/autoload/debug.el (source)...
Loading /home/akira/.emacs.d/core/autoload/files.el (source)...
Loading /home/akira/.emacs.d/core/autoload/fonts.el (source)...
Loading /home/akira/.emacs.d/core/autoload/format.el (source)...
Loading /home/akira/.emacs.d/core/autoload/help.el (source)...
Loading /home/akira/.emacs.d/core/autoload/packages.el (source)...
Loading /home/akira/.emacs.d/core/autoload/plist.el (source)...
Loading /home/akira/.emacs.d/core/autoload/projects.el (source)...
Loading /home/akira/.emacs.d/core/autoload/scratch.el (source)...
Loading /home/akira/.emacs.d/core/autoload/sessions.el (source)...
Loading /home/akira/.emacs.d/core/autoload/text.el (source)...
Loading /home/akira/.emacs.d/core/autoload/themes.el (source)...
Loading /home/akira/.emacs.d/core/autoload/ui.el (source)...
DOOM Initializing package.el
DOOM Initializing straight
DOOM Initializing doom-packages
DOOM Ignoring package hideshow
DOOM Ignoring package vc
DOOM Ignoring package vc-annotate
DOOM Ignoring package smerge-mode
DOOM Ignoring package elisp-mode
Synchronizing your config with Doom Emacs...
Regenerating envvars file at "~/.emacs.d/.local/env"
- Scraping shell environment
- Ignoring DEBUG=1
- Ignoring DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
- Ignoring TERM=xterm-256color
- Ignoring HOME=/home/akira
- Ignoring PWD=/home/akira
- Ignoring SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
✓ Successfully generated "~/.emacs.d/.local/env"
(Re)generating core autoloads...
Generating core autoloads...
- Scanning core/autoload/buffers.el
- Scanning core/autoload/cache.el
- Scanning core/autoload/cli.el
- Scanning core/autoload/config.el
- Scanning core/autoload/debug.el
- Scanning core/autoload/files.el
- Scanning core/autoload/fonts.el
- Scanning core/autoload/format.el
- Scanning core/autoload/help.el
- Scanning core/autoload/packages.el
- Scanning core/autoload/plist.el
- Scanning core/autoload/projects.el
- Scanning core/autoload/scratch.el
- Scanning core/autoload/sessions.el
- Scanning core/autoload/text.el
- Scanning core/autoload/themes.el
- Scanning core/autoload/ui.el
- Scanning modules/app/calendar/autoload.el
- Scanning modules/app/irc/autoload/irc.el
- Scanning modules/app/irc/autoload/settings.el
- Scanning modules/app/rss/autoload.el
- Scanning modules/app/twitter/autoload.el
- Scanning modules/checkers/spell/autoload.el
- Scanning modules/checkers/syntax/autoload.el
- Scanning modules/completion/company/autoload.el
- Scanning modules/completion/helm/autoload/evil.el
- Scanning modules/completion/helm/autoload/helm.el
- Scanning modules/completion/helm/autoload/posframe.el
- Scanning modules/completion/ivy/autoload/evil.el
- Scanning modules/completion/ivy/autoload/hydras.el
- Scanning modules/completion/ivy/autoload/ivy.el
- Scanning modules/completion/ivy/autoload/posframe.el
- Scanning modules/config/default/autoload/default.el
- Scanning modules/config/default/autoload/files.el
- Scanning modules/config/default/autoload/search.el
- Scanning modules/config/default/autoload/text.el
- Scanning modules/config/literate/autoload.el
- Scanning modules/editor/evil/autoload/advice.el
- Scanning modules/editor/evil/autoload/embrace.el
- Scanning modules/editor/evil/autoload/evil.el
- Scanning modules/editor/evil/autoload/ex.el
- Scanning modules/editor/evil/autoload/files.el
- Scanning modules/editor/evil/autoload/textobjects.el
- Scanning modules/editor/evil/autoload/unimpaired.el
- Scanning modules/editor/file-templates/autoload.el
- Scanning modules/editor/fold/autoload/fold.el
- Scanning modules/editor/fold/autoload/hideshow.el
- Scanning modules/editor/format/autoload/evil.el
- Scanning modules/editor/format/autoload/format.el
- Scanning modules/editor/format/autoload/settings.el
- Scanning modules/editor/god/autoload.el
- Scanning modules/editor/multiple-cursors/autoload/evil-mc.el
- Scanning modules/editor/rotate-text/autoload.el
- Scanning modules/editor/snippets/autoload/settings.el
- Scanning modules/editor/snippets/autoload/snippets.el
- Scanning modules/editor/word-wrap/autoload.el
- Scanning modules/emacs/dired/autoload.el
- Scanning modules/emacs/electric/autoload.el
- Scanning modules/emacs/vc/autoload/hydra.el
- Scanning modules/emacs/vc/autoload/vc.el
- Scanning modules/email/mu4e/autoload/email.el
- Scanning modules/email/mu4e/autoload/evil.el
- Scanning modules/email/notmuch/autoload.el
- Scanning modules/email/wanderlust/autoload.el
- Scanning modules/lang/assembly/autoload.el
- Scanning modules/lang/cc/autoload.el
- Scanning modules/lang/clojure/autoload.el
- Scanning modules/lang/common-lisp/autoload/common-lisp.el
- Scanning modules/lang/csharp/autoload.el
- Scanning modules/lang/emacs-lisp/autoload.el
- Scanning modules/lang/ess/autoload.el
- Scanning modules/lang/faust/autoload.el
- Scanning modules/lang/go/autoload.el
- Scanning modules/lang/haskell/autoload.el
- Scanning modules/lang/java/autoload.el
- Scanning modules/lang/javascript/autoload.el
- Scanning modules/lang/julia/autoload.el
- Scanning modules/lang/kotlin/autoload.el
- Scanning modules/lang/latex/autoload.el
- Scanning modules/lang/lua/autoload/lua.el
- Scanning modules/lang/lua/autoload/moonscript.el
- Scanning modules/lang/markdown/autoload.el
- Scanning modules/lang/nix/autoload.el
- Scanning modules/lang/ocaml/autoload.el
- Scanning modules/lang/org/autoload/contrib-dragndrop.el
- Scanning modules/lang/org/autoload/contrib-ipython.el
- Scanning modules/lang/org/autoload/contrib-present.el
- Scanning modules/lang/org/autoload/org-attach.el
- Scanning modules/lang/org/autoload/org-avy.el
- Scanning modules/lang/org/autoload/org-capture.el
- Scanning modules/lang/org/autoload/org-export.el
- Scanning modules/lang/org/autoload/org-link.el
- Scanning modules/lang/org/autoload/org-refile.el
- Scanning modules/lang/org/autoload/org-tables.el
- Scanning modules/lang/org/autoload/org.el
- Scanning modules/lang/php/autoload.el
- Scanning modules/lang/plantuml/autoload.el
- Scanning modules/lang/python/autoload/conda.el
- Scanning modules/lang/python/autoload/pyenv.el
- Scanning modules/lang/python/autoload/python.el
- Scanning modules/lang/qt/autoload.el
- Scanning modules/lang/racket/autoload.el
- Scanning modules/lang/rest/autoload.el
- Scanning modules/lang/ruby/autoload.el
- Scanning modules/lang/rust/autoload.el
- Scanning modules/lang/scala/autoload.el
- Scanning modules/lang/scheme/autoload.el
- Scanning modules/lang/sh/autoload.el
- Scanning modules/lang/terra/autoload.el
- Scanning modules/lang/web/autoload/css.el
- Scanning modules/lang/web/autoload/evil.el
- Scanning modules/lang/web/autoload/html.el
- Scanning modules/term/eshell/autoload/commands.el
- Scanning modules/term/eshell/autoload/company.el
- Scanning modules/term/eshell/autoload/eshell.el
- Scanning modules/term/eshell/autoload/evil.el
- Scanning modules/term/eshell/autoload/prompts.el
- Scanning modules/term/eshell/autoload/settings.el
- Scanning modules/term/shell/autoload.el
- Scanning modules/term/term/autoload.el
- Scanning modules/term/vterm/autoload.el
- Scanning modules/tools/debugger/autoload/debugger.el
- Scanning modules/tools/debugger/autoload/evil.el
- Scanning modules/tools/editorconfig/autoload.el
- Scanning modules/tools/eval/autoload/eval.el
- Scanning modules/tools/eval/autoload/evil.el
- Scanning modules/tools/eval/autoload/repl.el
- Scanning modules/tools/eval/autoload/settings.el
- Scanning modules/tools/gist/autoload/evil.el
- Scanning modules/tools/lookup/autoload/docsets.el
- Scanning modules/tools/lookup/autoload/evil.el
- Scanning modules/tools/lookup/autoload/lookup.el
- Scanning modules/tools/lookup/autoload/online.el
- Scanning modules/tools/lsp/autoload.el
- Scanning modules/tools/macos/autoload.el
- Scanning modules/tools/magit/autoload.el
- Scanning modules/tools/make/autoload.el
- Scanning modules/tools/pass/autoload.el
- Scanning modules/tools/pdf/autoload/pdf.el
- Scanning modules/tools/prodigy/autoload.el
- Scanning modules/tools/rgb/autoload.el
- Scanning modules/tools/tmux/autoload/evil.el
- Scanning modules/tools/tmux/autoload/tmux.el
- Scanning modules/ui/doom-dashboard/autoload.el
- Scanning modules/ui/fill-column/autoload.el
- Scanning modules/ui/hydra/autoload/windows.el
- Scanning modules/ui/modeline/autoload.el
- Scanning modules/ui/nav-flash/autoload.el
- Scanning modules/ui/neotree/autoload.el
- Scanning modules/ui/popup/autoload/popup.el
- Scanning modules/ui/popup/autoload/settings.el
- Scanning modules/ui/pretty-code/autoload/install.el
- Scanning modules/ui/pretty-code/autoload/pretty-code.el
- Scanning modules/ui/treemacs/autoload.el
- Scanning modules/ui/unicode/autoload.el
- Scanning modules/ui/vc-gutter/autoload.el
- Scanning modules/ui/vi-tilde-fringe/autoload.el
- Scanning modules/ui/workspaces/autoload/evil.el
- Scanning modules/ui/workspaces/autoload/workspaces.el
Byte-compiling core autoloads file...
In end of data:
autoloads.el:3459:1:Warning: the following functions are not known to be
defined: restart-emacs, +evil/next-end-of-method, +org/toggle-fold,
+org/close-fold, outline-hide-subtree, magit-version,
doom-modeline-def-modeline, doom-modeline-def-segment,
doom-modeline-set-modeline, vi-tilde-fringe-mode, +workspace-p,
perspective-p, +workspace-contains-buffer-p, persp-contain-buffer-p,
+workspace-current, get-current-persp
✓ Generated .local/autoloads.elc
Installing packages...
→ Building auto-minor-mode...
→ Building auto-minor-mode...done
→ Cloning gcmh...
...
(let* ((plist (append (list :recipe recipe) recipe)) (recipe (plist-get plist :recipe)) (package (plist-get plist :package)) (type (plist-get plist :type)) (local-repo (plist-get plist :local-repo))) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output))))))
(straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output))))))
(catch (quote --cl-block-nil--) (straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output)))))))
(cl--block-wrapper (catch (quote --cl-block-nil--) (straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output))))))))
(cl-block nil (straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output)))))))
(while --dolist-tail-- (setq recipe (car --dolist-tail--)) (cl-block nil (straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output))))))) (setq --dolist-tail-- (cdr --dolist-tail--)))
(let ((--dolist-tail-- recipes) recipe) (while --dolist-tail-- (setq recipe (car --dolist-tail--)) (cl-block nil (straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e ...)))))) (setq --dolist-tail-- (cdr --dolist-tail--))))
(dolist (recipe recipes) (cl-block nil (straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output))))))))
(let* ((recipes (doom-package-recipe-list)) (built nil) (straight-use-package-pre-build-functions (cons (lambda (pkg) (cl-pushnew pkg built :test (function equal))) straight-use-package-pre-build-functions))) (dolist (recipe recipes) (cl-block nil (straight--with-plist (append (list :recipe recipe) recipe) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e ...))))))) (nreverse built))
(doom-with-package-recipes (doom-package-recipe-list) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output))))))
(and t (doom-with-package-recipes (doom-package-recipe-list) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal (quote doom-package-error) (list package e (straight--process-get-output)))))))
(let* ((built (and t (doom-with-package-recipes (doom-package-recipe-list) (recipe package type local-repo) (condition-case e (straight-use-package (intern package)) ((debug error) (signal ... ...))))))) (if built (doom--format-print (doom--format (format (doom--format-class (quote success) "Installed %d packages") (length built)))) (progn (doom--format-print (doom--format (format (doom--format-class (quote info) "No packages need to be installed")))) nil)))
(let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (let* ((built (and t (doom-with-package-recipes (doom-package-recipe-list) (recipe package type local-repo) (condition-case e (straight-use-package ...) (... ...)))))) (if built (doom--format-print (doom--format (format (doom--format-class (quote success) "Installed %d packages") (length built)))) (progn (doom--format-print (doom--format (format (doom--format-class ... "No packages need to be installed")))) nil))))
(let ((pinned (doom-package-pinned-list))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (let* ((built (and t (doom-with-package-recipes (doom-package-recipe-list) (recipe package type local-repo) (condition-case e ... ...))))) (if built (doom--format-print (doom--format (format (doom--format-class ... "Installed %d packages") (length built)))) (progn (doom--format-print (doom--format (format ...))) nil)))))
doom-cli-packages-install()
(let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (if (and (not inhibit-envvar-p) (file-exists-p doom-env-file)) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads) (doom-cli-packages-install) (doom-cli-packages-build) (doom-cli-packages-purge prune-p (quote builds-p) prune-p prune-p) (doom-cli-reload-package-autoloads) t)
(let (success) (let ((--dolist-tail-- (list doom-autoload-file doom-package-autoload-file))) (while --dolist-tail-- (let ((file (car --dolist-tail--))) (delete-file file) (delete-file (byte-compile-dest-file file)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (doom-initialize (quote force) (quote noerror)) (doom-initialize-modules) (doom--format-print (doom--format (format (doom--format-class (quote start) "Synchronizing your config with Doom Emacs...")))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (if (and (not inhibit-envvar-p) (file-exists-p doom-env-file)) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads) (doom-cli-packages-install) (doom-cli-packages-build) (doom-cli-packages-purge prune-p (quote builds-p) prune-p prune-p) (doom-cli-reload-package-autoloads) t))
(let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (inhibit-envvar-p (cdr (assq (quote inhibit-envvar-p) --alist--))) (prune-p (cdr (assq (quote prune-p) --alist--)))) :bare t (let (success) (let ((--dolist-tail-- (list doom-autoload-file doom-package-autoload-file))) (while --dolist-tail-- (let ((file (car --dolist-tail--))) (delete-file file) (delete-file (byte-compile-dest-file file)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (doom-initialize (quote force) (quote noerror)) (doom-initialize-modules) (doom--format-print (doom--format (format (doom--format-class (quote start) "Synchronizing your config with Doom Emacs...")))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (if (and (not inhibit-envvar-p) (file-exists-p doom-env-file)) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads) (doom-cli-packages-install) (doom-cli-packages-build) (doom-cli-packages-purge prune-p (quote builds-p) prune-p prune-p) (doom-cli-reload-package-autoloads) t)))
(closure ((plist :bare t :group "Maintenance") (aliases s refresh re) (name . sync) cl-struct-doom-cli-option-tags cl-struct-doom-cli-tags t) (--alist--) (ignore --alist--) (let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (inhibit-envvar-p (cdr (assq (quote inhibit-envvar-p) --alist--))) (prune-p (cdr (assq (quote prune-p) --alist--)))) :bare t (let (success) (let ((--dolist-tail-- (list doom-autoload-file doom-package-autoload-file))) (while --dolist-tail-- (let ((file ...)) (delete-file file) (delete-file (byte-compile-dest-file file)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (doom-initialize (quote force) (quote noerror)) (doom-initialize-modules) (doom--format-print (doom--format (format (doom--format-class (quote start) "Synchronizing your config with Doom Emacs...")))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (if (and (not inhibit-envvar-p) (file-exists-p doom-env-file)) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads) (doom-cli-packages-install) (doom-cli-packages-build) (doom-cli-packages-purge prune-p (quote builds-p) prune-p prune-p) (doom-cli-reload-package-autoloads) t))))(nil)
funcall((closure ((plist :bare t :group "Maintenance") (aliases s refresh re) (name . sync) cl-struct-doom-cli-option-tags cl-struct-doom-cli-tags t) (--alist--) (ignore --alist--) (let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (inhibit-envvar-p (cdr (assq (quote inhibit-envvar-p) --alist--))) (prune-p (cdr (assq (quote prune-p) --alist--)))) :bare t (let (success) (let ((--dolist-tail-- (list doom-autoload-file doom-package-autoload-file))) (while --dolist-tail-- (let (...) (delete-file file) (delete-file ...) (setq --dolist-tail-- ...)))) (doom-initialize (quote force) (quote noerror)) (doom-initialize-modules) (doom--format-print (doom--format (format (doom--format-class ... "Synchronizing your config with Doom Emacs...")))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (if (and (not inhibit-envvar-p) (file-exists-p doom-env-file)) (progn (doom-cli-reload-env-file ...))) (doom-cli-reload-core-autoloads) (doom-cli-packages-install) (doom-cli-packages-build) (doom-cli-packages-purge prune-p (quote builds-p) prune-p prune-p) (doom-cli-reload-package-autoloads) t)))) nil)
(if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command))
(let* ((cli (and t (doom-cli-get command)))) (if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command)))
doom-cli-execute("sync" nil)
(and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time))))
(let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time)))))
(condition-case e (let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time))))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" (bold "Type:") (car e)) (print! (bold "Message:")) (print-group! (print! "%s" (get (car e) (quote error-message)))) (print! (bold "Data:")) (print-group! (if (cdr e) (let ((--dolist-tail-- ...) item) (while --dolist-tail-- (setq item ...) (print! "%S" item) (setq --dolist-tail-- ...))) (print! "n/a"))) (if (featurep (quote straight)) (progn (if (string-match-p (regexp-quote straight-process-buffer) (error-message-string e)) (progn (print! ...) (print-group! ...)))))) (if debug-on-error nil (terpri) (print! (concat "Run the command again with the -d (or --debug) switch to enable debug\n" "mode and (hopefully) generate a backtrace from this error:\n" "\n %s\n\n" "If you file a bug report, please include it!") (string-join (append (list (file-name-nondirectory load-file-name) "-d" command) args) " ")) (error ""))))
(cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time (time-subtract ... start-time))))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" (bold "Type:") (car e)) (print! (bold "Message:")) (print-group! (print! "%s" (get ... ...))) (print! (bold "Data:")) (print-group! (if (cdr e) (let ... ...) (print! "n/a"))) (if (featurep (quote straight)) (progn (if ... ...)))) (if debug-on-error nil (terpri) (print! (concat "Run the command again with the -d (or --debug) switch to enable debug\n" "mode and (hopefully) generate a backtrace from this error:\n" "\n %s\n\n" "If you file a bug report, please include it!") (string-join (append ... args) " ")) (error ""))))))
(let ((help-p (cdr (assq (quote help-p) --alist--))) (debug-p (cdr (assq (quote debug-p) --alist--))) (yes-p (cdr (assq (quote yes-p) --alist--))) (emacsdir (cdr (assq (quote emacsdir) --alist--))) (doomdir (cdr (assq (quote doomdir) --alist--))) (localdir (cdr (assq (quote localdir) --alist--))) (command (cdr (assq (quote command) --alist--))) (args (cdr (assq (quote args) --alist--)))) :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args (cons command args)))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time (current-time))) (and (doom-cli-execute command args) (print! (success "Finished! (%.4fs)") (float-time ...)))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" (bold "Type:") (car e)) (print! (bold "Message:")) (print-group! (print! "%s" ...)) (print! (bold "Data:")) (print-group! (if ... ... ...)) (if (featurep ...) (progn ...))) (if debug-on-error nil (terpri) (print! (concat "Run the command again with the -d (or --debug) switch to enable debug\n" "mode and (hopefully) generate a backtrace from this error:\n" "\n %s\n\n" "If you file a bug report, please include it!") (string-join ... " ")) (error "")))))))
(lambda (--alist--) (ignore --alist--) (let ((help-p (cdr (assq (quote help-p) --alist--))) (debug-p (cdr (assq (quote debug-p) --alist--))) (yes-p (cdr (assq (quote yes-p) --alist--))) (emacsdir (cdr (assq (quote emacsdir) --alist--))) (doomdir (cdr (assq (quote doomdir) --alist--))) (localdir (cdr (assq (quote localdir) --alist--))) (command (cdr (assq (quote command) --alist--))) (args (cdr (assq (quote args) --alist--)))) :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args (cons command args)))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time ...)) (and (doom-cli-execute command args) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" ... ...) (print! ...) (print-group! ...) (print! ...) (print-group! ...) (if ... ...)) (if debug-on-error nil (terpri) (print! ... ...) (error ""))))))))(((command . "sync")))
funcall((lambda (--alist--) (ignore --alist--) (let ((help-p (cdr (assq (quote help-p) --alist--))) (debug-p (cdr (assq (quote debug-p) --alist--))) (yes-p (cdr (assq (quote yes-p) --alist--))) (emacsdir (cdr (assq (quote emacsdir) --alist--))) (doomdir (cdr (assq (quote doomdir) --alist--))) (localdir (cdr (assq (quote localdir) --alist--))) (command (cdr (assq (quote command) --alist--))) (args (cdr (assq (quote args) --alist--)))) :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args ...))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let (...) (and ... ...)) (user-error (print! ... ...) (print! ... ...) (error "")) ((debug error) (print! ...) (print-group! ... ... ... ... ... ...) (if debug-on-error nil ... ... ...))))))) ((command . "sync")))
(if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command))
(let* ((cli (and t (doom-cli-get command)))) (if cli (funcall (progn (or (and (memq (type-of cli) cl-struct-doom-cli-tags) t) (signal (quote wrong-type-argument) (list (quote doom-cli) cli))) (aref cli 7)) (doom--cli-process cli args)) (user-error "Couldn't find any %S command" command)))
doom-cli-execute(:main ("sync"))
(let* ((load-prefer-newer t) (loaddir (file-name-directory (file-truename load-file-name))) (emacsdir (getenv "EMACSDIR")) (user-emacs-directory (abbreviate-file-name (or emacsdir (expand-file-name "../" loaddir))))) (setq load-path (cons (expand-file-name "core" user-emacs-directory) load-path)) (require (quote core)) (require (quote core-cli)) (defcli! :main ((help-p ["-h" "--help"] "Same as help command") (debug-p ["-d" "--debug"] "Turns on doom-debug-mode (and debug-on-error)") (yes-p ["-y" "--yes"] "Auto-accept all confirmation prompts") (emacsdir ["--emacsdir" dir] "Use the emacs config at DIR (e.g. ~/.emacs.d)") (doomdir ["--doomdir" dir] "Use the private module at DIR (e.g. ~/.doom.d)") (localdir ["--localdir" dir] "Use DIR as your local storage directory") &optional command &rest args) "A command line interface for managing Doom Emacs.\n\nIncludes package management, diagnostics, unit tests, and byte-compilation.\n\nThis tool also makes it trivial to launch Emacs out of a different folder or\nwith a different private module." :bare t (if emacsdir (progn (setq user-emacs-directory (file-name-as-directory emacsdir)) (print! (info "EMACSDIR=%s") localdir))) (if doomdir (progn (setenv "DOOMDIR" doomdir) (print! (info "DOOMDIR=%s") localdir))) (if localdir (progn (setenv "DOOMLOCALDIR" localdir) (print! (info "DOOMLOCALDIR=%s") localdir))) (if debug-p (progn (setenv "DEBUG" "1") (setq doom-debug-mode t) (print! (info "Debug mode on")))) (if yes-p (progn (setenv "YES" "1") (setq doom-auto-accept t) (print! (info "Auto-yes on")))) (if help-p (progn (if command (progn (setq args (cons command args)))) (setq command "help"))) (if (equal (user-real-uid) 0) (progn (print! (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n" "is unnecessary to use this script. This will cause file permissions errors\n" "later if you use this Doom installation on a non-root account.\n")) (if (or doom-auto-accept (y-or-n-p "Continue anyway?")) nil (user-error "Aborted")))) (if (or emacsdir doomdir localdir) (progn (load! "core/core.el" user-emacs-directory))) (cond ((not noninteractive) (print! "Doom launched out of %s (test mode)" (path user-emacs-directory)) (load! "init.el" user-emacs-directory) (doom-run-all-startup-hooks-h)) ((null command) (doom-cli-execute "help")) ((condition-case e (let ((start-time ...)) (and (doom-cli-execute command args) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args)) (error "")) ((debug error) (print! (error "There was an unexpected error:")) (print-group! (print! "%s %s" ... ...) (print! ...) (print-group! ...) (print! ...) (print-group! ...) (if ... ...)) (if debug-on-error nil (terpri) (print! ... ...) (error ""))))))) (doom-cli-execute :main (cdr (member "--" argv))) (setq argv nil))
eval-buffer(#
load-with-code-conversion("/home/akira/.emacs.d/bin/doom" "/home/akira/.emacs.d/bin/doom" nil t)
load("/home/akira/.emacs.d/bin/doom" nil t t)
command-line-1(("-scriptload" "/home/akira/.emacs.d/bin/doom" "--" "sync"))
command-line()
normal-top-level()
Steps to reproduce:
rm -rf ~/.doom.d/ && rm -rf ~/.emacs.d/git clone http://github.com/hlissner/doom-emacs ~/.emacs.d~/.emacs.d/bin/doom instally when prompted to generate envvar file.System information:
Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...
((emacs
(version . "26.3")
(features . "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2")
(build . "Dec 10, 2019")
(buildopts "--build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig")
(windowsys . batch)
(daemonp))
(doom
(version . "2.0.9")
(build . "HEAD -> develop, origin/develop, origin/HEAD 5d51d4e4a 2020-04-18 21:08:41 -0400")
(dir . "~/.doom.d/"))
(system
(type . gnu/linux)
(config . "x86_64-redhat-linux-gnu")
(shell . "/bin/bash")
(uname . "Linux 5.5.17-200.fc31.x86_64 #1 SMP Mon Apr 13 15:29:42 UTC 2020 x86_64")
(path "~/.local/bin" "~/bin" "/usr/share/Modules/bin" "/usr/local/bin" "/usr/local/sbin" "/usr/bin" "/usr/sbin" "/usr/libexec/emacs/26.3/x86_64-redhat-linux-gnu"))
(config
(envfile . envvar-file)
(elc-files . 0)
(modules :completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold snippets :emacs dired electric undo vc :checkers syntax :tools (eval +overlay) lookup magit :lang data emacs-lisp markdown org sh :config (default +bindings +smartparens))
(packages "n/a")
(unpin "n/a")
(elpa "n/a")))
Same here
Same, you can have a look at the discussion on Discord too: https://discordapp.com/channels/406534637242810369/406554085794381833/701333587516981349
As I mentioned there I managed to bring doom back by cloning straight.el manually and using the HEAD of the master branch (of straight.el, not Doom) to do a doom sync successfully as I need doom today.
Same, you can have a look at the discussion on Discord too: https://discordapp.com/channels/406534637242810369/406554085794381833/701333587516981349
As I mentioned there I managed to bring doom back by cloning
straight.elmanually and using the HEAD of the master branch to do adoom syncsuccessfully as I need doom today.
I once got in trouble getting straight.el so I cloned the develop branch according to another issue, then I ran into this problem. Solved by switching to [straight.el]'s master branch.
Using master branch, I get (after running make install)
FATAL ERROR: (error) Package ‘ensime-’ is unavailable
FATAL ERROR: (error) Package ‘centered-window-mode-’ is unavailable
FATAL ERROR: (error) Package ‘ob-redis-’ is unavailable
FATAL ERROR: (error) Failed to checkout ‘org-bullets’:
FATAL ERROR: (error) Package ‘auth-password-store-’ is unavailable
FATAL ERROR: (error) Package ‘help-fns+-’ is unavailable
Do I need to pull in straight.el from github?
I was talking about using straight.el master, not doom's
Worked for me to use master branch of straight.el
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install # let it fail
rm -rf .emacs.d/.local/straight/repos/straight.el
git clone -b master https://github.com/raxod502/straight.el .emacs.d/.local/straight/repos/straight.el
~/.emacs.d/bin/doom install
It would be helpful if someone familiar with straight.el could have a look at https://github.com/raxod502/straight.el/commit/d28fd41930f5f9f4627d4eb342de514ba3b3c3a0 so we could report the regression upstream. The error output fatal: destination path ... already exists and is not an empty directory is git complaining that we try to clone a repo over an existing one but I can't spot where the culprit is.
I'm getting the same error on a fresh clone (git hash 5d51d4e4a662410679a5678fcc3f5251a8f33a66).
c96303830835ed49b6803a5288379891d6ab7cfc has resolved my package-related issues.
This issue affected both first-time installation and installation (or updating) of existing packages.
As of c96303830 Doom installs straight from its master branch, but existing users won't see this change until straight is reinstalled. To fix that:
rm -rf ~/.emacs.d/.local/straight/repos/straight.el
doom sync
This will reinstall straight.
Let me know if the issue resurfaces and thanks for bringing it to my attention!
_(leaving this here in case someone else stumbles upon the same difficulties)_
After this PR, switching straight.el from develop to master did not work for me out of the box:
doom up kept asking what to do since HEAD and remote master have diverged for straight.el, I tried 3 (recommended) and 4, no gogit fetch && git checkout master or git show origin/master in ~/.emacs.d/.local/straight/repos/straight.el/ complained they did not know what master isgit fetch origin master seemed to fetch something but git checkout master or git show origin/master still complained they did not know what master isrm -rfing the ~/.emacs.d/.local/straight/repos/straight.el/ dir, run doom up again and it pulled everything just fineWhen I followed the suggested fix above, during the upgrade I get the following issue:
✓ (48/163) evil-easymotion updated (79c13ed -> f96c2ed)
In repository "evil-escape", remote "origin" has URL
"https://github.com/syl20bnr/evil-escape.git"
but recipe specifies a URL of
"https://github.com/hlissner/evil-escape.git"
1) Abort
2) Rename remote "origin" to "origin-1", re-create "origin" with correct URL, and fetch
3) Rename remote "origin" manually, re-create it with correct URL, and fetch
4) Delete remote "origin", re-create it with correct URL, and fetch (Recommended)
5) Delete remote "origin", re-create it with manually set URL, and fetch
How to proceed? (1, 2, 3, 4, 5)
I'm not entirely sure the correct way to proceed?
Cheers.
Most helpful comment
This issue affected both first-time installation and installation (or updating) of existing packages.
As of c96303830 Doom installs straight from its master branch, but existing users won't see this change until straight is reinstalled. To fix that:
This will reinstall straight.
Let me know if the issue resurfaces and thanks for bringing it to my attention!