-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error[E0599]: no method named description_
found for struct KeyRejected
in the current scope
#323
Comments
Welp, unsure if this helps, but it builds if
We'll have to wait for a proper fix. I wonder what changed prior the introduction of |
Looks like |
fyi: Richard and I both have ppc64le (power8) systems |
It seems present in the fork? https://github.com/IBM/ring/blob/master/src/error.rs#L153 but not in the ppc branch: https://github.com/IBM/ring/blob/ppc-0.16.20/src/error.rs#L134 |
Hmm, thanks for pointing that out. I didn't look to see if it was present in the ppc branch. I locally added it in the ppc branch and it now builds fine. (We are building conduit) (I did a quick "fix", so it's not a proper fix, but it works. I'll have to check that out then) I only added this part /// The value returned from <Self as std::error::Error>::description()
pub fn description_(&self) -> &'static str {
self.0
}
Thanks for pointing that out!
@Richard-Rogalski you can temporarily do this |
ugh, I'll make a PR to IBM/ring I guess.. thanks y'all <3 |
Hi, I just pushed a revised version of |
Thank you so much! Just in time for my birthday! |
CPU: ppc64le (power8)
Rust:
rustc 1.71.0-nightly (8ede3aae2 2023-07-12) (gentoo)
and alsorustc 1.71.0 (8ede3aae2 2023-07-12) (gentoo)
Version:
jsonwebtoken = "8.3.0"
I think this problem is because of either ppc64le, or (more likely) ring. Upstream ring does not have support on PPC, but IBM has a fork that does, https://github.com/IBM/ring/ . The error is:
Full build log will be attached below.
I don't know much about rust or where the issue really lies.... but I would be willing to (try) making a PR to make ring optional in favor of the system openssl (openssl-sys), if that would be alright :)
( if that is alright, can I also get an estimate on how hard that would be :b )
build.log
The text was updated successfully, but these errors were encountered: