Created attachment 515654 [details] build.log >>> Test phase: net-p2p/bitcoind-0.15.1 make --jobs 5 --load-average 7.95 check Making check in src make[1]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' make[2]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' make check-TESTS check-local make[3]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' Running test/util/bitcoin-util-test.py... /usr/bin/python3.5 ../test/util/bitcoin-util-test.py make[4]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' 2018-01-21 15:43:31,032 - ERROR - FAILED_TESTCASES: ['Creates a blank v1 transaction', 'Creates a blank v1 transaction (output in json)', 'Creates a blank transaction when nothing is piped into bitcoin-tx', 'Creates a blank transaction (output in json)', 'Creates a blank transaction when nothing is piped into bitcoin-tx (output in json)', 'Deletes a single input from a transaction', 'Deletes a single input from a transaction (output in json)', 'Attempts to delete an input with a bad index from a transaction. Expected to fail.', 'Deletes a single output from a transaction', 'Deletes a single output from a transaction (output in json)', 'Attempts to delete an output with a bad index from a transaction. Expected to fail.', 'Adds an nlocktime to a transaction', 'Adds an nlocktime to a transaction (output in json)', 'Malformed outaddr argument (no address specified). Expected to fail.', 'Malformed outaddr argument (too many separators). Expected to fail.', 'Malformed outpubkey argument (no pubkey specified). Expected to fail.', 'Malformed outpubkey argument (too many separators). Expected to fail.', 'Creates a new transaction with three inputs and two outputs', 'Creates a new transaction with three inputs and two outputs (output in json)', 'Creates a new transaction with a single empty output script', 'Creates a new transaction with a single empty output script (output in json)', 'Parses a transation with no inputs and a single output script', 'Parses a transation with no inputs and a single output script (output in json)', 'Create a new transaction with a single output script (OP_DROP)', 'Create a new transaction with a single output script (OP_DROP) (output as json)', 'Create a new transaction with a single output script (OP_DROP) in a P2SH', 'Create a new transaction with a single output script (OP_DROP) in a P2SH (output as json)', 'Create a new transaction with a single output script (OP_DROP) in a P2WSH', 'Create a new transaction with a single output script (OP_DROP) in a P2WSH (output as json)', 'Create a new transaction with a single output script (OP_DROP) in a P2WSH, wrapped in a P2SH', 'Create a new transaction with a single output script (OP_DROP) in a P2SH, wrapped in a P2SH (output as json)', 'Creates a new v1 transaction with a single input and a single output, and then signs the transaction', 'Creates a new v1 transaction with a single input and a single output, and then signs the transaction (output in json)', 'Creates a new transaction with a single input and a single output, and then signs the transaction', 'Creates a new transaction with a single pay-to-pubkey output', 'Creates a new transaction with a single pay-to-pubkey output (output as json)', 'Creates a new transaction with a single pay-to-witness-pubkey output', 'Creates a new transaction with a single pay-to-witness-pubkey output (output as json)', 'Creates a new transaction with a single pay-to-witness-pubkey, wrapped in P2SH output', 'Creates a new transaction with a single pay-to-pub-key output, wrapped in P2SH (output as json)', 'Creates a new transaction with a single pay-to-pub-key output, wrapped in P2SH (output as json)', 'Attempts to create a new transaction with one input and an output with malformed hex data. Expected to fail', 'Attempts to create a new transaction with one input and an output with no value and malformed hex data. Expected to fail', 'Creates a new transaction with one input, one address output and one data output', 'Creates a new v1 transaction with one input, one address output and one data output (output in json)', 'Creates a new transaction with one input, one address output and one data (zero value) output', 'Creates a new transaction with one input, one address output and one data (zero value) output (output in json)', 'Creates a new transaction with one input with sequence number and one address output', 'Creates a new transaction with one input with sequence number and one address output (output in json)', 'Adds a new input with sequence number to a transaction', 'Adds a new input with sequence number to a transaction (output in json)', 'Creates a new transaction with a single 2-of-3 multisig output', 'Creates a new transaction with a single 2-of-3 multisig output (output in json)', 'Creates a new transaction with a single 2-of-3 multisig in a P2SH output', 'Creates a new transaction with a single 2-of-3 multisig in a P2SH output (output in json)', 'Creates a new transaction with a single 2-of-3 multisig in a P2WSH output', 'Creates a new transaction with a single 2-of-3 multisig in a P2WSH output (output in json)', 'Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH', 'Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH (output in json)', 'Uncompressed pubkeys should work just fine for non-witness outputs', 'Ensure adding witness outputs with uncompressed pubkeys fails'] make[3]: *** [Makefile:9872: check-local] Error 1 make[3]: *** Waiting for unfinished jobs.... [0;32mPASS[m: test/test_bitcoin [0;32m============================================================================[m [0;32mTestsuite summary for Bitcoin Core 0.15.1[m [0;32m============================================================================[m [1m# TOTAL: 1[m [0;32m# PASS: 1[m # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 [0;32m============================================================================[m make[4]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' make[3]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' make[2]: *** [Makefile:9628: check-am] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' make[1]: *** [Makefile:9309: check-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.15.1/work/bitcoin-7b57bc998f334775b50ebc8ca5e78ca728db4c58/src' make: *** [Makefile:748: check-recursive] Error 1 * ERROR: net-p2p/bitcoind-0.15.1::gentoo failed (test phase): * Make check failed. See above for details. Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r9, 4.9.76-gentoo-r1 i686) ================================================================= System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1 KiB Mem: 3108324 total, 1948488 free KiB Swap: 488276 total, 486456 free Timestamp of repository gentoo: Sun, 21 Jan 2018 13:46:45 +0000 Head commit of repository gentoo: b05f6522a149ea2df07484464daacbf132238a44 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 6.4.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r9::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 ABI="x86" ABI_X86="32" ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ARCH="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m" CHOST="i686-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CPU_FLAGS_X86="mmx mmxext sse sse2" CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m" DEFAULT_ABI="x86" EDITOR="/usr/bin/mcedit" ELIBC="glibc" EPREFIX="" EROOT="/" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GCC_SPECS="" GRUB_PLATFORMS="efi-32 pc" GSETTINGS_BACKEND="dconf" GUILE_LOAD_PATH="/usr/share/guile/1.8" HOME="/root" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info" INPUT_DEVICES="libinput keyboard mouse" IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest" KERNEL="linux" L10N="en en-US de de-DE" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LC_MESSAGES="C" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LIBDIR_x86="lib" LINGUAS="en de" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="--jobs 5 --load-average 7.95" MULTILIB_ABIS="x86" NOCOLOR="true" OFFICE_IMPLEMENTATION="libreoffice" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QT_GRAPHICSSYSTEM="raster" ROOT="/" ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" RUBY_TARGETS="ruby22 ruby23" SHELL="/bin/bash" SHLVL="2" SSH_TTY="/dev/pts/0" TERM="screen" TMUX="/tmp/tmux-0/default,4812,0" TMUX_PANE="%3" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" USER="root" USERLAND="GNU" VIDEO_CARDS="vmware" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share"
These errors are because we're not building bitcoin-tx, but the tests are trying to run anyway. Taking that issue upstream: https://github.com/bitcoin/bitcoin/pull/12246 In the meantime, I have put the necessary patches in $FILESDIR; the PR for Gentoo's main tree is here: https://github.com/gentoo/gentoo/pull/6934
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4909efc24359126a7d86a755d874979d5b63ced3 commit 4909efc24359126a7d86a755d874979d5b63ced3 Author: Luke Dashjr <luke-jr+git@utopios.org> AuthorDate: 2018-01-23 04:03:32 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-01-23 10:37:02 +0000 net-p2p/bitcoind-0.15.1: Fix tests Closes: https://github.com/gentoo/gentoo/pull/6934 Closes: https://bugs.gentoo.org/645250 net-p2p/bitcoind/bitcoind-0.15.1.ebuild | 4 +++- .../files/bitcoind-0.15.1-test-build-fix.patch | 24 ++++++++++++++++++++++ .../files/bitcoind-0.15.1-test-util-fix.patch | 15 ++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-)