🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #646

Bug#1149885: Debian NEW review of python-rbloom 1.5.4-1: ACCEPTED

#646
From: awm
Date: Tue, 13 Oct 2026 02:40
65 lines
5089 bytes
This is an automated message from the Debian DFSG, Licensing & New
Packages Team.

The Debian NEW review of python-rbloom 1.5.4-1 has been completed.

Decision: ACCEPTED
Reviewer: Andrew McMillan

Review comment:

Hi,

A couple of minor issues you should think about fixing on your next upload...

1. [important] [packaging] Build-Depends missing python3-dev: cdylib links libpython but nothing in Build-Depends provides the dev symlink

 - Files: `debian/control (Build-Depends); debian/patches/0002-Patch-out-extension-module-pyo3-feature.patch`
 - Evidence: Patch 0002 deletes `"extension-module",` from the pyo3 features in `Cargo.toml`, so pyo3 links against libpython. `python3-all` Depends only on `python3`, `python3.14`, `python3.15`; `dh-python`/`dh-sequence-python3` and `pybuild-plugin-pyproject` Depends only `python3:any`; `python3-maturin` Depends `python3:any`, libc6, libgcc-s1, libzstd1 (verified via apt-cache). None installs the `libpython3.X.so` dev symlink/`python3-config` that linking `-lpython3.X` (or pyo3-build-config's libpython lookup) needs; only `python3-dev`/`libpython3-dev` provide it.
 - Problem: With `extension-module` removed, the final `.so` must be linked against libpython, which requires the development library. On a clean buildd (or sbuild/pbuilder chroot) where only the declared Build-Depends are installed, the link step could fail or pyo3's build could error "Could not find Python dynamic library". The local build likely worked only because the maintainer's environment happens to have python3-dev installed. This is a genuine missing build dependency.
 - Fix: Add `python3-all-dev` (or at least `python3-dev`; if pybuild builds against all of `python3-all`'s interpreters, the per-version `-dev` of each is needed) to Build-Depends, then verify with a clean build.

2. [minor] [packaging] Generated cargo build state committed in debian/cargo_home

 - Files: `debian/cargo_home/config.toml, debian/cargo_home/.package-cache, debian/cargo_home/.package-cache-mutate, debian/cargo_home/registry/CACHEDIR.TAG; debian/clean`
 - Evidence: `debian/cargo_home/config.toml` contains machine/build-specific content, e.g. `[build] rustflags = [... '-C', 'linker=riscv64-linux-gnu-gcc', ... '--remap-path-prefix', '/build/python-rbloom-1.5.4=/usr/share/cargo/registry/python-rbloom-1.5.4', ...]`, with `source.crates-io replace-with = "dh-cargo-registry"` pointing at `/build/python-rbloom-1.5.4/debian/cargo_registry`.  `.package-cache` / `.package-cache-mutate` are empty. All four are present in `python-rbloom_1.5.4-1.debian.tar.xz`. `debian/clean` lists only `debian/cargo_home/.global-cache`, which is why the others leaked into the source package.
 - Problem: Build-time artifacts with absolute build paths and a cross-arch linker got committed to the Debian source package. They are regenerated by `cargo prepare-debian` each build, so they do not break the build, but shipping them is sloppy, non-reproducible-looking, and they are not cleaned by `dh_clean`.
 - Fix: Remove `debian/cargo_home/` (generated at build time) from the source package / git, and either extend `debian/clean` or gitignore `debian/cargo_home/` so the files do not reappear.

Full review details: https://dfsg-new-queue.debian.org/reviews/python-rbloom
Technical Details
Message-ID: <NNAAN-5buX-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NKfMd-3nos-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: <awm@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1149885: Debian NEW review of python-rbloom 1.5.4-1: ACCEPTED
Date: Tue, 13 Oct 2026 04:40:01 +0200
Message-ID: <NNAAN-5buX-1@gated-at.bofh.it>
References: <NKfMd-3nos-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 02:33:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.203
Reply-To: <awm@debian.org>, 1149885@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 1149885
X-Debian-Pr-Package: wnpp
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996485
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
List-Archive: https://lists.debian.org/msgid-search/debian-bugs-dist
Approved: robomod@news.nic.it
Lines: 65
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: <1149885@bugs.debian.org>
X-Original-Date: Tue, 13 Oct 2026 02:31:32 +0000
X-Original-Message-ID: <FNp85yy54OJ.A.LhyK.lhZzqB@bendel>
X-Original-References: <179106236374.3940622.14927805230845509222.reportbug@ithor>