DFSG NEW Queue

DFSG, Licensing & New Packages Team

dh-bazel 0.10.1

Package Information

Descriptiondebhelper buildsystem for packages using Bazel

dh-bazel provides a debhelper buildsystem to build packages using Bazel.

It is designed to help Debian packaging using Bazel and provides common tasks integrated with debhelper.

MaintainerDebian Bazel Team <team+bazel@tracker.debian.org>
Changed ByKentaro Hayashi <kenhys@xdump.org>
Sponsorkenhys@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/bazel-team/dh-bazel.git (browse)
Closes#1154961
Trackerhttps://tracker.debian.org/pkg/dh-bazel
Uploaded1 hour ago

New Package Report

.changes◂
Sourcedh-bazel
Version0.10.1
Changed-ByKentaro Hayashi <kenhys@xdump.org>
Architecturesource all
Distributionunstable
DateMon, 23 Nov 2026 16:42:19 +0900
Changelog◂
dh-bazel (0.10.1) unstable; urgency=medium
 .
   * Initial upload to Debian. (Closes: #1154961)
.dsc◂
Sectiondevel
Priorityoptional
Componentmain
Package-Listdh-bazel deb devel optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: dh-bazel
Upstream-Contact: Kentaro HAYASHI <kenhys@xdump.org>
Source: https://salsa.debian.org/bazel-team/dh-bazel

Files: *
Copyright:
 2026 Kentaro HAYASHI <kenhys@xdump.org>
License: GPL-2+

License: GPL-2+
 The full text of the GPL version 2 is distributed in
 /usr/share/common-licenses/GPL-2 on Debian systems.

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

Report◂

DFSG NEW review for dh-bazel version 0.10.1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: absent (native package)
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5 with a single Files: * stanza naming Kentaro HAYASHI and GPL-2+, plus a stand-alone GPL-2+ paragraph pointing at /usr/share/common-licenses/GPL-2. COPYING is the GPL version 2 text, and README.md ("License: GPL2+") and Changes 0.2.0 ("Apply GPL2+ license") state the or-later grant, so the short name is correct. Nothing else in the tree carries a notice or different terms: greps for Copyright, ©, SPDX-License-Identifier, Permission is hereby granted, Licensed under, Apache, public domain and similar across all 256 files hit only COPYING, README.md, Changes and debian/copyright, and the prescan found every holder named.

Packaging

Small, conventional packaging: debhelper compat 14 with Rules-Requires-Root: no, current Standards-Version: 4.7.4, omitted Priority (correct since 4.7.3), sane Vcs-*/Homepage, and all six named dependencies exist in the archive (bazel-bootstrap 7.7.1, bazel-buildtools 10.2.0, pkgconf 2.5.1, libyaml-tiny-perl 1.76). The install file matches a plain dh_install directory copy into /usr/share/dh-bazel/override_module/, and the test suite is hermetic and runs during the build. The one gap is that there is no autopkgtest although the hermetic suite would need no bazel.

Issues

minor packaging 1. No autopkgtest, and salsa-ci explicitly disables autopkgtest for a suite that needs no bazel ◂
  • Files: debian/salsa-ci.yml:30, debian/control
  • Basis: checked, in the package or with a reference tool
  • Evidence: SALSA_CI_DISABLE_AUTOPKGTEST: 1 with the stated reason "dh-bazel Depends on bazel-bootstrap ... so installing the binary package in the test chroot is expensive", while the same file notes the suite "use[s] fake dpkg-query/pkgconf/buildozer and Perl stubs from t/lib, so only perl (and sh) are needed; no bazel or the built package is required" and there is no debian/tests/ directory or Testsuite: field.
  • Problem: Policy does not require an autopkgtest, but established practice for a new package is to have one, and the stated obstacle does not apply to this package's own suite: the salsa-ci test-unit job runs prove -v t/ with only perl libyaml-tiny-perl, and t/lib/TestDhBazel.pm installs fake dpkg-query, pkgconf and buildozer on PATH, so no bazel and no heavy dependency is installed. As it stands, regressions in the buildsystem are checked only by the package build and CI, never by the archive's test infrastructure.
  • Fix: Add debian/tests/control with a test that installs @ and libyaml-tiny-perl and runs prove -v t/ in the unpacked source tree (the in-tree loader t/lib/Debian/Debhelper/Buildsystem/bazel.pm requires ../dhbazel/bazel.pm, which is present there), then drop SALSA_CI_DISABLE_AUTOPKGTEST. No bazel-bootstrap is needed for this test.
Verified ◂
  • Prescan (dfsg-author-check) listed no individual files and no missing holders: it found one declared holder and matched every holder in the tree to it, so there is nothing for debian/copyright to have omitted; it also listed no built files, minified code or non-free wording.
  • Inventory: 256 files, all plain text; read all 10 files of debian/, COPYING, README.md, Changes, docs/, all dhbazel/**/MODULE.bazel/BUILD.bazel/*.bzl/pkgconf.yml, the t/ tests and helpers, and the examples' sources and packaging.
  • Licence consistency: COPYING l.1-4 is the GPL version 2 text; README.md "## License" says GPL2+; Changes 0.2.0 says "Apply GPL2+ license"; debian/copyright License: GPL-2+ matches, and its pointer /usr/share/common-licenses/GPL-2 is the right file.
  • No third-party code copied in: the adapter modules named after other projects (dhbazel/abseil-cpp, protobuf, openssl, zlib, zstd, libpng, rule*) contain only dh-bazel's own stubs and linkopts (e.g. dhbazel/zlib/BUILD.bazel is a 6-line cc_library; dhbazel/rules_apple/apple/macos.bzl is three pass stubs), not upstream sources, so no Google/Apache-2.0 holder is due.
  • t/lib/Debian/Debhelper/{Buildsystem,Dh_Lib}.pm, t/lib/Dpkg/{Control,Deps}.pm and t/lib/TestDhBazel.pm are independent minimal test doubles (own implementations, comments say so), not copies of debhelper or dpkg code, so Files: * with the dh-bazel holder is accurate for them.
  • The examples/*/debian/ directories ship no debian/copyright and each has a lintian-overrides line no-copyright-file; they are example packaging, are not installed (debian/dh-bazel.install only installs dhbazel/), and debian/dh-bazel.docs installs only README.md and docs/, so this is not a licensing issue for the binary package.
  • debian/dh-bazel.install installs dhbazel/bazel.pm to /usr/share/perl5/Debian/Debhelper/Buildsystem/ plus the 15 dhbazel/* module directories into /usr/share/dh-bazel/override_module/; dh_install(1) FILES/EXAMPLES confirms a directory source installs as usr/share/dh-bazel/override_module/<name>/, matching what dhbazel/bazel.pm looks up.
  • Dependencies: apt-cache show found bazel-bootstrap 7.7.1+ds-8+b1 (satisfies >= 7.0~), bazel-buildtools 10.2.0-1 (provides buildozer), pkgconf 2.5.1-4, libyaml-tiny-perl 1.76-1; libdpkg-perl supplies Dpkg::Control/Dpkg::Deps, and the module's only other external calls are dpkg-query (essential dpkg), pkgconf, buildozer, bazel and rm.
  • Compat 14: Priority omission is correct (Policy 2.5, A10.3 for 4.7.3); relationship substvars are added by dh_gencontrol at compat 14, so naming ${misc:Depends}/${perl:Depends} is harmless; override_dh_auto_test checks nocheck itself although dh already skips that target at compat 13+.
  • Test suite is hermetic: t/lib/TestDhBazel.pm writes fake dpkg-query, pkgconf and buildozer scripts into a temporary bin dir and points PATH/FAKE_*_DATA at them; the tests need no network, no bazel and no installed dh-bazel.
  • debian/source/format is 3.0 (native) and the .dsc beside the tree carries a single dh-bazel_0.10.1.tar.xz with no .orig, consistent with this Debian-only project.
  • dhbazel/Makefile is an upstream developer convenience file (its install target writes /usr/share/dh-python/modules, a leftover path); debian/rules never runs it and it is not listed in debian/dh-bazel.install, so it reaches no binary package.
  • There is no debian/watch, and the package is native, so none is needed.
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
  • Whether dh-bazel being Architecture: all with a hard Depends: bazel-bootstrap (the package lists consulted show bazel-bootstrap built for amd64 only) causes installability or testing-migration problems on the other architectures; the README documents the restriction as intentional, and I could not check per-architecture availability or archive policy from here.
  • Did not build the package, run prove -v t/, or build any of the example packages: the review is read-only, and a build or test failure is outside what it judges.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Back to Dashboard | View all reviews for this package