Bug#912393: scala FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Wed Oct 31 03:13:41 GMT 2018


Source: scala
Version: 2.11.12-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/scala.html

...
locker.reflect:
    [mkdir] Created dir: /build/1st/scala-2.11.12/build/locker/classes/reflect
    [javac] Using javac -source 1.5 is no longer supported, switching to 6
[locker.reflect] Compiling 158 files to /build/1st/scala-2.11.12/build/locker/classes/reflect
[locker.reflect] /build/1st/scala-2.11.12/src/reflect/scala/reflect/internal/util/StringOps.scala:48: error: missing argument list for method trimTrailingSpace in trait StringOps
[locker.reflect] Unapplied methods are only converted to functions when a function type is expected.
[locker.reflect] You can make this conversion explicit by writing `trimTrailingSpace _` or `trimTrailingSpace(_)` instead of `trimTrailingSpace`.
[locker.reflect]   def trimAllTrailingSpace(s: String): String = s.lines map trimTrailingSpace mkString EOL
[locker.reflect]                                                             ^
[locker.reflect] one error found



More information about the pkg-java-maintainers mailing list