Aladdin - Scala Bugtracking
[#1132] project: distribution priority: low category: bug
submitter assigned to status date submitted
Nikolay Lex won't fix 2007-05-22 08:47:14.0
subject [contrib #546] Scala debian package should not depend on java-gcj-compat-dev
code
Scala debian package should not depend on java-gcj-compat-dev. AFAIU scala requires nothing more then java-virtual-machine to run.

Dependency on java-gcj-compat-dev makes not possible to install Scala 2.4 into Sarge, because java-gcj-compat-dev is absent in Sarge and it depends on many important packages from unstable.

Also, please upload Scala 2.5 into Debian repository.
what happened
what expected
[back to overview]
Changes of this bug report
Nikolay  edited on  2007-05-22 08:47:56.0
Lex  edited on  2007-05-22 09:59:21.0

I do not know a better answer. Leaving it out completely does not work, because the gij package provides java-virtual-machine but does not provide a standard Java library as a jar file. To get the jar file, you need to use java-gcj-compat.

Is java-gcj-compat, i.e. not the -dev version, available on Sarge? If so, maybe that would work. I'll test that out soon on sid, though of course that is not a perfect test for you.

For some history on this issue, see Debian bug 421619 . For that matter, go see the list of all Scala bugs on the Debian bug tracker. They are almost all to do with dependencies.

Lex  edited on  2007-06-04 11:34:17.0
I do not know any better settings for the dependencies. Depending on java-virtual-machine is not enough, because you need to also have rt.jar or an equivalent. Further, while the dependency apparently does not work in Sarge, it does work for the current stable and unstable distributions.