Giter VIP home page Giter VIP logo

Comments (5)

lgalabru avatar lgalabru commented on June 13, 2024

@LNow thank you for giving this project a shot!
Your error is interesting, that could be platform specific. What OS are you running?

from clarinet.

LNow avatar LNow commented on June 13, 2024

I'm running:

System: Fedora release 33 (Thirty Three)
Kernel : 5.11.11-200.fc33.x86_64

I've tried to compile it from the source and it failed as well.

[lnow@fedora clarinet]$ cargo install --path .
  Installing clarinet v0.5.1 (/home/lnow/Projects/clarinet)
    Updating crates.io index
   Compiling typenum v1.13.0
   Compiling proc-macro-nested v0.1.7
   Compiling crunchy v0.2.2
   Compiling crc v1.8.1
   Compiling futures-util v0.3.14
   Compiling rusty_v8 v0.20.0
   Compiling rusty_v8 v0.21.0
   Compiling bip39 v1.0.1
   Compiling indexmap v1.6.2
   Compiling url v2.2.1
   Compiling wgpu-types v0.7.0
   Compiling serde_urlencoded v0.7.0
   Compiling ron v0.6.4
   Compiling generic-array v0.14.4
   Compiling tokio-util v0.6.5
   Compiling async-compression v0.3.7
error: failed to build archive: bad archive: truncated or malformed archive (offset to next archive member past the end of the archive after member elements.o)

error: aborting due to previous error

error: could not compile `rusty_v8`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to build archive: bad archive: truncated or malformed archive (offset to next archive member past the end of the archive after member elements.o)

error: aborting due to previous error

error: failed to build archive: bad archive: truncated or malformed archive (offset to next archive member past the end of the archive after member elements.o)

error: aborting due to previous error

error: failed to compile `clarinet v0.5.1 (/home/lnow/Projects/clarinet)`, intermediate artifacts can be found at `/home/lnow/Projects/clarinet/target`

Caused by:
  build failed

got the same error when I tried to run cargo build --release. But plain cargo build succeeded.

from clarinet.

lgalabru avatar lgalabru commented on June 13, 2024

I see. I personally work on macOS, but I'll try to spend some cycles on a Linux box this week.
Will keep you posted!

from clarinet.

LNow avatar LNow commented on June 13, 2024

I think this might be something related to how cargo install works.
Today I pulled new version of the code and cargo build --release succeeded without any problems. However cargo install --path . and cargo install clarinet still fails.

from clarinet.

lgalabru avatar lgalabru commented on June 13, 2024

Addressed with 0.5.3

from clarinet.

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.