From owner-freebsd-ports-bugs@freebsd.org Thu Feb 11 16:00:36 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 EF193AA5028 for ; Thu, 11 Feb 2016 16:00:35 +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 E02D415A9 for ; Thu, 11 Feb 2016 16:00:35 +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 u1BG0WOm045081 for ; Thu, 11 Feb 2016 16:00:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207110] net-p2p/bitcoin fails to build Date: Thu, 11 Feb 2016 16:00:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: olexander.v.melnyk@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: 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.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 16:00:36 -0000 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.=