From owner-freebsd-ports-bugs@freebsd.org Mon Oct 31 14:15:49 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70015C277A2 for ; Mon, 31 Oct 2016 14:15:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54D2C177D for ; Mon, 31 Oct 2016 14:15:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9VEFnhl049690 for ; Mon, 31 Oct 2016 14:15:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213930] net-p2p/zcash: create initial port and package Date: Mon, 31 Oct 2016 14:15:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rednull@uoga.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2016 14:15:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213930 rednull@uoga.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rednull@uoga.net --- Comment #1 from rednull@uoga.net --- I tried to build it manually with no success. Boost, GMP and other deps installed from ports, you would also need openssl-devel port because of some new EDCSA defs, libsnark lib builds ok with clang3.4. But zcash compile with clang fails with some "ambiguous error", the same failure with clang3.4 and 3.8: /bin/sh ../libtool --tag=3DCXX --mode=3Dcompile clang++ -DHAVE_CONFIG_H = -I. -I../src/config -I/usr/include/crypto -I./obj -DBUILD_BITCOIN_INTERNAL -I/usr/local/libsnark/include/libsnark -I/usr/local/libsnark/include -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS=20 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -std=3Dc++11 -I/usr/local/include -I/usr/local/include/db6 -I/usr/local/libsnark/include -I/usr/local/include/openssl -fwrapv -fno-strict-aliasing -g -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fPIE -MT primitives/libzcashconsensus_la-transaction.lo -MD -MP -MF primitives/.deps/libzcashconsensus_la-transaction.Tpo -c -o primitives/libzcashconsensus_la-transaction.lo `test -f 'primitives/transaction.cpp' || echo './'`primitives/transaction.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../src/config -I/usr/include/crypto -I./obj -DBUILD_BITCOIN_INTERNAL -I/usr/local/libsnark/include/libsnark -I/usr/local/libsnark/include -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -std=3Dc++11 -I/usr/local/include -I/usr/local/include/db6 -I/usr/local/libsnark/include -I/usr/local/include/openssl -fwrapv -fno-strict-aliasing -g -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -MT primitives/libzcashconsensus_la-transaction.lo -MD -MP -MF primitives/.deps/libzcashconsensus_la-transaction.Tpo -c primitives/transaction.cpp -fPIC -DPIC -o primitives/libzcashconsensus_la-transaction.o In file included from primitives/transaction.cpp:6: In file included from ./primitives/transaction.h:9: In file included from ./amount.h:9: ./serialize.h:653:9: error: call to 'Serialize' is ambiguous ::Serialize(os, (*vi), nType, nVersion); ^~~~~~~~~~~ ./serialize.h:659:5: note: in instantiation of function template specializa= tion 'Serialize_impl, bool>' requested here Serialize_impl(os, v, nType, nVersion, T()); ^ ./serialize.h:653:11: note: in instantiation of function template specialization 'Serialize >' requested here ::Serialize(os, (*vi), nType, nVersion); ^ ./serialize.h:659:5: note: in instantiation of function template specializa= tion 'Serialize_impl >, std::__1::allocator > >, std::__1::vector > >' requested here Serialize_impl(os, v, nType, nVersion, T()); ^ ./serialize.h:952:7: note: in instantiation of function template specializa= tion 'Serialize = >, std::__1::allocator > > >' requested here ::Serialize(s, obj, nType, nVersion); ^ ./zcash/IncrementalMerkleTree.hpp:24:9: note: in instantiation of function template specialization 'SerReadWrite >, std::__1::allocator = > > > >' requested here READWRITE(authentication_path); ^ ./serialize.h:167:32: note: expanded from macro 'READWRITE' #define READWRITE(obj) (::SerReadWrite(s, (obj), nType, nVersion, ser_action)) ^ ./zcash/IncrementalMerkleTree.hpp:20:5: note: in instantiation of function template specialization 'libzcash::MerklePath::SerializationOp' requested here ADD_SERIALIZE_METHODS; ^ ./serialize.h:178:27: note: expanded from macro 'ADD_SERIALIZE_METHODS' NCONST_PTR(this)->SerializationOp(s, CSerActionSerialize(), nType, nVersion);\ ^ ./serialize.h:230:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, bool a, int, int= =3D0)=20 { char f=3Da; ser_writedata8(s, f); } ^ ./serialize.h:210:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, int32_t a, = int, int=3D0) { ser_writedata32(s, a); } ^ ./serialize.h:205:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, char a, = int, int=3D0) { ser_writedata8(s, a); } // TODO Get rid of bare char ^ ./serialize.h:206:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, int8_t a, = int, int=3D0) { ser_writedata8(s, a); } ^ ./serialize.h:207:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, uint8_t a, = int, int=3D0) { ser_writedata8(s, a); } ^ ./serialize.h:208:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, int16_t a, = int, int=3D0) { ser_writedata16(s, a); } ^ ./serialize.h:209:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, uint16_t a, = int, int=3D0) { ser_writedata16(s, a); } ^ ./serialize.h:211:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, uint32_t a, = int, int=3D0) { ser_writedata32(s, a); } ^ ./serialize.h:212:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, int64_t a, = int, int=3D0) { ser_writedata64(s, a); } ^ ./serialize.h:213:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, uint64_t a, = int, int=3D0) { ser_writedata64(s, a); } ^ ./serialize.h:214:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, float a, = int, int=3D0) { ser_writedata32(s, ser_float_to_uint32(a)); } ^ ./serialize.h:215:39: note: candidate function [with Stream =3D CSizeComput= er] template inline void Serialize(Stream& s, double a, = int, int=3D0) { ser_writedata64(s, ser_double_to_uint64(a)); } ^ ./serialize.h:572:13: note: candidate function [with Stream =3D CSizeComput= er, T =3D std::__1::__bit_const_reference > >] inline void Serialize(Stream& os, const T& a, long nType, int nVersion) ^ 1 error generated. gmake[2]: *** [Makefile:6153: primitives/libzcashconsensus_la-transaction.l= o] Error 1 gmake[2]: Leaving directory '/root/src/zcash/src' gmake[1]: *** [Makefile:7452: all-recursive] Error 1 gmake[1]: Leaving directory '/root/src/zcash/src' gmake: *** [Makefile:640: all-recursive] Error 1 --=20 You are receiving this mail because: You are the assignee for the bug.=