Date: Thu, 11 Feb 2016 16:00:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207110] net-p2p/bitcoin fails to build Message-ID: <bug-207110-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207110 Bug ID: 207110 Summary: net-p2p/bitcoin fails to build Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: olexander.v.melnyk@gmail.com CC: robbak@robbak.com CC: robbak@robbak.com Flags: maintainer-feedback?(robbak@robbak.com) net-p2p/bitcoin fails to build on amd64 10.1-RELEASE and 10.2-RELEASE With option HARDENING set: ar: warning: creating libleveldb.a gmake[5]: Leaving directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src/leveldb' gmake -C secp256k1 libsecp256k1.la gmake[5]: Entering directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src/secp256k1' /bin/sh ./libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I.= /src=20 -I./include -O2 -pipe -fstack-protector -fno-strict-aliasing -W -std=3D= c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-str= ings -MT src/libsecp256k1_la-secp256k1.lo -MD -MP -MF src/.deps/libsecp256k1_la-secp256k1.Tpo -c -o src/libsecp256k1_la-secp256k1= .lo `test -f 'src/secp256k1.c' || echo './'`src/secp256k1.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./src -I./include -O2 -pipe -fstack-protector -fno-strict-aliasing -W -std=3Dc89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-func= tion -Wno-long-long -Wno-overlength-strings -MT src/libsecp256k1_la-secp256k1.lo= -MD -MP -MF src/.deps/libsecp256k1_la-secp256k1.Tpo -c src/secp256k1.c -fPIC -= DPIC -o src/libsecp256k1_la-secp256k1.o mv -f src/.deps/libsecp256k1_la-secp256k1.Tpo src/.deps/libsecp256k1_la-secp256k1.Plo /bin/sh ./libtool --tag=3DCC --mode=3Dlink cc -O2 -pipe -fstack-protec= tor -fno-strict-aliasing -W -std=3Dc89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fstack-protector -o libsecp256k1.la -rpath /usr/local/lib src/libsecp256k1_la-secp256k1.lo -L/usr/local/lib/db= 48 libtool: link: /usr/bin/ar cru .libs/libsecp256k1.a=20 src/libsecp256k1_la-secp256k1.o libtool: link: /usr/bin/ranlib .libs/libsecp256k1.a libtool: link: ( cd ".libs" && rm -f "libsecp256k1.la" && ln -s "../libsecp256k1.la" "libsecp256k1.la" ) gmake[5]: Leaving directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src/secp256k1' /bin/sh ../libtool --tag CXX --mode=3Dlink g++ -O2 -pipe -fstack-protect= or -fno-strict-aliasing -I/usr/local/include/db48 -Wstack-protector -fstack-protector-all -fPIE -D_THREAD_SAFE -pthread -fstack-protector=20 -Wl,-z,relro -Wl,-z,now -pie -o qt/bitcoin-qt qt/qt_bitcoin_qt-bitcoin.o=20= =20 qt/libbitcoinqt.a libbitcoin_server.a libbitcoin_wallet.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a -pthread -L/usr/local/lib -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_chrono -L/usr/local/lib/qt4 -lQtGui -lQtNetwork -lQtCore -L/usr/local/lib -lqrencode -lpthread=20=20 -L/usr/local/lib -lprotobuf -D_THREAD_SAFE -pthread -lpthread -ldb_cxx-4= .8 -L/usr/lib -lssl -L/usr/lib -lcrypto secp256k1/libsecp256k1.la -lcrypto -L/usr/local/lib/db48 libtool: link: g++ -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include/db48 -Wstack-protector -fstack-protector-all -fPIE -D_THREAD_SAFE -pthread -fstack-protector -Wl,-z -Wl,relro -Wl,-z -Wl,now -= pie -o qt/bitcoin-qt qt/qt_bitcoin_qt-bitcoin.o -pthread -D_THREAD_SAFE -pthrea= d=20 qt/libbitcoinqt.a libbitcoin_server.a libbitcoin_wallet.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a -L/usr/local/lib -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_chrono -L/usr/local/lib/qt4 -lQtGui -lQtNetwork -lQt= Core -lqrencode -lprotobuf -lpthread -ldb_cxx-4.8 -L/usr/lib -lssl secp256k1/.libs/libsecp256k1.a -L/usr/local/lib/db48 -lcrypto -pthread /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMI= C' can not be used when making a shared object; recompile with -fPIC /usr/lib/crt1.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:2628: recipe for target 'qt/bitcoin-qt' failed gmake[4]: *** [qt/bitcoin-qt] Error 1 gmake[4]: Leaving directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src' Makefile:6470: recipe for target 'all-recursive' failed With option HARDENING unset: ar: warning: creating libleveldb.a gmake[5]: Leaving directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src/leveldb' gmake -C secp256k1 libsecp256k1.la gmake[5]: Entering directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src/secp256k1' /bin/sh ./libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I.= /src=20 -I./include -O2 -pipe -fstack-protector -fno-strict-aliasing -W -std=3D= c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-str= ings -MT src/libsecp256k1_la-secp256k1.lo -MD -MP -MF src/.deps/libsecp256k1_la-secp256k1.Tpo -c -o src/libsecp256k1_la-secp256k1= .lo `test -f 'src/secp256k1.c' || echo './'`src/secp256k1.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./src -I./include -O2 -pipe -fstack-protector -fno-strict-aliasing -W -std=3Dc89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-func= tion -Wno-long-long -Wno-overlength-strings -MT src/libsecp256k1_la-secp256k1.lo= -MD -MP -MF src/.deps/libsecp256k1_la-secp256k1.Tpo -c src/secp256k1.c -fPIC -= DPIC -o src/libsecp256k1_la-secp256k1.o mv -f src/.deps/libsecp256k1_la-secp256k1.Tpo src/.deps/libsecp256k1_la-secp256k1.Plo /bin/sh ./libtool --tag=3DCC --mode=3Dlink cc -O2 -pipe -fstack-protec= tor -fno-strict-aliasing -W -std=3Dc89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fstack-protector -o libsecp256k1.la -rpath /usr/local/lib src/libsecp256k1_la-secp256k1.lo -L/usr/local/lib/db= 48 libtool: link: /usr/bin/ar cru .libs/libsecp256k1.a=20 src/libsecp256k1_la-secp256k1.o libtool: link: /usr/bin/ranlib .libs/libsecp256k1.a libtool: link: ( cd ".libs" && rm -f "libsecp256k1.la" && ln -s "../libsecp256k1.la" "libsecp256k1.la" ) gmake[5]: Leaving directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src/secp256k1' /bin/sh ../libtool --tag CXX --mode=3Dlink g++ -D_THREAD_SAFE -pthread= =20=20=20 -fstack-protector -o qt/bitcoin-qt qt/qt_bitcoin_qt-bitcoin.o=20=20 qt/libbitcoinqt.a libbitcoin_server.a libbitcoin_wallet.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a -pthread -L/usr/local/lib -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_chrono -L/usr/local/lib/qt4 -lQtGui -lQtNetwork -lQtCore -L/usr/local/lib -lqrencode -lpthread=20=20 -L/usr/local/lib -lprotobuf -D_THREAD_SAFE -pthread -lpthread -ldb_cxx-4= .8 -L/usr/lib -lssl -L/usr/lib -lcrypto secp256k1/libsecp256k1.la -lcrypto -L/usr/local/lib/db48 libtool: link: g++ -D_THREAD_SAFE -pthread -fstack-protector -o qt/bitcoin-= qt qt/qt_bitcoin_qt-bitcoin.o -pthread -D_THREAD_SAFE -pthread qt/libbitcoinq= t.a libbitcoin_server.a libbitcoin_wallet.a libbitcoin_cli.a libbitcoin_common.a libbitcoin_util.a crypto/libbitcoin_crypto.a univalue/libbitcoin_univalue.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a -L/usr/local/lib -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_chrono -L/usr/local/lib/qt4 -lQtGui -lQtNetwork -lQtCore -lqrencode -lprotobuf -lpthread -ldb_cxx-4.8 -L/usr/lib -lssl secp256k1/.libs/libsecp256k1.a -L/usr/local/lib/db48 -lcrypto -pthread /usr/local/bin/ld: qt/qt_bitcoin_qt-bitcoin.o: undefined reference to symbol '_ZNSt3__18ios_base5clearEj' //usr/lib/libc++.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:2628: recipe for target 'qt/bitcoin-qt' failed gmake[4]: *** [qt/bitcoin-qt] Error 1 gmake[4]: Leaving directory '/usr/ports/net-p2p/bitcoin/work/bitcoin-0.11.2/src' The other options do not affect the result --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207110-13>