Bug#1037521: false positive NONVERBOSE BUILD for rust code in Python modules

2024-03-24 Thread Simon Ruderich
Hi,

0.14 fixed some rust related issues. Could you please retest with
the latest version?

If it still fails please provide the full build log so I can
easily replicate it (didn't find an obvious way to download the
raw build log from salsa).

Best,
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9


signature.asc
Description: PGP signature


Bug#1037521: false positive NONVERBOSE BUILD for rust code in Python modules

2024-03-23 Thread Matthias Geiger

Control: retitle -1 False positive NONVERBOSE BUILD for rust code

thanks

On Tue, 13 Jun 2023 18:59:57 +0100 Jelmer =?utf-8?Q?Vernoo=C4=B3?= 
 wrote:


> Package: blhc
> Severity: minor
>
> blhc reports false positives when analyzing build logs for Python
> modules that include rust code.
>
> Example:
>
> $ blhc --debian --line-numbers --color ${SALSA_CI_BLHC_ARGS} 
${WORKING_DIR}/*.build || [ $? -eq 1 ]

> 75:NONVERBOSE BUILD: Compiling autocfg v1.1.0
> 76:NONVERBOSE BUILD: Compiling proc-macro2 v1.0.60
> 79:NONVERBOSE BUILD: Compiling target-lexicon v0.12.3
> 82:NONVERBOSE BUILD: Compiling unicode-ident v1.0.0
> 84:NONVERBOSE BUILD: Compiling quote v1.0.27
> 90:NONVERBOSE BUILD: Compiling syn v1.0.109
> 92:NONVERBOSE BUILD: Compiling pyo3-build-config v0.19.0
> 98:NONVERBOSE BUILD: Compiling once_cell v1.17.0
> 101:NONVERBOSE BUILD: Compiling libc v0.2.146
> 104:NONVERBOSE BUILD: Compiling serde_derive v1.0.152
> 108:NONVERBOSE BUILD: Compiling pyo3-ffi v0.19.0
> 110:NONVERBOSE BUILD: Compiling lock_api v0.4.9
> 112:NONVERBOSE BUILD: Compiling parking_lot_core v0.9.3
> 114:NONVERBOSE BUILD: Compiling serde v1.0.152
> 116:NONVERBOSE BUILD: Compiling ryu v1.0.2
> 123:NONVERBOSE BUILD: Compiling memoffset v0.6.5
> 125:NONVERBOSE BUILD: Compiling indexmap v1.9.2
> 127:NONVERBOSE BUILD: Compiling smallvec v1.9.0
> 129:NONVERBOSE BUILD: Compiling cfg-if v1.0.0
> 131:NONVERBOSE BUILD: Compiling scopeguard v1.1.0
> 138:NONVERBOSE BUILD: Compiling pyo3-macros-backend v0.19.0
> 141:NONVERBOSE BUILD: Compiling pyo3 v0.19.0
> 143:NONVERBOSE BUILD: Compiling serde_json v1.0.87
> 145:NONVERBOSE BUILD: Compiling hashbrown v0.12.3
> 148:NONVERBOSE BUILD: Compiling unindent v0.1.8
> 150:NONVERBOSE BUILD: Compiling linked-hash-map v0.5.6
> 152:NONVERBOSE BUILD: Compiling yaml-rust v0.4.5
> 154:NONVERBOSE BUILD: Compiling indoc v1.0.4
> 159:NONVERBOSE BUILD: Compiling pyo3-macros v0.19.0
> 162:NONVERBOSE BUILD: Compiling parking_lot v0.12.1
> 166:NONVERBOSE BUILD: Compiling itoa v1.0.1
> 170:NONVERBOSE BUILD: Compiling serde_yaml v0.8.26
> 172:NONVERBOSE BUILD: Compiling lintian-brush v0.148.0 
(/builds/jelmer/lintian-brush/debian/output/source_dir)
> 174:NONVERBOSE BUILD: Compiling lintian-brush-py v0.0.0 
(/builds/jelmer/lintian-brush/debian/output/source_dir/lintian-brush-py)

>
> https://salsa.debian.org/jelmer/lintian-brush/-/jobs/4307243
>

This  holds true  for all rust based projects. See 
https://salsa.debian.org/debian/greetd/-/jobs/4488272 for instance. I 
disabled blhc for all rust projects I maintain for the Salsa CI, but it 
would be nice if that wasn't a hard error.


best,


--
Matthias Geiger 
Debian Maintainer



OpenPGP_0x18BD106B3B6C5475.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1037521: false positive NONVERBOSE BUILD for rust code in Python modules

2023-06-13 Thread Jelmer Vernooij
Package: blhc
Severity: minor

blhc reports false positives when analyzing build logs for Python
modules that include rust code.

Example:

$ blhc --debian --line-numbers --color ${SALSA_CI_BLHC_ARGS} 
${WORKING_DIR}/*.build || [ $? -eq 1 ]
75:NONVERBOSE BUILD:Compiling autocfg v1.1.0
76:NONVERBOSE BUILD:Compiling proc-macro2 v1.0.60
79:NONVERBOSE BUILD:Compiling target-lexicon v0.12.3
82:NONVERBOSE BUILD:Compiling unicode-ident v1.0.0
84:NONVERBOSE BUILD:Compiling quote v1.0.27
90:NONVERBOSE BUILD:Compiling syn v1.0.109
92:NONVERBOSE BUILD:Compiling pyo3-build-config v0.19.0
98:NONVERBOSE BUILD:Compiling once_cell v1.17.0
101:NONVERBOSE BUILD:Compiling libc v0.2.146
104:NONVERBOSE BUILD:Compiling serde_derive v1.0.152
108:NONVERBOSE BUILD:Compiling pyo3-ffi v0.19.0
110:NONVERBOSE BUILD:Compiling lock_api v0.4.9
112:NONVERBOSE BUILD:Compiling parking_lot_core v0.9.3
114:NONVERBOSE BUILD:Compiling serde v1.0.152
116:NONVERBOSE BUILD:Compiling ryu v1.0.2
123:NONVERBOSE BUILD:Compiling memoffset v0.6.5
125:NONVERBOSE BUILD:Compiling indexmap v1.9.2
127:NONVERBOSE BUILD:Compiling smallvec v1.9.0
129:NONVERBOSE BUILD:Compiling cfg-if v1.0.0
131:NONVERBOSE BUILD:Compiling scopeguard v1.1.0
138:NONVERBOSE BUILD:Compiling pyo3-macros-backend v0.19.0
141:NONVERBOSE BUILD:Compiling pyo3 v0.19.0
143:NONVERBOSE BUILD:Compiling serde_json v1.0.87
145:NONVERBOSE BUILD:Compiling hashbrown v0.12.3
148:NONVERBOSE BUILD:Compiling unindent v0.1.8
150:NONVERBOSE BUILD:Compiling linked-hash-map v0.5.6
152:NONVERBOSE BUILD:Compiling yaml-rust v0.4.5
154:NONVERBOSE BUILD:Compiling indoc v1.0.4
159:NONVERBOSE BUILD:Compiling pyo3-macros v0.19.0
162:NONVERBOSE BUILD:Compiling parking_lot v0.12.1
166:NONVERBOSE BUILD:Compiling itoa v1.0.1
170:NONVERBOSE BUILD:Compiling serde_yaml v0.8.26
172:NONVERBOSE BUILD:Compiling lintian-brush v0.148.0 
(/builds/jelmer/lintian-brush/debian/output/source_dir)
174:NONVERBOSE BUILD:Compiling lintian-brush-py v0.0.0 
(/builds/jelmer/lintian-brush/debian/output/source_dir/lintian-brush-py)

https://salsa.debian.org/jelmer/lintian-brush/-/jobs/4307243


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-0-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages blhc depends on:
ii  libdpkg-perl  1.21.22

blhc recommends no packages.

blhc suggests no packages.