Closed stardiviner closed 6 years ago
Should be fixed by ef1d1e1b7401895cbd2ca555d228a8febb91de03.
If you still get that error, then that's because archive-contents
is not recreated everytime a package archive is created. Call package-build-dump-archive-contents
to update that file. M-x package-build-current-recipe
will do it too.
I try to build a create recipe. but got error: Here is the steps:
M-x package-build-create-recipe
M-x package-build-cuurrent-recipe
The recipe build result:
And the error backtrace:
Then I did edebug on some functions, belowing are steps:
[-] edebug
[-] package-build--find-package-file
[X] (assoc name (package-build-archive-alist)) -> nil <<-- ERROR (The var ~name~ is correct)
+begin_src emacs-lisp :results output
(print (assoc 'eldoc-overlay (package-build-archive-alist))) (print (assoc 'ob-clojure-literate-programming (package-build-archive-alist)))
+end_src
+RESULTS:
: : (eldoc-overlay . [(20171219 1727) ((emacs (24 3)) (inline-docs (1 0 1)) (quick-peek (1 0))) "Display eldoc with contextual documentation overlay." single ((:commit . "bf0548196a1e0f1c28be38b6f29e1107a49839fd") (:keywords "documentation" "eldoc" "overlay") (:authors ("stardiviner" . "numbchild@gmail.com")) (:maintainer "stardiviner" . "numbchild@gmail.com") (:url . "https://github.com/stardiviner/eldoc-overlay"))]) : : nil
+begin_src emacs-lisp
(package-build--archive-file-name)
+end_src