You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Yiannis Gkoufas <jo...@gmail.com> on 2016/05/25 13:12:37 UTC

Cannot build master with sbt

Hi there,

I have cloned the latest version from github.
I am using scala 2.10.x
When I invoke

build/sbt clean package

I get the exceptions because for the sbt-antlr library:

[warn]     module not found: com.simplytyped#sbt-antlr4;0.7.10
[warn] ==== typesafe-ivy-releases: tried
[warn]
https://repo.typesafe.com/typesafe/ivy-releases/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]
https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
[warn] ==== local: tried
[warn]
/home/johngouf/.ivy2/local/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
[warn] ==== public: tried
[warn]
https://repo1.maven.org/maven2/com/simplytyped/sbt-antlr4_2.10_0.13/0.7.10/sbt-antlr4-0.7.10.pom
[warn] ==== simplytyped: tried
[warn]
http://simplytyped.github.io/repo/releases/com/simplytyped/sbt-antlr4_2.10_0.13/0.7.10/sbt-antlr4-0.7.10.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     ::          UNRESOLVED DEPENDENCIES         ::
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     :: com.simplytyped#sbt-antlr4;0.7.10: not found
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]     Note: Some unresolved dependencies have extra attributes.  Check
that these dependencies exist with the requested attributes.
[warn]         com.simplytyped:sbt-antlr4:0.7.10 (scalaVersion=2.10,
sbtVersion=0.13)
[warn]
[warn]     Note: Unresolved dependencies path:
[warn]         com.simplytyped:sbt-antlr4:0.7.10 (scalaVersion=2.10,
sbtVersion=0.13) (/home/johngouf/IOT/spark/project/plugins.sbt#L26-27)
[warn]           +- plugins:plugins:0.1-SNAPSHOT (scalaVersion=2.10,
sbtVersion=0.13)
sbt.ResolveException: unresolved dependency:
com.simplytyped#sbt-antlr4;0.7.10: not found

Any idea what is the problem here?

Thanks!

Re: Cannot build master with sbt

Posted by Yiannis Gkoufas <jo...@gmail.com>.
Thanks so much for the workaround!

On 25 May 2016 at 14:17, Nick Pentreath <ni...@gmail.com> wrote:

> I've filed https://issues.apache.org/jira/browse/SPARK-15525
>
> For now, you would have to check out sbt-antlr4 at
> https://github.com/ihji/sbt-antlr4/commit/23eab68b392681a7a09f6766850785afe8dfa53d (since
> I don't see any branches or tags in the github repo for different
> versions), and sbt publishLocal to get the dependency locally.
>
> On Wed, 25 May 2016 at 15:13 Yiannis Gkoufas <jo...@gmail.com> wrote:
>
>> Hi there,
>>
>> I have cloned the latest version from github.
>> I am using scala 2.10.x
>> When I invoke
>>
>> build/sbt clean package
>>
>> I get the exceptions because for the sbt-antlr library:
>>
>> [warn]     module not found: com.simplytyped#sbt-antlr4;0.7.10
>> [warn] ==== typesafe-ivy-releases: tried
>> [warn]
>> https://repo.typesafe.com/typesafe/ivy-releases/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
>> [warn] ==== sbt-plugin-releases: tried
>> [warn]
>> https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
>> [warn] ==== local: tried
>> [warn]
>> /home/johngouf/.ivy2/local/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
>> [warn] ==== public: tried
>> [warn]
>> https://repo1.maven.org/maven2/com/simplytyped/sbt-antlr4_2.10_0.13/0.7.10/sbt-antlr4-0.7.10.pom
>> [warn] ==== simplytyped: tried
>> [warn]
>> http://simplytyped.github.io/repo/releases/com/simplytyped/sbt-antlr4_2.10_0.13/0.7.10/sbt-antlr4-0.7.10.pom
>> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
>> [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]     ::          UNRESOLVED DEPENDENCIES         ::
>> [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]     :: com.simplytyped#sbt-antlr4;0.7.10: not found
>> [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]
>> [warn]     Note: Some unresolved dependencies have extra attributes.
>> Check that these dependencies exist with the requested attributes.
>> [warn]         com.simplytyped:sbt-antlr4:0.7.10 (scalaVersion=2.10,
>> sbtVersion=0.13)
>> [warn]
>> [warn]     Note: Unresolved dependencies path:
>> [warn]         com.simplytyped:sbt-antlr4:0.7.10 (scalaVersion=2.10,
>> sbtVersion=0.13) (/home/johngouf/IOT/spark/project/plugins.sbt#L26-27)
>> [warn]           +- plugins:plugins:0.1-SNAPSHOT (scalaVersion=2.10,
>> sbtVersion=0.13)
>> sbt.ResolveException: unresolved dependency:
>> com.simplytyped#sbt-antlr4;0.7.10: not found
>>
>> Any idea what is the problem here?
>>
>> Thanks!
>>
>

Re: Cannot build master with sbt

Posted by Nick Pentreath <ni...@gmail.com>.
I've filed https://issues.apache.org/jira/browse/SPARK-15525

For now, you would have to check out sbt-antlr4 at
https://github.com/ihji/sbt-antlr4/commit/23eab68b392681a7a09f6766850785afe8dfa53d
(since
I don't see any branches or tags in the github repo for different
versions), and sbt publishLocal to get the dependency locally.

On Wed, 25 May 2016 at 15:13 Yiannis Gkoufas <jo...@gmail.com> wrote:

> Hi there,
>
> I have cloned the latest version from github.
> I am using scala 2.10.x
> When I invoke
>
> build/sbt clean package
>
> I get the exceptions because for the sbt-antlr library:
>
> [warn]     module not found: com.simplytyped#sbt-antlr4;0.7.10
> [warn] ==== typesafe-ivy-releases: tried
> [warn]
> https://repo.typesafe.com/typesafe/ivy-releases/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
> [warn] ==== sbt-plugin-releases: tried
> [warn]
> https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
> [warn] ==== local: tried
> [warn]
> /home/johngouf/.ivy2/local/com.simplytyped/sbt-antlr4/scala_2.10/sbt_0.13/0.7.10/ivys/ivy.xml
> [warn] ==== public: tried
> [warn]
> https://repo1.maven.org/maven2/com/simplytyped/sbt-antlr4_2.10_0.13/0.7.10/sbt-antlr4-0.7.10.pom
> [warn] ==== simplytyped: tried
> [warn]
> http://simplytyped.github.io/repo/releases/com/simplytyped/sbt-antlr4_2.10_0.13/0.7.10/sbt-antlr4-0.7.10.pom
> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
> [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]     ::          UNRESOLVED DEPENDENCIES         ::
> [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]     :: com.simplytyped#sbt-antlr4;0.7.10: not found
> [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]
> [warn]     Note: Some unresolved dependencies have extra attributes.
> Check that these dependencies exist with the requested attributes.
> [warn]         com.simplytyped:sbt-antlr4:0.7.10 (scalaVersion=2.10,
> sbtVersion=0.13)
> [warn]
> [warn]     Note: Unresolved dependencies path:
> [warn]         com.simplytyped:sbt-antlr4:0.7.10 (scalaVersion=2.10,
> sbtVersion=0.13) (/home/johngouf/IOT/spark/project/plugins.sbt#L26-27)
> [warn]           +- plugins:plugins:0.1-SNAPSHOT (scalaVersion=2.10,
> sbtVersion=0.13)
> sbt.ResolveException: unresolved dependency:
> com.simplytyped#sbt-antlr4;0.7.10: not found
>
> Any idea what is the problem here?
>
> Thanks!
>