Build error on Arch Linux
Created by: UgnilJoZ
Using an up to date Arch Linux and Rust Compiler, I am running into a build error. Reproduction:
$ pacaur -S make nasm qemu pkg-config fuse
$ git clone https://github.com/redox-os/redox.git --origin upstream --recursive
$ redox/
$ git submodule update --recursive --init
$ rustup update
$ make all
Expected behavior:
- A successful build
Actual behavior: (output)
...
mkdir -p build/userspace
cp libstd/openlibm/libopenlibm.a build/userspace/libopenlibm.a
RUSTC="./rustc.sh" RUSTDOC="./rustdoc.sh" cargo rustc --verbose --manifest-path libstd/Cargo.toml --target x86_64-unknown-redox.json --release -- -o build/userspace/libstd.rlib
Updating git repository `https://github.com/redox-os/syscall.git`
error: failed to load source for a dependency on `redox_syscall`
Caused by:
Unable to update https://github.com/redox-os/syscall.git
Caused by:
failed to fetch into /home/joz/.cargo/git/db/syscall-2a6b827678b57cba
Caused by:
[16/-17] The SSL certificate is invalid
make: *** [Makefile:352: build/userspace/libstd.rlib] Fehler 101
Build information:
$ rustc -V && git rev-parse HEAD && qemu-system-x86_64 -version && uname -a
rustc 1.15.0-nightly (1c448574b 2016-11-28)
7ee0ea3c861dd5b6709e4f0a723619618c356b21
QEMU emulator version 2.7.0, Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
Linux tower 4.8.11-1-ARCH #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016 x86_64 GNU/Linux
$ cat /etc/os-release
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"