Doom-emacs: Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)

Created on 22 Nov 2019  Â·  12Comments  Â·  Source: hlissner/doom-emacs

bin/doom refresh

Initiating a refresh of Doom Emacs...

> Regenerating envvars file at "/data/tomsData/EDITOR/doom-emacs/.local/env"
- Scraping shell environment
  ✓ Successfully generated "/data/tomsData/EDITOR/doom-emacs/.local/env"
> Checking core autoloads file
  ✓ Deleted old autoloads.el
  > Regenerating core autoloads file
    ✓ Scanned 69 file(s)
    ✓ Generated new autoloads.el
    ✓ Expanded module autoload paths
    ✓ Generated autodefs
    ✓ Cleaned up autoloads
  > Byte-compiling .local/autoloads.el...
    ✓ Compiled .local/autoloads.el
> Installing & building packages...
  ✓ No packages need to be installed
> (Re)building packages...
  ✓ No packages need rebuilding
> Searching for orphaned packages to purge (for the emperor)...
  - No builds to purge
  - Skipping elpa packages
  - Skipping repos
  - Skipping regrafting
> Checking package autoloads file
  ✓ Deleted old autoloads.pkg.el
  > Regenerating package autoloads file
    ✓ Cached package state
    ✓ Package autoloads included
    ✓ Expanded module autoload paths
    ✓ Removed load-path/auto-mode-alist entries
  > Byte-compiling .local/autoloads.pkg.el...
    ✓ Compiled .local/autoloads.pkg.el

--------------------------------------------------

There was an unexpected error:
  error (error)
  Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)

Run the command again with the -d (or --debug) option to enable debug
mode and, hopefully, generate a stack trace. If you decide to file a bug
report, please include it!

Emacs outputs to standard error, so you’ll need to redirect stderr to
stdout to pipe this to a file or clipboard!

  e.g. doom -d install 2>&1 | clipboard-program

Error in Doom Emacs core: error, "Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)"

doom doctor says:

The doctor will see you now...

> Checking your Emacs version...
> Checking for Emacs config conflicts...
> Checking for private config conflicts...
> Checking for stale elc files...
> Checking Doom Emacs...
  ✓ Initialized Doom Emacs 2.0.9
  ✓ Detected 34 modules
  ✓ Detected 139 packages
  > Checking Doom core for irregularities...
    Found font material-design-icons.ttf
    Found font weathericons.ttf
    Found font octicons.ttf
    Found font fontawesome.ttf
    Found font file-icons.ttf
    Found font all-the-icons.ttf
  > Checking for stale elc files in your DOOMDIR...
  > Checking your enabled modules...


Everything seems fine, happy Emacs'ing!

✓ Finished! (1.5037s)

doom version gives:

Doom v2.0.9 (Emacs v26.3.50)
Branch: develop
Commit: 2dc50f49fcd73d1a09b1537dd95aa740584f2916
Build date: 2019-11-22 00:39:55 -0500

doom -d refresh gives:

bin/doom -d  refresh 
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/buffers.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/cache.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/cli.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/config.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/debug.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/files.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/fonts.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/format.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/help.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/packages.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/plist.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/projects.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/scratch.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/sessions.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/text.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/themes.el (source)...
Loading /data/tomsData/EDITOR/doom-emacs/core/autoload/ui.el (source)...
DOOM Initializing package.el
DOOM Initializing straight
DOOM Initializing doom-packages
Initiating a refresh of Doom Emacs...

> Regenerating envvars file at "/data/tomsData/EDITOR/doom-emacs/.local/env"
- Scraping shell environment
  ✓ Successfully generated "/data/tomsData/EDITOR/doom-emacs/.local/env"
> Checking core autoloads file
  ✓ Deleted old autoloads.el
  > Regenerating core autoloads file
    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/completion/company/autoload.el...
    Ignoring modules/completion/ivy/autoload/posframe.el
    Scanning modules/completion/ivy/autoload/ivy.el...
    Ignoring modules/completion/ivy/autoload/hydras.el
    Scanning modules/completion/ivy/autoload/evil.el...
    Scanning modules/config/default/autoload/default.el...
    Scanning modules/editor/evil/autoload/unimpaired.el...
    Scanning modules/editor/evil/autoload/textobjects.el...
    Scanning modules/editor/evil/autoload/files.el...
    Scanning modules/editor/evil/autoload/ex.el...
    Scanning modules/editor/evil/autoload/evil.el...
    Scanning modules/editor/evil/autoload/embrace.el...
    Scanning modules/editor/evil/autoload/advice.el...
    Scanning modules/editor/file-templates/autoload.el...
    Scanning modules/editor/fold/autoload/hideshow.el...
    Scanning modules/editor/fold/autoload/fold.el...
    Scanning modules/editor/multiple-cursors/autoload/evil-mc.el...
    Scanning modules/editor/rotate-text/autoload.el...
    Scanning modules/editor/snippets/autoload/snippets.el...
    Nothing in modules/editor/snippets/autoload/settings.el
    Scanning modules/emacs/dired/autoload.el...
    Nothing in modules/emacs/electric/autoload.el
    Scanning modules/emacs/vc/autoload/vc.el...
    Ignoring modules/emacs/vc/autoload/hydra.el
    Scanning modules/emacs/vc/autoload/evil.el...
    Scanning modules/lang/emacs-lisp/autoload.el...
    Scanning modules/lang/go/autoload.el...
    Scanning modules/lang/markdown/autoload.el...
    Scanning modules/lang/org/autoload/org.el...
    Scanning modules/lang/org/autoload/org-tables.el...
    Scanning modules/lang/org/autoload/org-refile.el...
    Scanning modules/lang/org/autoload/org-link.el...
    Scanning modules/lang/org/autoload/org-export.el...
    Scanning modules/lang/org/autoload/org-capture.el...
    Scanning modules/lang/org/autoload/org-attach.el...
    Scanning modules/lang/org/autoload/contrib-present.el...
    Scanning modules/lang/org/autoload/contrib-ipython.el...
    Scanning modules/lang/org/autoload/contrib-dragndrop.el...
    Scanning modules/lang/sh/autoload.el...
    Scanning modules/tools/eval/autoload/settings.el...
    Scanning modules/tools/eval/autoload/repl.el...
    Scanning modules/tools/eval/autoload/evil.el...
    Scanning modules/tools/eval/autoload/eval.el...
    Scanning modules/tools/flycheck/autoload.el...
    Scanning modules/tools/lookup/autoload/online.el...
    Scanning modules/tools/lookup/autoload/lookup.el...
    Scanning modules/tools/lookup/autoload/evil.el...
    Scanning modules/tools/lookup/autoload/docsets.el...
    Scanning modules/tools/magit/autoload.el...
    Scanning modules/ui/doom-dashboard/autoload.el...
    Scanning modules/ui/modeline/autoload.el...
    Scanning modules/ui/nav-flash/autoload.el...
    Scanning modules/ui/popup/autoload/settings.el...
    Scanning modules/ui/popup/autoload/popup.el...
    Ignoring modules/ui/vc-gutter/autoload.el
    Scanning modules/ui/vi-tilde-fringe/autoload.el...
    Scanning modules/ui/workspaces/autoload/workspaces.el...
    Scanning modules/ui/workspaces/autoload/evil.el...
    ✓ Scanned 69 file(s)
    ✓ Generated new autoloads.el
    ✓ Expanded module autoload paths
    ✓ Generated autodefs
    ✓ Cleaned up autoloads
  > Byte-compiling .local/autoloads.el...


In toplevel form:
autoloads.el:2206:50:Warning: reference to free variable ‘rotate-text-words’
autoloads.el:2206:50:Warning: assignment to free variable ‘rotate-text-words’

In end of data:
autoloads.el:4274:1:Warning: the following functions are not known to be
    defined: outline-hide-subtree, perspective-p, persp-contain-buffer-p,
    get-current-persp, doom-modeline-set-modeline, doom-modeline-def-segment,
    doom-modeline-def-modeline
    ✓ Compiled .local/autoloads.el
> Installing & building packages...
  ✓ No packages need to be installed
> (Re)building packages...
  ✓ No packages need rebuilding
> Searching for orphaned packages to purge (for the emperor)...
  - No builds to purge
  - Skipping elpa packages
  - Skipping repos
  - Skipping regrafting
> Checking package autoloads file
  ✓ Deleted old autoloads.pkg.el
  > Regenerating package autoloads file
    ✓ Cached package state
    ✓ Package autoloads included
    ✓ Expanded module autoload paths
    ✓ Removed load-path/auto-mode-alist entries
  > Byte-compiling .local/autoloads.pkg.el...


In toplevel form:
autoloads.pkg.el:3867:57:Warning: assignment to free variable
    ‘solaire-mode--pending-bg-swap’
autoloads.pkg.el:8048:47:Warning: reference to free variable ‘magit-mode-map’
autoloads.pkg.el:8993:38:Warning: reference to free variable
    ‘org-src-lang-modes’
autoloads.pkg.el:8993:38:Warning: assignment to free variable
    ‘org-src-lang-modes’
    ✓ Compiled .local/autoloads.pkg.el

DOOM Initializing package.el
DOOM Initializing straight
...
  straight-use-package-lazy((org-elpa :local-repo nil))
  straight-use-recipes((org-elpa :local-repo nil))
  mapc(straight-use-recipes ((org-elpa :local-repo nil) (melpa :type git :host github :repo "melpa/melpa" :no-build t) (gnu-elpa-mirror :type git :host github :repo "emacs-straight/gnu-elpa-mirror" :no-build t) (emacsmirror-mirror :type git :host github :repo "emacs-straight/emacsmirror-mirror" :no-build t)))
  (progn (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing straight" 0 5 (face font-lock-comment-face)))))) (setq doom-init-packages-p t) (if (fboundp (quote straight--reset-caches)) nil (doom-ensure-straight) (require (quote straight))) (straight--reset-caches) (mapc (function straight-use-recipes) doom-core-package-sources) (straight-register-package (cons (quote straight) (cons (quote :type) (cons (quote git) (cons (quote :host) (cons (quote github) (cons ... ...))))))) (mapc (function straight-use-package) doom-core-packages) (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing doom-packages" 0 5 (face font-lock-comment-face)))))) (setq doom-disabled-packages nil doom-packages (doom-package-list)) (let* ((--cl-var-- doom-packages) (plist nil) (pkg nil) (ignored nil) (disabled nil)) (while (consp --cl-var--) (setq plist (car --cl-var--) pkg (car-safe (prog1 plist (setq plist (cdr plist))))) (setq ignored (plist-get plist :ignore)) (setq disabled (plist-get plist :disable)) (if disabled (progn (let* ((var pkg)) (if (memql var doom-disabled-packages) (with-no-warnings doom-disabled-packages) (setq doom-disabled-packages ...)))) (if (not ignored) (progn (condition-case err (straight-register-package ...) (... ... nil))))) (setq --cl-var-- (cdr --cl-var--))) nil) (if doom-interactive-mode nil (add-hook (quote kill-emacs-hook) (function doom--finalize-straight))))
  (if (or force-p (not doom-packages)) (progn (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing straight" 0 5 (face font-lock-comment-face)))))) (setq doom-init-packages-p t) (if (fboundp (quote straight--reset-caches)) nil (doom-ensure-straight) (require (quote straight))) (straight--reset-caches) (mapc (function straight-use-recipes) doom-core-package-sources) (straight-register-package (cons (quote straight) (cons (quote :type) (cons (quote git) (cons (quote :host) (cons ... ...)))))) (mapc (function straight-use-package) doom-core-packages) (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing doom-packages" 0 5 (face font-lock-comment-face)))))) (setq doom-disabled-packages nil doom-packages (doom-package-list)) (let* ((--cl-var-- doom-packages) (plist nil) (pkg nil) (ignored nil) (disabled nil)) (while (consp --cl-var--) (setq plist (car --cl-var--) pkg (car-safe (prog1 plist (setq plist ...)))) (setq ignored (plist-get plist :ignore)) (setq disabled (plist-get plist :disable)) (if disabled (progn (let* (...) (if ... ... ...))) (if (not ignored) (progn (condition-case err ... ...)))) (setq --cl-var-- (cdr --cl-var--))) nil) (if doom-interactive-mode nil (add-hook (quote kill-emacs-hook) (function doom--finalize-straight)))))
  doom-initialize-packages(force)
  (if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil (require (quote core-packages))))) (eval-after-load (quote straight) (function (lambda nil (require (quote core-packages)) (doom-initialize-packages))))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let ((dir (car --dolist-tail--))) (if (file-directory-p dir) nil (make-directory dir (quote parents))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (require (quote core-packages)) (doom-initialize-packages force-p))
  (let ((core-autoloads-p (doom-load-autoloads-file doom-autoload-file)) (pkg-autoloads-p (doom-load-autoloads-file doom-package-autoload-file))) (if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil (require (quote core-packages))))) (eval-after-load (quote straight) (function (lambda nil (require (quote core-packages)) (doom-initialize-packages))))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let ((dir (car --dolist-tail--))) (if (file-directory-p dir) nil (make-directory dir (quote parents))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (require (quote core-packages)) (doom-initialize-packages force-p)) (if (or (and core-autoloads-p pkg-autoloads-p) force-p (not doom-interactive-mode)) nil (if core-autoloads-p nil (warn "Your Doom core autoloads file is missing")) (if pkg-autoloads-p nil (warn "Your package autoloads file is missing")) (signal (quote doom-autoload-error) (list "Run `bin/doom refresh' to generate them"))))
  (progn (setq doom-init-p t) (setq-default exec-path doom--initial-exec-path load-path doom--initial-load-path process-environment doom--initial-process-environment) (if (and (or (display-graphic-p) (daemonp)) (file-exists-p doom-env-file)) (progn (doom-load-envvars-file doom-env-file))) (require (quote core-modules)) (let ((core-autoloads-p (doom-load-autoloads-file doom-autoload-file)) (pkg-autoloads-p (doom-load-autoloads-file doom-package-autoload-file))) (if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil (require ...)))) (eval-after-load (quote straight) (function (lambda nil (require ...) (doom-initialize-packages))))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let ((dir ...)) (if (file-directory-p dir) nil (make-directory dir ...)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (require (quote core-packages)) (doom-initialize-packages force-p)) (if (or (and core-autoloads-p pkg-autoloads-p) force-p (not doom-interactive-mode)) nil (if core-autoloads-p nil (warn "Your Doom core autoloads file is missing")) (if pkg-autoloads-p nil (warn "Your package autoloads file is missing")) (signal (quote doom-autoload-error) (list "Run `bin/doom refresh' to generate them")))) t)
  (if (or force-p (not doom-init-p)) (progn (setq doom-init-p t) (setq-default exec-path doom--initial-exec-path load-path doom--initial-load-path process-environment doom--initial-process-environment) (if (and (or (display-graphic-p) (daemonp)) (file-exists-p doom-env-file)) (progn (doom-load-envvars-file doom-env-file))) (require (quote core-modules)) (let ((core-autoloads-p (doom-load-autoloads-file doom-autoload-file)) (pkg-autoloads-p (doom-load-autoloads-file doom-package-autoload-file))) (if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil ...))) (eval-after-load (quote straight) (function (lambda nil ... ...)))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let (...) (if ... nil ...) (setq --dolist-tail-- ...)))) (require (quote core-packages)) (doom-initialize-packages force-p)) (if (or (and core-autoloads-p pkg-autoloads-p) force-p (not doom-interactive-mode)) nil (if core-autoloads-p nil (warn "Your Doom core autoloads file is missing")) (if pkg-autoloads-p nil (warn "Your package autoloads file is missing")) (signal (quote doom-autoload-error) (list "Run `bin/doom refresh' to generate them")))) t))
  doom-initialize(force)
  (let ((doom-interactive-mode (quote byte-compile))) (doom-initialize (quote force)) (doom-initialize-core))
  (let (target-dirs) (let ((--dolist-tail-- (delete-dups modules))) (while --dolist-tail-- (let ((module (car --dolist-tail--))) (cond ((equal module (quote ":core")) (setq targets (cons ... targets)) (setq target-dirs (cons doom-core-dir target-dirs))) ((equal module (quote ":private")) (setq target-dirs (cons doom-private-dir target-dirs))) ((file-directory-p module) (setq target-dirs (cons module target-dirs))) ((string-match "^\\([^/]+\\)/\\([^/]+\\)$" module) (setq target-dirs (cons ... target-dirs))) (t (user-error "%S is not a valid target" module))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (and (or (null modules) (member ":private" modules)) (not recompile-p) (not (or doom-auto-accept (y-or-n-p (concat "Warning: byte compiling is for advanced users. It will interfere with your\n" "efforts to debug issues. It is not recommended you do it if you frequently\n" "tinker with your Emacs config.\n\n" "Alternatively, use `bin/doom compile :core` instead to byte-compile only the\n" "Doom core files, as these don't change often.\n\n" "If you have issues, please make sure byte-compilation isn't the cause by using\n" "`bin/doom clean` to clear out your *.elc files.\n\n" "Byte-compile anyway?")))) (user-error "Aborting")) (let ((doom-interactive-mode (quote byte-compile))) (doom-initialize (quote force)) (doom-initialize-core)) (if target-dirs nil (setq targets (cons (doom-glob doom-emacs-dir "init.el") targets)) (setq target-dirs (append target-dirs (list doom-core-dir) (nreverse (cl-remove-if-not (function (lambda ... ...)) (cdr (doom-module-load-path))))))) (setq targets (append targets (doom-files-in target-dirs :match "\\.el$" :filter (function doom--byte-compile-ignore-file-p)))))
  (let ((default-directory doom-emacs-dir) (doom-modules (doom-modules)) (byte-compile-verbose doom-debug-mode) (byte-compile-warnings (quote (not free-vars unresolved noruntime lexical make-local))) (auto-mode-alist auto-mode-alist) (noninteractive t) targets) (let (target-dirs) (let ((--dolist-tail-- (delete-dups modules))) (while --dolist-tail-- (let ((module (car --dolist-tail--))) (cond ((equal module ...) (setq targets ...) (setq target-dirs ...)) ((equal module ...) (setq target-dirs ...)) ((file-directory-p module) (setq target-dirs ...)) ((string-match "^\\([^/]+\\)/\\([^/]+\\)$" module) (setq target-dirs ...)) (t (user-error "%S is not a valid target" module))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (and (or (null modules) (member ":private" modules)) (not recompile-p) (not (or doom-auto-accept (y-or-n-p (concat "Warning: byte compiling is for advanced users. It will interfere with your\n" "efforts to debug issues. It is not recommended you do it if you frequently\n" "tinker with your Emacs config.\n\n" "Alternatively, use `bin/doom compile :core` instead to byte-compile only the\n" "Doom core files, as these don't change often.\n\n" "If you have issues, please make sure byte-compilation isn't the cause by using\n" "`bin/doom clean` to clear out your *.elc files.\n\n" "Byte-compile anyway?")))) (user-error "Aborting")) (let ((doom-interactive-mode (quote byte-compile))) (doom-initialize (quote force)) (doom-initialize-core)) (if target-dirs nil (setq targets (cons (doom-glob doom-emacs-dir "init.el") targets)) (setq target-dirs (append target-dirs (list doom-core-dir) (nreverse (cl-remove-if-not (function ...) (cdr ...)))))) (setq targets (append targets (doom-files-in target-dirs :match "\\.el$" :filter (function doom--byte-compile-ignore-file-p))))) (if targets nil (doom--format-print (doom--format (format (if targets (doom--format-class (quote warn) "Couldn't find any valid targets") (doom--format-class (quote info) "No targets to %scompile" (if recompile-p "re" "")))))) (throw (quote --cl-block-nil--) nil)) (doom--format-print (doom--format (format (doom--format-class (quote info) (if recompile-p "Recompiling stale elc files..." "Byte-compiling your config (may take a while)..."))))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (require (quote use-package)) (condition-case e (let ((total-ok 0) (total-fail 0) (total-noop 0) (use-package-defaults use-package-defaults) (use-package-expand-minimally t) kill-emacs-hook kill-buffer-query-functions) (setq use-package-defaults (cons (list :no-require t (function ...)) use-package-defaults)) (if recompile-p nil (doom-clean-byte-compiled-files)) (let ((--dolist-tail-- (delete-dups ...))) (while --dolist-tail-- (let (...) (if ... ... ...) (setq --dolist-tail-- ...)))) (doom--format-print (doom--format (format (doom--format-class ... ... "%s %d/%d file(s) (%d ignored)") (if recompile-p "Recompiled" "Compiled") total-ok (- ... total-noop) total-noop))) t) ((debug error) (doom--format-print (doom--format (format (doom--format-class ... "\nThere were breaking errors.\n\n%s") "Reverting changes..."))) (signal (quote doom-error) (list (quote byte-compile) e))))))
  doom-cli-byte-compile(nil recompile)
  (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile)))
  (let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) t)
  (let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (purge-p (cdr (assq (quote purge-p) --alist--)))) (if doom-init-p nil (doom-initialize (quote force)) (doom-initialize-modules)) (doom--format-print (doom--format (format (doom--format-color (quote green) "Initiating a refresh of Doom Emacs...\n")))) (let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) t))
  (closure ((plist) (aliases re) (name . refresh) cl-struct-doom-cli-option-tags cl-struct-doom-cli-tags t) (--alist--) (let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (purge-p (cdr (assq (quote purge-p) --alist--)))) (if doom-init-p nil (doom-initialize (quote force)) (doom-initialize-modules)) (doom--format-print (doom--format (format (doom--format-color (quote green) "Initiating a refresh of Doom Emacs...\n")))) (let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) t)))(nil)
  funcall((closure ((plist) (aliases re) (name . refresh) cl-struct-doom-cli-option-tags cl-struct-doom-cli-tags t) (--alist--) (let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (purge-p (cdr (assq (quote purge-p) --alist--)))) (if doom-init-p nil (doom-initialize (quote force)) (doom-initialize-modules)) (doom--format-print (doom--format (format (doom--format-color (quote green) "Initiating a refresh of Doom Emacs...\n")))) (let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p ... purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) 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("refresh" nil)
  (and (doom-cli-execute command args) (terpri) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time))))
  (let ((start-time (current-time))) (and (doom-cli-execute command args) (terpri) (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) (terpri) (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))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message "  %s (%s)" (get (car e) (quote error-message)) (car e)) (let ((--dolist-tail-- (cdr e)) item) (while --dolist-tail-- (setq item (car --dolist-tail--)) (message "  %s" item) (setq --dolist-tail-- (cdr --dolist-tail--)))) (if debug-on-error nil (message (concat "\nRun the command again with the -d (or --debug) option to enable debug\n" "mode and, hopefully, generate a stack trace. If you decide to file a bug\n" "report, please include it!\n\n" "Emacs outputs to standard error, so you'll need to redirect stderr to\n" "stdout to pipe this to a file or clipboard!\n\n" "  e.g. doom -d install 2>&1 | clipboard-program\n")) (signal (quote doom-error) e))))
  (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) (terpri) (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))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message "  %s (%s)" (get (car e) (quote error-message)) (car e)) (let ((--dolist-tail-- (cdr e)) item) (while --dolist-tail-- (setq item (car --dolist-tail--)) (message "  %s" item) (setq --dolist-tail-- (cdr --dolist-tail--)))) (if debug-on-error nil (message (concat "\nRun the command again with the -d (or --debug) option to enable debug\n" "mode and, hopefully, generate a stack trace. If you decide to file a bug\n" "report, please include it!\n\n" "Emacs outputs to standard error, so you'll need to redirect stderr to\n" "stdout to pipe this to a file or clipboard!\n\n" "  e.g. doom -d install 2>&1 | clipboard-program\n")) (signal (quote doom-error) e))))))
  (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 (setq args (cons command args)) (setq command "help"))) (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) (terpri) (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))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message "  %s (%s)" (get (car e) (quote error-message)) (car e)) (let ((--dolist-tail-- ...) item) (while --dolist-tail-- (setq item ...) (message "  %s" item) (setq --dolist-tail-- ...))) (if debug-on-error nil (message (concat "\nRun the command again with the -d (or --debug) option to enable debug\n" "mode and, hopefully, generate a stack trace. If you decide to file a bug\n" "report, please include it!\n\n" "Emacs outputs to standard error, so you'll need to redirect stderr to\n" "stdout to pipe this to a file or clipboard!\n\n" "  e.g. doom -d install 2>&1 | clipboard-program\n")) (signal (quote doom-error) e)))))))
  (lambda (--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 (setq args (cons command args)) (setq command "help"))) (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) (terpri) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message "  %s (%s)" (get ... ...) (car e)) (let (... item) (while --dolist-tail-- ... ... ...)) (if debug-on-error nil (message ...) (signal ... e))))))))(((command . "refresh")))
  funcall((lambda (--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 (setq args (cons command args)) (setq command "help"))) (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! ... ...)) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message "  %s (%s)" ... ...) (let ... ...) (if debug-on-error nil ... ...))))))) ((command . "refresh")))
  (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 ("refresh"))
  (let* ((loaddir (file-name-directory (file-truename load-file-name))) (emacsdir (getenv "EMACSDIR")) (user-emacs-directory (or emacsdir (expand-file-name "../" loaddir))) (load-prefer-newer t)) (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 (setq args (cons command args)) (setq command "help"))) (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) (terpri) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message "  %s (%s)" (get ... ...) (car e)) (let (... item) (while --dolist-tail-- ... ... ...)) (if debug-on-error nil (message ...) (signal ... e))))))) (doom-cli-execute :main (cdr (member "--" argv))) (setq argv nil))
  eval-buffer(#<buffer  *load*> nil "/data/tomsData/EDITOR/doom-emacs/bin/doom" nil t)  ; Reading at buffer position 4393
  load-with-code-conversion("/data/tomsData/EDITOR/doom-emacs/bin/doom" "/data/tomsData/EDITOR/doom-emacs/bin/doom" nil t)
  load("/data/tomsData/EDITOR/doom-emacs/bin/doom" nil t t)
  command-line-1(("-scriptload" "bin/doom" "--" "refresh"))
  command-line()
  normal-top-level()

bug bidoom packages resolved

Most helpful comment

I think I've finally zeroed in on the cause. https://github.com/raxod502/straight.el/pull/427 introduced recipe inheritance (prompted by https://github.com/raxod502/straight.el/issues/116). Disabling it appears to solve the issue:

;; must be added to ~/.emacs.d/core/core-packages.el because neither
;; ~/.doom.d/init.el or ~/.doom.d/config.el load early enough:
(setq straight-allow-recipe-inheritance nil)

I'm not sure if this is an issue with straight or Doom's implementation. I'm looking into it.

All 12 comments

For future reference:

  1. Wrap command output in triple backquotes:

    ```
    command output
    ```

    This renders to

    command output
    
  2. Wrap long blocks in <details> ... </details> tags:

    <details>hello world</details>
    

    This renders to

    hello world

  3. The above two can be combined (as I have in your initial post).

This makes huge amounts of information much easier for me and other users to sift through.


Now, to address the issue:

I cannot reproduce it. Can you run doom info on the command line and post that here?

tom1 /data/tomsData/EDITOR/doom-emacs $ bin/doom  info
((emacs
  (version . "26.3.50")
  (features . "XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2")
  (build . "Sep 24, 2019")
  (buildopts "--prefix=/data/APPLICATIONS")
  (windowsys . batch)
  (daemonp))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop fcbd91fc0 2019-11-22 13:17:10 -0500"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/bin/bash")
  (uname . "Linux 5.3.12-arch1-1 #1 SMP PREEMPT Wed, 20 Nov 2019 19:45:16 +0000 x86_64")
  (path "~/.opam/4.07.1/bin" "~/.local/bin" "~/.gem/ruby/2.6.0/bin" "/data/APPLICATIONS/bin" "/bin" "/usr/bin" "/usr/local/bin" "/usr/local/sbin" "/usr/lib/jvm/default/bin" "/usr/bin/site_perl" "/usr/bin/vendor_perl" "/usr/bin/core_perl" "~/projects/go/bin" "/data/APPLICATIONS/libexec/emacs/26.3.50/x86_64-pc-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 +all +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets :emacs dired electric vc :tools eval flycheck (lookup +docsets) magit :lang data emacs-lisp go markdown (org +dragndrop +ipython +pandoc +present) sh :config (default +bindings +smartparens))
  (packages "n/a")
  (elpa "n/a")))

