-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
bin/lein uberjar on stable source tree dies in infinite recursion #2198
Comments
I tried to reproduce this with the exact same steps, but I couldn't do it on Debian Jessie. Could you provide the JVM version you use as well? (I build on 1.6.x) Also, is there anything in your Either way, the attempted fix for #1544 could probably be reverted because it seems iffy when we uberjar, especially because this is should be a noop during compile time. |
So far tested on OpenJDK 7 ( 1.7.0_111 ) and OpenJDK 8 ( 1.8.0_101 ) Don't have 1.6 handy for comparison. Also was producing the problem where ~/.lein did not exist. The only thing I think may be related is the $PATH/ lein used for bootstrap is infact a |
That sounds suspicious – I'll see if I can get some time to try and reproduce this tomorrow, but there shouldn't be any reason for this to not work. |
I also had an issue with installing deps/plugins by leiningen v2.7.0
here is my project.clj
|
@nautilus28: This seems to be a different issue than what is described here – it may look like that is a temporary maven central outage. If you see this again could you make a new issue for this? |
@hypirion yep my bad, it was a temporary maven central outage. Now it works fine. Thanks. |
@hypirion Is this still an open issue or we can close this? |
Wow, this is a gnarly piece of bending-over-backwards-compatibility indeed. However, I pushed a fix that should take care of the infinite recursion. |
Currently trying to work out how to build leiningen from sources ( Because I'm packaging for Gentoo, and Gentoo desires everything to be built from sources wherever possible ).
However, this results in a problem wherein, using lein-2.7.0-standalone.jar (provided by you) to compile lein-2.7.0-standalone.jar from lein-2.7.0.tar.gz following instructions ends in infinite recursion compiling release.clj
Blindly nuking this block of code makes it "compile", alas, with far fewer files in the final JAR than one expects.
https://github.com/technomancy/leiningen/blob/master/src/leiningen/release.clj#L136-L142
Its not clear what I should be doing here to resolve this.
The text was updated successfully, but these errors were encountered: