r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
9 stars 2 forks source link

Can't find cargo on macOS builder #208

Closed eitsupi closed 1 year ago

eitsupi commented 1 year ago

Thank you for maintaining R-universe.

I recently registered a package containing Rust code in my universe and noticed that the cargo command was missing on the macOS builder. I was wondering if this is intentional, since it appears that cargo is available on Linux and Windows. https://github.com/r-universe/eitsupi/actions/runs/3314809532/jobs/5482550549#step:9:50

jeroen commented 1 year ago

According to GitHub it should be there:

Maybe it is just not on the PATH?

These seem to work: https://r-rust.r-universe.dev/ui#builds

eitsupi commented 1 year ago

Thank you for your immediate reply. I checked the gifski logs and it looks like it is using this part to install rust. https://github.com/r-rust/gifski/blob/68911d927fb34c43dede24ce1baab73346e8bf04/configure#L25

jeroen commented 1 year ago

Yeah that is true, but if rust is preinstalled it should use that. Hmm I'll have a look

eitsupi commented 1 year ago

Could it have been deleted when Homebrew was removed?

jeroen commented 1 year ago

Maybe, though rustc and cargo are their own installer, they are normally not part of homebrew.

jeroen commented 1 year ago

Hmm that didn't help...

eitsupi commented 1 year ago

It woks now, thanks!