🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Juan Manuel Méndez Rey Wed, 18 Nov 2026 01:10
Bug#1154262: blhc: false positive NONVERBOSE BUILD for cargo workspace members in subdirectories
#4902
Author: Juan Manuel Méndez Rey
Date: Wed, 18 Nov 2026 01:10
71 lines
5138 bytes
--b1=_Fk7zkTNDyBhiG6KmsK2MC2CxE6WktyCFQO2Y1bn8
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Package: blhc
Version: 0.15-1
Severity: normal
Tags: patch

blhc reports cargo's "Compiling" line for a crate that is not at the
top of the source tree as NONVERBOSE BUILD, although cargo runs with -v
and the full rustc command follows it. The 0.15 fix for https://bugs.debian=
.org/1037521
accepts "(/<<PKGBUILDDIR>>)" and "(/builds/...)", but not a
subdirectory of <<PKGBUILDDIR>> or the /build/package/package path
that Salsa CI uses now.

Attached log, run with blhc --debian:

  NONVERBOSE BUILD:    Compiling foo v0.1.0 (/build/package/package/rust/fo=
o)
  NONVERBOSE BUILD:    Compiling bar v0.1.0 (/<<PKGBUILDDIR>>/rust/bar)

The baz line, "(/<<PKGBUILDDIR>>)", is accepted.

This makes the Salsa CI blhc job fail for packages with a cargo
workspace, for example:
https://salsa.debian.org/mendezr/node-rollup/-/jobs/10657970
librsvg has the same failure and sets allow_failure on the job:
https://salsa.debian.org/gnome-team/librsvg/-/blob/debian/latest/debian/sal=
sa-ci.yml

The attached patch accepts a path below <<PKGBUILDDIR>> and paths below
/build/ as well as /builds/. With it, the attached log and the node-rollup
build log give no output and exit 0, and "prove t/" still passes all
248 tests. It applies to master (5075a5c).

--b1=_Fk7zkTNDyBhiG6KmsK2MC2CxE6WktyCFQO2Y1bn8
Content-Type: text/x-diff; name=blhc-cargo-subdir.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=blhc-cargo-subdir.patch

LS0tIGEvYmluL2JsaGMKKysrIGIvYmluL2JsaGMKQEAgLTU3Miw3ICs1NzIsNyBAQAogICAgIHJl
dHVybiAwIGlmICRsaW5lID1+IC9eXHMqW0NjXW9tcGlsaW5nIGNhdGFsb2cgXFMrXC5wb1xiLzsK
ICAgICByZXR1cm4gMCBpZiAkbGluZSA9fiAvXlxzKltDY11vbXBpbGluZyBcUytcLm1vXGIvOwog
ICAgICMgY2FyZ28gYnVpbGQKLSAgICByZXR1cm4gMCBpZiAkY2FyZ28gYW5kICRsaW5lID1+IG17
XlxzKkNvbXBpbGluZ1xzK1xTK1xzK3ZcUysoPzpccytcKC8oPzo8PFBLR0JVSUxERElSPj58YnVp
bGRzL1xTKylcKSk/JH07CisgICAgcmV0dXJuIDAgaWYgJGNhcmdvIGFuZCAkbGluZSA9fiBte15c
cypDb21waWxpbmdccytcUytccyt2XFMrKD86XHMrXCgvKD86PDxQS0dCVUlMRERJUj4+KD86L1xT
Kyk/fGJ1aWxkcz8vXFMrKVwpKT8kfTsKICAgICAjICJDb21waWxpbmciIHdpdGggbm8gZmlsZSBu
YW1lLgogICAgIGlmICgkbGluZSA9fiAvXlxzKltDY11vbXBpbGluZ1xzKyguKz8pKD86XC5cLlwu
KT8kLykgewogICAgICAgICAjICRmaWxlX2V4dGVuc2lvbl9yZWdleCBtYXkgbmVlZCBzcGFjZXMg
YXJvdW5kIHRoZSBmaWxlbmFtZS4K

--b1=_Fk7zkTNDyBhiG6KmsK2MC2CxE6WktyCFQO2Y1bn8
Content-Type: text/plain; name=blhc-cargo-subdir.build
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=blhc-cargo-subdir.build

RmlsdGVyZWQgQnVpbGQtRGVwZW5kczogZGViaGVscGVyLWNvbXBhdCAoPSAxMyksIGNhcmdvLCBy
dXN0YwpkcGtnLWJ1aWxkcGFja2FnZTogaW5mbzogc291cmNlIHBhY2thZ2UgZm9vCmRwa2ctYnVp
bGRwYWNrYWdlOiBpbmZvOiBob3N0IGFyY2hpdGVjdHVyZSBhbWQ2NAogICBDb21waWxpbmcgZm9v
IHYwLjEuMCAoL2J1aWxkL3BhY2thZ2UvcGFja2FnZS9ydXN0L2ZvbykKICAgICBSdW5uaW5nIGBy
dXN0YyAtLWNyYXRlLW5hbWUgZm9vIC0tZWRpdGlvbj0yMDIxIHJ1c3QvZm9vL3NyYy9saWIucnMg
LS1jcmF0ZS10eXBlIGxpYmAKICAgQ29tcGlsaW5nIGJhciB2MC4xLjAgKC88PFBLR0JVSUxERElS
Pj4vcnVzdC9iYXIpCiAgICAgUnVubmluZyBgcnVzdGMgLS1jcmF0ZS1uYW1lIGJhciAtLWVkaXRp
b249MjAyMSBydXN0L2Jhci9zcmMvbGliLnJzIC0tY3JhdGUtdHlwZSBsaWJgCiAgIENvbXBpbGlu
ZyBiYXogdjAuMS4wICgvPDxQS0dCVUlMRERJUj4+KQogICAgIFJ1bm5pbmcgYHJ1c3RjIC0tY3Jh
dGUtbmFtZSBiYXogLS1lZGl0aW9uPTIwMjEgc3JjL2xpYi5ycyAtLWNyYXRlLXR5cGUgbGliYAo=

--b1=_Fk7zkTNDyBhiG6KmsK2MC2CxE6WktyCFQO2Y1bn8--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads