-
Notifications
You must be signed in to change notification settings - Fork 69
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
middleware startup crash with Ubuntu openjdk-9 #169
Comments
I just found technomancy/leiningen#2149 which I guess describes this issue and it's not refactor-nrepl's fault. At least this issue will help the next "google the error message" person find the right way. |
This is caused by tobias/dynapath#5. refactor-nrepl is vendoring alembic 0.3.2 which depends on dynapath 0.2.3. That version of dynapath doesn't work with Java 9 - you have to use dynapath 0.2.5. I'm not clear on how this would work with mranderson, but the fix would be to either get alembic updated to dynapath 0.2.5 and use that version, or exclude dynapath from the alembic that is vendored, and depend on dynapath 0.2.5 directly. The full dep vector for the correct version of dynapath is |
thanks for the comment @tobias. does this mean that the issue is fixed in leiningen itself? if so I can give a try to your proposed dep change |
mainly to fix java9 incompatibility. See clojure-emacs/refactor-nrepl#169 for details specially clojure-emacs/refactor-nrepl#169 (comment)
looked into this a bit more hence the pull request for alembic. the usual leiningen trick of excluding dynapath from alembic and then requiring it top level not likely to work with mranderson. an override like feature could do that but that (although possible) is not currently available in mranderson. so before investing in mranderson trying to get the dep properly upgraded in alembic. |
mainly to fix java9 compatibility issues. See clojure-emacs/refactor-nrepl#169 for details. Also prepare forked release of alembic with group `clojure-emacs` version 0.3.3
[Fix #169] Fix java9 compatibility
new 2.3.0-snapshot is on clojars. |
I updated my spacemacs and started seeing a crash when doing cider-jack-in. I spied the command line from Messages which reproduces it in the shell:
Environment & Version information
This was in a pretty barebones lxc container running Ubuntu 16.04. The
error went away by downgrading to openjdk-8.
I'm not sure if all is now working, I still get this error in Messages: "error in process filter: run-hooks: Symbol's function definition is void: live-nrepl-set-print-length" but this seems unrelated to
refactor-nrepl
clj-refactor.el and refactor-nrepl version information
evident here in the reproducer commandline:
changing refactor-nrepl to 2.3.0-SNAPSHOT above didn't make a difference
clj-version says "clj-refactor 2.2.0, refactor-nrepl 2.2.0"
CIDER version information
Leiningen or Boot version
Leiningen 1.7.0
Emacs version
24.5+1-6ubuntu1
Operating system
Ubuntu 16.04 64-bit
The text was updated successfully, but these errors were encountered: