Cirrus CI / tidy
failed
Aug 6, 2024 in 11m 7s
Task Summary
Instruction ci failed in 11:00
Details
✅ 00:03 clone
✅ 00:01 merge_base
❌ 11:00 ci
CXXLD bench/bench_bitcoin
CXXLD test/fuzz/fuzz
AR qt/libbitcoinqt.a
CXXLD qt/bitcoin-qt
CXXLD qt/test/test_bitcoin-qt
/usr/bin/ld: libbitcoin_node.a(libbitcoin_node_a-blockchain.o): in function `void node::SnapshotMetadata::Serialize<AutoFile>(AutoFile&) const':
blockchain.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:7364: bitcoind] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: libbitcoin_node.a(libbitcoin_node_a-blockchain.o): in function `void node::SnapshotMetadata::Serialize<AutoFile>(AutoFile&) const':
blockchain.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
/usr/bin/ld: test/fuzz/fuzz-deserialize.o: in function `void node::SnapshotMetadata::Serialize<DataStream>(DataStream&) const':
deserialize.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI10DataStreamEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI10DataStreamEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
/usr/bin/ld: test/fuzz/fuzz-utxo_snapshot.o: in function `void node::SnapshotMetadata::Serialize<AutoFile>(AutoFile&) const':
utxo_snapshot.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
/usr/bin/ld: libbitcoin_node.a(libbitcoin_node_a-blockchain.o): in function `void node::SnapshotMetadata::Serialize<AutoFile>(AutoFile&) const':
blockchain.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:7314: bench/bench_bitcoin] Error 1
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:7695: test/fuzz/fuzz] Error 1
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:7976: test/test_bitcoin] Error 1
/usr/bin/ld: libbitcoin_node.a(libbitcoin_node_a-blockchain.o): in function `void node::SnapshotMetadata::Serialize<AutoFile>(AutoFile&) const':
blockchain.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
/usr/bin/ld: libbitcoin_node.a(libbitcoin_node_a-blockchain.o): in function `void node::SnapshotMetadata::Serialize<AutoFile>(AutoFile&) const':
blockchain.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:7378: qt/bitcoin-qt] Error 1
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:7421: qt/test/test_bitcoin-qt] Error 1
make[2]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make[1]: *** [Makefile:20273: install-recursive] Error 1
make[1]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make: *** [Makefile:749: install-recursive] Error 1
Build failure. Verbose build follows.
+ echo 'Build failure. Verbose build follows.'
+ make install V=1
Making install in src
make[1]: Entering directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make[2]: Entering directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
../share/genbuild.sh "/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src/obj/build.h" \
"/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu"
/bin/bash ../libtool --tag=CXX --preserve-dup-deps --mode=link /usr/bin/ccache clang++-18 -std=c++20 -g -O2 -fdebug-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter -Werror -O0 -g0 -pthread -lpthread -o bitcoind bitcoind-bitcoind.o init/bitcoind-bitcoind.o libbitcoin_node.a libbitcoin_wallet.a libbitcoin_common.a libbitcoin_util.a libunivalue.la libbitcoin_zmq.a libbitcoin_consensus.a crypto/libbitcoin_crypto_base.la crypto/libbitcoin_crypto_sse41.la crypto/libbitcoin_crypto_x86_shani.la crypto/libbitcoin_crypto_avx2.la leveldb/libleveldb.la crc32c/libcrc32c.la crc32c/libcrc32c_sse42.la leveldb/libmemenv.la secp256k1/libsecp256k1.la -ldb_cxx -lminiupnpc -lnatpmp -levent_pthreads -levent -levent -lzmq -lsqlite3
libtool: link: /usr/bin/ccache clang++-18 -std=c++20 -g -O2 -fdebug-prefix-map=/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu=. -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter -Werror -O0 -g0 -o bitcoind bitcoind-bitcoind.o init/bitcoind-bitcoind.o -lpthread libbitcoin_node.a libbitcoin_wallet.a libbitcoin_common.a libbitcoin_util.a ./.libs/libunivalue.a libbitcoin_zmq.a libbitcoin_consensus.a crypto/.libs/libbitcoin_crypto_base.a crypto/.libs/libbitcoin_crypto_sse41.a crypto/.libs/libbitcoin_crypto_x86_shani.a crypto/.libs/libbitcoin_crypto_avx2.a leveldb/.libs/libleveldb.a crc32c/.libs/libcrc32c.a crc32c/.libs/libcrc32c_sse42.a leveldb/.libs/libmemenv.a secp256k1/.libs/libsecp256k1.a -ldb_cxx -lminiupnpc -lnatpmp -levent_pthreads -levent -levent -lzmq -lsqlite3 -pthread
/usr/bin/ld: libbitcoin_node.a(libbitcoin_node_a-blockchain.o): in function `void node::SnapshotMetadata::Serialize<AutoFile>(AutoFile&) const':
blockchain.cpp:(.text._ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_[_ZNK4node16SnapshotMetadata9SerializeI8AutoFileEEvRT_]+0x2f): undefined reference to `node::SnapshotMetadata::VERSION'
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:7364: bitcoind] Error 1
make[2]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make[1]: *** [Makefile:20273: install-recursive] Error 1
make[1]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/src'
make: *** [Makefile:749: install-recursive] Error 1
Exit status: 2
Loading