[Pkg-bitcoin-devel] Bug#812275: bitcoin: FTBFS with GCC 6: test suite failures

Martin Michlmayr tbm at hpe.com
Fri Jan 22 03:47:34 UTC 2016


Package: bitcoin
Version: 0.11.1-1
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unknown

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Unfortunately, it's not clear from the log why the build failed.
It's possible there's a bug in this package or in GCC.  It's also
possible I reported a non-issue, although I tried to avoid that.
I apologize in advance if this is the case.

If you have some time to look into this issue, that'd be great.  If
not, I can re-test the package with GCC 6 in a few weeks time.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> make[8]: Entering directory '/<<PKGBUILDDIR>>/src/secp256k1'
> FAIL: test/test_bitcoin
> ============================================================================
> Testsuite summary for Bitcoin Core 0.11.1
> ============================================================================
> # TOTAL: 2
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See src/test-suite.log
> Please report to https://github.com/bitcoin/bitcoin/issues
> ============================================================================
> Makefile:6577: recipe for target 'test-suite.log' failed
> make[6]: *** [test-suite.log] Error 1
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:6683: recipe for target 'check-TESTS' failed
> make[5]: *** [check-TESTS] Error 2
> make[5]: *** Waiting for unfinished jobs....
> PASS: tests
> ============================================================================
> Testsuite summary for libsecp256k1 0.1
> ============================================================================
> # TOTAL: 1
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> make[8]: Leaving directory '/<<PKGBUILDDIR>>/src/secp256k1'
> make[7]: Leaving directory '/<<PKGBUILDDIR>>/src/secp256k1'
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/secp256k1'
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:6789: recipe for target 'check-am' failed
> make[4]: *** [check-am] Error 2
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:6470: recipe for target 'check-recursive' failed
> make[3]: *** [check-recursive] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:633: recipe for target 'check-recursive' failed
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: make -j30 check returned exit code 2
> =============================================
>    Bitcoin Core 0.11.1: src/test-suite.log
> =============================================
> 
> # TOTAL: 2
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: test/test_bitcoin
> =======================
> 
> terminate called without an active exception
> Running 158 test cases...
> unknown location(0): fatal error in "reverselock_errors": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "rpc_rawparams": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "rpc_rawsign": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "rpc_format_monetary_values": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "rpc_parse_monetary_values": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "json_parse_errors": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "rpc_boostasiotocnetaddr": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "basic_sanity": signal: SIGABRT (application abort requested)
> test/reverselock_tests.cpp(50): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "sign": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "norecurse": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "set": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "is": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "switchover": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "AreInputsStandard": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_build": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_valid": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_invalid": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_PushData": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_CHECKMULTISIG12": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_CHECKMULTISIG23": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_combineSigs": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_standard_push": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "script_IsPushOnly_on_invalid_scripts": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "creation": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "operators": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "sizes": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "floats_conversion": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "doubles_conversion": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "floats": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "doubles": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "varints": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "compactsize": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "noncanonical": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "insert_delete": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "sighash_test": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "sighash_from_data": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "GetSigOpCount": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "skiplist_test": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "getlocator_test": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_MedianFilter": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "tx_valid": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "tx_invalid": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "basic_transaction_tests": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "test_Get": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "test_IsStandard": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "basics": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "comparison": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "methods": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "conversion": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "univalue_constructor": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "univalue_set": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "univalue_array": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "univalue_object": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "univalue_readwrite": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_criticalsection": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_ParseHex": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_HexStr": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_DateTimeStrFormat": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_ParseParameters": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_GetArg": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_FormatMoney": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_ParseMoney": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_IsHex": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_seed_insecure_rand": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "util_TimingResistantEqual": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "strprintf_numbers": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "gettime": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "test_ParseInt32": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "test_FormatParagraph": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "test_FormatSubVersion": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "acc_orderupgrade": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "coin_selection_tests": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "rpc_addmultisig": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> test_bitcoin: key.cpp:198: void ECC_Start(): Assertion `secp256k1_context == __null' failed.
> unknown location(0): fatal error in "rpc_wallet": signal: SIGABRT (application abort requested)
> test/scheduler_tests.cpp(116): last checkpoint
> 
> *** 74 failures detected in test suite "Bitcoin Test Suite"
> FAIL test/test_bitcoin (exit status: 201)
> 
> debian/rules:55: recipe for target 'override_dh_auto_test' failed
> make[1]: *** [override_dh_auto_test] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> debian/rules:30: recipe for target 'build' failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-bitcoin-devel mailing list