Source: scopt
Version: 3.5.0-1
Severity: serious
Justification: fails to build from source
Hi,
scopt FTBFS with openjdk-10 as the default jdk:
[...]
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/scopt-3.5.0'
git init
Initialized empty Git repository in /build/scopt-3.5.0/.git/
mkdir -p /build/scopt-3.5.0/debian/sbt_home/.ivy2/cache
cp -fr /build/scopt-3.5.0/bootstrapdeps/*
/build/scopt-3.5.0/debian/sbt_home/.ivy2/cache/
mkdir /build/scopt-3.5.0/debian/sbt_home/.sbt
echo "[repositories]" > /build/scopt-3.5.0/debian/sbt_home/.sbt/repositories
echo "local" >> /build/scopt-3.5.0/debian/sbt_home/.sbt/repositories
cp -frv /build/scopt-3.5.0/bootstrapdeps-sources/.
/build/scopt-3.5.0/debian/sbt_home/.ivy2/cache/
'/build/scopt-3.5.0/bootstrapdeps-sources/./org.scala-sbt/compiler-interface/srcs'
->
'/build/scopt-3.5.0/debian/sbt_home/.ivy2/cache/./org.scala-sbt/compiler-interface/srcs'
'/build/scopt-3.5.0/bootstrapdeps-sources/./org.scala-sbt/compiler-interface/srcs/compiler-interface-0.13.12-sources.jar'
->
'/build/scopt-3.5.0/debian/sbt_home/.ivy2/cache/./org.scala-sbt/compiler-interface/srcs/
compiler-interface-0.13.12-sources.jar'
/build/scopt-3.5.0/bootstrapsbt/bin/sbt -verbose -debug -sbt-dir
/build/scopt-3.5.0/debian/sbt_home/.sbt -ivy
/build/scopt-3.5.0/debian/sbt_home/.ivy2 'set offline := true'
-Dsbt.override.build.repos=true packageB
in make-pom
[residual] arg = '-sbt-dir'
[residual] arg = '/build/scopt-3.5.0/debian/sbt_home/.sbt'
[addJava] arg = '-Dsbt.ivy.home=/build/scopt-3.5.0/debian/sbt_home/.ivy2'
[residual] arg = 'set offline := true'
[addJava] arg = '-Dsbt.override.build.repos=true'
[residual] arg = 'packageBin'
[residual] arg = 'make-pom'
[addJava] arg = '-Dsbt.global.base=/build/scopt-3.5.0/debian/sbt_home/.sbt'
[residual] arg = 'set offline := true'
[residual] arg = 'packageBin'
[residual] arg = 'make-pom'
[process_args] java_version = '10.0.1'
# Executing command line:
java
-Xms1024m
-Xmx1024m
-XX:ReservedCodeCacheSize=128m
-XX:MaxMetaspaceSize=256m
-Dsbt.ivy.home=/build/scopt-3.5.0/debian/sbt_home/.ivy2
-Dsbt.override.build.repos=true
-Dsbt.global.base=/build/scopt-3.5.0/debian/sbt_home/.sbt
-jar
/build/scopt-3.5.0/bootstrapsbt/bin/sbt-launch.jar
"set offline := true"
packageBin
make-pom
Getting org.scala-sbt sbt 0.13.12 ...
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
49 artifacts copied, 0 already retrieved (17462kB/60ms)
Getting Scala 2.10.6 (for sbt)...
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
5 artifacts copied, 0 already retrieved (24494kB/26ms)
[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100"
at
java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.base/java.lang.Integer.parseInt(Integer.java:652)
at java.base/java.lang.Integer.valueOf(Integer.java:983)
at jline.internal.InfoCmp.parseInfoCmp(InfoCmp.java:59)
at jline.UnixTerminal.parseInfoCmp(UnixTerminal.java:233)
at jline.UnixTerminal.(UnixTerminal.java:64)
at jline.UnixTerminal.(UnixTerminal.java:49)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at java.base/java.lang.Class.newInstance(Class.java:560)
at jline.TerminalFactory.getFlavor(TerminalFactory.java:209)
at jline.TerminalFactory.create(TerminalFactory.java:100)
at jline.TerminalFactory.get(TerminalFactory.java:184)
at jline.TerminalFactory.get(TerminalFactory.java:190)
at sbt.ConsoleLogger$.ansiSupported(ConsoleLogger.scala:123)
at sbt.ConsoleLogger$.(ConsoleLogger.scala:117)
at sbt.ConsoleLogger$.(ConsoleLogger.scala)
at sbt.GlobalLogging$.initial(GlobalLogging.scala:43)
at sbt.StandardMain$.initialGlobalLogging(Main.scala:61)
at sbt.StandardMain$.initialState(Main.scala:70)
at sbt.xMain.run(Main.scala:29)
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
at xsbt.boot.Launch$.run(Launch.scala:109)
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
at xsbt.boot.Launch$.launch(Launch.scala:117)
at xsbt.boot.Launch$.apply(Launch.scala:18)
at xsbt.boot.Boot$.runImpl(Boot.scala:41)
at xsbt.boot.Boot$.main(Boot.scala:17)
at xsbt.boot.Boot.main(Boot.scala)
error: error while loading package, Missing dependency 'object java.lang.Object
in compiler mirror', required by
/build/s