@jahway603 The master branch builds for me on Ubuntu 19.04 with rust 1.56.0 and then I reproduced your bug with Ubuntu 18.04 and rust 1.61.0
When I looked at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-build-0.1.1/src/lib.rs I see that it is trying to run a command called rustfmt which seems to be missing in rust 1.61.0 and is a part of rustup .
I am currently compiling rustup from source (it's taking a while) so I can install rustfmt and see if that changes things
@jahway603 The master branch builds for me on Ubuntu 19.04 with rust 1.56.0 and then I reproduced your bug with Ubuntu 18.04 and rust 1.61.0
When I looked at `~/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-build-0.1.1/src/lib.rs` I see that it is trying to run a command called `rustfmt` which seems to be missing in rust 1.61.0 and is a part of `rustup` .
I am currently compiling rustup from source (it's taking a while) so I can install rustfmt and see if that changes things
I confirmed that where things worked on Ubuntu 19.04 I had rustup installed and rustfmt was in my PATH.
When I installed rustup on Ubuntu 18.04 it installed rust 1.65 and since rustup and rustfmt existed, the compile worked.
@jahway603 sounds like we should check if rustfmt exists to avoid this shitty error
I confirmed that where things worked on Ubuntu 19.04 I had `rustup` installed and `rustfmt` was in my PATH.
When I installed rustup on Ubuntu 18.04 it installed rust 1.65 and since rustup and rustfmt existed, the compile worked.
@jahway603 sounds like we should check if rustfmt exists to avoid this shitty error
It built and worked fine on Ubuntu 20.04 after installing rustfmt.
That makes sense why it worked on Arch, since I have rustup on that system.
Commit 7ed0cec1b0 has a build.sh that will check for build dependencies
It built and worked fine on Ubuntu 20.04 after installing `rustfmt`.
That makes sense why it worked on Arch, since I have rustup on that system.
Commit https://git.hush.is/hush/silentdragonlite-cli/commit/7ed0cec1b03a454ae4ea9f583f2f9a89b3553e1d has a build.sh that will check for build dependencies
Having trouble building both master and dev branches on Ubuntu 20.04 (rustc 1.61.0), but they both build fine on Arch Linux (rustc 1.64.0).
Here is the full backtrace from master branch on Ubuntu 20.04. Anyone else having any build issues?
Discovered this issue while trying to fix Issue #15
@jahway603 The master branch builds for me on Ubuntu 19.04 with rust 1.56.0 and then I reproduced your bug with Ubuntu 18.04 and rust 1.61.0
When I looked at
~/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-build-0.1.1/src/lib.rs
I see that it is trying to run a command calledrustfmt
which seems to be missing in rust 1.61.0 and is a part ofrustup
.I am currently compiling rustup from source (it's taking a while) so I can install rustfmt and see if that changes things
I confirmed that where things worked on Ubuntu 19.04 I had
rustup
installed andrustfmt
was in my PATH.When I installed rustup on Ubuntu 18.04 it installed rust 1.65 and since rustup and rustfmt existed, the compile worked.
@jahway603 sounds like we should check if rustfmt exists to avoid this shitty error
It built and worked fine on Ubuntu 20.04 after installing
rustfmt
.That makes sense why it worked on Arch, since I have rustup on that system.
Commit
7ed0cec1b0
has a build.sh that will check for build dependencies@jahway603 awesome, thanks for working on this