mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Lyubimov <dlie...@gmail.com>
Subject Re: Any idea why h20 module compilation is crashing?
Date Mon, 22 Sep 2014 16:29:40 GMT
my suspicion is that one of h20 dependencies brings in scala 2.10.3 nsc
tools as dependency and it crashes the compiler in 2.10..4

On Mon, Sep 22, 2014 at 9:28 AM, Dmitriy Lyubimov <dlieu.7@gmail.com> wrote:

> yes. the 1.0.1 requires scala 2.10.4, not 2.10.3. this has changed when we
> migrated to spark 1.0.1
>
> On Mon, Sep 22, 2014 at 9:24 AM, Andrew Palumbo <ap.dev@outlook.com>
> wrote:
>
>>
>> my $SCALA_HOME is actually unset for some reason.  I do have 2.10.3 on my
>> machine. But its not in my path. I'll try setting it and building again.
>> From: ap.dev@outlook.com
>> To: user@mahout.apache.org
>> Subject: RE: Any idea why h20 module compilation is crashing?
>> Date: Mon, 22 Sep 2014 12:18:15 -0400
>>
>>
>>
>>
>> I just built with Java 1.6 and everything was successful. I tested with
>> 1.7 before committing it and that was successful as well.
>>
>>
>>
>> > Date: Mon, 22 Sep 2014 09:05:46 -0700
>> > Subject: Any idea why h20 module compilation is crashing?
>> > From: dlieu.7@gmail.com
>> > To: user@mahout.apache.org
>> >
>> > Hello,
>> >
>> > i checked out for the first time the h20 commit, doesn't compile per
>> below .
>> >
>> > scala 2.10.4,
>> > java 1.7
>> >
>> > java -version
>> > java version "1.7.0_51"
>> > Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
>> > Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
>> >
>> > scala -version
>> > Scala code runner version 2.10.4 -- Copyright 2002-2013, LAMP/EPFL
>> > dmitriy@Intel-KUBU:~/projects/github/mahout-commits/h2o$
>> >
>> >
>> > compilation failure:
>> >
>> > [INFO] includes = [**/*.scala,**/*.java,]
>> > [INFO] excludes = []
>> > [INFO]
>> /home/dmitriy/projects/github/mahout-commits/h2o/src/main/java:-1:
>> > info: compiling
>> > [INFO]
>> /home/dmitriy/projects/github/mahout-commits/h2o/src/main/scala:-1:
>> > info: compiling
>> > [INFO] Compiling 25 source files to
>> > /home/dmitriy/projects/github/mahout-commits/h2o/target/classes at
>> > 1411401772429
>> > [ERROR] error: error while loading <root>, error in opening zip file
>> > [ERROR] error: scala.reflect.internal.MissingRequirementError: object
>> > scala.runtime in compiler mirror not found.
>> > [ERROR]         at
>> >
>> scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
>> > [ERROR]         at
>> >
>> scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)
>> > [INFO]  at
>> > scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.scala:175)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lzycompute(Definitions.scala:183)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(Definitions.scala:183)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass$lzycompute(Definitions.scala:184)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageClass(Definitions.scala:184)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr$lzycompute(Definitions.scala:1024)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr(Definitions.scala:1023)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses$lzycompute(Definitions.scala:1153)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses(Definitions.scala:1152)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode$lzycompute(Definitions.scala:1196)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode(Definitions.scala:1196)
>> > [INFO]  at
>> >
>> scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1261)
>> > [INFO]  at scala.tools.nsc.Global$Run.<init>(Global.scala:1290)
>> > [INFO]  at scala.tools.nsc.Driver.doCompile(Driver.scala:32)
>> > [INFO]  at scala.tools.nsc.Main$.doCompile(Main.scala:79)
>> > [INFO]  at scala.tools.nsc.Driver.process(Driver.scala:54)
>> > [INFO]  at scala.tools.nsc.Driver.main(Driver.scala:67)
>> > [INFO]  at scala.tools.nsc.Main.main(Main.scala)
>> > [INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > [INFO]  at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> > [INFO]  at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> > [INFO]  at java.lang.reflect.Method.invoke(Method.java:606)
>> > [INFO]  at
>> > org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:161)
>> > [INFO]  at
>> >
>> org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
>> > [INFO]
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 3.925s
>> > [INFO] Finished at: Mon Sep 22 09:02:53 PDT 2014
>> > [INFO] Final Memory: 12M/219M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] Failed to execute goal
>> > org.scala-tools:maven-scala-plugin:2.15.2:compile (scala-compile-first)
>> on
>> > project mahout-h2o: wrap: org.apache.commons.exec.ExecuteException:
>> Process
>> > exited with an error: 1(Exit value: 1) -> [Hel
>>
>>
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message