[Pkg-rust-maintainers] Bug#1104025: rust-web-sys: Fix unstable/amd64 debci failure

Yan, Peng Peng.Yan at windriver.com
Thu Apr 24 11:08:11 BST 2025


Package: rust-web-sys
Version: 0.3.64-2
Severity: normal
Tags: patch

Dear Maintainer,

I'd like to submit a patch to fix the Debci failures reported as below.
https://ci.debian.net/packages/r/rust-web-sys/unstable/amd64/

The failure is caused by passing incorrect parameter '--all-targets.' in debian/tests/control
The error before applying the patch:
autopkgtest [09:52:40]: test librust-web-sys-dev:default: [-----------------------
debian cargo wrapper: options = ['parallel=40'], profiles = [], parallel = ['-j40'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /tmp/tmp.4z48FzQu6u/registry/
debian cargo wrapper: options = ['parallel=40'], profiles = [], parallel = ['-j40'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j40', '--target', 'x86_64-unknown-linux-gnu', '--all-targets.'],) {}
error: unexpected argument '--all-targets.' found
  tip: a similar argument exists: '--all-targets'
  tip: to pass '--all-targets.' as a value, use '-- --all-targets.'
Usage: cargo test --verbose... --jobs <N> --target [<TRIPLE>] --all-targets [TESTNAME] [-- [ARGS]...]
For more information, try '--help'.

With the patch attached, the autopkgtest tests are successfully:
autopkgtest [10:07:24]: test librust-web-sys-dev:default: -----------------------]
autopkgtest [10:07:24]: test librust-web-sys-dev:default:  - - - - - - - - - - results - - - - - - - - - -
librust-web-sys-dev:default PASS
autopkgtest [10:07:24]: @@@@@@@@@@@@@@@@@@@@ summary
librust-web-sys-dev:default PASS
autopkgtest [10:07:24]: Binaries: resetting testbed apt configuration

Would you please accept this patch?

Best Regards,
Peng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250424/eab07479/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-a-parameter-error-all-targets.-in-debian-test-co.patch
Type: application/octet-stream
Size: 1146 bytes
Desc: 0001-Fix-a-parameter-error-all-targets.-in-debian-test-co.patch
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250424/eab07479/attachment-0001.obj>


More information about the Pkg-rust-maintainers mailing list