Summary: | sys-apps/bat-0.17.1-r1 strange warning | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonas Stein <jstein> |
Component: | Current packages | Assignee: | J Pz <toshokan> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | jstein, proxy-maint, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jonas Stein
2021-01-17 17:57:50 UTC
https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/cargo_install.rs if installed_anything { // Print a warning that if this directory isn't in PATH that they won't be // able to run these commands. let dst = root.join("bin").into_path_unlocked(); let path = env::var_os("PATH").unwrap_or_default(); for path in env::split_paths(&path) { if path == dst { return Ok(()); } } totally harmless, just checks if the installed binaries are in path. since we install to temporary directory - it's not in path and always triggers warning and not easy to disable without patching. all rust/cargo packages have this warning. |