Scala 2.11.6 needs packaging

Bug #1126035 reported by Dmitry
132
This bug affects 25 people
Affects Status Importance Assigned to Milestone
scala (Debian)
Fix Released
Unknown
scala (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Scala 2.10.0 now available!

http://www.scala-lang.org/node/27499

tags: added: upgrade-software-version
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in scala (Ubuntu):
status: New → Confirmed
Logan Rosen (logan)
Changed in scala (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Wishlist
Changed in scala (Debian):
status: Unknown → New
Revision history for this message
Fernando Racca (fracca) wrote :

Please consider 2.10.1 or even 2.10.2 which is likely to be available by the time this is upgraded.

http://www.scala-lang.org/2.10.1

Revision history for this message
Fernando Racca (fracca) wrote :

Scala 2.10.2 is been available for quite some time now

http://www.scala-lang.org/news/2013/06/06/release-notes-v2.10.2.html

Revision history for this message
Fernando Racca (fracca) wrote :

Scala 2.10.3 has now been released. http://www.scala-lang.org/news/2013/10/01/release-notes-v2.10.3.html

Scala is a very popular language, so please consider upgrading to the latest stable version. Existing version 2.9.2 is very out of date.

Revision history for this message
Alan Mortensen (alan-mortensen) wrote :

This seems to have really been forgotten about. Libraries aren't even compatible between 2.9 and 2.10 so anyone wanting to use a recent version of most Scala libraries is gonna have to install their own Scala now and that's with a release that's gonna be out there for a long long time. It shouldn't be starting out this far behind the curve.

Revision history for this message
Naftoli Gugenheim (naftoligug) wrote :

2.10.4 has been released. And 2.11.0 is nearing release.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

2.11.0 is released now.

Revision history for this message
Naftoli Gugenheim (naftoligug) wrote : Re: [Bug 1126035] Re: Scala 2.10.0 needs packaging

Fwiw you can download .debs on scala-lang.org.
 On May 13, 2014 2:46 PM, "Marius B. Kotsbak" <email address hidden>
wrote:

> 2.11.0 is released now.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1257651).
> https://bugs.launchpad.net/bugs/1126035
>
> Title:
> Scala 2.10.0 needs packaging
>
> Status in "scala" package in Ubuntu:
> Triaged
> Status in "scala" package in Debian:
> New
>
> Bug description:
> Scala 2.10.0 now available!
>
> http://www.scala-lang.org/node/27499
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/scala/+bug/1126035/+subscriptions
>

Revision history for this message
Marius B. Kotsbak (mariusko) wrote : Re: Scala 2.10.0 needs packaging

It works as a workaround, but the quality of the upstream package is bad:

$ lintian Downloads/scala-2.11.0.deb
W: scala: control-file-is-empty conffiles
W: scala: copyright-without-copyright-notice
E: scala: description-starts-with-package-name
E: scala: maintainer-address-missing LAMP/EPFL and Typesafe, Inc.
E: scala: depends-on-obsolete-package depends: openjdk-6-jre
W: scala: symlink-should-be-relative usr/bin/fsc /usr/share/scala/bin/fsc
W: scala: symlink-should-be-relative usr/bin/scala /usr/share/scala/bin/scala
W: scala: symlink-should-be-relative usr/bin/scalac /usr/share/scala/bin/scalac
W: scala: symlink-should-be-relative usr/bin/scaladoc /usr/share/scala/bin/scaladoc
W: scala: symlink-should-be-relative usr/bin/scalap /usr/share/scala/bin/scalap
W: scala: extra-license-file usr/share/doc/scala/LICENSE.md
W: scala: extra-license-file usr/share/doc/scala/License.rtf
W: scala: embedded-javascript-library usr/share/doc/scala/api/scala-compiler/lib/jquery.js

After that, Lintian just hangs (which makes it impossible to install it using software center).

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Well, it probably eventually finishes. See bug #1319295.o

Revision history for this message
Naftoli Gugenheim (naftoligug) wrote :

Thanks, I filed an issue with them: https://github.com/scala/scala-dist/issues/135

Revision history for this message
Fernando Racca (fracca) wrote :

This is highly embarrassing for Ubuntu. Scala support is so out of date is ridiculous.

With tens of thousands of developers, Scala should be supported out of the box. End of the story. Update now to Scala 2.11.4.

Revision history for this message
Erich Schubert (erich) wrote :

No, actually this is highly embarrassing for Scala.

Nobody seems to be able to build nice and clean scala packages.

Their build process is a mess, and the packages they provide are an ugly hack. They include native code (in jline), they include unnecessary dependencies (akka-actor), etc.

Scala needs a nice and clean build process. But it's too hip to care about Linux packaging best practises.

Everybody trying to build clean packages of scala (and sbt; as sbt seems to be the only way to build scala currently - and unfortunately, you need sbt to build sbt?!?) seems to give up quickly. This is embarrassing, the scala toolchain cannot bootstrap itself without having scala installed already?

Revision history for this message
Fernando Racca (fracca) wrote :

The scala package and SBT are two separate, important packages that developers need.

Regarding Scala, as a language, with a useful REPL, I think is very important to have a package readily available. Scala has become a widely used tool, yet the package been distributed by default is so out of date that no one would consider using it, to the point that you may as well remove it.

Before 16.04, an LTS release, Scala needs to be included in Ubuntu.

SBT is not a great installer, granted, but that's another ticket. But it doesn't need Scala installed as a requisite, it needs, in its present shape, Java installed.

I've mentioned this issues in their Mailing List before, but neither side seems willing to find a solution (Ubuntu or Typesafe), and its the end user who suffers from a poor experience.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I see that Scala 2.10.5-1 has been packaged in Debian now, and attempted synced to Ubuntu Wily. However, it currently fails to build there because it build depends on scala >= 2.10, i.e. itself. I'm not sure how to proceed here or how that can be bootstrapped.

tags: added: ftbfs wily
Revision history for this message
Naftoli Gugenheim (naftoligug) wrote :

That's nice, now that 2.11.6 is released a while ago and projects are dropping support for 2.10 and thinking about supporting 2.12 milestones... ;)

Revision history for this message
Fernando Racca (fracca) wrote :

More information in this JIRA ticket:
https://issues.scala-lang.org/browse/SI-9299

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Since the last time, Debian has packaged 2.11.6-1 along with new dependencies scala-parser-combinators and scala-xml. So the Debian bug watch will presumably be closed any time now.

Unfortunately these packages still have circular dependencies, so I don't know to proceed to get these built for Ubuntu...

Changed in scala (Debian):
status: New → Fix Released
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :
Changed in scala (Ubuntu):
status: Triaged → Fix Committed
summary: - Scala 2.10.0 needs packaging
+ Scala 2.11.6 needs packaging
Revision history for this message
Adam Conrad (adconrad) wrote :

This has been rebootstrapped in wily-proposed.

Changed in scala (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.