zcash / zcash-gitian

Deterministic build environment for Zcash
https://z.cash/blog/deterministic-builds.html
18 stars 29 forks source link

Debian Jessie AMD64 Build Uses Darwin Rust #84

Open zancas opened 5 years ago

zancas commented 5 years ago

I run this in the VM:

vagrant@zcash-build:~$ uname -a
Linux zcash-build 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64 GNU/Linux

Subsequently I run gitian-build.sh.

I notice this surprising output:

Building Dependencies

~/gitian-builder ~
make: Entering directory '/home/vagrant/zcash/depends'
make[1]: Entering directory '/home/vagrant/zcash/depends'
/bin/sh: 1: test: rust-std-1.32.0-x86_64-apple-darwin11.tar.gz: unexpected operator
Fetching boost...

Why is the Rust (binary?) compiled for apple-darwin?

mdr0id commented 4 years ago

This is generated from this call in the gitian-build.sh:

make -C ${zcash_repo_dir_path}/depends download SOURCES_PATH=${gitian_builder_repo_path}/cache/common