Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75736 - [cargo-msrv] Missing dependency 'rustup'

Attached to Project: Community Packages
Opened by Harish Rajagopal (rharish) - Monday, 29 August 2022, 22:54 GMT
Last edited by Orhun Parmaksız (orhun) - Wednesday, 31 August 2022, 14:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Orhun Parmaksız (orhun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
cargo-msrv needs rustup to work, but it's not specified in the dependency list. It isn't specified in the upstream documentation as of now (Monday 29 August 2022 10:53:27 PM UTC), but this will be added soon, after an issue raised upstream about this requirement.

Additional info:
* package version(s): cargo-msrv 0.15.1-1
* config and/or log files etc.: The error message is here: https://github.com/foresterre/cargo-msrv/issues/466
* link to upstream bug report, if any: https://github.com/foresterre/cargo-msrv/issues/467

Steps to reproduce:
* Install cargo-msrv
* Ensure rustup isn't installed
* Run it on a Rust project
This task depends upon

Closed by  Orhun Parmaksız (orhun)
Wednesday, 31 August 2022, 14:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in -2
Comment by Toolybird (Toolybird) - Tuesday, 30 August 2022, 05:22 GMT
> needs rustup to work, but it's not specified in the dependency list

Well, it kinda is, as the dep is on "cargo" which is also provided by "rustup". Hopefully the PM can clarify the situation.
Comment by Harish Rajagopal (rharish) - Tuesday, 30 August 2022, 09:10 GMT
Actually, the cargo dependency is just a make dependency, which isn't installed when one installs this package (since it's already built). Further, one could meet the cargo dependency by installing the `rust` package, which doesn't provide rustup (which is what I initially did, after which I discovered this error).

Loading...