DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: scala-xml 2.4.0-1

Package Information

DescriptionStandard Scala XML library for Scala 3

scala-xml is the standard Scala library for XML: an immutable node tree, a parser, pretty printing, XPath-like queries and the runtime support for XML literals in Scala source code.

This package provides org.scala-lang.modules:scala-xml_3, built for Scala 3.

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-xml.git (browse)
Popcon Installs227
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/scala-xml
Uploaded2 hours ago

New Package Report

.changes◂
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Distributionunstable
DateWed, 28 Oct 2026 00:09:51 +0100
Sourcescala-xml
Version2.4.0-1
Changelog◂
scala-xml (2.4.0-1) unstable; urgency=medium
 .
   * New upstream release, built for Scala 3 with scala-debian-helper.
   * Replace the Scala 2.11 packages scala-xml and scala-xml-doc with
     libscala-xml-scala3-java.
   * Upstream is now Apache-2.0: update debian/copyright.
   * Standards-Version 4.7.4, debhelper-compat 14, watch file version 5.
   * Add myself to Uploaders.
   * Build-depend on dh-sequence-single-binary.
   * Build-depend on dh-sequence-scala only.
.dsc◂
Componentmain
Package-Listlibscala-xml-scala3-java deb java optional arch=all
Sectionjava
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: scala-xml
Upstream-Contact: https://github.com/scala/scala-xml/issues
Source: https://github.com/scala/scala-xml

Files: *
Copyright: 2002-2025 EPFL
 2011-2025 Lightbend, Inc. dba Akka
 EPFL and Lightbend, Inc.
License: Apache-2.0

Files: shared/src/main/scala/scala/xml/Xhtml.scala
 shared/src/main/scala/scala/xml/parsing/XhtmlEntities.scala
 shared/src/main/scala/scala/xml/parsing/XhtmlParser.scala
Copyright: EPFL and Lightbend, Inc.
 2007 David Pollak, WorldWide Conferencing, LLC
License: Apache-2.0

Files: shared/src/main/scala/scala/xml/Elem.scala
 shared/src/main/scala/scala/xml/MetaData.scala
Copyright: EPFL and Lightbend, Inc.
 2008 Google Inc.
License: Apache-2.0
Comment:
 scala-xml 1.0.3 carried "Copyright 2008 Google Inc." in these files;
 upstream dropped that line when it changed all headers.

