Review: antlr4-optimized 4.9.0-1
Package Information
| Description | ANTLR 4 parser generator (optimized fork) ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees. This is the "optimized" fork of ANTLR 4, which contains many features and optimizations not present in the reference release. This package provides the parser generator. |
|---|---|
| Maintainer | Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> |
| Changed By | Emmanuel Bourg <ebourg@apache.org> |
| Sponsor | ebourg@apache.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/java-team/antlr4-optimized.git (browse) |
| Closes | #1155917 |
| Tracker | https://tracker.debian.org/pkg/antlr4-optimized |
| Uploaded | 4 days ago |
New Package Report
.changes
| Date | Mon, 30 Nov 2026 19:02:03 +0100 |
|---|---|
| Source | antlr4-optimized |
| Version | 4.9.0-1 |
| Changed-By | Emmanuel Bourg <ebourg@apache.org> |
| Architecture | source all |
| Distribution | unstable |
Changelog
antlr4-optimized (4.9.0-1) unstable; urgency=medium
.
* New upstream release (Closes: #1155917)
- Renamed the source package to antlr4-optimized
- Build the runtime without the XPath API
- Install the antlr4-annotations module
- Depend on libstring-template-maven-plugin-java (>= 1.1-3)
- Updated the Homepage field
* Updated debian/copyright
* Standards-Version updated to 4.7.4
* Removed the Priority field
* Removed the Rules-Requires-Root field.dsc
| Section | java |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | libantlr4-optimized-java deb java optional arch=all libantlr4-optimized-runtime-java deb java optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ANTLR 4 (optimized fork)
Upstream-Contact: Sam Harwell <sam@tunnelvisionlabs.com>
Source: https://github.com/tunnelvisionlabs/antlr4
Files-Excluded: runtime/Java/lib
perf-testsuite
doc/resources/worker-base.js
Files: *
Copyright: 2012-2019, The ANTLR Project
License: BSD-3-clause
Files: doc/index.md
Copyright: 2012, The ANTLR Project
2012, The Pragmatic Bookshelf
License: BSD-3-clause
Comment: Pragmatic Bookshelf grants a nonexclusive, irrevocable, royalty-free,
worldwide license to reproduce, distribute, prepare derivative works, and
otherwise use this contribution as part of the ANTLR project and associated
documentation.
Files: scripts/parse-extended-pictographic/ExtendedPictographic*.txt
Copyright: 2016, Unicode, Inc.
License: Unicode-DFS-2016
Files: debian/*
Copyright: 2008, John Leuner
2008-2010, Michael Koch
2008, Matthias Klose
2010, Ludovic Claude
2010-2011, Torsten Werner
2011, Damien Raude-Morvan
2012-2015, Tony Mancill
2013-2026, Emmanuel Bourg
License: BSD-3-clause
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted 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 copyright holder 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 AUTHOR ``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 AUTHOR 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.
License: Unicode-DFS-2016
Distributed under the Terms of Use in
https://www.unicode.org/copyright.html.
.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Unicode data files and any associated documentation
(the "Data Files") or Unicode software and any associated
documentation (the "Software") to deal in the Data Files or Software
without restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, and/or sell copies of the
Data Files or Software, and to permit persons to whom the Data Files
or Software are furnished to do so, provided that either (a) this
copyright and permission notice appear with all copies of the Data
Files or Software, or (b) this copyright and permission notice appear
in associated Documentation.
.
THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY
CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
OF THE DATA FILES OR SOFTWARE.
.
Except as contained in this notice, the name of a copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in these Data Files or Software without prior
written authorization of the copyright holder.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 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 4 days ago.
Report
DFSG NEW review for antlr4-optimized version 4.9.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5, covers debian/*, doc/index.md and the Unicode data files, and reproduces the full BSD-3-clause and Unicode-DFS-2016 texts. Every copyright notice found in the tree names The ANTLR Project, except the Pragmatic Bookshelf and Unicode, Inc., both named in their own stanzas. No non-free or field-of-use terms and no built or vendored binaries are present.
Packaging
Standard maven-debian-helper packaging at debhelper compat 13 with a correct dh rules file, two arch:all binary packages split into tool/annotations and runtime, complete Build-Depends and Depends, DEP-3 patches that apply to the tree, a current Standards-Version and an up-to-date changelog. The poms file installs the three built jars and nothing built is left uninstalled. No policy violation or functional defect found.
Issues
minor packaging 1. Files-Excluded is set but the version carries no repack suffix ◂
- Files:
debian/copyright,debian/changelog,debian/watch - Basis: found by the review tooling's own checks
- Evidence:
4.9.0-1 - Problem:
debian/copyrighthasFiles-Excluded, so uscan repacks the upstream tarball, but the version indebian/changelogdoes not say so with a suffix such as+dfsgor+ds, as is the convention for a tarball that differs from upstream's. - Fix: Add the suffix to the version, and
Repacksuffixtodebian/watch.
Verified ◂
- Read every file under debian/: control, rules, changelog, copyright, README.source, source/format, libantlr4-optimized-java.poms, maven.rules, maven.ignoreRules, maven.properties, salsa-ci.yml, patches/series and all four patches.
- All 539 textual Copyright notices in the tree (Java, .g, .st, .stg, .xml, pom files) read "Copyright (c) 2012[-2019] The ANTLR Project" and "Use of this file is governed by the BSD-3-Clause license"; grep for GPL/LGPL/Apache/MPL/MIT/ISC/CC/public-domain wording found none outside LICENSE.txt.
- doc/index.md carries the 2012 Pragmatic Bookshelf grant; it is matched by the doc/index.md stanza, which records the holder and reproduces the grant in its Comment. doc/ is not installed by either binary package.
- doc/releasing-antlr.md:334 "Copyright (C) Microsoft Corporation" is inside a fenced block quoting MSBuild output, not a licence notice of the file.
- scripts/parse-extended-pictographic/ExtendedPictographic.txt is "(c) 2016 Unicode(R), Inc." with the UTS #35 terms; both .txt files match the Unicode-DFS-2016 stanza, whose text is included in full.
- The three Files-Excluded paths (runtime/Java/lib, perf-testsuite, doc/resources/worker-base.js) are absent from the tree; no patch removes them, so the orig tarball must be repacked.
- No .jar, .class, minified JS, PDF or other built artifact is present anywhere in the tree; a glob on those extensions returned only doc/images/*.png.
- Prescan's holder check scanned 1077 files and reported every holder it found named in debian/copyright; the PNG files in doc/images are documentation illustrations, not installed by any binary package.
- Checked with apt-cache that antlr3-maven-plugin, libantlr3-runtime-java, libicu4j-java, libtreelayout-java and libstring-template-maven-plugin-java (1.1-3 accepted in unstable) exist; Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1.
- debhelper 14.5 reports compat 13 as supported and neither deprecated nor discouraged; ${misc:Depends} is present in both packages as compat 13 requires.
- Patches are DEP-3 with Description/Author; 02-ignore-modules and disable-xpath are build-scope choices, icu4j-compatibility carries an upstream Bug URL, and the tree shows all four applied (including both edits to unicodedata.st).
- uscan found the packaged version as the newest upstream release (upstream
4.9.0, packaged4.9.0).
Not confirmed ◂
- The contents of the 20 doc/images PNGs were not inspected; they are documentation illustrations and the prescan's holder extraction named all holders it found in them.
- maven-debian-helper is not installed on the reviewing system, so generation of ${maven:OptionalDepends} and the exact maven version-rule resolution for string-template-maven-plugin's mojo-executor dependency could not be read from the helper; the pattern is the standard mh_make output and a clean build is assumed.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 4 days ago.
Review Information
accepted — allocated to awm 10 hours ago, started 10 hours ago, completed 10 hours ago.
Final Comment
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 4.9.0-1 | 300922d3… | 2026-11-30 21:28 | 2026-11-30 21:28 | dfsg-uploader | rejected | VIEW |