Closed rex4539 closed 6 years ago
@rex4539 most probably, makefile couldn't apply this patch due to changed codebase. Can you try applying it manually? https://github.com/kozyilmaz/zcash-apple/blob/master/zcash/patches/017-zcash-macos-no-werror.patch
Now fails with
/Users/rex/zcash-apple/zcash/zcash_master/depends/x86_64-apple-darwin17.5.0/share/../native/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -mmacosx-version-min=10.8 -stdlib=libc++ -std=c++11 -DHAVE_CONFIG_H -I. -I../src/config -DMULTICORE -fopenmp -fPIC -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -pie -pipe -O1 -g -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -DSTATIC -I. -I./obj -pthread -I/Users/rex/zcash-apple/zcash/zcash_master/depends/x86_64-apple-darwin17.5.0/share/../include -I./leveldb/include -I./leveldb/helpers/memenv -I/Users/rex/zcash-apple/zcash/zcash_master/depends/x86_64-apple-darwin17.5.0/include -I/Users/rex/zcash-apple/zcash/zcash_master/depends/x86_64-apple-darwin17.5.0/include -I./secp256k1/include -I./snark -I./snark/libsnark -I./univalue/include -DMONTGOMERY_OUTPUT -Qunused-arguments -I/Users/rex/zcash-apple/zcash/zcash_master/depends/x86_64-apple-darwin17.5.0/share/../include/ -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DMAC_OSX -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fwrapv -fno-strict-aliasing -pipe -O2 -g -fwrapv -fno-strict-aliasing -Wno-undefined-var-template -MT zcash/libzcash_a-NoteEncryption.o -MD -MP -MF zcash/.deps/libzcash_a-NoteEncryption.Tpo -c -o zcash/libzcash_a-NoteEncryption.o `test -f 'zcash/NoteEncryption.cpp' || echo './'`zcash/NoteEncryption.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib libbitcoin_common.a
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
make[5]: *** [zcash/libzcash_a-NoteEncryption.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [zcash/libzcash_a-IncrementalMerkleTree.o] Error 1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib libbitcoin_server.a
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [zcash_build] Error 2
make[1]: *** [build] Error 1
make: *** [zcash_all] Error 2
@rex4539 these are the issues that are already addressed with my patchsets, probably new changes create conflicts so they are not applied properly. Let me look into it and update them.
Hey @rex4539 I created a special branch for you :) It points to master and patches are updated https://github.com/kozyilmaz/zcash-apple/tree/rex4539
Compiled, thanks!
After the commits made in zcash master in the last couple of days, build fails.