now even upgrade hangs:

tom1 /data/tomsData/EDITOR/doom-emacs $ bin/doom  upgrade
> Preparing to upgrade Doom Emacs and its packages...
- A new version of Doom Emacs is available!

  Old revision: fcbd91fc0d (vor 44 Minuten)
  New revision: 88eb9d1d61 (vor 9 Minuten)

View the comparison diff in your browser? (y or n) y
- Opened github in your browser.
Proceed with upgrade? (y or n) y
> Upgrading Doom Emacs...
  > Cleaning .elc files
    - No elc files to clean
  ✓ Finished upgrading Doom Emacs
Initiating a refresh of Doom Emacs...

> Regenerating envvars file at "/data/tomsData/EDITOR/doom-emacs/.local/env"
- Scraping shell environment
  ✓ Successfully generated "/data/tomsData/EDITOR/doom-emacs/.local/env"
> Checking core autoloads file
  ✓ Deleted old autoloads.el
  > Regenerating core autoloads file
    ✓ Scanned 69 file(s)
    ✓ Generated new autoloads.el
    ✓ Expanded module autoload paths
    ✓ Generated autodefs
    ✓ Cleaned up autoloads
  > Byte-compiling .local/autoloads.el...
    ✓ Compiled .local/autoloads.el
> Installing & building packages...
  ✓ No packages need to be installed
> (Re)building packages...
  ✓ No packages need rebuilding
> Searching for orphaned packages to purge (for the emperor)...
  - No builds to purge
  - Skipping elpa packages
  - Skipping repos
  - Skipping regrafting
> Checking package autoloads file
  ✓ Deleted old autoloads.pkg.el
  > Regenerating package autoloads file
    ✓ Cached package state
    ✓ Package autoloads included
    ✓ Expanded module autoload paths
    ✓ Removed load-path/auto-mode-alist entries
  > Byte-compiling .local/autoloads.pkg.el...
    ✓ Compiled .local/autoloads.pkg.el

--------------------------------------------------

There was an unexpected error:
  error (error)
  Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)

Run the command again with the -d (or --debug) option to enable debug
mode and, hopefully, generate a stack trace. If you decide to file a bug
report, please include it!

Emacs outputs to standard error, so you’ll need to redirect stderr to
stdout to pipe this to a file or clipboard!

  e.g. doom -d install 2>&1 | clipboard-program

Error in Doom Emacs core: error, "Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)"
tom1 /data/tomsData/EDITOR/doom-emacs $ 

I will be back in 60 minutes ... sorry

I'm having the same issues - bin/doom refresh and now bin/doom upgrade are producing the same error as @triklsbg:

bin/doom refresh

Compiling your literate config...
Followed link to /Users/user/Documents/dotfiles/Emacs/.doom.d/config.org
Tangled 17 code blocks from config.org

Done!
Initiating a refresh of Doom Emacs...

> Regenerating envvars file at "~/.emacs.d/.local/env"
- Scraping shell environment
  - Ignoring __CF_USER_TEXT_ENCODING=0x5C583DBD:0x0:0x0
  ✓ Successfully generated "~/.emacs.d/.local/env"
> Checking core autoloads file
  ✓ Deleted old autoloads.el
  > Regenerating core autoloads file
    ✓ Scanned 87 file(s)
    ✓ Generated new autoloads.el
    ✓ Expanded module autoload paths
    ✓ Generated autodefs
    ✓ Cleaned up autoloads
  > Byte-compiling .local/autoloads.el...
    ✓ Compiled .local/autoloads.el
> Installing & building packages...
  ✓ No packages need to be installed
> (Re)building packages...
  ✓ No packages need rebuilding
> Searching for orphaned packages to purge (for the emperor)...
  - No builds to purge
  - Skipping elpa packages
  - Skipping repos
  - Skipping regrafting
> Checking package autoloads file
  ✓ Deleted old autoloads.pkg.el
  > Regenerating package autoloads file
    ✓ Cached package state
    ✓ Package autoloads included
    ✓ Expanded module autoload paths
    ✓ Removed load-path/auto-mode-alist entries
  > Byte-compiling .emacs.d/.local/autoloads.pkg.el...
    ✓ Compiled .emacs.d/.local/autoloads.pkg.el

--------------------------------------------------

There was an unexpected error:
  error (error)
  Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)

Run the command again with the -d (or --debug) option to enable debug
mode and, hopefully, generate a stack trace. If you decide to file a bug
report, please include it!

Emacs outputs to standard error, so you’ll need to redirect stderr to
stdout to pipe this to a file or clipboard!

  e.g. doom -d install 2>&1 | clipboard-program

Error in Doom Emacs core: error, "Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)"

bin/doom upgrade

> Preparing to upgrade Doom Emacs and its packages...
- A new version of Doom Emacs is available!

  Old revision: 2dc50f49fc (13 hours ago)
  New revision: 88eb9d1d61 (12 minutes ago)

View the comparison diff in your browser? (y or n) y
- Opened github in your browser.
Proceed with upgrade? (y or n) y
> Upgrading Doom Emacs...
  > Cleaning .elc files
    - No elc files to clean
  ✓ Finished upgrading Doom Emacs

Compiling your literate config...
Followed link to /Users/user/Documents/dotfiles/Emacs/.doom.d/config.org
Tangled 17 code blocks from config.org

Done!
Initiating a refresh of Doom Emacs...

> Regenerating envvars file at "~/.emacs.d/.local/env"
- Scraping shell environment
  - Ignoring __CF_USER_TEXT_ENCODING=0x5C583DBD:0x0:0x0
  ✓ Successfully generated "~/.emacs.d/.local/env"
> Checking core autoloads file
  ✓ Deleted old autoloads.el
  > Regenerating core autoloads file
    ✓ Scanned 87 file(s)
    ✓ Generated new autoloads.el
    ✓ Expanded module autoload paths
    ✓ Generated autodefs
    ✓ Cleaned up autoloads
  > Byte-compiling .local/autoloads.el...
    ✓ Compiled .local/autoloads.el
> Installing & building packages...
  ✓ No packages need to be installed
> (Re)building packages...
  ✓ No packages need rebuilding
> Searching for orphaned packages to purge (for the emperor)...
  - No builds to purge
  - Skipping elpa packages
  - Skipping repos
  - Skipping regrafting
> Checking package autoloads file
  ✓ Deleted old autoloads.pkg.el
  > Regenerating package autoloads file
    ✓ Cached package state
    ✓ Package autoloads included
    ✓ Expanded module autoload paths
    ✓ Removed load-path/auto-mode-alist entries
  > Byte-compiling .local/autoloads.pkg.el...
    ✓ Compiled .local/autoloads.pkg.el

--------------------------------------------------

There was an unexpected error:
  error (error)
  Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)

Run the command again with the -d (or --debug) option to enable debug
mode and, hopefully, generate a stack trace. If you decide to file a bug
report, please include it!

Emacs outputs to standard error, so you’ll need to redirect stderr to
stdout to pipe this to a file or clipboard!

  e.g. doom -d install 2>&1 | clipboard-program

Error in Doom Emacs core: error, "Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)"

bin/doom info

Compiling your literate config...
Followed link to /Users/users/Documents/dotfiles/Emacs/.doom.d/config.org
Tangled 17 code blocks from config.org

Done!
((emacs
  (version . "26.3")
  (features . "JPEG RSVG IMAGEMAGICK DBUS GLIB NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2")
  (build . "Nov 17, 2019")
  (buildopts "--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus/26.3/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus/26.3 --with-xml2 --with-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg --without-pop --with-ns --disable-ns-self-contained")
  (windowsys . batch)
  (daemonp))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop 2dc50f49f 2019-11-22 00:39:55 -0500"))
 (system
  (type . darwin)
  (config . "x86_64-apple-darwin18.7.0")
  (shell . "/usr/local/bin/zsh")
  (uname . "Darwin 18.7.0 Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 x86_64")
  (path "~/.cargo/bin" "/usr/local/bin" "/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/MacGPG2/bin" "/Applications/Wireshark.app/Contents/MacOS" "~/.emacs.d/bin" "/usr/local/bin" "~/.emacs.d/bin" "/usr/local/Cellar/emacs-plus/26.3/libexec/emacs/26.3/x86_64-apple-darwin18.7.0"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company (ivy +icons +fuzzy) :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) (pretty-code +fira +iosevka) tabs treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs (dired +icons) electric vc :term term :tools editorconfig eval (flycheck +inline) flyspell (lookup +docsets) lsp macos magit rgb :lang data emacs-lisp (javascript +lsp) latex markdown (org +dragndrop +hugo +ipython +mu4e +pomodoro +pandoc +present) (python +lsp) (rust +lsp) sh web :email mu4e :app twitter :config literate (default +bindings +smartparens))
  (packages nyan-mode 2048-game easy-hugo)
  (elpa "n/a")))

Same here. ./bin/doom -d refresh:

~~~
Loading /home/ckruse/.emacs.d/core/autoload/buffers.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/cache.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/cli.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/config.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/debug.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/files.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/fonts.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/format.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/help.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/packages.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/plist.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/projects.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/scratch.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/sessions.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/text.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/themes.el (source)...
Loading /home/ckruse/.emacs.d/core/autoload/ui.el (source)...
DOOM Initializing package.el
DOOM Initializing straight
DOOM Initializing doom-packages
DOOM Disabling package org-indent
DOOM Disabling package alchemist-company
DOOM Disabling package alchemist
DOOM Disabling package tide
DOOM Disabling package magit-todos
DOOM Disabling package enh-ruby-mode
DOOM [tools/magit] Disabling package magit-todos
DOOM [lang/elixir] Disabling package alchemist
DOOM [lang/javascript] Disabling package tide
DOOM [lang/ruby] Disabling package enh-ruby-mode
DOOM Disabling package org-indent
DOOM Disabling package alchemist-company
DOOM Disabling package alchemist
DOOM Disabling package tide
DOOM Disabling package magit-todos
DOOM Disabling package enh-ruby-mode
Initiating a refresh of Doom Emacs...

