Skip to content
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

Failed to collect dependencies for clojure.lang.LazySeq@d9be66ed #646

Closed
miner opened this issue Jun 17, 2012 · 6 comments
Closed

Failed to collect dependencies for clojure.lang.LazySeq@d9be66ed #646

miner opened this issue Jun 17, 2012 · 6 comments
Assignees

Comments

@miner
Copy link

miner commented Jun 17, 2012

Leiningen 2.0.0-preview6

I ran "lein deps" and apparently it was not able to get all the dependencies. The bug is that it reports the problem as: "Failed to collect dependencies for clojure.lang.LazySeq@d9be66ed". It would be nice to see the actual names rather than LazySeq in the error message.

Here's the full output:

% lein deps
Could not find artifact org.clojure:clojure:pom:1.+ in central (http://repo1.maven.org/maven2)
Could not find artifact org.clojure:clojure:pom:1.+ in clojars (https://clojars.org/repo/)
Could not find artifact org.clojure:clojure:pom:1.+ in sonatype-oss-public (https://oss.sonatype.org/content/groups/public/)
Could not find artifact org.clojure:clojure:pom:1.+ in stuartsierra-releases (http://stuartsierra.com/maven2)
Retrieving org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.pom
from http://repo1.maven.org/maven2/
Could not transfer artifact org.bouncycastle:bcprov-jdk15on:pom:1.47 from/to central (http://repo1.maven.org/maven2): Checksum validation failed, no checksums available from the repository
Could not find artifact org.bouncycastle:bcprov-jdk15on:pom:1.47 in clojars (https://clojars.org/repo/)
Could not find artifact org.bouncycastle:bcprov-jdk15on:pom:1.47 in sonatype-oss-public (https://oss.sonatype.org/content/groups/public/)
Failed to collect dependencies for clojure.lang.LazySeq@d9be66ed

@miner
Copy link
Author

miner commented Jun 17, 2012

In particular, the dependency that led to the problem was [clj-webdriver "0.6.0-alpha9"]. It worked normally with [clj-webdriver "0.5.1"]. The details don't really matter. The bug for leiningen is that the error output should realize the lazy seq.

@michaelklishin
Copy link
Collaborator

@miner do you have a small project.clj I can use to trigger this? Thank you.

@miner
Copy link
Author

miner commented Jun 17, 2012

Try this:

(defproject faildeps "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.3.0"]
[clj-webdriver "0.6.0-alpha9"]])

@michaelklishin
Copy link
Collaborator

Thanks, that works. The issue seems to be in Pomegranate, I should have a fix shortly.

@michaelklishin
Copy link
Collaborator

Pull request to Pomegranate is submitted, now we have to wait

@cemerick
Copy link
Collaborator

@michaelklishin's change has been brought into Pomegranate; the next release (0.0.13) will include it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants