Bug#915504: sbt: Fails to detect version of java

2019-01-03 Thread Antonio Ospite
Package: sbt
Version: 0.13.13-2
Followup-For: Bug #915504

Dear Maintainer,

the issue has been fixed upstream:
https://github.com/sbt/sbt-launcher-package/commit/5a0bde442dec7d9a1bdc35655541902fb873172a#diff-edd0ab5838b2fa424d30f94df800e1f9

Some other fixes are also upstream:
https://github.com/sbt/sbt-launcher-package/commit/a638ad49ac484ba87e512f6dfebf8aa83e4b3ad7#diff-edd0ab5838b2fa424d30f94df800e1f9
https://github.com/sbt/sbt-launcher-package/commit/21cf71e384b8d3dba4c56d167837a9236d294c9d#diff-edd0ab5838b2fa424d30f94df800e1f9

Since sbt-launch-lib.bash is a self contained script, creating a patch
from the latest upstream version should not be too problematic:

$ cd /tmp
$ wget 
https://raw.githubusercontent.com/sbt/sbt-launcher-package/master/src/universal/bin/sbt-launch-lib.bash
$ diff -u /usr/share/sbt/bin/sbt-launch-lib.bash sbt-launch-lib.bash

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 sbt depends on:
ii  libsbt-java0.13.13-2
ii  openjdk-8-jre [java8-runtime]  8u191-b12-2

sbt recommends no packages.

sbt suggests no packages.

-- 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#915504: sbt: Fails to detect version of java

2018-12-04 Thread Matt Nottingham
Package: sbt
Version: 0.13.13-2
Severity: grave
Justification: renders package unusable

When running 'sbt', for example 'sbt' or 'sbt --help', it immediately halts
with the following error:

  The java installation you have is not up to date
  requires at least version 1.6+, you have
  version 11.0 2018-10-16

  Please go to http://www.java.com/getjava/ and download
  a valid Java Runtime and install before running .

Which seems somewhat contradictory!

Thanks,

Matt

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages sbt depends on:
ii  default-jre [java9-runtime] 2:1.11-70
ii  libsbt-java 0.13.13-2
ii  openjdk-10-jre [java9-runtime]  10.0.2+13-2
ii  openjdk-11-jre [java9-runtime]  11.0.1+13-3
ii  openjdk-8-jre [java8-runtime]   8u181-b13-2
ii  openjdk-9-jre [java9-runtime]   9.0.4+12-4

sbt recommends no packages.

sbt suggests no packages.

-- no debconf information