emacsorphanage/req-package

req-packges is not dowloadnig all the packages

gozes opened this issue · 14 comments

gozes commented

I set up a new Linux box this weekend and after cloning my Emacs config that uses req-package for setup I notice that only 3 or 4 packages are being download. not even the color theme is being downloaded. it was working fine two weeks ago and I haven't really change anything aside from adding packages that I testing. Here is my emacs config for references https://github.com/gozes/.emacs.d

Could you, please, provide a list of package that are not downloaded?

gozes commented

from the only things being install is company, req-pacakage, load-dir and clojuer mode. everything is missing

screenshot

It's strange. I tried to bootstrap your config. Everthing looks fine. Could you, please, remove all byte-compiled files and try again.

Also your emacs and os version might be helpful.

And the last thing, try to execute M-x req-package--log-open-log, maybe there are some errors.

What version do you use? melpa stable, melpa or el-get?

gozes commented

linux 17.2 emacs 24.3 I am using melpa and there is nothing on the req-package logs

here is the compile logs

I don't have anything bite compile and I just cloned it again from my GH

Leaving directory /home/gozes/.emacs.d/elpa/log4e-20150105.505' Compiling file /home/gozes/.emacs.d/elpa/log4e-20150105.505/log4e-pkg.el at Wed Sep 16 14:22:58 2015 Entering directory/home/gozes/.emacs.d/elpa/log4e-20150105.505/'

Compiling file /home/gozes/.emacs.d/elpa/log4e-20150105.505/log4e.el at Wed Sep 16 14:22:58 2015

Compiling no file at Wed Sep 16 14:22:58 2015
Leaving directory /home/gozes/.emacs.d/elpa/dash-20150829.433' Compiling file /home/gozes/.emacs.d/elpa/dash-20150829.433/dash-pkg.el at Wed Sep 16 14:22:58 2015 Entering directory/home/gozes/.emacs.d/elpa/dash-20150829.433/'

Compiling file /home/gozes/.emacs.d/elpa/dash-20150829.433/dash.el at Wed Sep 16 14:22:58 2015

Compiling no file at Wed Sep 16 14:22:59 2015
Leaving directory /home/gozes/.emacs.d/elpa/diminish-20091203.1012' Compiling file /home/gozes/.emacs.d/elpa/diminish-20091203.1012/diminish-pkg.el at Wed Sep 16 14:22:59 2015 Entering directory/home/gozes/.emacs.d/elpa/diminish-20091203.1012/'

Compiling file /home/gozes/.emacs.d/elpa/diminish-20091203.1012/diminish.el at Wed Sep 16 14:22:59 2015

Compiling no file at Wed Sep 16 14:22:59 2015
Leaving directory /home/gozes/.emacs.d/elpa/bind-key-20150321.213' Compiling file /home/gozes/.emacs.d/elpa/bind-key-20150321.213/bind-key-pkg.el at Wed Sep 16 14:22:59 2015 Entering directory/home/gozes/.emacs.d/elpa/bind-key-20150321.213/'

Compiling file /home/gozes/.emacs.d/elpa/bind-key-20150321.213/bind-key.el at Wed Sep 16 14:22:59 2015

Compiling no file at Wed Sep 16 14:23:00 2015
Leaving directory /home/gozes/.emacs.d/elpa/use-package-20150906.2051' Compiling file /home/gozes/.emacs.d/elpa/use-package-20150906.2051/use-package-pkg.el at Wed Sep 16 14:23:00 2015 Entering directory/home/gozes/.emacs.d/elpa/use-package-20150906.2051/'

Compiling file /home/gozes/.emacs.d/elpa/use-package-20150906.2051/use-package.el at Wed Sep 16 14:23:00 2015

Compiling no file at Wed Sep 16 14:23:00 2015
Leaving directory /home/gozes/.emacs.d/elpa/req-package-20150913.314' Compiling file /home/gozes/.emacs.d/elpa/req-package-20150913.314/req-package-pkg.el at Wed Sep 16 14:23:00 2015 Entering directory/home/gozes/.emacs.d/elpa/req-package-20150913.314/'

Compiling file /home/gozes/.emacs.d/elpa/req-package-20150913.314/req-package.el at Wed Sep 16 14:23:00 2015