Regenerating envvars file at "~/.emacs.d/.local/env"

  • Scraping shell environment
    ✓ Successfully generated "~/.emacs.d/.local/env"
    Checking core autoloads file
    ✓ Deleted old autoloads.el
    Regenerating core autoloads file
    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/completion/company/autoload.el...
    Scanning modules/completion/helm/autoload/posframe.el...
    Scanning modules/completion/helm/autoload/helm.el...
    Ignoring modules/completion/helm/autoload/evil.el
    Scanning modules/config/default/autoload/default.el...
    Scanning modules/editor/file-templates/autoload.el...
    Scanning modules/editor/fold/autoload/hideshow.el...
    Scanning modules/editor/fold/autoload/fold.el...
    Nothing in modules/editor/format/autoload/settings.el
    Scanning modules/editor/format/autoload/format.el...
    Ignoring modules/editor/format/autoload/evil.el
    Ignoring modules/editor/multiple-cursors/autoload/evil-mc.el
    Scanning modules/editor/rotate-text/autoload.el...
    Scanning modules/editor/snippets/autoload/snippets.el...
    Nothing in modules/editor/snippets/autoload/settings.el
    Scanning modules/emacs/dired/autoload.el...
    Scanning modules/emacs/vc/autoload/vc.el...
    Ignoring modules/emacs/vc/autoload/hydra.el
    Ignoring modules/emacs/vc/autoload/evil.el
    Scanning modules/lang/emacs-lisp/autoload.el...
    Scanning modules/lang/javascript/autoload.el...
    Scanning modules/lang/markdown/autoload.el...
    Scanning modules/lang/org/autoload/org.el...
    Scanning modules/lang/org/autoload/org-tables.el...
    Scanning modules/lang/org/autoload/org-refile.el...
    Scanning modules/lang/org/autoload/org-link.el...
    Scanning modules/lang/org/autoload/org-export.el...
    Scanning modules/lang/org/autoload/org-capture.el...
    Scanning modules/lang/org/autoload/org-attach.el...
    Scanning modules/lang/org/autoload/contrib-present.el...
    Ignoring modules/lang/org/autoload/contrib-ipython.el
    Ignoring modules/lang/org/autoload/contrib-dragndrop.el
    Scanning modules/lang/ruby/autoload.el...
    Scanning modules/lang/sh/autoload.el...
    Scanning modules/lang/web/autoload/html.el...
    Ignoring modules/lang/web/autoload/evil.el
    Scanning modules/lang/web/autoload/css.el...
    Nothing in modules/tools/editorconfig/autoload.el
    Scanning modules/tools/eval/autoload/settings.el...
    Scanning modules/tools/eval/autoload/repl.el...
    Ignoring modules/tools/eval/autoload/evil.el
    Scanning modules/tools/eval/autoload/eval.el...
    Scanning modules/tools/flycheck/autoload.el...
    Scanning modules/tools/lookup/autoload/online.el...
    Scanning modules/tools/lookup/autoload/lookup.el...
    Ignoring modules/tools/lookup/autoload/evil.el
    Scanning modules/tools/lookup/autoload/docsets.el...
    Nothing in modules/tools/lsp/autoload.el
    Scanning modules/tools/macos/autoload.el...
    Scanning modules/tools/magit/autoload.el...
    Scanning modules/ui/doom-dashboard/autoload.el...
    Scanning modules/ui/modeline/autoload.el...
    Scanning modules/ui/nav-flash/autoload.el...
    Scanning modules/ui/popup/autoload/settings.el...
    Scanning modules/ui/popup/autoload/popup.el...
    Scanning modules/ui/treemacs/autoload.el...
    Ignoring modules/ui/vc-gutter/autoload.el
    Scanning modules/ui/vi-tilde-fringe/autoload.el...
    ✓ Scanned 60 file(s)
    ✓ Generated new autoloads.el
    ✓ Expanded module autoload paths
    ✓ Generated autodefs
    ✓ Cleaned up autoloads
    Byte-compiling .local/autoloads.el...

In toplevel form:
autoloads.el:1955:50:Warning: reference to free variable ‘rotate-text-words’
autoloads.el:1955:50:Warning: assignment to free variable ‘rotate-text-words’

In end of data:
autoloads.el:3838:1:Warning: the following functions are not known to be
defined: outline-hide-subtree, doom-modeline-set-modeline,
doom-modeline-def-segment, doom-modeline-def-modeline
✓ Compiled .local/autoloads.el

Installing & building packages...
✓ No packages need to be installed
(Re)building packages...
✓ No packages need rebuilding
Searching for orphaned packages to purge (for the emperor)...

  • No builds to purge
  • Skipping elpa packages
  • Skipping repos
  • Skipping regrafting
    Checking package autoloads file
    ✓ Deleted old autoloads.pkg.el
    Regenerating package autoloads file
    ✓ Cached package state
    ✓ Package autoloads included
    ✓ Expanded module autoload paths
    ✓ Removed load-path/auto-mode-alist entries
    Byte-compiling .local/autoloads.pkg.el...

In toplevel form:
../../../autoloads.pkg.el:5156:50:Warning: reference to free variable
‘projectile-command-map’
../../../autoloads.pkg.el:5510:57:Warning: assignment to free variable
‘solaire-mode--pending-bg-swap’
../../../autoloads.pkg.el:10852:189:Warning: reference to free variable
‘skewer-mode-map’

In end of data:
../../../autoloads.pkg.el:13449:1:Warning: the function
‘skewer-repl-mode-compilation-shell-hook’ is not known to be defined.
✓ Compiled .local/autoloads.pkg.el

DOOM Initializing package.el
DOOM Initializing straight
...
straight-use-package-lazy((org-elpa :local-repo nil))
straight-use-recipes((org-elpa :local-repo nil))
mapc(straight-use-recipes ((org-elpa :local-repo nil) (melpa :type git :host github :repo "melpa/melpa" :no-build t) (gnu-elpa-mirror :type git :host github :repo "emacs-straight/gnu-elpa-mirror" :no-build t) (emacsmirror-mirror :type git :host github :repo "emacs-straight/emacsmirror-mirror" :no-build t)))
(progn (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing straight" 0 5 (face font-lock-comment-face)))))) (setq doom-init-packages-p t) (if (fboundp (quote straight--reset-caches)) nil (doom-ensure-straight) (require (quote straight))) (straight--reset-caches) (mapc (function straight-use-recipes) doom-core-package-sources) (straight-register-package (cons (quote straight) (cons (quote :type) (cons (quote git) (cons (quote :host) (cons (quote github) (cons ... ...))))))) (mapc (function straight-use-package) doom-core-packages) (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing doom-packages" 0 5 (face font-lock-comment-face)))))) (setq doom-disabled-packages nil doom-packages (doom-package-list)) (let* ((--cl-var-- doom-packages) (plist nil) (pkg nil) (ignored nil) (disabled nil)) (while (consp --cl-var--) (setq plist (car --cl-var--) pkg (car-safe (prog1 plist (setq plist (cdr plist))))) (setq ignored (plist-get plist :ignore)) (setq disabled (plist-get plist :disable)) (if disabled (progn (let* ((var pkg)) (if (memql var doom-disabled-packages) (with-no-warnings doom-disabled-packages) (setq doom-disabled-packages ...)))) (if (not ignored) (progn (condition-case err (straight-register-package ...) (... ... nil))))) (setq --cl-var-- (cdr --cl-var--))) nil) (if doom-interactive-mode nil (add-hook (quote kill-emacs-hook) (function doom--finalize-straight))))
(if (or force-p (not doom-packages)) (progn (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing straight" 0 5 (face font-lock-comment-face)))))) (setq doom-init-packages-p t) (if (fboundp (quote straight--reset-caches)) nil (doom-ensure-straight) (require (quote straight))) (straight--reset-caches) (mapc (function straight-use-recipes) doom-core-package-sources) (straight-register-package (cons (quote straight) (cons (quote :type) (cons (quote git) (cons (quote :host) (cons ... ...)))))) (mapc (function straight-use-package) doom-core-packages) (if doom-debug-mode (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing doom-packages" 0 5 (face font-lock-comment-face)))))) (setq doom-disabled-packages nil doom-packages (doom-package-list)) (let* ((--cl-var-- doom-packages) (plist nil) (pkg nil) (ignored nil) (disabled nil)) (while (consp --cl-var--) (setq plist (car --cl-var--) pkg (car-safe (prog1 plist (setq plist ...)))) (setq ignored (plist-get plist :ignore)) (setq disabled (plist-get plist :disable)) (if disabled (progn (let* (...) (if ... ... ...))) (if (not ignored) (progn (condition-case err ... ...)))) (setq --cl-var-- (cdr --cl-var--))) nil) (if doom-interactive-mode nil (add-hook (quote kill-emacs-hook) (function doom--finalize-straight)))))
doom-initialize-packages(force)
(if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil (require (quote core-packages))))) (eval-after-load (quote straight) (function (lambda nil (require (quote core-packages)) (doom-initialize-packages))))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let ((dir (car --dolist-tail--))) (if (file-directory-p dir) nil (make-directory dir (quote parents))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (require (quote core-packages)) (doom-initialize-packages force-p))
(let ((core-autoloads-p (doom-load-autoloads-file doom-autoload-file)) (pkg-autoloads-p (doom-load-autoloads-file doom-package-autoload-file))) (if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil (require (quote core-packages))))) (eval-after-load (quote straight) (function (lambda nil (require (quote core-packages)) (doom-initialize-packages))))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let ((dir (car --dolist-tail--))) (if (file-directory-p dir) nil (make-directory dir (quote parents))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (require (quote core-packages)) (doom-initialize-packages force-p)) (if (or (and core-autoloads-p pkg-autoloads-p) force-p (not doom-interactive-mode)) nil (if core-autoloads-p nil (warn "Your Doom core autoloads file is missing")) (if pkg-autoloads-p nil (warn "Your package autoloads file is missing")) (signal (quote doom-autoload-error) (list "Run bin/doom refresh' to generate them")))) (progn (setq doom-init-p t) (setq-default exec-path doom--initial-exec-path load-path doom--initial-load-path process-environment doom--initial-process-environment) (if (and (or (display-graphic-p) (daemonp)) (file-exists-p doom-env-file)) (progn (doom-load-envvars-file doom-env-file))) (require (quote core-modules)) (let ((core-autoloads-p (doom-load-autoloads-file doom-autoload-file)) (pkg-autoloads-p (doom-load-autoloads-file doom-package-autoload-file))) (if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil (require ...)))) (eval-after-load (quote straight) (function (lambda nil (require ...) (doom-initialize-packages))))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let ((dir ...)) (if (file-directory-p dir) nil (make-directory dir ...)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (require (quote core-packages)) (doom-initialize-packages force-p)) (if (or (and core-autoloads-p pkg-autoloads-p) force-p (not doom-interactive-mode)) nil (if core-autoloads-p nil (warn "Your Doom core autoloads file is missing")) (if pkg-autoloads-p nil (warn "Your package autoloads file is missing")) (signal (quote doom-autoload-error) (list "Runbin/doom refresh' to generate them")))) t)
(if (or force-p (not doom-init-p)) (progn (setq doom-init-p t) (setq-default exec-path doom--initial-exec-path load-path doom--initial-load-path process-environment doom--initial-process-environment) (if (and (or (display-graphic-p) (daemonp)) (file-exists-p doom-env-file)) (progn (doom-load-envvars-file doom-env-file))) (require (quote core-modules)) (let ((core-autoloads-p (doom-load-autoloads-file doom-autoload-file)) (pkg-autoloads-p (doom-load-autoloads-file doom-package-autoload-file))) (if (and core-autoloads-p pkg-autoloads-p (not force-p)) (progn (eval-after-load (quote package) (function (lambda nil ...))) (eval-after-load (quote straight) (function (lambda nil ... ...)))) (let ((--dolist-tail-- (list doom-local-dir doom-etc-dir doom-cache-dir))) (while --dolist-tail-- (let (...) (if ... nil ...) (setq --dolist-tail-- ...)))) (require (quote core-packages)) (doom-initialize-packages force-p)) (if (or (and core-autoloads-p pkg-autoloads-p) force-p (not doom-interactive-mode)) nil (if core-autoloads-p nil (warn "Your Doom core autoloads file is missing")) (if pkg-autoloads-p nil (warn "Your package autoloads file is missing")) (signal (quote doom-autoload-error) (list "Run bin/doom refresh' to generate them")))) t)) doom-initialize(force) (let ((doom-interactive-mode (quote byte-compile))) (doom-initialize (quote force)) (doom-initialize-core)) (let (target-dirs) (let ((--dolist-tail-- (delete-dups modules))) (while --dolist-tail-- (let ((module (car --dolist-tail--))) (cond ((equal module (quote ":core")) (setq targets (cons ... targets)) (setq target-dirs (cons doom-core-dir target-dirs))) ((equal module (quote ":private")) (setq target-dirs (cons doom-private-dir target-dirs))) ((file-directory-p module) (setq target-dirs (cons module target-dirs))) ((string-match "^\\([^/]+\\)/\\([^/]+\\)$" module) (setq target-dirs (cons ... target-dirs))) (t (user-error "%S is not a valid target" module))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (and (or (null modules) (member ":private" modules)) (not recompile-p) (not (or doom-auto-accept (y-or-n-p (concat "Warning: byte compiling is for advanced users. It will interfere with your\n" "efforts to debug issues. It is not recommended you do it if you frequently\n" "tinker with your Emacs config.\n\n" "Alternatively, usebin/doom compile :coreinstead to byte-compile only the\n" "Doom core files, as these don't change often.\n\n" "If you have issues, please make sure byte-compilation isn't the cause by using\n" "bin/doom cleanto clear out your *.elc files.\n\n" "Byte-compile anyway?")))) (user-error "Aborting")) (let ((doom-interactive-mode (quote byte-compile))) (doom-initialize (quote force)) (doom-initialize-core)) (if target-dirs nil (setq targets (cons (doom-glob doom-emacs-dir "init.el") targets)) (setq target-dirs (append target-dirs (list doom-core-dir) (nreverse (cl-remove-if-not (function (lambda ... ...)) (cdr (doom-module-load-path))))))) (setq targets (append targets (doom-files-in target-dirs :match "\\.el$" :filter (function doom--byte-compile-ignore-file-p))))) (let ((default-directory doom-emacs-dir) (doom-modules (doom-modules)) (byte-compile-verbose doom-debug-mode) (byte-compile-warnings (quote (not free-vars unresolved noruntime lexical make-local))) (auto-mode-alist auto-mode-alist) (noninteractive t) targets) (let (target-dirs) (let ((--dolist-tail-- (delete-dups modules))) (while --dolist-tail-- (let ((module (car --dolist-tail--))) (cond ((equal module ...) (setq targets ...) (setq target-dirs ...)) ((equal module ...) (setq target-dirs ...)) ((file-directory-p module) (setq target-dirs ...)) ((string-match "^\\([^/]+\\)/\\([^/]+\\)$" module) (setq target-dirs ...)) (t (user-error "%S is not a valid target" module))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (and (or (null modules) (member ":private" modules)) (not recompile-p) (not (or doom-auto-accept (y-or-n-p (concat "Warning: byte compiling is for advanced users. It will interfere with your\n" "efforts to debug issues. It is not recommended you do it if you frequently\n" "tinker with your Emacs config.\n\n" "Alternatively, usebin/doom compile :coreinstead to byte-compile only the\n" "Doom core files, as these don't change often.\n\n" "If you have issues, please make sure byte-compilation isn't the cause by using\n" "bin/doom clean` to clear out your .elc files.\n\n" "Byte-compile anyway?")))) (user-error "Aborting")) (let ((doom-interactive-mode (quote byte-compile))) (doom-initialize (quote force)) (doom-initialize-core)) (if target-dirs nil (setq targets (cons (doom-glob doom-emacs-dir "init.el") targets)) (setq target-dirs (append target-dirs (list doom-core-dir) (nreverse (cl-remove-if-not (function ...) (cdr ...)))))) (setq targets (append targets (doom-files-in target-dirs :match "\.el$" :filter (function doom--byte-compile-ignore-file-p))))) (if targets nil (doom--format-print (doom--format (format (if targets (doom--format-class (quote warn) "Couldn't find any valid targets") (doom--format-class (quote info) "No targets to %scompile" (if recompile-p "re" "")))))) (throw (quote --cl-block-nil--) nil)) (doom--format-print (doom--format (format (doom--format-class (quote info) (if recompile-p "Recompiling stale elc files..." "Byte-compiling your config (may take a while)..."))))) (let ((doom-format-indent (+ doom-format-indent-increment doom-format-indent))) (require (quote use-package)) (condition-case e (let ((total-ok 0) (total-fail 0) (total-noop 0) (use-package-defaults use-package-defaults) (use-package-expand-minimally t) kill-emacs-hook kill-buffer-query-functions) (setq use-package-defaults (cons (list :no-require t (function ...)) use-package-defaults)) (if recompile-p nil (doom-clean-byte-compiled-files)) (let ((--dolist-tail-- (delete-dups ...))) (while --dolist-tail-- (let (...) (if ... ... ...) (setq --dolist-tail-- ...)))) (doom--format-print (doom--format (format (doom--format-class ... ... "%s %d/%d file(s) (%d ignored)") (if recompile-p "Recompiled" "Compiled") total-ok (- ... total-noop) total-noop))) t) ((debug error) (doom--format-print (doom--format (format (doom--format-class ... "\nThere were breaking errors.\n\n%s") "Reverting changes..."))) (signal (quote doom-error) (list (quote byte-compile) e))))))
doom-cli-byte-compile(nil recompile)
(unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile)))
(let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) t)
(let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (purge-p (cdr (assq (quote purge-p) --alist--)))) (if doom-init-p nil (doom-initialize (quote force)) (doom-initialize-modules)) (doom--format-print (doom--format (format (doom--format-color (quote green) "Initiating a refresh of Doom Emacs...\n")))) (let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) t))
(closure ((plist) (aliases re) (name . refresh) cl-struct-doom-cli-option-tags cl-struct-doom-cli-tags t) (--alist--) (let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (purge-p (cdr (assq (quote purge-p) --alist--)))) (if doom-init-p nil (doom-initialize (quote force)) (doom-initialize-modules)) (doom--format-print (doom--format (format (doom--format-color (quote green) "Initiating a refresh of Doom Emacs...\n")))) (let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p (quote builds-p) purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) t)))(nil)
funcall((closure ((plist) (aliases re) (name . refresh) cl-struct-doom-cli-option-tags cl-struct-doom-cli-tags t) (--alist--) (let ((if-necessary-p (cdr (assq (quote if-necessary-p) --alist--))) (purge-p (cdr (assq (quote purge-p) --alist--)))) (if doom-init-p nil (doom-initialize (quote force)) (doom-initialize-modules)) (doom--format-print (doom--format (format (doom--format-color (quote green) "Initiating a refresh of Doom Emacs...\n")))) (let (success) (if (file-exists-p doom-env-file) (progn (doom-cli-reload-env-file (quote force)))) (doom-cli-reload-core-autoloads (not if-necessary-p)) (unwind-protect (progn (and (doom-cli-packages-install) (setq success t)) (and (doom-cli-packages-build) (setq success t)) (and (doom-cli-packages-purge purge-p ... purge-p) (setq success t))) (doom-cli-reload-package-autoloads (or success (not if-necessary-p))) (doom-cli-byte-compile nil (quote recompile))) 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("refresh" nil)
(and (doom-cli-execute command args) (terpri) (print! (success "Finished! (%.4fs)") (float-time (time-subtract (current-time) start-time))))
(let ((start-time (current-time))) (and (doom-cli-execute command args) (terpri) (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) (terpri) (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))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message " %s (%s)" (get (car e) (quote error-message)) (car e)) (let ((--dolist-tail-- (cdr e)) item) (while --dolist-tail-- (setq item (car --dolist-tail--)) (message " %s" item) (setq --dolist-tail-- (cdr --dolist-tail--)))) (if debug-on-error nil (message (concat "\nRun the command again with the -d (or --debug) option to enable debug\n" "mode and, hopefully, generate a stack trace. If you decide to file a bug\n" "report, please include it!\n\n" "Emacs outputs to standard error, so you'll need to redirect stderr to\n" "stdout to pipe this to a file or clipboard!\n\n" " e.g. doom -d install 2>&1 | clipboard-program\n")) (signal (quote doom-error) e))))
(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) (terpri) (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))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message " %s (%s)" (get (car e) (quote error-message)) (car e)) (let ((--dolist-tail-- (cdr e)) item) (while --dolist-tail-- (setq item (car --dolist-tail--)) (message " %s" item) (setq --dolist-tail-- (cdr --dolist-tail--)))) (if debug-on-error nil (message (concat "\nRun the command again with the -d (or --debug) option to enable debug\n" "mode and, hopefully, generate a stack trace. If you decide to file a bug\n" "report, please include it!\n\n" "Emacs outputs to standard error, so you'll need to redirect stderr to\n" "stdout to pipe this to a file or clipboard!\n\n" " e.g. doom -d install 2>&1 | clipboard-program\n")) (signal (quote doom-error) e))))))
(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 (setq args (cons command args)) (setq command "help"))) (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) (terpri) (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))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message " %s (%s)" (get (car e) (quote error-message)) (car e)) (let ((--dolist-tail-- ...) item) (while --dolist-tail-- (setq item ...) (message " %s" item) (setq --dolist-tail-- ...))) (if debug-on-error nil (message (concat "\nRun the command again with the -d (or --debug) option to enable debug\n" "mode and, hopefully, generate a stack trace. If you decide to file a bug\n" "report, please include it!\n\n" "Emacs outputs to standard error, so you'll need to redirect stderr to\n" "stdout to pipe this to a file or clipboard!\n\n" " e.g. doom -d install 2>&1 | clipboard-program\n")) (signal (quote doom-error) e)))))))
(lambda (--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 (setq args (cons command args)) (setq command "help"))) (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) (terpri) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message " %s (%s)" (get ... ...) (car e)) (let (... item) (while --dolist-tail-- ... ... ...)) (if debug-on-error nil (message ...) (signal ... e))))))))(((command . "refresh")))
funcall((lambda (--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 (setq args (cons command args)) (setq command "help"))) (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! ... ...)) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message " %s (%s)" ... ...) (let ... ...) (if debug-on-error nil ... ...))))))) ((command . "refresh")))
(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 ("refresh"))
(let* ((loaddir (file-name-directory (file-truename load-file-name))) (emacsdir (getenv "EMACSDIR")) (user-emacs-directory (or emacsdir (expand-file-name "../" loaddir))) (load-prefer-newer t)) (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 (setq args (cons command args)) (setq command "help"))) (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) (terpri) (print! ... ...))) (user-error (print! (error "%s\n") (error-message-string e)) (print! (yellow "See 'doom help %s' for documentation on this command.") (car args))) ((debug error) (message "--------------------------------------------------\n") (message "There was an unexpected error:") (message " %s (%s)" (get ... ...) (car e)) (let (... item) (while --dolist-tail-- ... ... ...)) (if debug-on-error nil (message ...) (signal ... e))))))) (doom-cli-execute :main (cdr (member "--" argv))) (setq argv nil))
eval-buffer(# nil "/home/ckruse/.emacs.d/bin/doom" nil t) ; Reading at buffer position 4393
load-with-code-conversion("/home/ckruse/.emacs.d/bin/doom" "/home/ckruse/.emacs.d/bin/doom" nil t)
load("/home/ckruse/.emacs.d/bin/doom" nil t t)
command-line-1(("-scriptload" "./bin/doom" "--" "refresh"))
command-line()
normal-top-level()
~~~

~
rm -rf .local/straight
./bin/doom install
~

This fixes the problem for me

Unfortunately, that doesn't fix it for me. After removing .local (.local/straight wasn't enough) bin/doom refresh still gives the same error.

I think I've finally zeroed in on the cause. https://github.com/raxod502/straight.el/pull/427 introduced recipe inheritance (prompted by https://github.com/raxod502/straight.el/issues/116). Disabling it appears to solve the issue:

;; must be added to ~/.emacs.d/core/core-packages.el because neither
;; ~/.doom.d/init.el or ~/.doom.d/config.el load early enough:
(setq straight-allow-recipe-inheritance nil)

I'm not sure if this is an issue with straight or Doom's implementation. I'm looking into it.

It was a doom issue. doom compile (which is run at the end of doom refresh to recompile byte-compiled files, if any) initialized Doom's packages incorrectly. This should be corrected by 803da8b. Let me know if that isn't the case and I'll reopen the issue. Thanks for bringing it to my attention!

Sorry, but the problem still exists when using ./bin/doom upgrade:

~
Error in Doom Emacs core: error, "Could not find package emacsmirror-mirror in recipe repositories: (org-elpa melpa gnu-elpa-mirror emacsmirror-mirror)"
~

It seems to be solved, though, for ./bin/doom refresh.

@ckruse 5ece51a should address the issue. Let me know if it doesn't.

Looks good! Thanks! :+1:

I was also seeing this issue on the latest develop (200fd52b617) after doom upgrade and the only way I was able to resolve it was by removing my .emacs.d directory entirely and re-installing Doom from scratch.

Was this page helpful?
0 / 5 - 0 ratings