Closed o8vm closed 2 months ago
fix this issue by applying this patch: https://github.com/syl20bnr/spacemacs/pull/15653/files. However, the warning below still exists:
■ Error (use-package): popwin/:config: Wrong type argument: listp, window-purpose/save-dedicated-windows
■ Error (use-package): window-purpose/:config: Assertion failed: (listp args)
I have had a look into your issue and it looks like you have an issue with quelpa, basically we configure the following:
(defun configuration-layer//configure-quelpa ()
"Configure `quelpa' package."
(with-eval-after-load 'quelpa
(setq quelpa-verbose init-file-debug
quelpa-dir (concat spacemacs-cache-directory "quelpa/")
quelpa-build-dir (expand-file-name "build" quelpa-dir)
quelpa-persistent-cache-file (expand-file-name "cache" quelpa-dir)
quelpa-update-melpa-p nil
quelpa-build-explicit-tar-format-p (eq (quelpa--tar-type) 'gnu)))) ;; this is causing your issue
This will tell quelpa to explicitly require the gnu format from a tar executable if it is a gnu tar. Quelpa will check the version of the executable and if it does not find it fallback to gnu
.
(defun quelpa--tar-type ()
"Return `bsd' or `gnu' depending on type of Tar executable.
Tests and sets variable `quelpa--tar-type' if not already set."
(or quelpa--tar-type
(when (and quelpa-build-tar-executable
(file-executable-p quelpa-build-tar-executable))
(setq quelpa--tar-type
(let ((v (shell-command-to-string
(format "%s --version" quelpa-build-tar-executable))))
(cond ((string-match-p "bsdtar" v) 'bsd)
((string-match-p "GNU tar" v) 'gnu)
(t 'gnu)))))))
What you need to do now:
Once the given return type is not longer gnu
spacemacs will stop requiring quelpa to set the format parameter and the commands should work on your OS.
Description :octocat:
spacemacs fails to start.
Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart: failed to install vim-streamline
Expected behaviour: :heart: :smile: success to install vim-streamline
System Info :computer:
Backtrace :paw_prints:
tar is gnu tar1.35