DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-mlua-sys 0.14.0-1

Package Information

DescriptionLow level (FFI) bindings to Lua 5.5/5.4/5.3/5.2/5.1 (including LuaJIT) and Luau - Rust source code

Source code for Debianized Rust crate "mlua-sys"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed ByCarl Keinath <carlo@debian.org>
Sponsorcarl.keinath@gmail.com
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/mlua-sys] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-mlua-sys
Uploaded2 hours ago

New Package Report

.changes◂
Sourcerust-mlua-sys
Version0.14.0-1
Changed-ByCarl Keinath <carlo@debian.org>
Architectureamd64 source
Distributionunstable
DateMon, 30 Nov 2026 08:19:50 +0000
Changelog◂
rust-mlua-sys (0.14.0-1) unstable; urgency=medium
 .
   * Team upload.
   * Package mlua-sys 0.14.0 from crates.io using debcargo 2.8.4
 .
   [ Matthias Geiger ]
   * Package mlua-sys 0.11.0 from crates.io using debcargo 2.8.4
.dsc◂
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-mlua-sys-dev deb rust optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mlua-sys
Upstream-Contact: Aleksandr Orlenko <zxteam@pm.me>
Source: https://github.com/mlua-rs/mlua

Files: *
Copyright:
 2017 rlua
 2019-2021 Aleksandr Orlenko <zxteam@pm.me>
License: MIT

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Matthias Geiger <werdahias@debian.org>
 2026 Carl Keinath <carlo@debian.org>
License: MIT

License: MIT
 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, 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 1 hour ago.

Report◂

