Recently i’ve tried to compile new version 1.0.14 from source. I was able to compile 1.0.13 and previous versions just fine according to 1.0 User Guide, but this time there was an error saying I don’t have curl installed. Ok no problem, i quickly fixed situation by install curl with apt-get
.
It turned out that curl was used to download more packages/dependencies from z.cash website such as Zeromq, libevent or ccache… This is one example
cd /home/<user>/zcash/depends/sources/download-stamps; (test -f /home/<user>/zcash/depends/sources/ccache-3.3.1.tar.bz2 || ( mkdir -p /home/<user>/zcash/depends/work/download/native_ccache-3.3.1 && echo Fetching native_ccache... && ( curl --location --fail --connect-timeout 10 --retry 3 -o "/home/<user>/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" "https://z.cash/depends-sources/ccache-3.3.1.tar.bz2" || curl --location --fail --connect-timeout 10 --retry 3 -o "/home/<user>/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" "https://www.samba.org/ftp/ccache/ccache-3.3.1.tar.bz2" ) && echo "cb6e4bafbb19ba0a2ec43386b123a5f92a20e1e3384c071d5d13e0cb3c84bf73 /home/<user>/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp" > /home/<user>/zcash/depends/work/download/native_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && sha256sum -c /home/<user>/zcash/depends/work/download/native_ccache-3.3.1/.ccache-3.3.1.tar.bz2.hash && mv /home/<user>/zcash/depends/work/download/native_ccache-3.3.1/ccache-3.3.1.tar.bz2.temp /home/<user>/zcash/depends/sources/ccache-3.3.1.tar.bz2 && rm -rf /home/<user>/zcash/depends/work/download/native_ccache-3.3.1 ))
My question is: why don’t we install those packages from ubuntu software repository just like we used to do? I’m sure that my Ubuntu already had those packages installed. Even if we need a specific version of those packages, why don’t we fetch them directly from their official repositories/websites instead of z.cash website? Users can’t verify what’s inside the package.
And also, why don’t we include those dependencies within Zcash repository? This installer makes it impossible to compile zcash on offline computers.
I’m not a developer and that’s why i find it a bit suspicious and difficult to understand. I’m not saying that i don’t trust Zcash team/website with their additional packages, but we’re using trustless currency and I think I should ask the question, it might be a stupid question.