Bug#409785: scala: FTBFS: concurrent is not a member of java.util

2007-03-25 Thread Lex Spoon
After discussion with Philipp Haller, the offending class will simply be
removed for now.  The rest of Scala will behave fine without it, though
of course without the extra functionality.

Once the Sun JVM is available under GPL, the file will be re-enabled.

Lex


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#409785: scala: FTBFS: concurrent is not a member of java.util

2007-03-23 Thread Lex Spoon
Kenshi's description is accurate.

I would not call it depending on a package in non-free when (a) the
dependency is *optional* and (b) the software in question is open source
now, even though Debian has not reacted yet.

http://www.sun.com/software/opensource/java/faq.jsp

I have been looking into the issue with the other Scala developers to
explore options.  

The best would be if anyone knows a set of JDK5 stubs that Scala can
compile against.  An implementation is necessary, and the stubs do not
need to be complete -- the concurrency classes might be enough.  If
anyone knows of such a thing, do email me!

Anyway, I'm looking into it.  And I'm hoping the Sun JVM gets into
Debian main before too long. 


Lex


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#409785: scala: FTBFS: concurrent is not a member of java.util

2007-03-23 Thread Lex Spoon
Lex Spoon [EMAIL PROTECTED] wrote:
 The best would be if anyone knows a set of JDK5 stubs that Scala can
 compile against.  An implementation is necessary, [...]

Sorry, an implementation is *not* necessary.  They are just needed for
type checking.  -Lex


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#409785: scala: FTBFS: concurrent is not a member of java.util

2007-03-22 Thread Kenshi Muto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

 [mkdir] Created dir: /tmp/buildd/scala-2.3.2/simpbuild/dbc
 [starr] Compiling 65 source files to /tmp/buildd/scala-2.3.2/simpbuild/dbc
 [mkdir] Created dir: /tmp/buildd/scala-2.3.2/simpbuild/actors
 [starr] Compiling 19 source files to 
 /tmp/buildd/scala-2.3.2/simpbuild/actors
 [starr] 
 /tmp/buildd/scala-2.3.2/src/actors/scala/actors/JDK5Scheduler.scala:11 error: 
 value concurrent is not a member of package java.util
 [starr] import java.util.concurrent.{ThreadPoolExecutor,
 [starr] ^
 [starr] one error found
 
 BUILD FAILED
 /tmp/buildd/scala-2.3.2/debian/simpbuild.xml:291: Compile failed with 1 
 error; see the compiler error output for details.

AFAIK java.util.concurrent library is JDK 1.5 feature.
I think your pbuilder installed kaffe or gcj instead of sun-j2sdk
to satisfy java-compiler and java-virtual-machine, but they
haven't supported its version yet.

Maintainer wrote a dependency as:
Build-Depends: sun-java5-jdk | java-compiler, java-gcj-compat-dev,  
sun-java5-jre | java-virtual-machine, ant,  debhelper (= 5)

Hm, depending non-free-package from main-package seems very bad.

  Policy 2.2.1:
  main must not require a package outside of main for compilation or execution
  (thus, the package must not declare a Depends, Recommends, or
  Build-Depends relationship on a non-main package),

Maintainer, did you build this pacakge with sun-java5-jdk?
I think it's better to move this package since 2.3.2 to contrib
section until gcj or other DFSG-free JDK support the 1.5 features.

Thanks,
- -- 
Kenshi Muto
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkYCMfIACgkQQKW+7XLQPLEXEACfR9q+5Z1C1Q/KWrpnFPh3PUbJ
lwQAn0YcHheMgChdi2tU+2+vz334tDWd
=f+BE
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#409785: scala: FTBFS: concurrent is not a member of java.util

2007-02-05 Thread Daniel Schepler
Package: scala
Version: 2.3.2-1
Severity: serious

From my pbuilder build log:

...
[mkdir] Created dir: /tmp/buildd/scala-2.3.2/simpbuild/dbc
[starr] Compiling 65 source files to /tmp/buildd/scala-2.3.2/simpbuild/dbc
[mkdir] Created dir: /tmp/buildd/scala-2.3.2/simpbuild/actors
[starr] Compiling 19 source files to 
/tmp/buildd/scala-2.3.2/simpbuild/actors
[starr] 
/tmp/buildd/scala-2.3.2/src/actors/scala/actors/JDK5Scheduler.scala:11 error: 
value concurrent is not a member of package java.util
[starr] import java.util.concurrent.{ThreadPoolExecutor,
[starr] ^
[starr] one error found

BUILD FAILED
/tmp/buildd/scala-2.3.2/debian/simpbuild.xml:291: Compile failed with 1 error; 
see the compiler error output for details.

Total time: 77 minutes 29 seconds
make: *** [build-stamp] Error 1
-- 
Daniel Schepler