-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
rust-1.79.0-3.el9_5
-
Yes
-
Low
-
ZStream
-
1
-
rhel-sst-pt-llvm-rust-go
-
ssg_platform_tools
-
1
-
False
-
-
No
-
SST LLVM/Rust/Go Sprint 14
-
Unspecified Release Note Type - Unknown
-
None
This is a clone of issue RHEL-70035 to use for version rhel-9.5.z
–
Original description:
This is a clone of issue RHEL-67426 to use for version rhel-9.6
–
Original description:
What were you trying to do that didn't work?
Packages in EPEL 8 and 9 that use the `%cargo_install` macro from rust-toolset and pass arguments to this macro fail to build on top of RHEL 8.10, RHEL 9.5, and in CentOS Stream 9.
The introduction of a subshell inside the `%cargo_install` macro implementation without explicitly passing through arguments causes a parsing failure for any passed arguments instead of them being passed through to `cargo`.
What is the impact of this issue to you?
Packages that need to pass arguments to `%cargo_install` fail to build. Personally, this affects many of my Rust packages in EPEL 8 (for example, rust-ripgrep and rust-tokei).
Please provide the package NVR for which the bug is seen:
rust-toolset-1.79.0-2.module+el8.10.0+22210+e7efad26 (for RHEL 8.10 / EPEL 8)
How reproducible is this bug?:
Always.
Steps to reproduce
- fedpkg clone rust-tokei
- cd rust-tokei
- fedpkg switch-branch epel8
- fedpkg mockbuild
Expected results
Arguments passed to `%cargo_install` are passed through to `cargo`.
Actual results
Arguments passed to `%cargo_install` fail the build due to a syntax error.
- clones
-
RHEL-70035 regression in rust-toolset 1.79: %cargo_install macro no longer accepts arguments [rhel-9]
-
- Release Pending
-
- links to
-
RHBA-2024:143943 rust bug fix and enhancement update