Hi Jan,
Thanks for the bug report. We tried building with rustc 1.31, and ran into the same problem. It appears that that version is no longer adequate. Currently, we're using 1.32 and 1.33. Please try one of those, if possible. Sorry for the inconvenience. We'll update the README shortly.
:) Neal
On Thu, 11 Apr 2019 00:03:13 +0200, Jan Girlich wrote:
Hi,
I just tried installing Sequoia on an Ubuntu 18.04 by following the instructions on https://gitlab.com/sequoia-pgp/sequoia
% git clone https://gitlab.com/sequoia-pgp/sequoia.git % git checkout v0.5.0
Did all the apt installs and double checked that I have the necessary versions of the critical components:
% rustc --version rustc 1.31.0
% dpkg -l nettle-dev
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/ Halb installiert/Trigger erWartet/Trigger anhängig |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht) ||/ Name Version Architektur Beschreibung +++-==============================================-============================-============================-================================================================================================== ii nettle-dev:amd64 3.4.1-1 amd64 low level cryptographic library (development files)
But then:
% make
CARGO_TARGET_DIR=/home/jan/Projekte/sequoia/target cargo build --all Compiling docopt v1.1.0
Compiling sequoia-ffi-macros v0.5.0 (/home/jan/Projekte/sequoia/ffi-macros)
error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
--> /home/jan/.cargo/registry/src/github.com-1ecc6299db9ec823/docopt-1.1.0/src/parse.rs:48:5
|
48 | use regex;
| ^^^^^ |
::: /home/jan/.cargo/registry/src/github.com-1ecc6299db9ec823/docopt-1.1.0/src/lib.rs:196:1
|
196 | / macro_rules! regex(
197 | | ($s:expr) => (regex::Regex::new($s).unwrap());
198 | | );
| |__- not an extern crate passed with `--extern` |
And many more very similar errors all complaining about the same problem in different locations.
What's going wrong here? Any idea how to fix this?
Cheers, Jan