In end of data:
req-package.el:581:1:Warning: the following functions are not known to be defined:
el-get-recipe-filename, el-get

Compiling no file at Wed Sep 16 14:23:01 2015
Leaving directory /home/gozes/.emacs.d/elpa/load-dir-0.0.3' Compiling file /home/gozes/.emacs.d/elpa/load-dir-0.0.3/load-dir-pkg.el at Wed Sep 16 14:23:01 2015 Entering directory/home/gozes/.emacs.d/elpa/load-dir-0.0.3/'

Compiling file /home/gozes/.emacs.d/elpa/load-dir-0.0.3/load-dir.el at Wed Sep 16 14:23:01 2015

Compiling no file at Wed Sep 16 14:23:01 2015
Leaving directory /home/gozes/.emacs.d/elpa/spinner-1.4' Compiling file /home/gozes/.emacs.d/elpa/spinner-1.4/spinner-pkg.el at Wed Sep 16 14:23:01 2015 Entering directory/home/gozes/.emacs.d/elpa/spinner-1.4/'

Compiling file /home/gozes/.emacs.d/elpa/spinner-1.4/spinner.el at Wed Sep 16 14:23:01 2015
spinner.el:184:1:Warning: Unused lexical variable delay-before-start' spinner.el:184:1:Warning: Unused lexical variableframes-per-second'
spinner.el:262:1:Warning: Unused lexical variable delay-before-start' spinner.el:262:1:Warning: Unused lexical variableframes-per-second'
spinner.el:262:1:Warning: Unused lexical variable buffer-local' spinner.el:262:1:Warning: Unused lexical variabletype'

Compiling no file at Wed Sep 16 14:23:02 2015
Leaving directory /home/gozes/.emacs.d/elpa/queue-0.1.1' Compiling file /home/gozes/.emacs.d/elpa/queue-0.1.1/queue-pkg.el at Wed Sep 16 14:23:02 2015 Entering directory/home/gozes/.emacs.d/elpa/queue-0.1.1/'

Compiling file /home/gozes/.emacs.d/elpa/queue-0.1.1/queue.el at Wed Sep 16 14:23:02 2015

Compiling no file at Wed Sep 16 14:23:02 2015
Leaving directory /home/gozes/.emacs.d/elpa/epl-20150517.433' Compiling file /home/gozes/.emacs.d/elpa/epl-20150517.433/epl-pkg.el at Wed Sep 16 14:23:02 2015 Entering directory/home/gozes/.emacs.d/elpa/epl-20150517.433/'

Compiling file /home/gozes/.emacs.d/elpa/epl-20150517.433/epl.el at Wed Sep 16 14:23:02 2015

In end of data:
epl.el:696:1:Warning: the function define-error' is not known to be defined. Compiling no file at Wed Sep 16 14:23:02 2015 Leaving directory/home/gozes/.emacs.d/elpa/pkg-info-20150517.443'

Compiling file /home/gozes/.emacs.d/elpa/pkg-info-20150517.443/pkg-info-pkg.el at Wed Sep 16 14:23:02 2015
Entering directory /home/gozes/.emacs.d/elpa/pkg-info-20150517.443/' Compiling file /home/gozes/.emacs.d/elpa/pkg-info-20150517.443/pkg-info.el at Wed Sep 16 14:23:02 2015 Compiling no file at Wed Sep 16 14:23:03 2015 Leaving directory/home/gozes/.emacs.d/elpa/clojure-mode-20150910.1321'

Compiling file /home/gozes/.emacs.d/elpa/clojure-mode-20150910.1321/clojure-mode-pkg.el at Wed Sep 16 14:23:03 2015
Entering directory `/home/gozes/.emacs.d/elpa/clojure-mode-20150910.1321/'

Compiling file /home/gozes/.emacs.d/elpa/clojure-mode-20150910.1321/clojure-mode.el at Wed Sep 16 14:23:03 2015

In clojure-mode-variables:
clojure-mode.el:257:46:Warning: assignment to free variable
electric-pair-skip-whitespace' clojure-mode.el:269:53:Warning: assignment to free variable electric-pair-open-newline-between-pairs'
clojure-mode.el:268:38:Warning: assignment to free variable
prettify-symbols-alist' Compiling no file at Wed Sep 16 14:23:05 2015 Leaving directory/home/gozes/.emacs.d/elpa/cider-20150915.2141'

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-apropos.el at Wed Sep 16 14:23:05 2015
Entering directory /home/gozes/.emacs.d/elpa/cider-20150915.2141/' Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-browse-ns.el at Wed Sep 16 14:23:06 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-classpath.el at Wed Sep 16 14:23:06 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-client.el at Wed Sep 16 14:23:06 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-debug.el at Wed Sep 16 14:23:06 2015 cider-debug.el:125:1:Warning: Unused lexical variablens'
cider-debug.el:125:1:Warning: Unused lexical variable `instrumented-defs'

In cider--debug-move-point:
cider-debug.el:422:4:Warning: value returned from (car (prog1 (car
(internal-get-closed-var 0)) (setcar (internal-get-closed-var 0) (cdr (car
(internal-get-closed-var 0)))))) is unused

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-doc.el at Wed Sep 16 14:23:06 2015

In end of data:
cider-doc.el:401:1:Warning: the following functions are not known to be defined:
cider-grimoire-lookup, cider-grimoire-web-lookup

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-eldoc.el at Wed Sep 16 14:23:06 2015

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-grimoire.el at Wed Sep 16 14:23:06 2015

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-inspector.el at Wed Sep 16 14:23:06 2015

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-interaction.el at Wed Sep 16 14:23:06 2015
cider-interaction.el:768:1:Warning: Unused lexical variable hop' cider-interaction.el:768:1:Warning: Unused lexical variablehost'
cider-interaction.el:768:1:Warning: Unused lexical variable user' cider-interaction.el:768:1:Warning: Unused lexical variablemethod'

In end of data:
cider-interaction.el:2444:1:Warning: the function `add-face-text-property' is
not known to be defined.

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-macroexpansion.el at Wed Sep 16 14:23:07 2015

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-mode.el at Wed Sep 16 14:23:07 2015

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-overlays.el at Wed Sep 16 14:23:07 2015

Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-repl.el at Wed Sep 16 14:23:07 2015

In cider-repl-mode:
cider-repl.el:1143:38:Warning: assignment to free variable
prettify-symbols-alist' Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-resolve.el at Wed Sep 16 14:23:07 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-scratch.el at Wed Sep 16 14:23:07 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-selector.el at Wed Sep 16 14:23:07 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-stacktrace.el at Wed Sep 16 14:23:07 2015 cider-stacktrace.el:505:1:Warning: Unused lexical argumentbutton'

In cider-stacktrace--create-go-to-err-button:
cider-stacktrace.el:521:37:Warning: goto-line' used from Lisp code That command is designed for interactive use only Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-test.el at Wed Sep 16 14:23:07 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider-util.el at Wed Sep 16 14:23:07 2015 Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/cider.el at Wed Sep 16 14:23:07 2015 cider.el:347:1:Warning: Unused lexical variablecur-hop'
cider.el:347:1:Warning: Unused lexical variable cur-localname' cider.el:347:1:Warning: Unused lexical variablecur-user'
cider.el:347:1:Warning: Unused lexical variable cur-method' Compiling file /home/gozes/.emacs.d/elpa/cider-20150915.2141/nrepl-client.el at Wed Sep 16 14:23:07 2015 nrepl-client.el:677:1:Warning: Unused lexical variablehop'
nrepl-client.el:677:1:Warning: Unused lexical variable localname' nrepl-client.el:677:1:Warning: Unused lexical variablemethod'
nrepl-client.el:817:1:Warning: Unused lexical variable session' Compiling no file at Wed Sep 16 14:23:08 2015 Leaving directory/home/gozes/.emacs.d/elpa/clojure-quick-repls-20150814.36'

Compiling file /home/gozes/.emacs.d/elpa/clojure-quick-repls-20150814.36/clojure-quick-repls-pkg.el at Wed Sep 16 14:23:08 2015
Entering directory `/home/gozes/.emacs.d/elpa/clojure-quick-repls-20150814.36/'

Compiling file /home/gozes/.emacs.d/elpa/clojure-quick-repls-20150814.36/clojure-quick-repls.el at Wed Sep 16 14:23:08 2015

In clojure-quick-repls-connect:
clojure-quick-repls.el:88:96:Warning: nrepl-current-connection-buffer' is an obsolete function (as of 0.10); usecider-default-connection' instead.
clojure-quick-repls.el:98:37:Warning: nrepl-current-connection-buffer' is an obsolete function (as of 0.10); usecider-default-connection' instead.

In clojure-quick-repls-switch-to-relevant-repl:
clojure-quick-repls.el:137:42:Warning: cider-switch-to-current-repl-buffer' is an obsolete function (as of 0.10); use cider-switch-to-default-repl-buffer' instead.

In end of data:
clojure-quick-repls.el:156:1:Warning: the following functions are not known to be defined:
clojure-quick-repls-nrepl-connected-fn,
nrepl-make-connection-default, nrepl-current-host, advice-add

Compiling no file at Wed Sep 16 14:23:08 2015
Leaving directory /home/gozes/.emacs.d/elpa/coffee-mode-20150906.2225' Compiling file /home/gozes/.emacs.d/elpa/coffee-mode-20150906.2225/coffee-mode-pkg.el at Wed Sep 16 14:23:08 2015 Entering directory/home/gozes/.emacs.d/elpa/coffee-mode-20150906.2225/'

Compiling file /home/gozes/.emacs.d/elpa/coffee-mode-20150906.2225/coffee-mode.el at Wed Sep 16 14:23:08 2015

In coffee-mode:
coffee-mode.el:1199:30:Warning: assignment to free variable
electric-indent-functions' Compiling no file at Wed Sep 16 14:23:10 2015 Leaving directory/home/gozes/.emacs.d/elpa/company-20150727.1415'

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-abbrev.el at Wed Sep 16 14:23:10 2015
Entering directory `/home/gozes/.emacs.d/elpa/company-20150727.1415/'

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-bbdb.el at Wed Sep 16 14:23:10 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-capf.el at Wed Sep 16 14:23:10 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-clang.el at Wed Sep 16 14:23:10 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-cmake.el at Wed Sep 16 14:23:10 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-css.el at Wed Sep 16 14:23:10 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-dabbrev-code.el at Wed Sep 16 14:23:10 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-dabbrev.el at Wed Sep 16 14:23:10 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-eclim.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-elisp.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-etags.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-files.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-gtags.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-ispell.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-keywords.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-nxml.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-oddmuse.el at Wed Sep 16 14:23:11 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-semantic.el at Wed Sep 16 14:23:12 2015

In end of data:
company-semantic.el:157:1:Warning: the function
`semantic-format-tag-prototype' is not known to be defined.

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-template.el at Wed Sep 16 14:23:12 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-tempo.el at Wed Sep 16 14:23:12 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-xcode.el at Wed Sep 16 14:23:12 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company-yasnippet.el at Wed Sep 16 14:23:12 2015

Compiling file /home/gozes/.emacs.d/elpa/company-20150727.1415/company.el at Wed Sep 16 14:23:12 2015

In company--force-sync:
company.el:871:19:Warning: time-to-seconds' is an obsolete function (as of 21.1); usefloat-time' instead.
company.el:875:25:Warning: time-to-seconds' is an obsolete function (as of 21.1); usefloat-time' instead.
company.el:1320:1:Warning: Unused lexical argument `err'

gozes commented

that is how it look for me after req-pacakage is done

screenshot-emacs24 makishima

gozes commented

as you can see req-package logs are empty but it just stops after company mode.

screenshot-emacs24 makishima-1

I got it. Here is your company configuration:

(req-package company
  :init (progn
      (global-company-mode)))

It's not completely correct. Referring to use-package documentation :init is called always before package loading. You should use :config instead, because it's called after require.
Could you, please, try this fix?
Anyway, I think I should add error handling for :init block, so you may leave this issue opened even in case this fix help you.

gozes commented

nop that didn’t work and besides it work fine for you with company set to init instead of config

I refactored code a bit and added logs. Please try to upgrade and run with req-package-log-level set to 'trace

gozes commented

So whatever you did just fix the issue on my end. Now, this is odd

It was a lot of refactoring and major fixes today. Also I added some additional log messages.