Unable to build rate_mirrors
The most recent update, as of this writing, of rate_mirrors is not compiling. I think the error is related to linking the openssl library. I tried reinstalling openssl, rust and rate-mirrors after clearing out the yay cache, but to no avail. It is still throwing the same error. I've pasted the error here. Any ideas how to fix this. I've not used rust much so I don't know how to fix this.
SOLVED (mostly): Refer to this comment. TL; DR: Just use the rate-mirrors-bin package instead.
Edited 16 Aug 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 5 · 73% up
- Kind
- Text
- ID
- wp5da0
6 comments
i dont know about the error, but what about the binary version of rate-mirrors that is even in the AUR, cant you just use that?
I've not tried the binary version yet. I'll give it a go and then I'll update the post.
The binary version worked! Thanks!
rate-mirrorsuses the nightly toolchain, which the regularrustpackage doesn't have. you'll need to getrustupfrom the community repo to get alternate toolchains automatically like what's intended for this package - or apply this diff if you want to stick withrustCompilation with
rustupalso failed, so I suspect that the problem is withrate-mirrorsitself.that's weird, i was able to use
makepkgto build it regularly and i was able to build it in a clean chroot - so maybe try the latter?