This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: scala master fails to build

No replies
Nicholas Tung
Joined: 2009-05-19,
User offline. Last seen 42 years 45 weeks ago.

Thanks, but I already did (unless it changed in the last few hours?). It would be nice if there was a task with some s in it for debugging; maybe a bad version of the library is in my path?

For the most part it's not a big issue; I can launch the Scala console with mvn scala:console -Dmaven.scala.displayCmd (and then copying the command since the maven plugin has a bug with stdin).

Thanks in advance,
Nicholas
https://ntung.com

> echo $JAVA_HOME
/usr/lib64/jvm/java-1.7.0-icedtea-1.5_b24

# these two jar's are after it has been built; they're not present after all.clean.
> echo $CLASSPATH
/usr/share/java:/home/gatoatigrado/sandbox/scala/build/pack/lib/scala-library.jar:/home/gatoatigrado/sandbox/scala/build/pack/lib/scala-compiler.jar

On Wed, Jul 29, 2009 at 12:11 PM, Ricky Clarkson wrote:
> A recent large change caused us trunk-followers to need to run `ant
> all.clean' once.  Does that help?
>
> 2009/7/29 Nicholas Tung :
>> Hi all,
>>
>>   Scala master fails to build with the following error. If anyone
>> knows a workaround, that would be much appreciated.
>>
>> locker.comp:
>>   [mkdir] Created dir:
>> /home/gatoatigrado/sandbox/scala/build/locker/classes/compiler
>> [scalacfork] Compiling 231 files to
>> /home/gatoatigrado/sandbox/scala/build/locker/classes/compiler
>> [scalacfork] /home/gatoatigrado/sandbox/scala/src/compiler/scala/tools/nsc/Interpreter.scala:122:
>> error: value Utility is not a memberof package net
>> [scalacfork]     import net.Utility.parseURL
>> [scalacfork]                ^
>> [scalacfork] one error found
>>
>> BUILD FAILED
>> /home/gatoatigrado/sandbox/scala/build.xml:282:
>> java.lang.RuntimeException: Compilation failed because of an internal
>> compiler error; see the error output for details.
>>
>> Total time: 3 minutes 55 seconds
>>
>> regards,
>> Nicholas
>> https://ntung.com
>>
>
>
>
> --
> Ricky Clarkson
> Java Programmer, AD Holdings
> +44 1565 770804
> Skype: ricky_clarkson
> Google Talk: ricky.clarkson@gmail.com
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland