GithubHelp home page GithubHelp logo

Comments (8)

erichte-ibm avatar erichte-ibm commented on June 19, 2024 2

Hi, I just pushed a revised version of ppc-0.16.20 to IBM/ring that is actually based on 0.16. The original version included some commits intended for a future version that should not have been there, hopefully this should address the issue. As it was a git history rewrite, you may need to force a clean rebuild to make sure it fetches the new version. Please let me know if you encounter any issues.

from jsonwebtoken.

Keats avatar Keats commented on June 19, 2024 1

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

from jsonwebtoken.

robfreed avatar robfreed commented on June 19, 2024

Welp, unsure if this helps, but it builds if e.description_()) is replaced by ErrorKind::RsaFailedSigning.

Note that this isn't a proper fix

We'll have to wait for a proper fix. I wonder what changed prior the introduction of e.description_()).

from jsonwebtoken.

robfreed avatar robfreed commented on June 19, 2024

Looks like e.description_() was added in 30571ca. Reverting it should probably make it work. Unsure of the impact if this commit was reverted.

from jsonwebtoken.

robfreed avatar robfreed commented on June 19, 2024

fyi: Richard and I both have ppc64le (power8) systems

from jsonwebtoken.

robfreed avatar robfreed commented on June 19, 2024

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
    }

builds fine, but it's missing most of 30571ca.

Thanks for pointing that out!

LIBCLANG_PATH="/usr/lib/llvm/15/lib64/" cargo build --release
   [...]
   Compiling jsonwebtoken v8.3.0
   [...]
    Finished release [optimized] target(s) in 6m 29s

@Richard-Rogalski you can temporarily do this

from jsonwebtoken.

Richard-Rogalski avatar Richard-Rogalski commented on June 19, 2024

ugh, I'll make a PR to IBM/ring I guess.. thanks y'all <3

from jsonwebtoken.

robfreed avatar robfreed commented on June 19, 2024

Thank you so much! Just in time for my birthday!

from jsonwebtoken.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.