Skip to content

Instantly share code, notes, and snippets.

@benjaminjackman
Created May 29, 2014 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjaminjackman/36dfad17769cb6ab4506 to your computer and use it in GitHub Desktop.
Save benjaminjackman/36dfad17769cb6ab4506 to your computer and use it in GitHub Desktop.
Can't build scala.js
bjackman@CGTA-DEV-4 ~/dev/github Thu May 29 18:12:50$
git clone https://github.com/scala-js/scala-js.git
Cloning into 'scala-js'...
remote: Reusing existing pack: 15860, done.
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 15864 (delta 1), reused 0 (delta 0)
Receiving objects: 100% (15864/15864), 3.47 MiB | 3.29 MiB/s, done.
Resolving deltas: 100% (4943/4943), done.
bjackman@CGTA-DEV-4 ~/dev/github Thu May 29 18:14:11$
cd scala-js
(M=2727b6) bjackman@CGTA-DEV-4 ~/dev/github/scala-js Thu May 29 18:14:11$
git checkout v0.5.0-RC1
Note: checking out 'v0.5.0-RC1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 8a315be... Version 0.5.0-RC1.
(<detached:tags/v0.5.0-RC1=8a315b) bjackman@CGTA-DEV-4 ~/dev/github/scala-js Thu May 29 18:14:11$
sbt "++2.11.1" package scalajs-test/test
-= JAVA 7 MODE =-
JVM Garbage collection logging is disabled
Starting SBT With the following JVM Options
-------------------------------------------
Jvm configuration options set by opt/bin/CGTA_JVM_OPTS
Please set CGTA_XMS=NNNN and CGTA_XMX=NNNN (in megabytes) to increase
-server -Xss4M -XX:MaxPermSize=400m -Xms3072m -Xmx3072m -XX:CodeCacheMinimumFreeSpace=32m -XX:ReservedCodeCacheSize=512m -XX:+UseCodeCacheFlushing -XX:+TieredCompilation -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Xverify:none -Djava.net.preferIPv4Stack=true -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops -XX:MaxGCPauseMillis=5
-------------------------------------------
Using repositories file: /home/bjackman/cgta/opt/bin/../sbt/conf/sbt-nexus-repos
[info] Loading global plugins from /home/bjackman/.sbt/0.13/plugins
[info] Updating {file:/home/bjackman/.sbt/0.13/plugins/}global-plugins...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Loading project definition from /home/bjackman/dev/github/scala-js/project
[info] Updating {file:/home/bjackman/dev/github/scala-js/project/}scala-js-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 86 Scala sources to /home/bjackman/dev/github/scala-js/project/target/scala-2.10/sbt-0.13/classes...
[warn] there were 3 deprecation warning(s); re-run with -deprecation for details
[warn] there were 3 unchecked warning(s); re-run with -unchecked for details
[warn] two warnings found
[info] Set current project to Scala.js (in build file:/home/bjackman/dev/github/scala-js/)
[info] Setting version to 2.11.1
[info] Set current project to Scala.js (in build file:/home/bjackman/dev/github/scala-js/)
[info] Fetching Scala source version 2.11.1
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs...
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs-compiler...
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Resolving org.scala-lang#scala-reflect;2.11.1 ...
[info] Compiling 33 Scala sources to /home/bjackman/dev/github/scala-js/compiler/target/scala-2.11/classes...
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs-library...
[info] Resolving org.scala-lang#scala-compiler;2.11.1 ...
[info] Packaging /home/bjackman/dev/github/scala-js/target/scala-2.11/scalajs_2.11-0.5.0-RC1.jar ...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.1 ...
[info] Done packaging.
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs-scalalib...
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs-javalib...
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs-test-bridge...
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs-library-aux...
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Updating {file:/home/bjackman/dev/github/scala-js/}scalajs-jasmine-test-framework...
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[warn] /home/bjackman/dev/github/scala-js/ir/src/main/scala/scala/scalajs/ir/JSDesugaring.scala:757: Cannot check match for unreachability.
[warn] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=2048 or -Dscalac.patmat.analysisBudget=off.)
[warn] rhs match {
[warn] ^
[warn] /home/bjackman/dev/github/scala-js/compiler/src/main/scala/scala/scalajs/compiler/Compat210Component.scala:24: method originalName in class Symbol is deprecated: Use unexpandedName
[warn] def unexpandedName: Name = self.originalName
[warn] ^
[warn] /home/bjackman/dev/github/scala-js/compiler/src/main/scala/scala/scalajs/compiler/Compat210Component.scala:27: method isLocal in class Symbol is deprecated: Use isLocalToBlock instead
[warn] def isLocalToBlock: Boolean = self.isLocal
[warn] ^
[warn] three warnings found
[info] Packaging /home/bjackman/dev/github/scala-js/compiler/target/scala-2.11/scalajs-compiler_2.11.1-0.5.0-RC1.jar ...
[info] Done packaging.
[info] Compiling 33 Scala sources to /home/bjackman/dev/github/scala-js/library/target/scala-2.11/classes...
[info] Checking out Scala source version 2.11.1
[info] Compiling 5 Scala sources to /home/bjackman/dev/github/scala-js/test-bridge/target/scala-2.11/classes...
[info] Compiling 4 Scala sources to /home/bjackman/dev/github/scala-js/library-aux/target/scala-2.11/classes...
[info] Compiling 56 Scala sources to /home/bjackman/dev/github/scala-js/javalib/target/scala-2.11/classes...
[info] Compiling 542 Scala sources to /home/bjackman/dev/github/scala-js/scalalib/target/scala-2.11/classes...
[info] Packaging /home/bjackman/dev/github/scala-js/test-bridge/target/scala-2.11/scalajs-test-bridge_2.11-0.5.0-RC1.jar ...
[info] Compiling 11 Scala sources to /home/bjackman/dev/github/scala-js/jasmine-test-framework/target/scala-2.11/classes...
[info] Done packaging.
[info] Packaging /home/bjackman/dev/github/scala-js/jasmine-test-framework/target/scala-2.11/scalajs-jasmine-test-framework_2.11-0.5.0-RC1.jar ...
[info] Done packaging.
[error] error: bad symbolic reference to java.lang.Number encountered in class file 'RuntimeLong.class'.
[error] Cannot access type Number in package java.lang. The current classpath may be
[error] missing a definition for java.lang.Number, or RuntimeLong.class may have been compiled against a version that's
[error] incompatible with the one found on the current classpath.
[error] error: bad symbolic reference to java.lang.StackTraceElement encountered in class file 'StackTrace.class'.
[error] Cannot access type StackTraceElement in package java.lang. The current classpath may be
[error] missing a definition for java.lang.StackTraceElement, or StackTrace.class may have been compiled against a version that's
[error] incompatible with the one found on the current classpath.
[error] two errors found
[error] /home/bjackman/dev/github/scala-js/scalalib/fetchedSources/2.11.1/src/library/scala/SerialVersionUID.scala:15: warning: Implementation restriction: subclassing Classfile does not
[error] make your annotation visible at runtime. If that is what
[error] you want, you must write the annotation class in Java.
[error] class SerialVersionUID(value: Long) extends scala.annotation.ClassfileAnnotation
[error] ^
[error] warning: there were 108 deprecation warning(s); re-run with -deprecation for details
[error] warning: there were 1 unchecked warning(s); re-run with -unchecked for details
[error] three warnings found
java.lang.RuntimeException: Nonzero exit code returned from runner: 1
at scala.sys.package$.error(package.scala:27)
at ExternalCompile$$anonfun$5$$anonfun$8$$anonfun$ExternalCompile$$anonfun$$anonfun$$doCompile$1$1.apply(ExternalCompile.scala:84)
at ExternalCompile$$anonfun$5$$anonfun$8$$anonfun$ExternalCompile$$anonfun$$anonfun$$doCompile$1$1.apply(ExternalCompile.scala:84)
at scala.Option.foreach(Option.scala:236)
at ExternalCompile$$anonfun$5$$anonfun$8.ExternalCompile$$anonfun$$anonfun$$doCompile$1(ExternalCompile.scala:84)
at ExternalCompile$$anonfun$5$$anonfun$8.apply(ExternalCompile.scala:97)
at ExternalCompile$$anonfun$5$$anonfun$8.apply(ExternalCompile.scala:49)
at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:188)
at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:188)
at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:202)
at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:198)
at sbt.Difference.apply(Tracked.scala:177)
at sbt.Difference.apply(Tracked.scala:158)
at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:198)
at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:197)
at sbt.Difference.apply(Tracked.scala:177)
at sbt.Difference.apply(Tracked.scala:152)
at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:197)
at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:195)
at ExternalCompile$$anonfun$5.apply(ExternalCompile.scala:104)
at ExternalCompile$$anonfun$5.apply(ExternalCompile.scala:23)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
[error] (scalajs-javalib/compile:compile) Nonzero exit code returned from runner: 1
[error] Total time: 102 s, completed May 29, 2014 6:16:35 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment