New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nrepl-eval-sexp-fu fails to install #11
Comments
See this comment. Let's hope that missing closing paren is the entire reason, although I still have no idea how MELPA works with it then. |
Doh! Fixed (and double-checked) here: samaaron/nrepl-eval-sexp-fu#9 |
Did a quick test and it works now. Thanks. |
Debugger entered--Lisp error: (error "Package `thingatpt-0.0.0' is unavailable")
signal(error ("Package `thingatpt-0.0.0' is unavailable"))
error("Package `%s-%s' is unavailable" thingatpt "0.0.0")
package-compute-transaction(nil ((highlight (0 0 0)) (smartparens (0 0 0)) (thingatpt (0 0 0))))
package-install-from-buffer()
package-install-file("/home/stk/.emacs.d/quelpa/packages/nrepl-eval-sexp-fu-20140311.1141.el")
quelpa-package-install((nrepl-eval-sexp-fu :fetcher github :repo "samaaron/nrepl-eval-sexp-fu"))
quelpa((nrepl-eval-sexp-fu :fetcher github :repo "samaaron/nrepl-eval-sexp-fu")) still doesn't work for me... ;; Package-Requires: ((highlight "0.0.0") (smartparens "0.0.0") (thingatpt "0.0.0")) thingatpt is an internal lib and package.el cannot figure that out. maybe that's a problem in Emacs trunk only? |
Seems to be the case as installing with a clean 24.3 works. |
OK, so apparently once MELPA switches over to 24.4 for building packages, they will encounter the same issue with packages that have internal libraries as dependencies. That's because `package-compute-transaction' checks installed packages first, then available packages, then errors out if the requested dependency isn't available. So, we can either fix/report all packages with this error or ask upstream to silently ignore those. I'm afraid it will be the former. Please cross-check whether that's the case, then I'll hand in another bug report for the package in question. |
so you mean that it doesn't check for internal libs? what's the difference to 24.3? |
So, in both |
the problem is the version: (package-built-in-p 'thingatpt '(0 0 0)) ; emacs 24.4
nil
(package-built-in-p 'thingatpt '(0 0 0)) ; emacs 24.3
t |
so Stefan restored the old behavior of the function in the Emacs-24 branch: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg01141.html |
Good, we'll wait then until it's added to trunk, maybe even confirmed to stay that way. |
recipe:
it fails at this function:
I checked and the buffer is inserted correctly. Seems like an issue with
package-buffer-info
The text was updated successfully, but these errors were encountered: