DFSG NEW Queue

DFSG, Licensing & New Packages Team

scala-tools-sbinary 0.5.1-1

Package Information

DescriptionScala library for describing binary protocols (Scala 3)

SBinary is a library for describing binary protocols, in the form of mappings between Scala types and binary formats. It can be used as a robust serialization mechanism for Scala objects or a way of dealing with existing binary formats found in the wild.

This package provides org.scala-sbt:sbinary_3, used by zinc and sbt.

MaintainerDebian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/java-team/scala-tools-sbinary.git (browse)
Closes#1142136
Popcon Installs4
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/scala-tools-sbinary
Uploaded2 hours ago

New Package Report

.changes◂
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Distributionunstable
DateMon, 16 Nov 2026 04:26:57 +0100
Sourcescala-tools-sbinary
Version0.5.1-1
Changelog◂
scala-tools-sbinary (0.5.1-1) unstable; urgency=medium
 .
   * New upstream release, from github.com/sbt/sbinary, built for Scala 3
     with scala-debian-helper.
   * Replace libscala-tools-sbinary-java (Scala 2.11) by
     libsbinary-scala3-java (org.scala-sbt:sbinary_3), needed by zinc and
     sbt.
   * Expand the FMPP templates at build time with FreeMarker instead of
     shipping them pre-expanded in a patch.
   * Backport the Scala 3 fix of anyToSummand from upstream.
   * debian/copyright: list the holders found in the source.
   * Use debian/watch version 5.
   * Standards-Version 4.7.4, debhelper-compat 14.
   * Add myself to Uploaders.
   * Add an autopkgtest that round-trips values through the installed
     jar.
   * Build-depend on dh-sequence-single-binary.
   * Build-depend on dh-sequence-scala only.
   * Rebuilt with the current toolchain (Closes: #1142136).
.dsc◂
Sectionjava
Priorityoptional
Componentmain
Package-Listlibsbinary-scala3-java deb java optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: SBinary
Upstream-Contact: https://github.com/sbt/sbinary/issues
Source: https://github.com/sbt/sbinary

Files: *
Copyright: 2008 David R. MacIver
License: Expat
Comment: SBinary started as a loose port of Haskell's Data.Binary; it is a
 Scala reimplementation and contains no Haskell code.

Files: project/HouseRulesPlugins.scala
Copyright: 2012-2013 Typesafe Inc.
License: Apache-2.0
Comment: Build file adapted from https://github.com/sbt/sbt-houserules;
 not used by the Debian build.

Files: debian/*
Copyright: 2017 Frederic Bonnard <frediz@linux.vnet.ibm.com>
 2018 Emmanuel Bourg <ebourg@apache.org>
 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Expat

License: Apache-2.0
 On Debian systems, the full text of the Apache License, Version 2.0 can be
 found in the file '/usr/share/common-licenses/Apache-2.0'.

License: Expat
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
 files (the "Software"), to deal in the Software without
 restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the
 Software is furnished to do so, subject to the following
 conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 1 hour ago.

Report◂

DFSG NEW review for scala-tools-sbinary version 0.5.1-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5 (Format 1.0) and covers the whole tree. Files: * (2008 David R. MacIver, Expat) matches the only licence notice in the source, LICENSE; project/HouseRulesPlugins.scala is correctly carved out as 2012-2013 Typesafe Inc. under Apache-2.0 (pointing at /usr/share/common-licenses/Apache-2.0), and debian/* is attributed to the packagers under Expat, whose full text is reproduced. No other copyright or licence notice exists in the tree, and no non-free terms were found.

Packaging

Compatibility 14 with dh-sequence-scala and an explicit dh-sequence-single-binary, a hand-written DEP-3 backport patch, the FMPP templates shipped so the generated sources have their preferred form, current Standards-Version, sane changelog and two autopkgtests make this good packaging; every Build-Depends exists in unstable. Only details I could not inspect (Maven pom installation, one hard-coded jar path, file modes) remain open, none of them a demonstrated fault.

Issues

None.

Verified ◂
  • Read debian/copyright in full: DEP-5 with Format 1.0, Files: * Expat 2008 David R. MacIver, Files: project/HouseRulesPlugins.scala Apache-2.0 2012-2013 Typesafe Inc., Files: debian/* Expat for 2017/2018/2026 packagers; the Expat text is complete and identical to LICENSE.
  • Grepped the whole tree (gitignore: false) for Copyright, (C), ©, SPDX, 'Permission is hereby granted', Apache/GNU/public-domain wording and holder names: the only licence notice outside debian/ is LICENSE; the remaining hits were append(c) in core/src/main/scala/javaprotocol.scala:187 and the com.typesafe Maven coordinates in project/plugins.sbt, neither a notice. The prescan's holder check agrees: no unnamed holder.
  • The two files under core/src/main/fmpp are the FMPP templates from which idl_generator output is produced; debian/rules:6-8 expands them into debian/fmpp at build time via debian/ExpandTemplates.java, and debian/clean removes that directory, so no pre-generated code without its input is shipped.
  • Compared the orig tarball listing with the unpacked tree: identical upstream file set, so no Files-Excluded is needed; .pc/ ignored as instructed.
  • debian/patches/scala3-implicit-result-type.patch has DEP-3 Description/Author/Origin/Applied-Upstream/Last-Update, changes only the generic.scala template (the same fix as upstream 0.5.2), and applies to 0.5.1.
  • apt-cache: every Build-Depends name exists in unstable - scala-debian-helper 0.1 (Provides dh-sequence-scala, command dh_scala), debhelper 14.5 (Provides dh-sequence-single-binary; single_binary.pm read), libfreemarker-java 2.3.32-2.1 (the version whose Configuration.VERSION_2_3_32 constant debian/ExpandTemplates.java uses), libscala-xml-scala3-java 2.4.0-1, scala3 3.9.0+ds2-3 (commands scalac-3, scala-3 used by debian/tests/roundtrip).
  • debhelper at compat 14 adds relationship substvars itself, so Depends: ${misc:Depends}, ${scala:Depends}, is fine (and the trailing comma is dropped by dpkg's comma splitting); the single-binary add-on is explicitly activated, which is the compat-14 recommendation.
  • Read /usr/bin/dh_clean: a debian/clean entry ending in / is treated as a directory and removed with rm -fr, so debian/fmpp/ is cleaned correctly.
  • Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 in its first two components; Section java; Vcs-Git/Vcs-Browser on salsa.debian.org/java-team; changelog in unstable, 0.5.1-1 sorts above the previous 0.4.2-on-scala-2.11.0~M5-1 and closes #1142136.
  • debian/tests/control has the helper's smoke test plus a roundtrip test that compiles and runs a program against the installed jar, covering both plain sources and FMPP-expanded ones; debian/tests/roundtrip uses set -e and AUTOPKGTEST_TMP.
  • debian/source/format is 3.0 (quilt); debian/gbp.conf is consistent with pristine-tar and the master/upstream branches.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 0.6.0, packaged 0.5.1), which is not a fault of the package.
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • Could not verify that libscala-xml-scala3-java installs its jar as /usr/share/java/scala-xml-3.jar, the path hard-coded in debian/tests/roundtrip; the package is not installed here and no file lists are available, so the roundtrip test's compile line could not be checked against the archive.
  • Could not verify whether dh_scala installs debian/poms/sbinary_3.pom.xml into /usr/share/maven-repo and how its dependency pins (scala3-library 3.1.0, scala-xml 2.0.1, against the archive's 3.9.0 and 2.4.0) are used; scala-debian-helper is not installed on the reviewing system.
  • File modes could not be read from the unpacked tree, so the executable bit on debian/tests/roundtrip was not confirmed (the maintainer's own autopkgtest run would have caught its absence).
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 1 hour ago.

Back to Dashboard | View all reviews for this package