pijul_org / pijul

#300 Getting 33 trait errors on rand_core::RngCore when trying to install

Opened by TheBestJohn, on August 28, 2018
Closed
TheBestJohn commented on August 28, 2018

Fresh os install (18.04). When trying to do an install I keep failing with multiple compiler issues like the trait 'rand_core::RngCore' is not implemented for 'T'

Nzen commented on August 29, 2018

I likewise have this problem, since April. rustc 1.28.0 ; cargo 1.28.0 ; the intermediate artifacts : https://www.dropbox.com/s/s3u8da89x0hf3or/cargo-install3XfqDH.tar.gz?dl=0 . It's complaining about /.cargo/registry/src/github.com-1ecc6299db9ec823/libpijul-0.10.2/src/backend/mod.rs:1220:21 but various other lines as well

FlorentBecker commented on August 29, 2018

A fresh clone of the 'master' compiles for me, can you check?

TheBestJohn commented on August 29, 2018

Can't clone master if I don't have pijul.

FlorentBecker commented on August 29, 2018

right, sorry! We need to do a release then.

onio commented on August 30, 2018

You can download the source here then pull and reinstall master.

ps: for fucks sake, fix nest

TheBestJohn commented on August 30, 2018

Nope those are released sources and tie into the same problem.

onio commented on August 31, 2018

Nope those are released sources and tie into the same problem.

No, they are not, coz if compiled from source the lock file is used, thus you get a compatible version of Sanakirja.

imobachgs commented on September 3, 2018

I can confirm than running cargo build using the sources, as suggested by @onio, works pretty well.

onio commented on September 3, 2018

you can even use cargo install to install it directly.