Doom-emacs: Make install fails for some packages in default init.el from master branch

Created on 1 Feb 2019  Â·  12Comments  Â·  Source: hlissner/doom-emacs

Observed behavior

When I clone .emacs.d from the master branch of Doom Emacs, and started with a default init.el after copying from init.example.el, the make install succeeds for most packages, but fails for 6 packages, which are the following:

  • auth-password-store (ELPA)
  • centered-window-mode (ELPA)
  • help-fns+ (ELPA)
  • ob-redis (ELPA)
  • org-bullets (QUELPA)
  • ox-reveal (ELPA)

With the help of FAQ, I tried again with INSECURE=1 make install, but no avail.

The rest of more than 200+ packages installed successfully, and Doom-Emacs installation finished. Except the errornous packages as listed above.

The error output of these packages are

Installing ox-reveal
FATAL ERROR: (error) Need package ‘org-20150330’, but only 9.2 is available
Installing centered-window-mode
FATAL ERROR: (error) Package ‘centered-window-mode-’ is unavailable
Installing ob-redis
FATAL ERROR: (error) Package ‘ob-redis-’ is unavailable
Installing org-bullets
FATAL ERROR: (error) Invalid version syntax: ‘Command ’(env LC_ALL=C /usr/bin/timeout -k 60 600 git clone https://github.com/hlissner/org-bullets.git /home/[my name removed]/.emacs.d/.local/packages/quelpa/build/org-bullets/)’ exited with non-zero status 128: Cloning into ’/home/[my name removed]/.emacs.d/.local/packages/quelpa/build/org-bullets’...
fatal: could not read Username for ’https://github.com’: No such device or address
’ (must start with a number)
Installing auth-password-store
FATAL ERROR: (error) Package ‘auth-password-store-’ is unavailable
Installing help-fns+
FATAL ERROR: (error) Package ‘help-fns+-’ is unavailable

Expected behavior

These packages should be installed, given they're included in the default stable release of Emacs-Doom's init.el.

Steps to reproduce

  1. /bin/bash (to make sure bash is used as shell interpreter.
  2. git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
  3. cd ~/.emacs.d
  4. make install.

System information

$ make -v
GNU Make 4.1
Built for x86_64-pc-linux-gnu

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

$  emacs --version
GNU Emacs 27.0.50
Copyright (C) 2018 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

If you want see the details of compiling Emacs binary on Debian/Ubuntu based system, see below for my added shell script for autocompiling Emacs binary.


When starting Emacs frame, I notice the splash screen of Doom-Emacs. Trying M-x doom/info (from inside Doom-Emacs), gives me the following output:

DOOM Doctor
Running Emacs v27.0.50, commit fatal: not a git repository (or any of the parent directories): .git

shell: /usr/bin/fish
Compiled with:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS GMP
uname -a:
Linux desktop 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux

Attempt to load DOOM: success! Loaded v2.0.9
Revision 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c

----

test-emacs
test-windows
test-fonts
Warning: couldn’t find material-design-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find weathericons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find octicons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find fontawesome.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find file-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find all-the-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
test-gnutls
test-tls
Validated https://elpa.gnu.org
Validated https://melpa.org
Successfully rejected https://self-signed.badssl.com
Successfully rejected https://wrong.host.badssl.com/
test-tar
Everything seems fine, happy Emacs’ing!

Then DEBUG=1 make doctor inside .emacs.d on command line gives me the following output:

DOOM Doctor
Running Emacs v27.0.50, commit 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c

shell: /usr/bin/fish
Compiled with:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS GMP
uname -a:
Linux desktop 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux

Attempt to load DOOM: success! Loaded v2.0.9
Revision 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c

----

test-emacs
test-windows
test-fonts
Warning: couldn’t find material-design-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find weathericons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find octicons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find fontawesome.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find file-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
Warning: couldn’t find all-the-icons.ttf font in /home/[my name removed]/.local/share/fonts/
You can install it by running ‘M-x all-the-icons-install-fonts’ within
Emacs.

This could also mean you’ve installed them in non-standard locations,
in which case, ignore this warning.
test-gnutls
test-tls
Validated https://elpa.gnu.org
Validated https://melpa.org
Successfully rejected https://self-signed.badssl.com
Successfully rejected https://wrong.host.badssl.com/
test-tar

====
Have some debug information:

+ enabled modules:
+eval                  +evil                  +file-templates
+jump                  +services              +snippets
+spellcheck            +syntax-checker        +version-control
+workspaces            +company               +ivy
+doom                  +doom-dashboard        +doom-modeline
+doom-quit             +hl-todo               +nav-flash
+evil-goggles          +vi-tilde-fringe       +window-select
+dired                 +electric-indent       +eshell
+gist                  +imenu                 +impatient-mode
+make                  +neotree               +password-store
+rotate-text           +term                  +tmux
+upload                +assembly              +cc
+crystal               +clojure               +csharp
+data                  +elixir                +elm
+emacs-lisp            +go                    +haskell
+hy                    +java                  +javascript
+julia                 +latex                 +ledger
+lua                   +markdown              +ocaml
+org                   +perl                  +php
+plantuml              +purescript            +python
+rest                  +ruby                  +rust
+scala                 +sh                    +swift
+typescript            +web                   +default

+ enabled packages:
ac-alchemist-20150908.656          ace-link-20190127.1654
ace-window-20190201.1840           alchemist-20180312.1304
all-the-icons-20180125.1557        anaconda-mode-20190111.1524
android-mode-20190109.1014         auctex-12.1.1
auto-compile-20181230.2216         auto-yasnippet-20181124.1638
avy-20190126.2029                  cider-20190125.1339
clj-refactor-20190117.1235         cmake-mode-20180709.1426
coffee-mode-20170324.940           command-log-mode-20160413.447
company-20190116.1133              company-anaconda-20181025.1305
company-auctex-20180725.1912       company-dict-20180216.956
company-ghc-20170918.833           company-glsl-20150111.1148
company-go-20180427.1856           company-inf-ruby-20140805.2054
company-irony-20190124.2346        company-irony-c-headers-20151018.909
company-lua-20171108.2306          company-php-20181110.303
company-quickhelp-20180525.1003    company-racer-20171205.310
company-restclient-20151202.1201   company-shell-20170518.541
company-sourcekit-20170126.1153    company-statistics-20170210.1933
company-tern-20161004.1847         company-web-20180402.1155
counsel-20190130.1632              counsel-css-20180302.1136
counsel-projectile-20190127.1304   crystal-mode-20180827.329
csharp-mode-20181011.718           cuda-mode-20151214.321
demangle-mode-20190117.257         dired-k-20170313.1503
disaster-20171016.2152             dockerfile-mode-20181104.1800
doom-themes-20190109.538           dumb-jump-20181221.2347
editorconfig-20190118.401          eldoc-eval-20190106.2000
elixir-mode-20190103.1736          elm-mode-20190114.0
emacs-snippets-20190122.317        emmet-mode-20180613.341
ensime-20180615.1330               eslintd-fix-20180429.1455
evil-20190104.1026                 evil-anzu-20170124.718
evil-args-20180908.2157            evil-commentary-20170413.1451
evil-easymotion-20180114.654       evil-embrace-20160519.1829
evil-escape-20180910.1234          evil-exchange-20170511.259
evil-goggles-20181123.1946         evil-indent-plus-20151109.1906
evil-ledger-20180802.1612          evil-matchit-20181230.139
evil-mc-20180921.1727              evil-multiedit-20190103.715
evil-numbers-20140606.1251         evil-snipe-20180731.1731
evil-surround-20181218.1957        evil-textobj-anyblock-20170905.1907
evil-vimish-fold-20171030.1151     evil-visualstar-20160223.48
expand-region-20180817.1134        flycheck-20190125.942
flycheck-cask-20160928.926         flycheck-crystal-20180627.242
flycheck-elm-20181107.146          flycheck-irony-20180604.2152
flycheck-ledger-20180819.321       flycheck-perl6-20180509.2201
flycheck-plantuml-20171018.111     flycheck-pos-tip-20180610.1615
flycheck-rust-20180904.1117        flyspell-correct-20181223.1148
flyspell-correct-ivy-20181205.1932 fringe-helper-20140620.2109
gist-20171128.406                  git-gutter-fringe-20170113.533
git-link-20181031.259              git-timemachine-20181204.1546
gitconfig-mode-20180318.1956       gitignore-mode-20180318.1956
glsl-mode-20170927.1436            go-eldoc-20170305.1427
go-guru-20181012.330               go-mode-20181012.329
gorepl-mode-20170905.945           groovy-mode-20181111.1057
haml-mode-20170924.453             haskell-mode-20181122.823
haxor-mode-20160618.1129           highlight-indentation-20181204.839
highlight-numbers-20181013.1744    highlight-quoted-20140916.1822
hindent-20180518.902               hl-todo-20190117.2101
htmlize-20180923.1829              hy-mode-20181124.1906
hydra-20181128.1716                imenu-anywhere-20170805.1855
imenu-list-20190115.2130           impatient-mode-20181002.1231
inf-ruby-20190130.1335             intero-20190109.2039
irony-20190125.1234                irony-eldoc-20170502.1908
ivy-20190130.1326                  ivy-bibtex-20190113.1845
ivy-hydra-20190126.2035            ivy-rtags-20170523.454
ivy-xref-20180821.1211             js2-mode-20180724.801
js2-refactor-20180502.1042         json-mode-20190123.422
julia-mode-20190111.2044           ledger-mode-20181230.2120
lua-mode-20190113.1050             macrostep-20161120.2106
magit-20190130.1737                makefile-executor-20180720.832
markdown-mode-20181229.1430        markdown-toc-20170711.1949
meghanada-20190122.1341            merlin-20190122.1629
mips-mode-20180502.1457            modern-cpp-font-lock-20180110.2031
moonscript-20170831.2226           multi-term-20160619.933
nasm-mode-20180711.1909            nav-flash-20140508.2041
neotree-20181121.2026              nodejs-repl-20181024.1654
nose-20140520.1648                 ob-go-20181107.1941
ob-mongo-20170720.1919             ob-restclient-20180904.709
ob-rust-20180911.1535              ob-sql-mode-20180426.1911
ob-translate-20170720.1919         omnisharp-20181206.21
opencl-mode-20170816.1249          org-download-20190114.1600
org-tree-slide-20181226.947        overseer-20180226.619
ox-pandoc-20180510.1338            pass-20190102.1311
password-store-20181031.1440       pcre2el-20161120.2103
perl6-mode-20180619.1159           persp-mode-20180930.1720
php-boris-20130527.821             php-extras-20160518.1716
php-mode-20190109.1320             php-refactor-mode-20171124.635
phpunit-20180829.1438              pip-requirements-20181027.1629
plantuml-mode-20190108.2206        prodigy-20180511.938
projectile-20190126.1117           psc-ide-20190122.1014
pug-mode-20180513.2126             purescript-mode-20181028.838
quickrun-20170223.115              racer-20190124.538
rainbow-delimiters-20170929.1132   rainbow-mode-1.0.1
rake-20180212.1008                 restclient-20190122.942
rjsx-mode-20181207.803             rotate-text-20111204.239
rspec-mode-20181209.25             rtags-20181205.1639
ruby-refactor-20160214.1650        rust-mode-20190125.2135
sass-mode-20161007.626             sbt-mode-20180511.1622
scala-mode-20170802.1132           shackle-20190201.1846
shader-mode-20180518.1157          shrink-path-20170813.247
skewer-mode-20180706.1807          slime-20190126.2123
smart-forward-20140430.713         smartparens-20190128.1747
smex-20151212.2209                 solaire-mode-20181226.2226
ssh-deploy-20181220.716            stylus-mode-20150313.1512
swift-mode-20190114.451            swiper-20190126.2035
tern-20181108.722                  tide-20190121.1413
toc-org-20181108.1621              toml-mode-20161107.1800
tuareg-20181219.354                typescript-mode-20181221.905
undo-tree-0.6.5                    vi-tilde-fringe-20141028.242
vimrc-mode-20181116.1919           visual-fill-column-20190129.21
web-beautify-20161115.2247         web-mode-20190131.1348
wgrep-20181229.40                  which-key-20181114.1432
xref-js2-20170530.826              yaml-mode-20180409.607
yard-mode-20170817.1237            yasnippet-20181015.1212

+ byte-compiled files:
n/a                                    

+ exec-path:
/usr/bin/
/home/[my name removed]/.fzf/bin
/home/[my name removed]/.cargo/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
/usr/local/libexec/emacs/27.0.50/x86_64-pc-linux-gnu

+ PATH:
/usr/bin/
/home/[my name removed]/.fzf/bin
/home/[my name removed]/.cargo/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin

Everything seems fine, happy Emacs’ing!

If you really want to reproduce this, and compile Emacs on Debian/Ubuntu based system, please copy the shell script below, and give executable rights with chmod +x, then run it with ./[name of shell script below].sh

#!/usr/bin/env bash

# Emacs
sudo apt install -y autoconf                   # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y ispell                     # Spell checker for Emacs
sudo apt install -y libevent-dev
sudo apt install -y libgif-dev                 # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libgmime-2.6-dev
sudo apt install -y libgnutls-dev              # Dev version for 16.04, includes libs and headers for comping Emacs
sudo apt install -y libgnutls28-dev            # Dev version for 18.04, includes libs and headers for comping Emacs
sudo apt install -y libgtk-3-dev               # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libgtk2.0-dev              # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libjpeg-dev                # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libncurses-dev             # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libncurses5-dev
sudo apt install -y libncursesw5-dev
sudo apt install -y libpng-dev                 # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libpng-dev libz-dev        # Emacs with PDF-tools pacakge 
sudo apt install -y libpoppler-glib-dev        # Emacs with PDF-tools pacakge 
sudo apt install -y libpoppler-private-dev     # Emacs with PDF-tools pacakge 
sudo apt install -y libtiff-dev                # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libtool                    # X11 window to compile Emacs with X11 support
sudo apt install -y libx11-dev                 # X11 window to compile Emacs with X11 support
sudo apt install -y libxi-dev                  # additional packages
sudo apt install -y libxpm-dev                 # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y libxtst-dev
sudo apt install -y texinfo                    # GTK toolkit to compile Emacs with GTK interface
sudo apt install -y xz-utils                   # To extract Emacs XZ package from GNU
# get all dependencies of a previous emacs version
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo sed -i~orig -e 's/# deb-src/deb-src/' /etc/apt/sources.list   
sudo apt update
sudo apt build-dep emacs 
# get source
git clone --depth 1 https://github.com/emacs-mirror/emacs.git /tmp/emacs
# Go to source and build
cd /tmp/emacs
sudo ./autogen.sh
sudo ./configure
sudo make -j4
# Install (optional)
sudo make install
sudo cp -R /usr/local/bin/emacs /usr/bin/emacs

# PDF tools 
git clone --depth 1 https://github.com/politza/pdf-tools /tmp/pdf-tools
sudo make -C /tmp/pdf-tools install-server-deps
sudo make -C /tmp/pdf-tools -s

invalid

Most helpful comment

👋 new to emacs and total noob. A friend recommended I give doom-emacs a spin. Thank you all for this project, as a long-term vim user I'm excited to be inducted into the church of emacs.

I'm running mac os (Mojave 10.14.3) and had problems with make install described by the OP. I was able to get things resolved. I've documented what I did in case it's helpful for others who find themselves on this issue looking for help getting setup.

As per @CodyWilson's instructions in the previous comment about the develop branch, I followed these instructions:

Per the readme of the develop branch you'd run quickstart instead of install.

git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~./.emacs.d
git checkout develop
./bin/doom quickstart

But I experienced this error:

~/.emacs.d <develop>
$  ./bin/doom quickstart
Installing core packages
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
Failed to download ‘melpa’ archive.
Package refresh done
Failed to download ‘org’ archive.
Package ‘persistent-soft-’ is unavailable

Using the ./bin/doom doctor script I saw this error message:

Failed to validate https://elpa.gnu.org 
(error "Certificate validation failed elpa.gnu.org, verification code 142")

I found this issue about gnutls-cli issues that looked like the same problem I was experiencing. Based on this comment I reasoned my emacs version was the culprit.

Checking the system emacs version shipped with Mojave:

$ emacs --version
GNU Emacs 25.3.1

I saw that emacs is currently on version 26. So I installed emacs via homebrew:

$ brew install emacs

Don't forget to symlink your newly installed emacs:

$ brew link emacs

I then wiped out and re-cloned the doom-emacs repo to start fresh, and re-ran ./bin/doom quickstart and everything was 👍.

All 12 comments

Per the discord. The master branch has been broken for quite a while, and the develop branch is a significant remake that henrik doesn't want to merge into master until documentation is finished.

So you should be using the develop branch for now.

Per the readme of the develop branch you'd run quickstart instead of install.

git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~./.emacs.d
git checkout develop
./bin/doom quickstart

👋 new to emacs and total noob. A friend recommended I give doom-emacs a spin. Thank you all for this project, as a long-term vim user I'm excited to be inducted into the church of emacs.

I'm running mac os (Mojave 10.14.3) and had problems with make install described by the OP. I was able to get things resolved. I've documented what I did in case it's helpful for others who find themselves on this issue looking for help getting setup.

As per @CodyWilson's instructions in the previous comment about the develop branch, I followed these instructions:

Per the readme of the develop branch you'd run quickstart instead of install.

git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~./.emacs.d
git checkout develop
./bin/doom quickstart

But I experienced this error:

~/.emacs.d <develop>
$  ./bin/doom quickstart
Installing core packages
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
Failed to download ‘melpa’ archive.
Package refresh done
Failed to download ‘org’ archive.
Package ‘persistent-soft-’ is unavailable

Using the ./bin/doom doctor script I saw this error message:

Failed to validate https://elpa.gnu.org 
(error "Certificate validation failed elpa.gnu.org, verification code 142")

I found this issue about gnutls-cli issues that looked like the same problem I was experiencing. Based on this comment I reasoned my emacs version was the culprit.

Checking the system emacs version shipped with Mojave:

$ emacs --version
GNU Emacs 25.3.1

I saw that emacs is currently on version 26. So I installed emacs via homebrew:

$ brew install emacs

Don't forget to symlink your newly installed emacs:

$ brew link emacs

I then wiped out and re-cloned the doom-emacs repo to start fresh, and re-ran ./bin/doom quickstart and everything was 👍.

@rewinfrey thanks for sharing your solution. I stumbled upon the same issue as you have, thanks!

@rewinfrey Nice to hear that you solved in, and good job. Would you mind closing this issue also?

@pvinis I can't close this issue b/c I'm not the issue's author.

@ReneFroger if your issue is resolved, mind closing this out?

oops, sorry for that. I thought it was yours. Thanks for taking the correct person. :)

I have followed the steps but I didn't get it to work:

macOS 10.14

$ emacs --version
GNU Emacs 26.1
$ pwd
/Users/jq/.emacs.d
$ git branch
* develop
  master
$ make install
Looking for packages to install...
6 packages will be installed:

+ auth-password-store (ELPA)
+ centered-window-mode (ELPA)
+ help-fns+ (ELPA)
+ ob-redis (ELPA)
+ org-bullets (QUELPA)
+ ox-reveal (ELPA)

Proceed? (y or n) y
Refreshing package archives
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:443
Contacting host: elpa.gnu.org:443
Contacting host: melpa.org:443
Package refresh done
Installing ox-reveal
  FATAL ERROR: (error) Need package ‘org-20150330’, but only 9.2.2 is available
Installing centered-window-mode
  FATAL ERROR: (error) Package ‘centered-window-mode-’ is unavailable
Installing ob-redis
  FATAL ERROR: (error) Package ‘ob-redis-’ is unavailable
Installing org-bullets
  FATAL ERROR: (error) Failed to checkout ‘org-bullets’: ‘Command ’(env LC_ALL=C /usr/local/bin/gtimeout -k 60 600 git clone https://github.com/hlissner/org-bullets.git /Users/jq/.emacs.d/.local/packages/quelpa/build/org-bullets/)’ exited with non-zero status 128: Cloning into ’/Users/jq/.emacs.d/.local/packages/quelpa/build/org-bullets’...
remote: Repository not found.
fatal: repository ’https://github.com/hlissner/org-bullets.git/’ not found
’
Installing auth-password-store
  FATAL ERROR: (error) Package ‘auth-password-store-’ is unavailable
Installing help-fns+
  FATAL ERROR: (error) Package ‘help-fns+-’ is unavailable
Finished!

@joseluisq Something is wrong with your local repo. It certainly shows you're on develop, but most of those packages you're having trouble with are only installed on master. Perhaps you byte-compiled (with make compile) while on master, before switching to develop?

It would be simplest to just wipe ~/.emacs.d and reclone:

git clone -b develop https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom quickstart

it works now thanks!

It doesn't still work:

git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~./.emacs.d
git checkout develop
./bin/doom quickstart
/usr/bin/env: ‘sh\r’: No such file or directory

Anyone that could tell me what sh\r might be?

@ReneFroger What's the value of $SHELL in your shell?

@hlissner

 echo $SHELL
/usr/bin/fish

Then I tried to change the shell to bash (I thought it should also be able to work on Fish shell?):

$ sudo chsh -s /bin/bash [my name]
$ echo $SHELL
/usr/bin/fish

Seems I cannot switch shells.

Was this page helpful?
0 / 5 - 0 ratings