Package: src:json4s Version: 3.5.1+really3.2.10-1 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:json4s, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] #scalac -d scalap/target/classes #jar cf scalap/target/json4s-scalap.jar -C scalap/target/classes . # core mkdir -p core/target/classes scalac -d core/target/classes -cp ast/target/json4s-ast.jar: [too-long-redacted] la/org/json4s/JsonFormat.scala core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:4: error: object scalap is not a member of package tools import scala.tools.scalap.scalax.rules.scalasig._ ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:46: error: not found: type ClassSymbol def findClass(sig: ScalaSig, clazz: Class[_]): Option[ClassSymbol] = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:46: error: not found: type ScalaSig def findClass(sig: ScalaSig, clazz: Class[_]): Option[ClassSymbol] = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:41: error: not found: type ClassSymbol def findClass(clazz: Class[_]): ClassSymbol = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:59: error: not found: type MethodSymbol def findConstructor(c: ClassSymbol, argNames: List[String]): Option[MethodSymbol] = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:59: error: not found: type ClassSymbol def findConstructor(c: ClassSymbol, argNames: List[String]): Option[MethodSymbol] = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:96: error: not found: type MethodSymbol def findArgType(s: MethodSymbol, argIdx: Int, typeArgIndexes: List[Int]): Class[_] = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:76: error: not found: type MethodSymbol def findArgType(s: MethodSymbol, argIdx: Int, typeArgIndex: Int): Class[_] = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:32: error: not found: type MethodSymbol def read(current: Class[_]): MethodSymbol = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:73: error: not found: type MethodSymbol private def findField(c: ClassSymbol, name: String): Option[MethodSymbol] = ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:73: error: not found: type ClassSymbol private def findField(c: ClassSymbol, name: String): Option[MethodSymbol] = ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:116: error: not found: type MethodSymbol private def findArgTypeForField(s: MethodSymbol, typeArgIdx: Int): Class[_] = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:142: error: not found: type ScalaSig def findScalaSig(clazz: Class[_]): Option[ScalaSig] = try { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:68: error: not found: type MethodSymbol def findFields(c: ClassSymbol): Seq[MethodSymbol] = ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:68: error: not found: type ClassSymbol def findFields(c: ClassSymbol): Seq[MethodSymbol] = ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:77: error: not found: type Type def findPrimitive(t: Type): Symbol = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:79: error: not found: value TypeRefType case TypeRefType(ThisType(_), symbol, _) if isPrimitive(symbol) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:79: error: not found: value ThisType case TypeRefType(ThisType(_), symbol, _) if isPrimitive(symbol) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:129: error: value path is not a member of Symbol private def toClass(s: Symbol) = s.path match { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:80: error: not found: value TypeRefType case TypeRefType(_, _, TypeRefType(ThisType(_), symbol, _) :: xs) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:80: error: not found: value TypeRefType case TypeRefType(_, _, TypeRefType(ThisType(_), symbol, _) :: xs) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:80: error: not found: value ThisType case TypeRefType(_, _, TypeRefType(ThisType(_), symbol, _) :: xs) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:81: error: not found: value TypeRefType case TypeRefType(_, symbol, Nil) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:82: error: not found: value TypeRefType case TypeRefType(_, _, args) if typeArgIndex >= args.length => ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:84: error: not found: value TypeRefType case TypeRefType(_, _, args) => ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:87: error: not found: value TypeRefType case ref @ TypeRefType(_, _, _) => findPrimitive(ref) ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:93: error: not found: type SymbolInfoSymbol toClass(findPrimitive(s.children(argIdx).asInstanceOf[SymbolInfoSymbol].infoType)) ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:97: error: not found: type Type @tailrec def findPrimitive(t: Type, curr: Int): Symbol = { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:100: error: not found: value TypeRefType case TypeRefType(ThisType(_), symbol, _) if isPrimitive(symbol) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:100: error: not found: value ThisType case TypeRefType(ThisType(_), symbol, _) if isPrimitive(symbol) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:101: error: not found: value TypeRefType case TypeRefType(_, symbol, Nil) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:102: error: not found: value TypeRefType case TypeRefType(_, _, args) if typeArgIndexes(ii) >= args.length => ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:104: error: not found: value TypeRefType case TypeRefType(_, _, args) => ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:107: error: not found: value TypeRefType case ref @ TypeRefType(_, _, _) => findPrimitive(ref, curr + 1) ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:113: error: not found: type SymbolInfoSymbol toClass(findPrimitive(s.children(argIdx).asInstanceOf[SymbolInfoSymbol].infoType, 0)) ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:118: error: not found: value NullaryMethodType case NullaryMethodType(TypeRefType(_, _, args)) => args(typeArgIdx) ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:118: error: not found: value TypeRefType case NullaryMethodType(TypeRefType(_, _, args)) => args(typeArgIdx) ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:121: error: not found: type Type @tailrec def findPrimitive(t: Type): Symbol = t match { ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:122: error: not found: value TypeRefType case TypeRefType(ThisType(_), symbol, _) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:122: error: not found: value ThisType case TypeRefType(ThisType(_), symbol, _) => symbol ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:123: error: not found: value TypeRefType case ref @ TypeRefType(_, _, _) => findPrimitive(ref) ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:149: error: not found: type ScalaSig private[this] def parseClassFileFromByteCode(clazz: Class[_]): Option[ScalaSig] = ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:150: error: not found: value ClassFileParser Option(ClassFileParser.parse(ByteCode.forClass(clazz))) flatMap ScalaSigParser.parse ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:150: error: not found: value ByteCode Option(ClassFileParser.parse(ByteCode.forClass(clazz))) flatMap ScalaSigParser.parse ^ core/src/main/scala/org/json4s/reflect/ScalaSigReader.scala:150: error: not found: value ScalaSigParser Option(ClassFileParser.parse(ByteCode.forClass(clazz))) flatMap ScalaSigParser.parse ^ core/src/main/scala/org/json4s/Xml.scala:22: error: object xml is not a member of package scala import scala.xml._ ^ core/src/main/scala/org/json4s/Xml.scala:78: error: not found: type NodeSeq def toJson(xml: NodeSeq): JValue = { ^ core/src/main/scala/org/json4s/Xml.scala:80: error: not found: type Node def isEmpty(node: Node) = node.child.isEmpty ^ core/src/main/scala/org/json4s/Xml.scala:85: error: not found: type Node def isLeaf(node: Node) = { ^ core/src/main/scala/org/json4s/Xml.scala:86: error: not found: type Node def descendant(n: Node): List[Node] = n match { ^ core/src/main/scala/org/json4s/Xml.scala:86: error: not found: type Node def descendant(n: Node): List[Node] = n match { ^ core/src/main/scala/org/json4s/Xml.scala:87: error: not found: type Group case g: Group => g.nodes.toList.flatMap(x => x :: descendant(x)) ^ core/src/main/scala/org/json4s/Xml.scala:91: error: not found: type Elem !descendant(node).find(_.isInstanceOf[Elem]).isDefined ^ core/src/main/scala/org/json4s/Xml.scala:95: error: not found: type NodeSeq def directChildren(n: Node): NodeSeq = n.child.filter(c => c.isInstanceOf[Elem]) ^ core/src/main/scala/org/json4s/Xml.scala:95: error: not found: type Node def directChildren(n: Node): NodeSeq = n.child.filter(c => c.isInstanceOf[Elem]) ^ core/src/main/scala/org/json4s/Xml.scala:96: error: not found: type Node def nameOf(n: Node) = (if (n.prefix ne null) n.prefix + ":" else "") + n.label ^ core/src/main/scala/org/json4s/Xml.scala:97: error: not found: type Node def buildAttrs(n: Node) = n.attributes.map((a: MetaData) => (a.key, XValue(a.value.text))).toList ^ core/src/main/scala/org/json4s/Xml.scala:125: error: not found: type NodeSeq def buildNodes(xml: NodeSeq): List[XElem] = xml match { ^ core/src/main/scala/org/json4s/Xml.scala:126: error: not found: type Node case n: Node => ^ core/src/main/scala/org/json4s/Xml.scala:133: error: not found: type NodeSeq case nodes: NodeSeq => ^ core/src/main/scala/org/json4s/Xml.scala:170: error: not found: type NodeSeq def toXml(json: JValue): NodeSeq = { ^ core/src/main/scala/org/json4s/Xml.scala:171: error: not found: type NodeSeq def toXml(name: String, json: JValue): NodeSeq = json match { ^ core/src/main/scala/org/json4s/Xml.scala:189: error: not found: type Elem private[json4s] class XmlNode(name: String, children: Seq[Node]) extends Elem(null, name, xml.Null, TopScope, children :_*) ^ core/src/main/scala/org/json4s/Xml.scala:189: error: not found: type Node private[json4s] class XmlNode(name: String, children: Seq[Node]) extends Elem(null, name, xml.Null, TopScope, children :_*) ^ core/src/main/scala/org/json4s/Xml.scala:191: error: not found: type Elem private[json4s] class XmlElem(name: String, value: String) extends Elem(null, name, xml.Null, TopScope, Text(value)) ^ core/src/main/scala/org/json4s/Xml.scala:180: error: not found: value Text case JNothing => Text("") ^ core/src/main/scala/org/json4s/Xml.scala:189: error: no arguments allowed for nullary constructor Object: ()Object private[json4s] class XmlNode(name: String, children: Seq[Node]) extends Elem(null, name, xml.Null, TopScope, children :_*) ^ core/src/main/scala/org/json4s/Xml.scala:191: error: no arguments allowed for nullary constructor Object: ()Object private[json4s] class XmlElem(name: String, value: String) extends Elem(null, name, xml.Null, TopScope, Text(value)) ^ 68 errors found make[1]: *** [debian/rules:24: 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 --------------------------------------------------------------------------------

