rust-kdl-4 4.7.1-1
Package Information
| Description | document-oriented KDL parser and API - v1 - Rust source code Allows formatting/whitespace/comment-preserving parsing and modification of KDL text. Source code for Debianized Rust crate "kdl" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Ananthu C V <weepingclown@debian.org> |
| Sponsor | weepingclown@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/kdl-4] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-kdl-4 |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Changed-By | Ananthu C V <weepingclown@debian.org> |
|---|---|
| Architecture | amd64 source |
| Distribution | unstable |
| Source | rust-kdl-4 |
| Version | 4.7.1-1 |
Changelog
rust-kdl-4 (4.7.1-1) unstable; urgency=medium . * Package kdl 4.7.1 from crates.io using debcargo 2.8.4
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | librust-kdl-4-dev deb rust optional arch=any |
| Section | rust |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: kdl Upstream-Contact: Kat Marchán <kzm@zkat.tech> Source: https://github.com/kdl-org/kdl-rs Files: * Copyright: Kat Marchán <kzm@zkat.tech> License: Apache-2.0 Files: debian/* Copyright: 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2026 Ananthu C V <weepingclown@debian.org> License: Apache-2.0 License: Apache-2.0 Debian systems provide the Apache 2.0 license in /usr/share/common-licenses/Apache-2.0
DFSG Assistant LLM REVIEW 1 blocker, 0 important, 2 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 2 hours ago.
Report
DFSG NEW review for rust-kdl-4 version 4.7.1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The crate is Apache-2.0 and that is correctly stated for the code, but debian/copyright is inaccurate for examples/kdl-schema.kdl, which declares itself CC-BY-SA-4.0 with a second copyright holder, and it omits the KDL Community holder declared in Cargo.toml/the debcargo hint and the kdl4j author credited for the test suite. CC-BY-SA-4.0 is DFSG-free, so there is no non-free licence in the tree; the fault is the inaccurate copyright file.
Packaging
Standard debcargo 2.8.4 output: debhelper compat 13 with dh-sequence-cargo, correct Rust semver-suffixed package naming, Multi-Arch: same, dependencies that exist in the archive, a single DEP-3 patch relaxing miette to the version Debian ships, valid autopkgtests, current Standards-Version and proper Vcs-* fields. No packaging fault found.
Issues
blocker licensing 1. examples/kdl-schema.kdl is CC-BY-SA-4.0, not Apache-2.0, and its co-holder Lars Willighagen is not named ◂
- Files:
examples/kdl-schema.kdl:1-14,debian/copyright:6-8 - Basis: checked, in the package or with a reference tool
- Evidence: examples/kdl-schema.kdl:
contributor "Lars Willighagen" { ... }andlicense "Creative Commons Attribution-ShareAlike 4.0 International License" spdx="CC-BY-SA-4.0" { ... }; debian/copyright has oneFiles: *stanza withCopyright: Kat Marchán <kzm@zkat.tech>/License: Apache-2.0. - Problem: The file's own metadata block licenses the schema document CC-BY-SA-4.0 and names Lars Willighagen as contributor, so
Files: *gives the wrong licence and misses a holder. A wrong licence is serious wherever the file is, because the source package itself is distributed under the terms claimed in debian/copyright (copyright-format 6.7; Policy 2.3). CC-BY-SA-4.0 is DFSG-free, so the file is not non-free; only the copyright file is wrong. - Fix: Add a stanza after
Files: *forexamples/kdl-schema.kdlwithCopyright: 2021 Kat Marchán <kzm@zkat.tech>and2021 Lars WillighagenandLicense: CC-BY-SA-4.0, pointing to/usr/share/common-licenses/CC-BY-SA-4.0(it is present there).
minor licensing 2. Files: * does not name the holder KDL Community declared by upstream ◂
- Files:
debian/copyright:6-8,Cargo.toml:10-13,debian/copyright.debcargo.hint:8-11 - Basis: checked, in the package or with a reference tool
- Evidence: Cargo.toml:
authors = [ "Kat Marchán <kzm@zkat.tech>", "KDL Community", ]; debian/copyright.debcargo.hint:FIXME (overlay) UNKNOWN-YEARS KDL Community; debian/copyright lists only Kat Marchán. - Problem: Upstream declares KDL Community as an author, and the debcargo-generated hint records it as a copyright holder from the upstream git history, but the cleaned debian/copyright drops it. Per Policy 2.3 footnote 5 Apache-2.0 notices are not thought to require copying into debian/copyright, so this is not a Policy violation, but the file is incomplete for the DFSG team, and the crate source is what the -dev package ships.
- Fix: Add
KDL Communityto theCopyrightfield of theFiles: *stanza (or explain in a Comment why it is not a separate holder).
minor licensing 3. debian/copyright does not name the kdl4j author credited for tests/test_cases ◂
- Files:
tests/README.md:57-61,debian/copyright:6-8 - Basis: inferred from what was read, not seen directly
- Evidence: tests/README.md:
This test suite was extracted from [kdl4j](https://github.com/hkolbeck/kdl4j) ... with huge thanks to [@hkolbeck](https://github.com/hkolbeck) for authoring them!; debian/copyright attributes all files to Kat Marchán under Apache-2.0. - Problem: The test corpus is third-party work from kdl4j authored by hkolbeck, and neither that holder nor the kdl4j licence is stated anywhere in debian/copyright. The files are plain KDL data, not compiled, and are shipped in the -dev package only as crate source, so Policy 2.3 does not require the notice for them under Apache-2.0; the copyright file is nevertheless incomplete, and if the actual kdl4j terms differ from Apache-2.0 the
Files: *licence would also be wrong. - Fix: Add a
Files: tests/test_cases/*stanza naming hkolbeck/the kdl4j project and the licence under which the test suite is used, after confirming it with upstream; move it afterFiles: *so it overrides it.
Verified ◂
- Read all of debian/: control, rules, changelog, copyright, copyright.debcargo.hint, debcargo.toml, tests/control, upstream/metadata, patches/series, patches/relax-deps.patch, source/format.
- The pre-review scan of 428 files reported no holder mismatch; its only output was the author check, and no built, minified, PDF or otherwise suspect files were listed.
- LICENSE is the Apache-2.0 text and Cargo.toml/Cargo.toml.orig declare
license = "Apache-2.0"; src/.rs, tests/.rs, examples/*.rs and the config/CI files carry no separate licence notice, so Files: * Apache-2.0 is right for them. - examples/kdl-schema.kdl carries its own CC-BY-SA-4.0 metadata (reported as an issue); examples/nuget.kdl and examples/Cargo.kdl are hand-written KDL examples with no third-party licence notice (nuget.kdl only notes it is based on a NuGet.Client project file).
- tests/test_cases/input and tests/test_cases/expected_kdl are plain-text KDL test data with no copyright notices; the kdl4j provenance is the basis of one minor issue.
- Licence compatibility: Apache-2.0 code and a CC-BY-SA-4.0 example are separate files in one source/binary package (mere aggregation), so no combined-work conflict.
- Packaging: debhelper compat 13 with dh-sequence-cargo (dh-cargo 34) matches the debcargo output; ${misc:Depends} is present; package is Architecture: any, Multi-Arch: same; Provides for default/span/4.7/4.7.1 are consistent with Cargo.toml features.
- Build-Depends names exist in the archive: librust-miette-7+default-dev is provided by librust-miette-dev 7.6.0-2+b1, librust-nom-7-dev is 7.1.3-3, librust-thiserror-1+default-dev is provided by librust-thiserror-1-dev 1.0.69-1+b1, dh-sequence-cargo by dh-cargo 34.
- relax-deps.patch changes only Cargo.toml (miette 5.3.0 -> 7); dh-cargo's configure step deletes Cargo.lock (/usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm,
rm_files("Cargo.lock")), and upstream 4.7.0 shipped the same sources against miette 7, so the stale Cargo.lock is not a build problem. - debian/rules override_dh_auto_test runs
dh_auto_test -- test --all; at compat 13 dh skips that override under DEB_BUILD_OPTIONS=nocheck, so the <!nocheck> markers on the cargo/rustc/test dependencies are correct. - patches/relax-deps.patch has a DEP-3 header (Description, Author, Forwarded, Last-Update); tests/control is valid autopkgtest syntax with dh-cargo; changelog version 4.7.1-1, distribution unstable, date Wed 02 Dec 2026 is a real Wednesday.
- Standards-Version 4.7.4 matches the current 4.7.4.x Policy; Vcs-Git/Vcs-Browser point at debcargo-conf with the [src/kdl-4] syntax.
- uscan found the packaged version as the newest upstream release (upstream
4.7.1, packaged4.7.1). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The actual licence of the kdl4j-derived files under tests/test_cases could not be verified offline; only the credit in tests/README.md is available in the tree.
- No build or test run was possible; the miette 5->7 patch, Cargo.lock removal and autopkgtest commands were checked statically only.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.