← Back to team overview

openjdk team mailing list archive

[Bug 793166] Re: scala cannot build

 

see my bug report here 
http://fmtyewtk.blogspot.com/2011/06/scala-build-error.html

scala build error
 svn co http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk scala
 cd scala/
svn info
Path: .
URL: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk
Repository Root: http://lampsvn.epfl.ch/svn-repos/scala
Repository UUID: 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Revision: 25055
Node Kind: directory
Schedule: normal
Last Changed Author: extempore
Last Changed Rev: 25055
Last Changed Date: 2011-06-03 10:24:09 +0200 (Fri, 03 Jun 2011)


ant ....

    locker.lib:
        [mkdir] Created dir: /home/mdupont/experiments/scala/build/locker/classes/library
        [javac] Compiling 25 source files to /home/mdupont/experiments/scala/build/locker/classes/library
    [scalacfork] Compiling 697 files to /home/mdupont/experiments/scala/build/locker/classes/library
    [scalacfork] warning: there were 1 deprecation warnings; re-run with -deprecation for details
    [scalacfork] warning: there were 1 unchecked warnings; re-run with -unchecked for details
    [scalacfork] two warnings found
    [propertyfile] Creating new property file: /home/mdupont/experiments/scala/build/locker/classes/library/library.properties
    [stopwatch] [locker.lib.timer: 3:11.687 sec]

    locker.pre-comp:

    locker.comp:
        [mkdir] Created dir: /home/mdupont/experiments/scala/build/locker/classes/compiler
    [scalacfork] Compiling 404 files to /home/mdupont/experiments/scala/build/locker/classes/compiler
    [scalacfork] warning: there were 9 deprecation warnings; re-run with -deprecation for details
    [scalacfork] one warning found
    [propertyfile] Creating new property file: /home/mdupont/experiments/scala/build/locker/classes/compiler/compiler.properties
         [copy] Copying 55 files to /home/mdupont/experiments/scala/build/locker/classes/compiler
    [stopwatch] [locker.comp.timer: 3:15.499 sec]

    locker.done:

    quick.start:

    quick.pre-lib:

    quick.lib:
        [mkdir] Created dir: /home/mdupont/experiments/scala/build/quick/classes/library
        [javac] Compiling 25 source files to /home/mdupont/experiments/scala/build/quick/classes/library
        [javac] Compiling 41 source files to /home/mdupont/experiments/scala/build/quick/classes/library
        [javac] Note: Some input files use unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
    [scalacfork] Compiling 697 files to /home/mdupont/experiments/scala/build/quick/classes/library
    [scalacfork] #
    [scalacfork] # A fatal error has been detected by the Java Runtime Environment:
    [scalacfork] #
    [scalacfork] #  SIGSEGV (0xb) at pc=0xb4ca5c2b, pid=682, tid=3077565296
    [scalacfork] #
    [scalacfork] # JRE version: 6.0_20-b20
    [scalacfork] # Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
    [scalacfork] # Derivative: IcedTea6 1.9.7
    [scalacfork] # Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
    [scalacfork] # Problematic frame:
    [scalacfork] # J  scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Lscala/reflect/internal/Trees$Tree;Lscala/collection/immutable/List;Lscala/reflect/internal/Trees$Tree;ILscala/reflect/internal/Types$Type;)Lscala/reflect/internal/Trees$Tree;
    [scalacfork] #
    [scalacfork] # An error report file with more information is saved as:
    [scalacfork] # /home/mdupont/experiments/scala/hs_err_pid682.log
    [scalacfork] #
    [scalacfork] # If you would like to submit a bug report, please include
    [scalacfork] # instructions how to reproduce the bug and visit:
    [scalacfork] #   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
    [scalacfork] #

    BUILD FAILED
    /home/mdupont/experiments/scala/build.xml:489: java.lang.RuntimeException: Compilation failed because of an internal compiler error; see the error output for details.
        at scala.sys.package$.error(package.scala:27)
        at scala.tools.ant.sabbus.ScalacFork.execute(ScalacFork.scala:117)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

    Total time: 8 minutes 35 seconds

The scala trac does not support registration any more.
http://lampsvn.epfl.ch/trac/scala/register

This is reproducible.

** Attachment added: "The bug report"
   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/793166/+attachment/2155861/+files/hs_err_pid837.log

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/793166

Title:
  scala cannot build

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  I cannot build the latest scala on ubuntu



References