Files: shared/src/main/scala/scala/xml/include/*
Copyright: 2001-2003 Elliotte Rusty Harold
 EPFL and Lightbend, Inc.
License: LGPL-2.1 and Apache-2.0
Comment:
 Scala translation of Elliotte Rusty Harold's XIncluder 1.0d11 (LGPL-2.1),
 with some comments kept verbatim. The files carry only the Scala header.

Files: jvm/src/test/scala/scala/xml/BillionLaughsAttackTest.scala
Copyright: EPFL and Lightbend, Inc.
License: Apache-2.0
Comment:
 The test input is the well-known "billion laughs" XML, quoted from MSDN
 Magazine (2009): a mechanical 15-line entity expansion. Test only.

Files: debian/*
Copyright: 2015 Emmanuel Bourg <ebourg@apache.org>
 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: BSD-3-clause

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the license can be found in
 "/usr/share/common-licenses/Apache-2.0".

License: LGPL-2.1
 XIncluder is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License version 2.1
 as published by the Free Software Foundation.
 .
 XIncluder is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU Lesser General Public License for more details.
 .
 THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 DISCLAIMED.  IN NO EVENT SHALL ELLIOTTE RUSTY HAROLD OR ANY
 OTHER CONTRIBUTORS TO THIS PACKAGE
 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.
 .
 On Debian systems, the full text of the GNU Lesser General Public License
 version 2.1 can be found in the file /usr/share/common-licenses/LGPL-2.1.

License: BSD-3-clause
 Permission to use, copy, modify, and distribute this software in source
 or binary form for any purpose with or without fee is hereby granted,
 provided that the following conditions are met:
 .
    1. Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
 .
    2. Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.
 .
    3. Neither the name of the EPFL nor the names of its contributors
       may be used to endorse or promote products derived from this
       software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.

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 0 hours ago.

Report◂

DFSG NEW review for scala-xml version 2.4.0-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 and its stanzas match the tree: upstream is Apache-2.0 (LICENSE and NOTICE are consistent), and the few files with other provenance have their own stanzas naming David Pollak/WorldWide Conferencing, Google Inc., Elliotte Rusty Harold, and the XInclude LGPL-2.1 origin. The only other notices in the tree are the EPFL/Lightbend Apache-2.0 headers. No non-free terms, unlicensed file, vendored code, generated binary, or minified code was found, and the pre-scan's author check found no holder missing from debian/copyright.

Packaging

The packaging is simple and current: debhelper-compat 14 with dh-sequence-scala and the explicitly activated single-binary add-on, 3.0 (quilt) source with no patches, an autopkgtest smoke test, Standards-Version 4.7.4 (current against Policy 4.7.4.1), and every Build-Depends satisfied in the archive (scala-debian-helper provides dh-sequence-scala, debhelper provides dh-sequence-single-binary, scala3 is present). The package is Architecture: all, installs the upstream NOTICE, and the changelog, Vcs-* fields, gbp.conf, upstream metadata and POM are consistent.

Issues

None.

Verified ◂
  • Read debian/copyright in full; every upstream path is covered by Files: * or a later stanza, and the later stanzas correctly override the catch-all.
  • LICENSE is the standard Apache-2.0 text; NOTICE carries the EPFL/Lightbend copyright and is installed through debian/libscala-xml-scala3-java.docs.
  • Grepped the whole tree (with gitignore disabled, excluding .pc/) for Copyright, (C), ©, SPDX, 'Licensed under', GPL/LGPL, Apache, MPL, public-domain and 'All rights reserved': all source headers are the EPFL/Lightbend Apache-2.0 header; the only additional holders are the three already given stanzas (David Pollak, Google Inc., Elliotte Rusty Harold).
  • shared/src/main/scala/scala/xml/include/sax/XIncluder.scala and XIncludeFilter.scala: XIncluder is documented in-file as based on Elliotte Rusty Harold's SAXXIncluder; debian/copyright covers include/* with an LGPL-2.1 and Apache-2.0 stanza and reproduces Harold's LGPL-2.1 notice; both licences are free.
  • jvm/src/test/scala/scala/xml/BillionLaughsAttackTest.scala: the MSDN-derived material is the 15-line mechanical entity-expansion test string, marked as quoted in the copyright file; it is test data, not a separate licensed work.
  • No vendored third-party source trees, prebuilt jars/classes, PDFs, images, fonts or minified files anywhere in the tree; project/build.properties and .jvmopts are plain text.
  • Reference checks: apt-cache confirms scala-debian-helper 0.1 Provides dh-sequence-scala, debhelper 14.5 Provides dh-sequence-single-binary, scala3 3.9.0 and scala3-library exist; Policy is 4.7.4.1, so Standards-Version 4.7.4 is current.
  • No debian/patches and no maintainer scripts; debian/tests/control declares a smoke test whose Testsuite-Triggers in the .dsc matches; the .dsc lists the single Architecture: all binary and the source/binary names match debian/control.
  • The pre-scan's author check reported that every holder it detected is named in debian/copyright, and listed no other files to account for.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 2.5.0, packaged 2.4.0), 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, LGPL-2.1).
Not confirmed ◂
  • scala-debian-helper is not installed on the reviewing system, so the precise semantics of debian/scala-build (Version-Properties, and whether the installed POM's scala3-library_3 3.3.6 dependency is mapped to Debian's scala3-library 3.9.0) could not be executed or read; this does not affect the licensing conclusion or the copyright/licence content of the binary package.
Proposed changes ◂

None.

Review Information

accepted — allocated to awm 0 hours ago, started 0 hours ago, completed 0 hours ago.

Final Comment

Back to Dashboard | View all reviews for this package