DFSG NEW review for rust-mlua-sys version 0.14.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 2 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: * (MIT, 2017 rlua; 2019-2021 Aleksandr Orlenko) for the crate and Files: debian/* (MIT, Debian Rust Maintainers/Matthias Geiger/Carl Keinath), with the full MIT text reproduced in a stand-alone License paragraph. The only licensing evidence in the tree is license = "MIT" in Cargo.toml/Cargo.toml.orig, which matches; no file carries a different notice, no vendored or third-party code is shipped (the lua-src/luajit-src/luau0-src build-deps and the vendored/luau/external features are patched out and system Lua libraries are used), and nothing in the tree has non-free terms. MIT is DFSG-compliant and compatible with everything combined here.

Packaging

A clean debcargo-generated package: debhelper-compat 13 with dh-sequence-cargo, Architecture: any with Multi-Arch: same, every Build-Depends/Depends entry resolvable in the archive, per-Lua-feature autopkgtests with LuaJIT gated to its architectures, DEP-5 copyright, Standards-Version 4.7.4 current against Policy 4.7.4.1, 3.0 (quilt) with two documented debcargo patches. The <!nocheck> markings are correct because dh-cargo's build step only copies the crate (cargo/rustc/pkgconf are used only by the test step, which rules disables). One defect: the recipe line of override_dh_auto_test is indented with spaces instead of a tab, so it is not a recipe.

Issues

minor packaging 1. debian/rules indents the override_dh_auto_test recipe with two spaces instead of a tab ◂
  • Files: debian/rules:8

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    override_dh_auto_test:
      :
    

    (line 8 starts with two spaces; the recipe of %: on line 3 starts with a tab: \tdh $@ --buildsystem cargo)

  • Problem: GNU make only treats a line starting with a TAB as a recipe line; a space-indented line after a rule is parsed as makefile syntax, and : is rejected by make with missing separator. So the intended no-op is not reliably the recipe of override_dh_auto_test: at best the override ends up empty, at worst debian/rules cannot be parsed at all. Policy 4.9 requires debian/rules to be an executable makefile.

  • Fix: Indent line 8 with a tab, as in debian/rules.debcargo.hint (\t:).

minor packaging 2. debian/copyright shipped alongside a debcargo hint file still carrying FIXME (overlay) UNKNOWN-YEARS ◂
  • Files: debian/copyright.debcargo.hint:7
  • Basis: checked, in the package or with a reference tool
  • Evidence: Copyright: FIXME (overlay) UNKNOWN-YEARS Aleksandr Orlenko <zxteam@pm.me> together with Comment: FIXME (overlay): ... you should review and fix this before uploading to the archive.
  • Problem: debian/copyright.debcargo.hint is installed in the same directory as debian/copyright and still contains debcargo's unresolved placeholder, exactly the wording the hint asks to be fixed. It is not the authoritative copyright file and is covered by Files: debian/*, so this is not a licensing fault, but shipping an unresolved FIXME beside debian/copyright invites the wrong file being taken as authoritative.
  • Fix: Drop debian/copyright.debcargo.hint (and debian/rules.debcargo.hint) from the source package, or resolve/remove the FIXME placeholder before upload.
Verified ◂
  • Read debian/copyright in full: DEP-5 Format 1.0, two Files stanzas (*, debian/*), MIT with the complete permission text; no Files-Excluded, and none is needed since no non-free or vendored material is in the tree.
  • Walked the whole upstream tree (Cargo.toml, Cargo.toml.orig, Cargo.lock, .cargo_vcs_info.json, README.md, 32 files under src/, 4 under build/) and grepped it case-sensitively for Copyright/SPDX/Permission/Licensed under/MIT/GNU/Apache/public domain: the only licensing statement anywhere is license = "MIT" in Cargo.toml:31 and Cargo.toml.orig:11. No per-file notices exist, so there is no holder debian/copyright omits (consistent with the prescan's author check).
  • Read the heads of src/lib.rs, src/lua51/mod.rs and src/luau/luacodegen.rs and the whole of build/main.rs, build/main_inner.rs and build/find_normal.rs: hand-written #[repr(C)] / unsafe extern FFI declarations plus pkg-config probing, no generated blobs, no embedded Lua or Luau sources.
  • src/lib.rs carries a comment Copied from https://github.com/rust-lang/rust/blob/main/library/std/src/sys/alloc/mod.rs on a small block of alignment constants; it is covered by the Files: * MIT stanza and the copied-from code is Rust std, which is dual MIT/Apache-2.0, so no separate stanza is required.
  • debian/patches: series lists auto/auto-remove-features.patch (removes the external, luau*, vendored features and adds their cfg names to check-cfg) and remove-vendored-deps.patch (comments out the lua-src, luajit-src and luau0-src build-deps); neither introduces third-party code, and both are the documented debcargo transformations, so no DEP-3 headers are expected.
  • Checked all named packages with apt-cache: liblua5.1-0-dev 5.1.5-13, liblua5.2-dev 5.2.4-4.1, liblua5.3-dev 5.3.6-5, liblua5.4-dev 5.4.9-2, liblua5.5-dev 5.5.1-2, libluajit-5.1-dev 2.1.0+openresty20251030-1+b2, librust-cc-1/librust-cfg-if-1/librust-libc-0.2/librust-pkg-config-0.3+default-dev all provided by librust-*-dev (pkg-config 0.3.34 satisfies >= 0.3.17), dh-sequence-cargo provided by dh-cargo 34, debhelper-compat 13 available.
  • The <!nocheck> markings are correct: dh-cargo's cargo buildsystem build step for a library package only copies the sources; cargo build runs in the test step (sub test in /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm), which dh skips under nocheck, so cargo, rustc, libstd-rust-dev, the librust-* crates (needed by the crate's build script) and pkgconf are not needed in a nocheck build.
  • debhelper-compat 13 is supported and not deprecated; at that level dh skips the override_dh_auto_test target itself when DEB_BUILD_OPTIONS has nocheck, so no explicit nocheck check is needed.
  • Standards-Version 4.7.4 against Policy 4.7.4.1: first two components current, not an issue.
  • autopkgtest: one test per Lua feature plus default/all-features/module, LuaJIT tests restricted to libluajit-5.1-dev's architectures, flaky used where debcargo's test_is_broken applies; test-name comma/colon formatting is valid.
  • debian/changelog: 0.14.0-1, unstable, urgency medium, dated today; the 0.11.0 line is the debcargo step recorded in the same entry, not a version mismatch.
  • uscan found the packaged version as the newest upstream release (upstream 0.14.0, packaged 0.14.0).
Not confirmed ◂
  • Upstream copyright years and holders could not be verified from the tree: the crate ships no LICENSE file and no file carries a notice, so 2017 rlua and 2019-2021 Aleksandr Orlenko rest on debcargo's git-derived hint (debian/copyright.debcargo.hint) and were not checked against upstream history.
  • librust-mlua-sys-dev has Breaks: rustc (<< 1.88~), which is unusual for a debcargo-generated package; I could not confirm whether debcargo 2.8.4 emits it. It is harmless where the archive's rustc is >= 1.88, so not reported as an issue.
  • src/lua52..lua55 and src/luau bindings were not read line by line; they were covered by the tree-wide licence grep and by spot reads of several files.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package