Review: rust-rammap-core 1.2.0-1
Package Information
| Description | core alignment/read-mapping library for rammap - Rust source code Source code for Debianized Rust crate "rammap-core" for use in Debian builds. Other Rust packages wishing to use the "rammap-core" crate can either add the "librust-rammap-core-dev" package to the build dependencies, or use the packaged Debian source code in the Rust source build. |
|---|---|
| Maintainer | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| Changed By | Andreas Tille <tille@debian.org> |
| Sponsor | tille@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/med-team/rust-rammap-core.git (browse) |
| Closes | #1156124 |
| Tracker | https://tracker.debian.org/pkg/rust-rammap-core |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Wed, 02 Dec 2026 18:58:36 +0100 |
| Source | rust-rammap-core |
| Version | 1.2.0-1 |
| Changed-By | Andreas Tille <tille@debian.org> |
| Architecture | source amd64 |
Changelog
rust-rammap-core (1.2.0-1) unstable; urgency=medium . * Initial release (Closes: #1156124)
.dsc
| Section | rust |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librust-rammap-core-dev deb rust optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: rust-rammap-core Upstream-Contact: Jing Wang <wangjwchn@gmail.com> Source: https://github.com/jwanglab/rammap Files: * Copyright: 2018 David Leslie License: Expat Files: debian/* Copyright: 2026 Andreas Tille <tille@debian.org> License: Expat 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 1 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 rust-rammap-core version 1.2.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The licence itself is fine: Cargo.toml declares MIT and README says MIT, and debian/copyright reproduces the Expat/MIT text verbatim, which is DFSG-free. But the Files: * stanza attributes the entire crate to "2018 David Leslie", a holder and year that nothing in the source supports: no file carries any copyright notice, the crate is a 2024-edition Rust project whose dependency set (thiserror 2, hashbrown 0.16) postdates 2018 by years, and the package's own Upstream-Contact/Source name Jing Wang and github.com/jwanglab/rammap as upstream. Under Policy 2.3 the holder of the compiled-in sources must be named in debian/copyright, so the file is inaccurate.
Packaging
Conventional debcargo-generated packaging: debhelper compat 14 (recommended), dh-cargo buildsystem, correct source/binary names and Multi-Arch: same, versioned Provides as debcargo emits. Every librust-* Build-Depends/Depends names a package or virtual package present in the reviewing system's lists. Three DEP-3 patches correctly drop wasm-only dependencies/features not in Debian and select hashbrown 0.16; autopkgtests are provided and Standard-Version 4.7.4 is current (Policy 4.7.4.1). No packaging fault worth reporting.
Issues
blocker licensing 1. debian/copyright attributes all upstream files to "2018 David Leslie", a holder unsupported by the source; the actual upstream holder (Jing Wang / jwanglab) is not named ◂
- Files:
debian/copyright:6-8,src/,Cargo.toml:12,debian/control:21 - Basis: inferred from what was read, not seen directly
- Evidence: debian/copyright:
Files: */Copyright: 2018 David Leslie; debian/copyright:Upstream-Contact: Jing Wang <wangjwchn@gmail.com>; Cargo.toml:license = "MIT",edition = "2024"; no file under src/, examples/ or the top level containsCopyright,(C),©or an SPDX tag. - Problem: The MIT/Expat licence requires the copyright notice to be retained, and Policy 2.3 requires the notices for files compiled into the binary package to appear in debian/copyright. The stanza names a holder and year found nowhere in the 43 shipped files, while the package's own metadata names Jing Wang and the jwanglab repository as upstream. Even if David Leslie were a contributor, the line attributes every file to him alone and omits the actual holder of the compiled library, so the copyright statement is not accurate. The year is likewise implausible: the crate is edition 2024 and depends on thiserror 2 and hashbrown 0.16, releases from 2024-2025, so a 2018 copyright cannot cover it.
- Fix: Copy the copyright notice verbatim from upstream's LICENSE file (repository root, not shipped in the crate tarball) or the crates.io/upstream metadata, and correct the
Copyright:and, if needed,Upstream-Name:fields in debian/copyright to name the real holder(s) and dates.
Verified ◂
- Read all of debian/: copyright, control, rules, changelog, debcargo.toml, source/format, tests/control and all three patches plus series.
- Read Cargo.toml, Cargo.toml.orig, Cargo.lock, README.md and .cargo_vcs_info.json.
- Grepped all 43 upstream (non-debian, non-.pc) files for Copyright, (C), ©, SPDX, Licensed under, Permission is hereby granted, GNU, Apache, Mozilla, public domain and All rights reserved: no copyright or licence notice exists in any upstream file. The only
licensehits (src/api.rs, src/align/dp/mod.rs) are comments about AVX-512 CPU frequency "license throttling", not licence terms. - No LICENSE, COPYING, NOTICE or AUTHORS file exists in the source package; the only licence evidence is Cargo.toml
license = "MIT"and the README "License: MIT" section. - The Expat text in debian/copyright matches the MIT licence; debian/* is by Andreas Tille, and the patches are debian-only files created by the maintainer.
- Checked every librust-* dependency name in Build-Depends/Depends with apt-cache: all exist in the reviewing system's lists (anyhow 1.0.104, bincode-1 1.3.3, bitflags 2.13.2, byteorder 1.5.0, flate2 1.1.11, hashbrown 0.16.1, log 0.4.35, memchr 2.8.3, rayon 1.12.0, rustc-hash 2.1.3, serde 1.0.229, thiserror 2.0.21).
- debhelper compat 14 is the recommended level on the reviewing system; dh-cargo's cargo.pm removes Cargo.lock in configure, so the lock's hashbrown 0.15 pin is not a build problem.
- The prescan's author check found no holder in any of the 43 files; it listed no files and no missing holders, so there is no per-file holder finding to account for beyond the debian/copyright stanza above.
- src/align/wasm_lib.rs (which still contains wasm_bindgen code) is compiled only under
#[cfg(target_arch = "wasm32")]in src/align/mod.rs, so removing the wasm dependencies in drop-wasm-deps.patch does not affect the native build. - Ignored .pc/ and debian/cargo-checksum.json as instructed; the patch-created .pc files are not taken as upstream files.
- uscan found the packaged version as the newest upstream release (upstream
1.2.0, packaged1.2.0).
Not confirmed ◂
- Upstream's actual copyright notice could not be read: the crate tarball ships no LICENSE/COPYING file, and no network access is available to check github.com/jwanglab/rammap or the crates.io owner metadata. The issue therefore rests on the absence of any supporting notice in the source and the contradiction with Upstream-Contact/repository, not on a verbatim upstream notice.
- Large source files (several thousand lines, e.g. src/align/pipeline.rs, src/align/chain_simd.rs) were checked by targeted greps and header reads, not read in full; no third-party copyright or licence text was found in them.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader rejected this upload in response to the review.
Review Information
rejected — allocated to dfsg-uploader 0 hours ago, started 0 hours ago, completed 0 hours ago.
Final Comment
The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.
The uploader said:
Argh