Package: scala
Version: 2.7.7.dfsg-4
Severity: grave
Justification: renders package unusable

Using scala to run a scala script results in the following error (after a 
number of seconds):

Unable to establish connection to compilation daemon

Afterwards 24 java processes have spanned. Every time I try to run the script 
again another 24 processes spawn and the error message is the same.

Executing fsc with verbose flag gives the following output:

-- BEGIN --
$ fsc -verbose hello.scala
[Server arguments: -d /home/laurensb/scala/. -verbose 
/home/laurensb/scala/hello.scala]
[VM arguments: ]
[Temp directory: /home/laurensb/tmp]
[Port number: 40020]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 40020 failed; re-trying...]
[Port number: 40020]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 40020 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 43867]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 43867 failed; re-trying...]
[Port number: 43867]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 43867 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 48830]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 48830 failed; re-trying...]
[Port number: 48830]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 48830 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 46824]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 46824 failed; re-trying...]
[Port number: 46824]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 46824 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 54642]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 54642 failed; re-trying...]
[Port number: 54642]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 54642 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 35835]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 35835 failed; re-trying...]
[Port number: 35835]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 35835 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 52572]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 52572 failed; re-trying...]
[Port number: 52572]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 52572 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 44152]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 44152 failed; re-trying...]
[Port number: 44152]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 44152 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 49130]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 49130 failed; re-trying...]
[Port number: 49130]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 49130 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 46759]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 46759 failed; re-trying...]
[Port number: 46759]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 46759 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 39028]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 39028 failed; re-trying...]
[Port number: 39028]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 39028 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 48718]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 48718 failed; re-trying...]
[Port number: 48718]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 48718 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 52586]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 52586 failed; re-trying...]
[Port number: 52586]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 52586 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 39252]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 39252 failed; re-trying...]
[Port number: 39252]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 39252 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 47886]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 47886 failed; re-trying...]
[Port number: 47886]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 47886 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 52050]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 52050 failed; re-trying...]
[Port number: 52050]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 52050 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 35045]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 35045 failed; re-trying...]
[Port number: 35045]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 35045 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 56031]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 56031 failed; re-trying...]
[Port number: 56031]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 56031 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 40845]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 40845 failed; re-trying...]
[Port number: 40845]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 40845 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 43110]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 43110 failed; re-trying...]
[Port number: 43110]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 43110 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 53258]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 53258 failed; re-trying...]
[Port number: 53258]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 53258 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 60611]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 60611 failed; re-trying...]
[Port number: 60611]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 60611 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 35661]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 35661 failed; re-trying...]
[Port number: 35661]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 35661 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 53326]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 53326 failed; re-trying...]
[Port number: 53326]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 53326 failed; re-trying...]
[Executed command: scala scala.tools.nsc.CompileServer]
[Port number: 36140]
java.net.SocketException: Network is unreachable
[Connecting to compilation daemon at port 36140 failed; re-trying...]
Unable to establish connection to compilation daemon
Compilation failed.
-- END --

It seems the network connection can not be established, however netstat
confirms all 24 processes are listening.

I tried this is several systems, with and without IPv6 connectivity. All
give the same error. All systems have firewalls however traffic on
localhost is unrestricted.

Running scala in interactive mode does work.

Sincerely,

Laurens


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages scala depends on:
ii  scala-library               2.7.7.dfsg-4 The Scala standard library
ii  sun-java6-jre [java6-runtim 6-16-1       Sun Java(TM) Runtime Environment (

scala recommends no packages.

scala suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to