Closed liamchzh closed 1 year ago
Thanks for reporting this. Will see what we can do.
In the mean time, you can work around it by putting :pedantic? false
in your project.clj.
This was tricky to debug, but I think it has to do with an assumption in the cycle detection of the pedantic implementation. We have code that does (some #{node} parents)
where node and parents are DefaultDependencyNode objects from Aether, so that code assumes that they hash consistently, but the boringssl ones do not.
The fix is quite simple; turn everything into a string before doing cycle detection.
Initial debugging steps Before creating a report, especially around exceptions being thrown when running Leiningen, please check if the error still occurs after:
lein upgrade
).~/.lein/profiles.clj
(if present) out of the way. This contains third-party dependencies and plugins that can cause problems inside Leiningen.project.clj
, especially if the problem is with a plugin not working. Old versions of plugins like nREPL and CIDER (as well as others) can cause problems with newer versions of Leiningen.Describe the bug
lein deps
would hang after bumping Netty TomcatNative BoringSSL Static to2.0.50.Final
. CPU load increases in the meantime.To Reproduce Steps to reproduce the behavior:
lein new my-project
netty-tcnative-boringssl-static
version2.0.50.Final
to the dependencies::dependencies [[io.netty/netty-tcnative-boringssl-static "2.0.50.Final"]]
lein deps
Actual behavior
lein deps
hangs and exits due toStackOverflowError
on my machine.Expected behavior Successfully install the
netty-tcnative-boringssl-static
dep.Environment
Additional context
2.0.50.Final
is the first version that causes the problem and it introduced circular dependency since this version. See related issues of netty-tcnative-boringssl-static on GitHub: