Giter VIP home page Giter VIP logo

Comments (3)

o8vm avatar o8vm commented on June 22, 2024

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)

from spacemacs.

o8vm avatar o8vm commented on June 22, 2024

I referenced https://www.reddit.com/r/emacs/comments/156ncup/using_spacemacs_with_android_emacs/

from spacemacs.

smile13241324 avatar smile13241324 commented on June 22, 2024

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:

  • Check what the posted condition returns on your android device, I assume its something unknown triggering the fallback
  • Then open a PR upstream to get the proper type

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.

from spacemacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.