pijul_org / pijul

#309 `cargo install --force pijul` fails on MacOS

Opened by apopiak, on September 20, 2018
apopiak commented on September 20, 2018

cargo install --force pijul fails on MacOS at Compiling libpijul v0.10.2 with:

error[E0277]: the trait bound `T: rand_core::RngCore` is not satisfied
   --> /Users/alexander/.cargo/registry/src/github.com-1ecc6299db9ec823/libpijul-0.10.2/src/lib.rs:177:30
177 |                 db: self.txn.fork(&mut self.rng, &branch.db)?,
    |                              ^^^^ the trait `rand_core::RngCore` is not implemented for `T`
    = help: consider adding a `where T: rand_core::RngCore` bound
    = note: required because of the requirements on the impl of `rand::Rng` for `T`

and similar variations on this.

cargo --version: cargo 1.29.0 (524a578d7 2018-08-05)

rustc --version: rustc 1.29.0 (aa3ca1994 2018-09-11)

fhenneke commented on September 20, 2018

same error for me on Ubuntu 18.04 with

cargo --version: cargo 0.26.0 rustc --version: rustc 1.25.0

apopiak commented on September 20, 2018

Sorry for the duplication, found https://nest.pijul.com/pijul_org/pijul/discussions/291 I guess we need a search here so we can check for duplication ;-)

pshendry commented on September 24, 2018

Note that this means that the official installation path for Pijul is broken right now; new users following the instructions are asked to cargo install pijul and they're greeted with this error.

How can I help draw more attention to this? It's a big issue, and workarounds proposed in the discussion linked above do not fix the installation experience. I'm pretty sure we need a new crate published to crates.io with the dependency issue resolved.

pmeunier commented on September 27, 2018

This is fixed on the repository. We're about to release Pijul 0.11, which should solve this issue.

pshendry commented on October 5, 2018

Thanks for the update @pmeunier, I'll be on the lookout for 0.11!

nhynes commented on October 5, 2018

'twould be nice to have an up-to-date mirror on some other code hosting service so enthusiastic soon-to-be users wouldn't have to wait a month to get access :) (or at least give Nest a "download as zip" feature)

joseph.d.melfi commented on October 26, 2018

any word on when we should see 0.11.x out? Due to having to change computers after one fried, I've been unable to use pijul for about a month now due to not being able to install from source.

cargo install --force pijul is still failing for me on Arch Linux, current rustc and cargo (1.28.0/1.28.0)