Bug#845113: scala: Upgrade to 2.12.x

2019-01-02 Thread Antonio Ospite
Package: scala
Version: 2.11.12-4
Followup-For: Bug #845113

Dear Maintainer,

I tried using the 'sbt' from debian to build scala 2.12.x and I get this
error:

---
...
[warn]  module not found: com.eed3si9n#sbt-buildinfo;0.6.1
[warn]  typesafe-ivy-releases: tried
[warn]   
https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-buildinfo/scala_2.11.x/sbt_0.13/0.6.1/ivys/ivy.xml
[warn]  sbt-plugin-releases: tried
[warn]   
https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-buildinfo/scala_2.11.x/sbt_0.13/0.6.1/ivys/ivy.xml
[warn]  debian-local-maven: tried
[warn]   
file:/usr/share/maven-repo/com/eed3si9n/sbt-buildinfo_2.11.x_0.13/0.6.1/sbt-buildinfo-0.6.1.pom
[info] Resolving org.scala-sbt#logic;debian ...
[warn]  ::
[warn]  ::  UNRESOLVED DEPENDENCIES ::
[warn]  ::
[warn]  :: com.eed3si9n#sbt-buildinfo;0.6.1: not found
[warn]  ::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that 
these dependencies exist with the requested attributes.
[warn]  com.eed3si9n:sbt-buildinfo:0.6.1 (scalaVersion=2.11.x, 
sbtVersion=0.13)
[warn] 
[warn]  Note: Unresolved dependencies path:
[warn]  com.eed3si9n:sbt-buildinfo:0.6.1 (scalaVersion=2.11.x, 
sbtVersion=0.13) (/home/ao2/WIP/scala/scala/project/project/plugins.sbt#L1-2)
[warn]+- default:scala-build-build:0.1-SNAPSHOT 
(scalaVersion=2.11.x, sbtVersion=0.13)
sbt.ResolveException: unresolved dependency: com.eed3si9n#sbt-buildinfo;0.6.1: 
not found
...
---

the sbt-buildinfo plugin for sbt 0.13 is not available for scala 2.11:
https://dl.bintray.com/sbt/sbt-plugin-releases/com.eed3si9n/sbt-buildinfo/scala_2.11/

But only for scala 2.10:
https://dl.bintray.com/sbt/sbt-plugin-releases/com.eed3si9n/sbt-buildinfo/scala_2.10/

However this is only part of the problem, other dependencies too would
need to be updated in debian, like libjarjar-java which now have a new
upstream: https://github.com/pantsbuild/jarjar

I know this is not really helpful, I just wanted to give sbt a try and
see where we were at.

Ciao,
   Antonio


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages scala depends on:
ii  libjline2-java   2.14.6-1
ii  openjdk-8-jre-headless [java7-runtime-headless]  8u191-b12-2
ii  scala-library2.11.12-4
ii  scala-parser-combinators 1.0.3-3
ii  scala-xml1.0.3-3

scala recommends no packages.

Versions of packages scala suggests:
pn  scala-doc  

-- no debconf information
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



Bug#845113: scala: Upgrade to 2.12.x

2016-11-20 Thread Emmanuel Bourg
Control: retitle -1 scala: Upgrade to 2.12.x

Hi Zax,

The probably of Scala 2.12 being integrated into Stretch is near zero.
The Scala developers decided to dump the Ant build we relied on, Scala
is now exclusively built with SBT and we don't have this build tool in
Debian.

If you want to see Scala 2.12 in Debian I invite you to either
reconstruct an Ant build script for the new version (the RC releases
still had it, so it might be possible) or help the ongoing effort to
package SBT (see #639910 and the recent discussions on the debian-java
mailing list).

Emmanuel Bourg