🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1111519: Debian NEW review of rocprofiler-register 7.2.4+ds-1~exp1: ACCEPTED

#574
From: awm
Date: Mon, 12 Oct 2026 08:00
66 lines
4758 bytes
This is an automated message from the Debian DFSG, Licensing & New
Packages Team.

The Debian NEW review of rocprofiler-register 7.2.4+ds-1~exp1 has been completed.

Decision: ACCEPTED
Reviewer: Andrew McMillan

Review comment:

Hi,

An LLM assisted review came up with the following issues.  Due to the somewhat bleeding edge nature of ROCm I wouldn't be at all surprised to find these are not actually issues, but maybe they are...  I'm pretty sure that first issue is wrong in some ways though :-)


1. [packaging] libhsa-runtime-dev build-dep is unneeded and amd64-only, making arm64/ppc64el
 unbuildable

 - Files: `debian/control:4-10`, `debian/control:21`
 - Evidence: `Build-Depends: debhelper-compat (= 14), architecture-is-64-bit, cmake, libhsa-runtime-dev (>= 7~), libgoogle-glog-dev, libfmt-dev`; `Architecture: amd64 arm64 ppc64el`. apt-cache shows `libhsa-runtime-dev ...  Architecture: amd64` (both 7.2.4+dfsg-1~exp1 and 6.4.3+dfsg-5).
 - Problem: The library does not include any HSA header: source/ only declares `#pragma weak`/`extern` import symbols for hsa/hip/roctx (rocprofiler_register.cpp) and the HSA/HIP/ROCTx mock runtimes are built only from the tests tree, which is OFF by default (ROCPROFILER_REGISTER_BUILD_TESTS OFF, not enabled in rules). CMake links only fmt, glog, dl, stdc++fs, Threads. The dependency is therefore unused, and because libhsa-runtime-dev exists only for amd64 the Build-Depends are unsatisfiable on arm64 and ppc64el, so the two architectures declared in the `Architecture` field can never be built (a sponsor would reject the arch list / dep combination).
 - Fix: Drop `libhsa-runtime-dev (>= 7~)` from Build-Depends (it is not needed to compile or link), which also lets arm64/ppc64el satisfy the build-dependencies; reconsider whether ppc64el (not a ROCm target) belongs in `Architecture` at all.


2. [packaging] debian/watch: wrong GitHub template Project name and dead Filename-Mangle

 - Files: `debian/watch:4-19`
 - Evidence: `Project: rocm-system` (actual repo is `ROCm/rocm-systems`, masked only by the explicit `Source:` field); uscan verbose: `Parsing filenamemangle: s%.*/(?:[-_]?[Vv]?([0-9...]))%rocprofiler-register-$1.tar.gz%` then `Filename (filenamemangled) for downloaded file: rocm-7.2.4`.
 - Problem: The template's Owner/Project pair points at a non-existent repository and only works because `Source:` overrides it; the Filename-Mangle pattern cannot match the GitHub API/tarball URL once @ANY_VERSION@ expands to the version regex, so the intended `rocprofiler-register-<ver>.tar.gz` filename is never produced (uscan would save `rocm-7.2.4`). Purely cosmetic; the scan itself finds and compares rocm-7.2.4 correctly.
 - Fix: Use `Project: rocm-systems`, drop the now-redundant Source/Matching-Pattern overrides, and either fix the Filename-Mangle so it matches the version digits at the end of the mangled download URL or drop it.


Thanks!

Full review details: https://dfsg-new-queue.debian.org/reviews/rocprofiler-register
Technical Details
Message-ID: <NNj6V-52gA-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <LlgGd-8CUS-1@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!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: <awm@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1111519: Debian NEW review of rocprofiler-register 7.2.4+ds-1~exp1: ACCEPTED
Date: Mon, 12 Oct 2026 10:00:01 +0200
Message-ID: <NNj6V-52gA-1@gated-at.bofh.it>
References: <LlgGd-8CUS-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 12 07:59:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.203
Reply-To: <awm@debian.org>, 1111519@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 1111519
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/1996370
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: 66
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: <1111519@bugs.debian.org>
X-Original-Date: Mon, 12 Oct 2026 07:57:32 +0000
X-Original-Message-ID: <Y1jiE67wPWI.A.Dh7J.LNJzqB@bendel>
X-Original-References: <175555647860.27986.16297986211027500176.reportbug@scorbunny>