Giter VIP home page Giter VIP logo

Comments (7)

dwrensha avatar dwrensha commented on September 21, 2024

Hm. It should work, and it has worked for me so far.

What specific error are you seeing? What versions are you using? What operating system? What source code / schemas are you trying to compile?

from capnproto-rust.

drahnr avatar drahnr commented on September 21, 2024

I am on Fedora 26 x86_64, the error is rather unspecific saying the build.rs fails.

I have yet to dive into the details of it, maybe I get around to it tonight.

from capnproto-rust.

drahnr avatar drahnr commented on September 21, 2024
# ls -al /usr/bin/capnp*
-rwxr-xr-x. 1 root root 216416 Jun  9 18:38 /usr/bin/capnp
lrwxrwxrwx. 1 root root      5 Jun  9 18:37 /usr/bin/capnpc -> capnp
-rwxr-xr-x. 1 root root 551096 Jun  9 18:38 /usr/bin/capnpc-c++
-rwxr-xr-x. 1 root root 135600 Jun  9 18:38 /usr/bin/capnpc-capnp
# capnp --version
Cap'n Proto version (unknown)
error: failed to run custom build command for `juice v0.2.2 (file:///home/bernhard/Projects/spearow/juice)`
process didn't exit successfully: `/home/bernhard/Projects/spearow/juice/target/debug/build/juice-261dc55af35add6f/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)

Fedora packages installed:

(1/3): capnproto-0.6.1-3.fc26.x86_64.rpm                                                                                                                                           773 kB/s | 264 kB     00:00    
(2/3): capnproto-devel-0.6.1-3.fc26.x86_64.rpm                                                                                                                                     792 kB/s | 276 kB     00:00    
(3/3): capnproto-libs-0.6.1-3.fc26.x86_64.rpm                                                                                                                                      1.5 MB/s | 825 kB     00:00    

A rm -rf target and cargo clean did not change a thing.

from capnproto-rust.

drahnr avatar drahnr commented on September 21, 2024

Is it necessary to also do a cargo install capnp?

EIther that or a rustup of the toolchain did the trick

from capnproto-rust.

dwrensha avatar dwrensha commented on September 21, 2024

cargo install should not make a difference.

I'm not sure how rustup would help. Do you happen to know which versions of rustc and cargo you were using before you updated?

Did you also upgrade the fedora package?

from capnproto-rust.

drahnr avatar drahnr commented on September 21, 2024

I did not upgrade any fedora packages and I am not aware of the previous rust toolchain I used unfortunately, I am on nightly though so that might have been a reason.

from capnproto-rust.

drahnr avatar drahnr commented on September 21, 2024

I think you can safely close this... I will re-open if needed.

from capnproto-rust.

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.