Beta1 build error: empty files


#1

I wasn't sure where to post this. I chose github but maybe someone here also came across this.

The gist:

...
libtool: link: /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/native/bin/ccache g++ -m64 -std=c++11 -pipe -O1 -fwrapv -fno-strict-aliasing -Wno-deprecated-declarations -Wno-placement-new -Wno-terminate -Werror -g -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fPIE -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o test/test_bitcoin test/test_test_bitcoin-arith_uint256_tests.o test/test_test_bitcoin-addrman_tests.o test/test_test_bitcoin-alert_tests.o test/test_test_bitcoin-allocator_tests.o test/test_test_bitcoin-base32_tests.o test/test_test_bitcoin-base58_tests.o test/test_test_bitcoin-base64_tests.o test/test_test_bitcoin-bip32_tests.o test/test_test_bitcoin-bloom_tests.o test/test_test_bitcoin-checkblock_tests.o test/test_test_bitcoin-Checkpoints_tests.o test/test_test_bitcoin-coins_tests.o test/test_test_bitcoin-compress_tests.o test/test_test_bitcoin-crypto_tests.o test/test_test_bitcoin-DoS_tests.o test/test_test_bitcoin-equihash_tests.o test/test_test_bitcoin-getarg_tests.o test/test_test_bitcoin-hash_tests.o test/test_test_bitcoin-key_tests.o test/test_test_bitcoin-main_tests.o test/test_test_bitcoin-mempool_tests.o test/test_test_bitcoin-miner_tests.o test/test_test_bitcoin-mruset_tests.o test/test_test_bitcoin-multisig_tests.o test/test_test_bitcoin-netbase_tests.o test/test_test_bitcoin-pmt_tests.o test/test_test_bitcoin-policyestimator_tests.o test/test_test_bitcoin-pow_tests.o test/test_test_bitcoin-reverselock_tests.o test/test_test_bitcoin-rpc_tests.o test/test_test_bitcoin-sanity_tests.o test/test_test_bitcoin-scheduler_tests.o test/test_test_bitcoin-script_P2SH_tests.o test/test_test_bitcoin-script_tests.o test/test_test_bitcoin-scriptnum_tests.o test/test_test_bitcoin-serialize_tests.o test/test_test_bitcoin-sighash_tests.o test/test_test_bitcoin-sigopcount_tests.o test/test_test_bitcoin-skiplist_tests.o test/test_test_bitcoin-test_bitcoin.o test/test_test_bitcoin-timedata_tests.o test/test_test_bitcoin-transaction_tests.o test/test_test_bitcoin-uint256_tests.o test/test_test_bitcoin-univalue_tests.o test/test_test_bitcoin-util_tests.o test/test_test_bitcoin-sha256compress_tests.o test/test_test_bitcoin-accounting_tests.o wallet/test/test_test_bitcoin-wallet_tests.o test/test_test_bitcoin-rpc_wallet_tests.o -fopenmp -L/home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib libbitcoin_server.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread-mt -lboost_chrono-mt -lboost_unit_test_framework-mt secp256k1/.libs/libsecp256k1.a libbitcoin_wallet.a ./.libs/libbitcoinconsensus.a -ldb_cxx-4.8 -lssl -ldl -lminiupnpc libzcash.a -lsnark /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib/libgmpxx.a /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib/libgmp.a -lboost_system-mt /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib/libsodium.a -lcrypto -lanl -fopenmp -pthread
test/test_test_bitcoin-script_tests.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3007: test/test_bitcoin] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/native/bin/ccache g++ -m64 -std=c++11 -pipe -O1 -fwrapv -fno-strict-aliasing -Wno-deprecated-declarations -Wno-placement-new -Wno-terminate -Werror -g -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fPIE -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o zcash-gtest gtest/zcash_gtest-main.o gtest/zcash_gtest-json_test_vectors.o gtest/zcash_gtest-test_jsonspirit.o gtest/zcash_gtest-test_tautology.o gtest/zcash_gtest-test_checktransaction.o gtest/zcash_gtest-test_equihash.o gtest/zcash_gtest-test_joinsplit.o gtest/zcash_gtest-test_keystore.o gtest/zcash_gtest-test_noteencryption.o gtest/zcash_gtest-test_merkletree.o gtest/zcash_gtest-test_pow.o gtest/zcash_gtest-test_rpc.o gtest/zcash_gtest-test_circuit.o gtest/zcash_gtest-test_txid.o gtest/zcash_gtest-test_wallet_zkeys.o gtest/zcash_gtest-test_libzcash_utils.o gtest/zcash_gtest-test_proofs.o wallet/gtest/zcash_gtest-test_wallet.o -fopenmp -L/home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib -lgtest -lgmock libbitcoin_server.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread-mt -lboost_chrono-mt -lboost_unit_test_framework-mt secp256k1/.libs/libsecp256k1.a libbitcoin_wallet.a ./.libs/libbitcoinconsensus.a -ldb_cxx-4.8 -lssl -ldl -lminiupnpc libzcash.a -lsnark /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib/libgmpxx.a /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib/libgmp.a -lboost_system-mt /home/cryptix/zcash/depends/x86_64-unknown-linux-gnu/lib/libsodium.a -lcrypto -lanl -fopenmp -pthread
gtest/zcash_gtest-main.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3064: zcash-gtest] Error 1
make[2]: Leaving directory '/home/cryptix/zcash/src'
make[1]: *** [Makefile:7324: all-recursive] Error 1
make[1]: Leaving directory '/home/cryptix/zcash/src'
make: *** [Makefile:643: all-recursive] Error 1

The github issue also has a link with complete logs.


#2

Are you build on Local Server?


#3

Yes, no nfs, fuse or samba involved.

And: building v0.11.2.z9 works fine.


#4

Can you post the complete build log to the github ticket? Thanks.


#5

Done.

I uploaded them as a zipfile in the initial issue post but unpacked them to a gist now.


#6

Oops, sorry for not noticing the zip file.


#7

Ooops^\inf.. from my post on github:

Oh well.. This is really embarrassing. ./src/zcashd and ./src/zcash-cli are built actually and seem to work fine.

It's just that I haven't looked for them because of the way the build process ends in error.

So I consider this semi-solved since I'm only not able to run the tests.