Bug#1154355: scala-pickling: FTBFS: core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:12: error: object parsing is not a member of package util

Santiago Vila sanvila at debian.org
Wed Nov 18 18:01:08 GMT 2026


Package: src:scala-pickling
Version: 0.10.1+repack-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202611/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:scala-pickling, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p core/target/classes
scalac -d core/target/classes core/src/main/scala/scala/pick [too-long-redacted] /pickling/directSubclasses.java
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:12: error: object parsing is not a member of package util
  import scala.util.parsing.json._
                    ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:32: error: not found: value JSON
      JSON.parseRaw(pickle.value) match {
      ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:85: error: not found: value JSONFormat
      FastTypeTag.Long.key -> ((picklee: Any) => append("\"" + JSONFormat.quoteString(picklee.toString) + "\"")),
                                                               ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:91: error: not found: value JSONFormat
      FastTypeTag.Char.key -> ((picklee: Any) => append("\"" + JSONFormat.quoteString(picklee.toString) + "\"")),
                                                               ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:92: error: not found: value JSONFormat
      FastTypeTag.String.key -> ((picklee: Any) => append("\"" + JSONFormat.quoteString(picklee.toString) + "\"")),
                                                                 ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:175: error: not found: type JSONObject
      FastTypeTag.Ref.key -> (() => lookupUnpicklee(datum.asInstanceOf[JSONObject].obj("$ref").asInstanceOf[Double].toInt)),
                                                                       ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:185: error: not found: type JSONArray
      FastTypeTag.ArrayByte.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[Double].toByte).toArray),
                                                             ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:186: error: not found: type JSONArray
      FastTypeTag.ArrayShort.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[Double].toShort).toArray),
                                                              ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:187: error: not found: type JSONArray
      FastTypeTag.ArrayChar.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[String].head).toArray),
                                                             ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:188: error: not found: type JSONArray
      FastTypeTag.ArrayInt.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[Double].toInt).toArray),
                                                            ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:189: error: not found: type JSONArray
      FastTypeTag.ArrayLong.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[String].toLong).toArray),
                                                             ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:190: error: not found: type JSONArray
      FastTypeTag.ArrayBoolean.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[Boolean]).toArray),
                                                                ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:191: error: not found: type JSONArray
      FastTypeTag.ArrayFloat.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[Double].toFloat).toArray),
                                                              ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:192: error: not found: type JSONArray
      FastTypeTag.ArrayDouble.key -> (() => datum.asInstanceOf[JSONArray].list.map(el => el.asInstanceOf[Double]).toArray)
                                                               ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:208: error: not found: value JSONObject
            case JSONObject(fields) if fields.contains("$ref") => FastTypeTag.Ref.key
                 ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:213: error: not found: value JSONObject
            case JSONObject(fields) if fields.contains("$ref") => FastTypeTag.Ref.key
                 ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:214: error: not found: value JSONObject
            case JSONObject(fields) if fields.contains("$type") => fields("$type").asInstanceOf[String]
                 ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:215: error: not found: value JSONObject
            case JSONObject(fields) => hints.tag.key
                 ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:224: error: not found: value JSONArray
        case JSONArray(list) if lastReadTag != FastTypeTag.ArrayByte.key &&
             ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:234: error: not found: value JSONArray
          datum = JSONArray(list.tail)
                  ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:236: error: not found: value JSONObject
        case JSONObject(fields) if lastReadTag != FastTypeTag.Ref.key =>
             ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:242: error: not found: type JSONObject
    def atObject: Boolean = datum.isInstanceOf[JSONObject]
                                               ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:245: error: not found: value JSONObject
        case JSONObject(fields) => mkNestedReader(fields.get(name).getOrElse(throw PicklingException(s"No field '$name' when unpickling, tag $lastReadTag, fields were $fields")))
             ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:252: error: not found: value JSONArray
        case JSONArray(list) => list.length
             ^
core/src/main/scala/scala/pickling/json/JSONPickleFormat.scala:259: error: not found: value JSONArray
          case JSONArray(list) => mkNestedReader(list(i))
               ^
core/src/main/scala/scala/pickling/runtime/Runtime.scala:235: error: object util is not a member of package concurrent
          val inst = scala.concurrent.util.Unsafe.instance.allocateInstance(clazz)
                                      ^
core/src/main/scala/scala/pickling/runtime/Runtime.scala:333: error: object util is not a member of package concurrent
          val inst = scala.concurrent.util.Unsafe.instance.allocateInstance(clazz)
                                      ^
core/src/main/scala/scala/pickling/binary/Util.scala:6: error: object util is not a member of package concurrent
  scala.concurrent.util.Unsafe.instance
                   ^
28 errors found
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the pkg-java-maintainers mailing list