Page MenuHomePhabricator

[CI] Let build_cmake.sh take a list of targets and use it
ClosedPublic

Authored by Fabien on Jun 4 2020, 16:51.

Details

Summary

This will reduce the build time for build-secp256k1, build-bench and
check-seeds and doesn't change the behavior by default.
I didn't update the ibd plans since there is nothing to gain here.

Test Plan

Run the CI build-secp256k1, build-bench and check-seeds build plans.

Event Timeline

Fabien requested review of this revision.Jun 4 2020, 16:51
jasonbcox requested changes to this revision.Jun 4 2020, 17:01
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
contrib/devtools/build_cmake.sh
28 ↗(On Diff #20899)

?

45 ↗(On Diff #20899)

Typical convention is like the usage you describe above: "Usage: $0 [--Werror] [targets]" but this supports weird combinations of options like: $0 check --Werror check-functional. It would probably be better to exit this loop once the *) is encountered and then grab all remaining args as TARGETS

55 ↗(On Diff #20899)

TIL about mapfile

This revision now requires changes to proceed.Jun 4 2020, 17:01

Snippet of first build failure:

[17:06:24] :	 [Step 1/2] -- Looking for stddef.h - found
[17:06:24] :	 [Step 1/2] -- Check size of __int128
[17:06:24] :	 [Step 1/2] -- Check size of __int128 - done
[17:06:24] :	 [Step 1/2] -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1d") found components:  Crypto 
[17:06:24] :	 [Step 1/2] -- Boost version: 1.67.0
[17:06:24] :	 [Step 1/2] -- Found the following Boost libraries:
[17:06:24] :	 [Step 1/2] --   chrono
[17:06:24] :	 [Step 1/2] --   filesystem
[17:06:24] :	 [Step 1/2] --   thread
[17:06:24] :	 [Step 1/2] --   system
[17:06:24] :	 [Step 1/2] --   date_time
[17:06:24] :	 [Step 1/2] --   atomic
[17:06:24] :	 [Step 1/2] -- Found Event component event: /usr/lib/x86_64-linux-gnu/libevent.so
[17:06:24] :	 [Step 1/2] -- Found Event: /usr/include (found suitable version "2.1.8-stable", minimum required is "2.0.22") found components:  event 
[17:06:24] :	 [Step 1/2] -- Found Event component pthreads: /usr/lib/x86_64-linux-gnu/libevent_pthreads.so
[17:06:24] :	 [Step 1/2] -- Found Event: /usr/include (found suitable version "2.1.8-stable", minimum required is "2.0.22") found components:  pthreads 
[17:06:24] :	 [Step 1/2] -- Found MiniUPnPc component miniupnpc: /usr/lib/x86_64-linux-gnu/libminiupnpc.so
[17:06:24] :	 [Step 1/2] -- Found MiniUPnPc: /usr/include/miniupnpc (found suitable version "2.1", minimum required is "1.5")  
[17:06:24] :	 [Step 1/2] -- Boost version: 1.67.0
[17:06:24] :	 [Step 1/2] -- Found the following Boost libraries:
[17:06:24] :	 [Step 1/2] --   unit_test_framework
[17:06:24] :	 [Step 1/2] -- Performing Test BOOST_REQUIRES_TEST_DYN_LINK
[17:06:25] :	 [Step 1/2] -- Performing Test BOOST_REQUIRES_TEST_DYN_LINK - Success
[17:06:25] :	 [Step 1/2] -- Found BerkeleyDB component CXX: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
[17:06:25] :	 [Step 1/2] -- Found BerkeleyDB: /usr/include (found suitable version "5.3.28", minimum required is "5.3") found components:  CXX 
[17:06:25] :	 [Step 1/2] -- Found ZeroMQ component zmq: /usr/lib/x86_64-linux-gnu/libzmq.so
[17:06:25] :	 [Step 1/2] -- Found ZeroMQ: /usr/include (found suitable version "4.3.1", minimum required is "4.1.5")  
[17:06:25] :	 [Step 1/2] -- Boost version: 1.67.0
[17:06:25] :	 [Step 1/2] -- Found the following Boost libraries:
[17:06:25] :	 [Step 1/2] --   unit_test_framework
[17:06:25] :	 [Step 1/2] -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found version "3.6.1") 
[17:06:25] :	 [Step 1/2] -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1d")  
[17:06:25] :	 [Step 1/2] -- Looking for EVP_MD_CTX_new
[17:06:25] :	 [Step 1/2] -- Looking for EVP_MD_CTX_new - found
[17:06:25] :	 [Step 1/2] -- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
[17:06:25] :	 [Step 1/2] -- Found QREncode: /usr/include   
[17:06:25] :	 [Step 1/2] -- Configuring native build in /work/build/native
[17:06:25] :	 [Step 1/2] -- Configuring done
[17:06:25] :	 [Step 1/2] -- Generating done
[17:06:25] :	 [Step 1/2] -- Build files have been written to: /work/build
[17:06:25]W:	 [Step 1/2] + '[' 1 -eq 0 ']'
[17:06:25]W:	 [Step 1/2] + mapfile -t VALID_TARGETS
[17:06:25]W:	 [Step 1/2] ++ ninja -t targets
[17:06:25]W:	 [Step 1/2] ++ cut -d : -f 1
[17:06:25]W:	 [Step 1/2] + VALID_TARGETS+=("all")
[17:06:25]W:	 [Step 1/2] + IFS=' '
[17:06:25]W:	 [Step 1/2] + for TARGET in "${TARGETS[@]}"
[17:06:25] :	 [Step 1/2] Trying to build an invalid target: secp256k1
[17:06:25] :	 [Step 1/2] *** Output of /tmp/sanitizer_logs/*.log.* ***
[17:06:25]W:	 [Step 1/2] + [[ !  install/strip install/local list_install_components rebuild_cache package_source check-all check-extended edit_cache check-upgrade-activated install check check-upgrade-activated-extended package src/install/strip src/list_install_components src/rebuild_cache src/edit_cache src/package_source src/package src/install src/libbitcoinconsensus.so.0 src/install/local src/config/install/strip src/config/install/local src/config/package_source src/config/package src/config/install src/config/edit_cache src/config/rebuild_cache src/config/list_install_components src/crypto/install/strip src/crypto/install/local src/crypto/install src/crypto/rebuild_cache src/crypto/edit_cache src/crypto/list_install_components src/crypto/package src/crypto/package_source src/leveldb/install/local src/leveldb/list_install_components src/leveldb/install/strip src/leveldb/rebuild_cache src/leveldb/install src/leveldb/edit_cache src/leveldb/package_source src/leveldb/package src/secp256k1/install/strip src/secp256k1/install/local src/secp256k1/install src/secp256k1/list_install_components src/secp256k1/rebuild_cache src/secp256k1/edit_cache src/secp256k1/package_source src/secp256k1/package src/univalue/install/strip src/univalue/install/local src/univalue/install src/univalue/edit_cache src/univalue/rebuild_cache src/univalue/package src/univalue/package_source src/univalue/list_install_components src/test/install/strip src/test/install/local src/test/rebuild_cache src/test/edit_cache src/test/package_source src/test/install src/test/list_install_components src/test/package src/test/fuzz/install/strip src/test/fuzz/rebuild_cache src/test/fuzz/package src/test/fuzz/install/local src/test/fuzz/install src/test/fuzz/package_source src/test/fuzz/edit_cache src/test/fuzz/list_install_components src/bench/install/strip src/bench/install/local src/bench/install src/bench/list_install_components src/bench/edit_cache src/bench/package src/bench/package_source src/bench/rebuild_cache src/wallet/install/strip src/wallet/install src/wallet/list_install_components src/wallet/install/local src/wallet/edit_cache src/wallet/package src/wallet/package_source src/wallet/rebuild_cache src/zmq/install/strip src/zmq/install/local src/zmq/install src/zmq/package src/zmq/package_source src/zmq/edit_cache src/zmq/rebuild_cache src/zmq/list_install_components src/seeder/install/strip src/seeder/install/local src/seeder/install src/seeder/list_install_components src/seeder/rebuild_cache src/seeder/edit_cache src/seeder/package src/seeder/package_source src/seeder/test/install/local src/seeder/test/rebuild_cache src/seeder/test/edit_cache src/seeder/test/package_source src/seeder/test/install/strip src/seeder/test/package src/seeder/test/list_install_components src/seeder/test/install src/qt/install/strip src/qt/install/local src/qt/install src/qt/list_install_components src/qt/edit_cache src/qt/package_source src/qt/package src/qt/rebuild_cache src/qt/locale/install/strip src/qt/locale/install/local src/qt/locale/install src/qt/locale/package src/qt/locale/package_source src/qt/locale/edit_cache src/qt/locale/rebuild_cache src/qt/locale/list_install_components src/qt/test/install/strip src/qt/test/install src/qt/test/list_install_components src/qt/test/rebuild_cache src/qt/test/install/local src/qt/test/package src/qt/test/package_source src/qt/test/edit_cache test/install/strip test/install/local test/edit_cache test/list_install_components test/package_source test/install test/package test/rebuild_cache contrib/install/strip contrib/install/local contrib/package_source contrib/package contrib/install contrib/edit_cache contrib/rebuild_cache contrib/list_install_components contrib/devtools/install/strip contrib/devtools/install/local contrib/devtools/install contrib/devtools/list_install_components contrib/devtools/rebuild_cache contrib/devtools/package contrib/devtools/package_source contrib/devtools/edit_cache doc/install/strip doc/install/local doc/package_source doc/package doc/install doc/edit_cache doc/rebuild_cache doc/list_install_components doc/man/install/strip doc/man/install/local doc/man/package_source doc/man/package doc/man/install doc/man/edit_cache doc/man/rebuild_cache doc/man/list_install_components address_deserialize addrman_deserialize arena_test autocompact_test banentry_deserialize bench-bitcoin bench-secp256k1 bench-secp256k1-ecdh bench-secp256k1-ecmult bench-secp256k1-internal bench-secp256k1-multiset bench-secp256k1-recover bench-secp256k1-sign bench-secp256k1-verify bitcoin-fuzzers bitcoin-qt-base_autogen bitcoin-qt-protobuf_autogen bitcoin-qt_autogen block_deserialize blockheader_deserialize blocklocator_deserialize blockmerkleroot blocktransactions_deserialize blocktransactionsrequest_deserialize blockundo_deserialize bloom_test bloomfilter_deserialize build-native-gen_context build-native-univalue_gen c_test cache_test check-bitcoin check-bitcoin-activation_tests check-bitcoin-addrman_tests check-bitcoin-allocator_tests check-bitcoin-amount_tests check-bitcoin-arith_uint256_tests check-bitcoin-avalanche_tests check-bitcoin-base32_tests check-bitcoin-base58_tests check-bitcoin-base64_tests check-bitcoin-bip32_tests check-bitcoin-bitmanip_tests check-bitcoin-blockchain_tests check-bitcoin-blockcheck_tests check-bitcoin-blockencodings_tests check-bitcoin-blockfilter_index_tests check-bitcoin-blockfilter_tests check-bitcoin-blockindex_tests check-bitcoin-blockstatus_tests check-bitcoin-bloom_tests check-bitcoin-bswap_tests check-bitcoin-cashaddr_tests check-bitcoin-cashaddrenc_tests check-bitcoin-checkdatasig_tests check-bitcoin-checkpoints_tests check-bitcoin-checkqueue_tests check-bitcoin-coins_tests check-bitcoin-coinselector_tests check-bitcoin-compress_tests check-bitcoin-config_tests check-bitcoin-core_io_tests check-bitcoin-crypto_tests check-bitcoin-cuckoocache_tests check-bitcoin-db_tests check-bitcoin-dbwrapper_tests check-bitcoin-denialofservice_tests check-bitcoin-descriptor_tests check-bitcoin-dstencode_tests check-bitcoin-excessiveblock_tests check-bitcoin-feerate_tests check-bitcoin-finalization_tests check-bitcoin-flatfile_tests check-bitcoin-fs_tests check-bitcoin-getarg_tests check-bitcoin-hash_tests check-bitcoin-init_tests check-bitcoin-inv_tests check-bitcoin-key_io_tests check-bitcoin-key_tests check-bitcoin-lcg_tests check-bitcoin-limitedmap_tests check-bitcoin-mempool_policy_tests check-bitcoin-mempool_tests check-bitcoin-merkle_tests check-bitcoin-merkleblock_tests check-bitcoin-miner_tests check-bitcoin-monolith_opcodes_tests check-bitcoin-multisig_tests check-bitcoin-net_tests check-bitcoin-netbase_tests check-bitcoin-op_reversebytes_tests check-bitcoin-pmt_tests check-bitcoin-policyestimator_tests check-bitcoin-pow_tests check-bitcoin-prevector_tests check-bitcoin-psbt_wallet_tests check-bitcoin-qt check-bitcoin-qt-test_bitcoin-qt check-bitcoin-radix_tests check-bitcoin-raii_event_tests check-bitcoin-random_tests check-bitcoin-rcu_tests check-bitcoin-reverselock_tests check-bitcoin-rpc_server_tests check-bitcoin-rpc_tests check-bitcoin-rwcollection_tests check-bitcoin-sanity_tests check-bitcoin-scheduler_tests check-bitcoin-schnorr_tests check-bitcoin-script_bitfield_tests check-bitcoin-script_commitment_tests check-bitcoin-script_p2sh_tests check-bitcoin-script_standard_tests check-bitcoin-script_tests check-bitcoin-scriptnum_tests check-bitcoin-seeder check-bitcoin-seeder-p2p_messaging_tests check-bitcoin-seeder-parse_name_tests check-bitcoin-seeder-write_name_tests check-bitcoin-serialize_tests check-bitcoin-server_tests check-bitcoin-settings_tests check-bitcoin-sigcache_tests check-bitcoin-sigcheckcount_tests check-bitcoin-sigencoding_tests check-bitcoin-sighash_tests check-bitcoin-sighashtype_tests check-bitcoin-skiplist_tests check-bitcoin-streams_tests check-bitcoin-sync_tests check-bitcoin-timedata_tests check-bitcoin-torcontrol_tests check-bitcoin-transaction_tests check-bitcoin-txindex_tests check-bitcoin-txvalidation_tests check-bitcoin-txvalidationcache_tests check-bitcoin-uint256_tests check-bitcoin-undo_tests check-bitcoin-upgrade-activated check-bitcoin-upgrade-activated-activation_tests check-bitcoin-upgrade-activated-addrman_tests check-bitcoin-upgrade-activated-allocator_tests check-bitcoin-upgrade-activated-amount_tests check-bitcoin-upgrade-activated-arith_uint256_tests check-bitcoin-upgrade-activated-avalanche_tests check-bitcoin-upgrade-activated-base32_tests check-bitcoin-upgrade-activated-base58_tests check-bitcoin-upgrade-activated-base64_tests check-bitcoin-upgrade-activated-bip32_tests check-bitcoin-upgrade-activated-bitmanip_tests check-bitcoin-upgrade-activated-blockchain_tests check-bitcoin-upgrade-activated-blockcheck_tests check-bitcoin-upgrade-activated-blockencodings_tests check-bitcoin-upgrade-activated-blockfilter_index_tests check-bitcoin-upgrade-activated-blockfilter_tests check-bitcoin-upgrade-activated-blockindex_tests check-bitcoin-upgrade-activated-blockstatus_tests check-bitcoin-upgrade-activated-bloom_tests check-bitcoin-upgrade-activated-bswap_tests check-bitcoin-upgrade-activated-cashaddr_tests check-bitcoin-upgrade-activated-cashaddrenc_tests check-bitcoin-upgrade-activated-checkdatasig_tests check-bitcoin-upgrade-activated-checkpoints_tests check-bitcoin-upgrade-activated-checkqueue_tests check-bitcoin-upgrade-activated-coins_tests check-bitcoin-upgrade-activated-coinselector_tests check-bitcoin-upgrade-activated-compress_tests check-bitcoin-upgrade-activated-config_tests check-bitcoin-upgrade-activated-core_io_tests check-bitcoin-upgrade-activated-crypto_tests check-bitcoin-upgrade-activated-cuckoocache_tests check-bitcoin-upgrade-activated-db_tests check-bitcoin-upgrade-activated-dbwrapper_tests check-bitcoin-upgrade-activated-denialofservice_tests check-bitcoin-upgrade-activated-descriptor_tests check-bitcoin-upgrade-activated-dstencode_tests check-bitcoin-upgrade-activated-excessiveblock_tests check-bitcoin-upgrade-activated-feerate_tests check-bitcoin-upgrade-activated-finalization_tests check-bitcoin-upgrade-activated-flatfile_tests check-bitcoin-upgrade-activated-fs_tests check-bitcoin-upgrade-activated-getarg_tests check-bitcoin-upgrade-activated-hash_tests check-bitcoin-upgrade-activated-init_tests check-bitcoin-upgrade-activated-inv_tests check-bitcoin-upgrade-activated-key_io_tests check-bitcoin-upgrade-activated-key_tests check-bitcoin-upgrade-activated-lcg_tests check-bitcoin-upgrade-activated-limitedmap_tests check-bitcoin-upgrade-activated-mempool_policy_tests check-bitcoin-upgrade-activated-mempool_tests check-bitcoin-upgrade-activated-merkle_tests check-bitcoin-upgrade-activated-merkleblock_tests check-bitcoin-upgrade-activated-miner_tests check-bitcoin-upgrade-activated-monolith_opcodes_tests check-bitcoin-upgrade-activated-multisig_tests check-bitcoin-upgrade-activated-net_tests check-bitcoin-upgrade-activated-netbase_tests check-bitcoin-upgrade-activated-op_reversebytes_tests check-bitcoin-upgrade-activated-pmt_tests check-bitcoin-upgrade-activated-policyestimator_tests check-bitcoin-upgrade-activated-pow_tests check-bitcoin-upgrade-activated-prevector_tests check-bitcoin-upgrade-activated-psbt_wallet_tests check-bitcoin-upgrade-activated-radix_tests check-bitcoin-upgrade-activated-raii_event_tests check-bitcoin-upgrade-activated-random_tests check-bitcoin-upgrade-activated-rcu_tests check-bitcoin-upgrade-activated-reverselock_tests check-bitcoin-upgrade-activated-rpc_server_tests check-bitcoin-upgrade-activated-rpc_tests check-bitcoin-upgrade-activated-rwcollection_tests check-bitcoin-upgrade-activated-sanity_tests check-bitcoin-upgrade-activated-scheduler_tests check-bitcoin-upgrade-activated-schnorr_tests check-bitcoin-upgrade-activated-script_bitfield_tests check-bitcoin-upgrade-activated-script_commitment_tests check-bitcoin-upgrade-activated-script_p2sh_tests check-bitcoin-upgrade-activated-script_standard_tests check-bitcoin-upgrade-activated-script_tests check-bitcoin-upgrade-activated-scriptnum_tests check-bitcoin-upgrade-activated-serialize_tests check-bitcoin-upgrade-activated-server_tests check-bitcoin-upgrade-activated-settings_tests check-bitcoin-upgrade-activated-sigcache_tests check-bitcoin-upgrade-activated-sigcheckcount_tests check-bitcoin-upgrade-activated-sigencoding_tests check-bitcoin-upgrade-activated-sighash_tests check-bitcoin-upgrade-activated-sighashtype_tests check-bitcoin-upgrade-activated-skiplist_tests check-bitcoin-upgrade-activated-streams_tests check-bitcoin-upgrade-activated-sync_tests check-bitcoin-upgrade-activated-timedata_tests check-bitcoin-upgrade-activated-torcontrol_tests check-bitcoin-upgrade-activated-transaction_tests check-bitcoin-upgrade-activated-txindex_tests check-bitcoin-upgrade-activated-txvalidation_tests check-bitcoin-upgrade-activated-txvalidationcache_tests check-bitcoin-upgrade-activated-uint256_tests check-bitcoin-upgrade-activated-undo_tests check-bitcoin-upgrade-activated-util_tests check-bitcoin-upgrade-activated-util_threadnames_tests check-bitcoin-upgrade-activated-validation_block_tests check-bitcoin-upgrade-activated-validation_tests check-bitcoin-upgrade-activated-versionbits_tests check-bitcoin-upgrade-activated-wallet_crypto_tests check-bitcoin-upgrade-activated-wallet_tests check-bitcoin-upgrade-activated-walletdb_tests check-bitcoin-upgrade-activated-work_comparator_tests check-bitcoin-util check-bitcoin-util_tests check-bitcoin-util_threadnames_tests check-bitcoin-validation_block_tests check-bitcoin-validation_tests check-bitcoin-versionbits_tests check-bitcoin-wallet_crypto_tests check-bitcoin-wallet_tests check-bitcoin-walletdb_tests check-bitcoin-work_comparator_tests check-devtools check-devtools-test_make_chainparams.py check-functional check-functional-extended check-functional-upgrade-activated check-functional-upgrade-activated-extended check-leveldb check-leveldb-arena_test check-leveldb-autocompact_test check-leveldb-bloom_test check-leveldb-c_test check-leveldb-cache_test check-leveldb-coding_test check-leveldb-corruption_test check-leveldb-crc32c_test check-leveldb-db_test check-leveldb-dbformat_test check-leveldb-env_posix_test check-leveldb-env_test check-leveldb-fault_injection_test check-leveldb-filename_test check-leveldb-filter_block_test check-leveldb-hash_test check-leveldb-issue178_test check-leveldb-issue200_test check-leveldb-log_test check-leveldb-memenv_test check-leveldb-recovery_test check-leveldb-skiplist_test check-leveldb-table_test check-leveldb-version_edit_test check-leveldb-version_set_test check-leveldb-write_batch_test check-rpcauth check-secp256k1 check-secp256k1-secp256k1-exhaustive_tests check-secp256k1-secp256k1-tests check-univalue check-univalue-no_nul_test check-univalue-object_test check-univalue-unitester_test coding_test coins_deserialize corruption_test crc32c_test db_test dbformat_test diskblockindex_deserialize env_posix_test env_test fault_injection_test filename_test filter_block_test fuzz-address_deserialize fuzz-addrman_deserialize fuzz-banentry_deserialize fuzz-block_deserialize fuzz-blockheader_deserialize fuzz-blocklocator_deserialize fuzz-blockmerkleroot fuzz-blocktransactions_deserialize fuzz-blocktransactionsrequest_deserialize fuzz-blockundo_deserialize fuzz-bloomfilter_deserialize fuzz-coins_deserialize fuzz-diskblockindex_deserialize fuzz-inv_deserialize fuzz-messageheader_deserialize fuzz-netaddr_deserialize fuzz-script_flags fuzz-service_deserialize fuzz-transaction_deserialize fuzz-txoutcompressor_deserialize fuzz-txundo_deserialize generate_univalue_escapes_h hash_test inv_deserialize issue178_test issue200_test json_test leveldb_test_base libbitcoin-qt-base.a libbitcoinconsensus.a libbitcoinconsensus.so libcommon.a libcrypto.a libcrypto_avx2.a libcrypto_shani.a libcrypto_sse4.1.a libleveldb-sse4.2.a libleveldb.a libleveldb_test_base.a libmemenv.a librpcclient.a libscript.a libsecp256k1.a libseeder.a libserver.a libunivalue.a libutil.a libwallet-tool.a libwallet.a libzmq.a locales log_test memenv_test messageheader_deserialize native-cmake-build netaddr_deserialize no_nul_test object_test recovery_test script_flags secp256k1-exhaustive_tests secp256k1-tests security-check security-check-bitcoin-cli security-check-bitcoin-qt security-check-bitcoin-seeder security-check-bitcoin-tx security-check-bitcoin-wallet security-check-bitcoind service_deserialize skiplist_test symbol-check symbol-check-bitcoin-cli symbol-check-bitcoin-qt symbol-check-bitcoin-seeder symbol-check-bitcoin-tx symbol-check-bitcoin-wallet symbol-check-bitcoind table_test test_bitcoin test_bitcoin-qt test_bitcoin-qt_autogen test_bitcoin-seeder transaction_deserialize translate txoutcompressor_deserialize txundo_deserialize unitester_test version_edit_test version_set_test write_batch_test build.ninja clean help all  =~  secp256k1  ]]
[17:06:25]W:	 [Step 1/2] + echo 'Trying to build an invalid target: secp256k1'
[17:06:25]W:	 [Step 1/2] + exit 2
[17:06:25]W:	 [Step 1/2] ++ print_sanitizers_log
[17:06:25]W:	 [Step 1/2] ++ for log in "${SAN_LOG_DIR}"/*.log.*
[17:06:25]W:	 [Step 1/2] ++ echo '*** Output of /tmp/sanitizer_logs/*.log.* ***'
[17:06:25]W:	 [Step 1/2] ++ cat '/tmp/sanitizer_logs/*.log.*'
[17:06:25]W:	 [Step 1/2] cat: '/tmp/sanitizer_logs/*.log.*': No such file or directory
[17:06:26]W:	 [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[17:06:34]W:	 [Step 1/2] Process exited with code 1
[17:06:35]E:	 [Step 1/2] Process exited with code 1 (Step: Command Line)

Snippet of first build failure:

[17:07:05] :	 [Step 1/2] -- Looking for stddef.h - found
[17:07:05] :	 [Step 1/2] -- Check size of __int128
[17:07:05] :	 [Step 1/2] -- Check size of __int128 - done
[17:07:05] :	 [Step 1/2] -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1d") found components:  Crypto 
[17:07:05] :	 [Step 1/2] -- Boost version: 1.67.0
[17:07:05] :	 [Step 1/2] -- Found the following Boost libraries:
[17:07:05] :	 [Step 1/2] --   chrono
[17:07:05] :	 [Step 1/2] --   filesystem
[17:07:05] :	 [Step 1/2] --   thread
[17:07:05] :	 [Step 1/2] --   system
[17:07:05] :	 [Step 1/2] --   date_time
[17:07:05] :	 [Step 1/2] --   atomic
[17:07:05] :	 [Step 1/2] -- Found Event component event: /usr/lib/x86_64-linux-gnu/libevent.so
[17:07:05] :	 [Step 1/2] -- Found Event: /usr/include (found suitable version "2.1.8-stable", minimum required is "2.0.22") found components:  event 
[17:07:05] :	 [Step 1/2] -- Found Event component pthreads: /usr/lib/x86_64-linux-gnu/libevent_pthreads.so
[17:07:05] :	 [Step 1/2] -- Found Event: /usr/include (found suitable version "2.1.8-stable", minimum required is "2.0.22") found components:  pthreads 
[17:07:05] :	 [Step 1/2] -- Found MiniUPnPc component miniupnpc: /usr/lib/x86_64-linux-gnu/libminiupnpc.so
[17:07:05] :	 [Step 1/2] -- Found MiniUPnPc: /usr/include/miniupnpc (found suitable version "2.1", minimum required is "1.5")  
[17:07:05] :	 [Step 1/2] -- Boost version: 1.67.0
[17:07:05] :	 [Step 1/2] -- Found the following Boost libraries:
[17:07:05] :	 [Step 1/2] --   unit_test_framework
[17:07:05] :	 [Step 1/2] -- Performing Test BOOST_REQUIRES_TEST_DYN_LINK
[17:07:06] :	 [Step 1/2] -- Performing Test BOOST_REQUIRES_TEST_DYN_LINK - Success
[17:07:06] :	 [Step 1/2] -- Found BerkeleyDB component CXX: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
[17:07:06] :	 [Step 1/2] -- Found BerkeleyDB: /usr/include (found suitable version "5.3.28", minimum required is "5.3") found components:  CXX 
[17:07:06] :	 [Step 1/2] -- Found ZeroMQ component zmq: /usr/lib/x86_64-linux-gnu/libzmq.so
[17:07:06] :	 [Step 1/2] -- Found ZeroMQ: /usr/include (found suitable version "4.3.1", minimum required is "4.1.5")  
[17:07:06] :	 [Step 1/2] -- Boost version: 1.67.0
[17:07:06] :	 [Step 1/2] -- Found the following Boost libraries:
[17:07:06] :	 [Step 1/2] --   unit_test_framework
[17:07:06] :	 [Step 1/2] -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found version "3.6.1") 
[17:07:06] :	 [Step 1/2] -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1d")  
[17:07:06] :	 [Step 1/2] -- Looking for EVP_MD_CTX_new
[17:07:06] :	 [Step 1/2] -- Looking for EVP_MD_CTX_new - found
[17:07:06] :	 [Step 1/2] -- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
[17:07:06] :	 [Step 1/2] -- Found QREncode: /usr/include   
[17:07:06] :	 [Step 1/2] -- Configuring native build in /work/build/native
[17:07:06] :	 [Step 1/2] -- Configuring done
[17:07:07] :	 [Step 1/2] -- Generating done
[17:07:07] :	 [Step 1/2] -- Build files have been written to: /work/build
[17:07:07]W:	 [Step 1/2] + '[' 1 -eq 0 ']'
[17:07:07]W:	 [Step 1/2] + mapfile -t VALID_TARGETS
[17:07:07]W:	 [Step 1/2] ++ ninja -t targets
[17:07:07]W:	 [Step 1/2] ++ cut -d : -f 1
[17:07:07] :	 [Step 1/2] Trying to build an invalid target: bitcoin-bench
[17:07:07] :	 [Step 1/2] *** Output of /tmp/sanitizer_logs/*.log.* ***
[17:07:07]W:	 [Step 1/2] + VALID_TARGETS+=("all")
[17:07:07]W:	 [Step 1/2] + IFS=' '
[17:07:07]W:	 [Step 1/2] + for TARGET in "${TARGETS[@]}"
[17:07:07]W:	 [Step 1/2] + [[ !  install/strip install/local list_install_components rebuild_cache package_source check-all check-extended edit_cache check-upgrade-activated install check check-upgrade-activated-extended package src/install/strip src/list_install_components src/rebuild_cache src/edit_cache src/package_source src/package src/install src/libbitcoinconsensus.so.0 src/install/local src/config/install/strip src/config/install/local src/config/package_source src/config/package src/config/install src/config/edit_cache src/config/rebuild_cache src/config/list_install_components src/crypto/install/strip src/crypto/install/local src/crypto/install src/crypto/rebuild_cache src/crypto/edit_cache src/crypto/list_install_components src/crypto/package src/crypto/package_source src/leveldb/install/local src/leveldb/list_install_components src/leveldb/install/strip src/leveldb/rebuild_cache src/leveldb/install src/leveldb/edit_cache src/leveldb/package_source src/leveldb/package src/secp256k1/install/strip src/secp256k1/install/local src/secp256k1/install src/secp256k1/list_install_components src/secp256k1/rebuild_cache src/secp256k1/edit_cache src/secp256k1/package_source src/secp256k1/package src/univalue/install/strip src/univalue/install/local src/univalue/install src/univalue/edit_cache src/univalue/rebuild_cache src/univalue/package src/univalue/package_source src/univalue/list_install_components src/test/install/strip src/test/install/local src/test/rebuild_cache src/test/edit_cache src/test/package_source src/test/install src/test/list_install_components src/test/package src/test/fuzz/install/strip src/test/fuzz/rebuild_cache src/test/fuzz/package src/test/fuzz/install/local src/test/fuzz/install src/test/fuzz/package_source src/test/fuzz/edit_cache src/test/fuzz/list_install_components src/bench/install/strip src/bench/install/local src/bench/install src/bench/list_install_components src/bench/edit_cache src/bench/package src/bench/package_source src/bench/rebuild_cache src/wallet/install/strip src/wallet/install src/wallet/list_install_components src/wallet/install/local src/wallet/edit_cache src/wallet/package src/wallet/package_source src/wallet/rebuild_cache src/zmq/install/strip src/zmq/install/local src/zmq/install src/zmq/package src/zmq/package_source src/zmq/edit_cache src/zmq/rebuild_cache src/zmq/list_install_components src/seeder/install/strip src/seeder/install/local src/seeder/install src/seeder/list_install_components src/seeder/rebuild_cache src/seeder/edit_cache src/seeder/package src/seeder/package_source src/seeder/test/install/local src/seeder/test/rebuild_cache src/seeder/test/edit_cache src/seeder/test/package_source src/seeder/test/install/strip src/seeder/test/package src/seeder/test/list_install_components src/seeder/test/install src/qt/install/strip src/qt/install/local src/qt/install src/qt/list_install_components src/qt/edit_cache src/qt/package_source src/qt/package src/qt/rebuild_cache src/qt/locale/install/strip src/qt/locale/install/local src/qt/locale/install src/qt/locale/package src/qt/locale/package_source src/qt/locale/edit_cache src/qt/locale/rebuild_cache src/qt/locale/list_install_components src/qt/test/install/strip src/qt/test/install src/qt/test/list_install_components src/qt/test/rebuild_cache src/qt/test/install/local src/qt/test/package src/qt/test/package_source src/qt/test/edit_cache test/install/strip test/install/local test/edit_cache test/list_install_components test/package_source test/install test/package test/rebuild_cache contrib/install/strip contrib/install/local contrib/package_source contrib/package contrib/install contrib/edit_cache contrib/rebuild_cache contrib/list_install_components contrib/devtools/install/strip contrib/devtools/install/local contrib/devtools/install contrib/devtools/list_install_components contrib/devtools/rebuild_cache contrib/devtools/package contrib/devtools/package_source contrib/devtools/edit_cache doc/install/strip doc/install/local doc/package_source doc/package doc/install doc/edit_cache doc/rebuild_cache doc/list_install_components doc/man/install/strip doc/man/install/local doc/man/package_source doc/man/package doc/man/install doc/man/edit_cache doc/man/rebuild_cache doc/man/list_install_components address_deserialize addrman_deserialize arena_test autocompact_test banentry_deserialize bench-bitcoin bench-secp256k1 bench-secp256k1-ecdh bench-secp256k1-ecmult bench-secp256k1-internal bench-secp256k1-multiset bench-secp256k1-recover bench-secp256k1-sign bench-secp256k1-verify bitcoin-fuzzers bitcoin-qt-base_autogen bitcoin-qt-protobuf_autogen bitcoin-qt_autogen block_deserialize blockheader_deserialize blocklocator_deserialize blockmerkleroot blocktransactions_deserialize blocktransactionsrequest_deserialize blockundo_deserialize bloom_test bloomfilter_deserialize build-native-gen_context build-native-univalue_gen c_test cache_test check-bitcoin check-bitcoin-activation_tests check-bitcoin-addrman_tests check-bitcoin-allocator_tests check-bitcoin-amount_tests check-bitcoin-arith_uint256_tests check-bitcoin-avalanche_tests check-bitcoin-base32_tests check-bitcoin-base58_tests check-bitcoin-base64_tests check-bitcoin-bip32_tests check-bitcoin-bitmanip_tests check-bitcoin-blockchain_tests check-bitcoin-blockcheck_tests check-bitcoin-blockencodings_tests check-bitcoin-blockfilter_index_tests check-bitcoin-blockfilter_tests check-bitcoin-blockindex_tests check-bitcoin-blockstatus_tests check-bitcoin-bloom_tests check-bitcoin-bswap_tests check-bitcoin-cashaddr_tests check-bitcoin-cashaddrenc_tests check-bitcoin-checkdatasig_tests check-bitcoin-checkpoints_tests check-bitcoin-checkqueue_tests check-bitcoin-coins_tests check-bitcoin-coinselector_tests check-bitcoin-compress_tests check-bitcoin-config_tests check-bitcoin-core_io_tests check-bitcoin-crypto_tests check-bitcoin-cuckoocache_tests check-bitcoin-db_tests check-bitcoin-dbwrapper_tests check-bitcoin-denialofservice_tests check-bitcoin-descriptor_tests check-bitcoin-dstencode_tests check-bitcoin-excessiveblock_tests check-bitcoin-feerate_tests check-bitcoin-finalization_tests check-bitcoin-flatfile_tests check-bitcoin-fs_tests check-bitcoin-getarg_tests check-bitcoin-hash_tests check-bitcoin-init_tests check-bitcoin-inv_tests check-bitcoin-key_io_tests check-bitcoin-key_tests check-bitcoin-lcg_tests check-bitcoin-limitedmap_tests check-bitcoin-mempool_policy_tests check-bitcoin-mempool_tests check-bitcoin-merkle_tests check-bitcoin-merkleblock_tests check-bitcoin-miner_tests check-bitcoin-monolith_opcodes_tests check-bitcoin-multisig_tests check-bitcoin-net_tests check-bitcoin-netbase_tests check-bitcoin-op_reversebytes_tests check-bitcoin-pmt_tests check-bitcoin-policyestimator_tests check-bitcoin-pow_tests check-bitcoin-prevector_tests check-bitcoin-psbt_wallet_tests check-bitcoin-qt check-bitcoin-qt-test_bitcoin-qt check-bitcoin-radix_tests check-bitcoin-raii_event_tests check-bitcoin-random_tests check-bitcoin-rcu_tests check-bitcoin-reverselock_tests check-bitcoin-rpc_server_tests check-bitcoin-rpc_tests check-bitcoin-rwcollection_tests check-bitcoin-sanity_tests check-bitcoin-scheduler_tests check-bitcoin-schnorr_tests check-bitcoin-script_bitfield_tests check-bitcoin-script_commitment_tests check-bitcoin-script_p2sh_tests check-bitcoin-script_standard_tests check-bitcoin-script_tests check-bitcoin-scriptnum_tests check-bitcoin-seeder check-bitcoin-seeder-p2p_messaging_tests check-bitcoin-seeder-parse_name_tests check-bitcoin-seeder-write_name_tests check-bitcoin-serialize_tests check-bitcoin-server_tests check-bitcoin-settings_tests check-bitcoin-sigcache_tests check-bitcoin-sigcheckcount_tests check-bitcoin-sigencoding_tests check-bitcoin-sighash_tests check-bitcoin-sighashtype_tests check-bitcoin-skiplist_tests check-bitcoin-streams_tests check-bitcoin-sync_tests check-bitcoin-timedata_tests check-bitcoin-torcontrol_tests check-bitcoin-transaction_tests check-bitcoin-txindex_tests check-bitcoin-txvalidation_tests check-bitcoin-txvalidationcache_tests check-bitcoin-uint256_tests check-bitcoin-undo_tests check-bitcoin-upgrade-activated check-bitcoin-upgrade-activated-activation_tests check-bitcoin-upgrade-activated-addrman_tests check-bitcoin-upgrade-activated-allocator_tests check-bitcoin-upgrade-activated-amount_tests check-bitcoin-upgrade-activated-arith_uint256_tests check-bitcoin-upgrade-activated-avalanche_tests check-bitcoin-upgrade-activated-base32_tests check-bitcoin-upgrade-activated-base58_tests check-bitcoin-upgrade-activated-base64_tests check-bitcoin-upgrade-activated-bip32_tests check-bitcoin-upgrade-activated-bitmanip_tests check-bitcoin-upgrade-activated-blockchain_tests check-bitcoin-upgrade-activated-blockcheck_tests check-bitcoin-upgrade-activated-blockencodings_tests check-bitcoin-upgrade-activated-blockfilter_index_tests check-bitcoin-upgrade-activated-blockfilter_tests check-bitcoin-upgrade-activated-blockindex_tests check-bitcoin-upgrade-activated-blockstatus_tests check-bitcoin-upgrade-activated-bloom_tests check-bitcoin-upgrade-activated-bswap_tests check-bitcoin-upgrade-activated-cashaddr_tests check-bitcoin-upgrade-activated-cashaddrenc_tests check-bitcoin-upgrade-activated-checkdatasig_tests check-bitcoin-upgrade-activated-checkpoints_tests check-bitcoin-upgrade-activated-checkqueue_tests check-bitcoin-upgrade-activated-coins_tests check-bitcoin-upgrade-activated-coinselector_tests check-bitcoin-upgrade-activated-compress_tests check-bitcoin-upgrade-activated-config_tests check-bitcoin-upgrade-activated-core_io_tests check-bitcoin-upgrade-activated-crypto_tests check-bitcoin-upgrade-activated-cuckoocache_tests check-bitcoin-upgrade-activated-db_tests check-bitcoin-upgrade-activated-dbwrapper_tests check-bitcoin-upgrade-activated-denialofservice_tests check-bitcoin-upgrade-activated-descriptor_tests check-bitcoin-upgrade-activated-dstencode_tests check-bitcoin-upgrade-activated-excessiveblock_tests check-bitcoin-upgrade-activated-feerate_tests check-bitcoin-upgrade-activated-finalization_tests check-bitcoin-upgrade-activated-flatfile_tests check-bitcoin-upgrade-activated-fs_tests check-bitcoin-upgrade-activated-getarg_tests check-bitcoin-upgrade-activated-hash_tests check-bitcoin-upgrade-activated-init_tests check-bitcoin-upgrade-activated-inv_tests check-bitcoin-upgrade-activated-key_io_tests check-bitcoin-upgrade-activated-key_tests check-bitcoin-upgrade-activated-lcg_tests check-bitcoin-upgrade-activated-limitedmap_tests check-bitcoin-upgrade-activated-mempool_policy_tests check-bitcoin-upgrade-activated-mempool_tests check-bitcoin-upgrade-activated-merkle_tests check-bitcoin-upgrade-activated-merkleblock_tests check-bitcoin-upgrade-activated-miner_tests check-bitcoin-upgrade-activated-monolith_opcodes_tests check-bitcoin-upgrade-activated-multisig_tests check-bitcoin-upgrade-activated-net_tests check-bitcoin-upgrade-activated-netbase_tests check-bitcoin-upgrade-activated-op_reversebytes_tests check-bitcoin-upgrade-activated-pmt_tests check-bitcoin-upgrade-activated-policyestimator_tests check-bitcoin-upgrade-activated-pow_tests check-bitcoin-upgrade-activated-prevector_tests check-bitcoin-upgrade-activated-psbt_wallet_tests check-bitcoin-upgrade-activated-radix_tests check-bitcoin-upgrade-activated-raii_event_tests check-bitcoin-upgrade-activated-random_tests check-bitcoin-upgrade-activated-rcu_tests check-bitcoin-upgrade-activated-reverselock_tests check-bitcoin-upgrade-activated-rpc_server_tests check-bitcoin-upgrade-activated-rpc_tests check-bitcoin-upgrade-activated-rwcollection_tests check-bitcoin-upgrade-activated-sanity_tests check-bitcoin-upgrade-activated-scheduler_tests check-bitcoin-upgrade-activated-schnorr_tests check-bitcoin-upgrade-activated-script_bitfield_tests check-bitcoin-upgrade-activated-script_commitment_tests check-bitcoin-upgrade-activated-script_p2sh_tests check-bitcoin-upgrade-activated-script_standard_tests check-bitcoin-upgrade-activated-script_tests check-bitcoin-upgrade-activated-scriptnum_tests check-bitcoin-upgrade-activated-serialize_tests check-bitcoin-upgrade-activated-server_tests check-bitcoin-upgrade-activated-settings_tests check-bitcoin-upgrade-activated-sigcache_tests check-bitcoin-upgrade-activated-sigcheckcount_tests check-bitcoin-upgrade-activated-sigencoding_tests check-bitcoin-upgrade-activated-sighash_tests check-bitcoin-upgrade-activated-sighashtype_tests check-bitcoin-upgrade-activated-skiplist_tests check-bitcoin-upgrade-activated-streams_tests check-bitcoin-upgrade-activated-sync_tests check-bitcoin-upgrade-activated-timedata_tests check-bitcoin-upgrade-activated-torcontrol_tests check-bitcoin-upgrade-activated-transaction_tests check-bitcoin-upgrade-activated-txindex_tests check-bitcoin-upgrade-activated-txvalidation_tests check-bitcoin-upgrade-activated-txvalidationcache_tests check-bitcoin-upgrade-activated-uint256_tests check-bitcoin-upgrade-activated-undo_tests check-bitcoin-upgrade-activated-util_tests check-bitcoin-upgrade-activated-util_threadnames_tests check-bitcoin-upgrade-activated-validation_block_tests check-bitcoin-upgrade-activated-validation_tests check-bitcoin-upgrade-activated-versionbits_tests check-bitcoin-upgrade-activated-wallet_crypto_tests check-bitcoin-upgrade-activated-wallet_tests check-bitcoin-upgrade-activated-walletdb_tests check-bitcoin-upgrade-activated-work_comparator_tests check-bitcoin-util check-bitcoin-util_tests check-bitcoin-util_threadnames_tests check-bitcoin-validation_block_tests check-bitcoin-validation_tests check-bitcoin-versionbits_tests check-bitcoin-wallet_crypto_tests check-bitcoin-wallet_tests check-bitcoin-walletdb_tests check-bitcoin-work_comparator_tests check-devtools check-devtools-test_make_chainparams.py check-functional check-functional-extended check-functional-upgrade-activated check-functional-upgrade-activated-extended check-leveldb check-leveldb-arena_test check-leveldb-autocompact_test check-leveldb-bloom_test check-leveldb-c_test check-leveldb-cache_test check-leveldb-coding_test check-leveldb-corruption_test check-leveldb-crc32c_test check-leveldb-db_test check-leveldb-dbformat_test check-leveldb-env_posix_test check-leveldb-env_test check-leveldb-fault_injection_test check-leveldb-filename_test check-leveldb-filter_block_test check-leveldb-hash_test check-leveldb-issue178_test check-leveldb-issue200_test check-leveldb-log_test check-leveldb-memenv_test check-leveldb-recovery_test check-leveldb-skiplist_test check-leveldb-table_test check-leveldb-version_edit_test check-leveldb-version_set_test check-leveldb-write_batch_test check-rpcauth check-secp256k1 check-secp256k1-secp256k1-exhaustive_tests check-secp256k1-secp256k1-tests check-univalue check-univalue-no_nul_test check-univalue-object_test check-univalue-unitester_test coding_test coins_deserialize corruption_test crc32c_test db_test dbformat_test diskblockindex_deserialize env_posix_test env_test fault_injection_test filename_test filter_block_test fuzz-address_deserialize fuzz-addrman_deserialize fuzz-banentry_deserialize fuzz-block_deserialize fuzz-blockheader_deserialize fuzz-blocklocator_deserialize fuzz-blockmerkleroot fuzz-blocktransactions_deserialize fuzz-blocktransactionsrequest_deserialize fuzz-blockundo_deserialize fuzz-bloomfilter_deserialize fuzz-coins_deserialize fuzz-diskblockindex_deserialize fuzz-inv_deserialize fuzz-messageheader_deserialize fuzz-netaddr_deserialize fuzz-script_flags fuzz-service_deserialize fuzz-transaction_deserialize fuzz-txoutcompressor_deserialize fuzz-txundo_deserialize generate_univalue_escapes_h hash_test inv_deserialize issue178_test issue200_test json_test leveldb_test_base libbitcoin-qt-base.a libbitcoinconsensus.a libbitcoinconsensus.so libcommon.a libcrypto.a libcrypto_avx2.a libcrypto_shani.a libcrypto_sse4.1.a libleveldb-sse4.2.a libleveldb.a libleveldb_test_base.a libmemenv.a librpcclient.a libscript.a libsecp256k1.a libseeder.a libserver.a libunivalue.a libutil.a libwallet-tool.a libwallet.a libzmq.a locales log_test memenv_test messageheader_deserialize native-cmake-build netaddr_deserialize no_nul_test object_test recovery_test script_flags secp256k1-exhaustive_tests secp256k1-tests security-check security-check-bitcoin-cli security-check-bitcoin-qt security-check-bitcoin-seeder security-check-bitcoin-tx security-check-bitcoin-wallet security-check-bitcoind service_deserialize skiplist_test symbol-check symbol-check-bitcoin-cli symbol-check-bitcoin-qt symbol-check-bitcoin-seeder symbol-check-bitcoin-tx symbol-check-bitcoin-wallet symbol-check-bitcoind table_test test_bitcoin test_bitcoin-qt test_bitcoin-qt_autogen test_bitcoin-seeder transaction_deserialize translate txoutcompressor_deserialize txundo_deserialize unitester_test version_edit_test version_set_test write_batch_test build.ninja clean help all  =~  bitcoin-bench  ]]
[17:07:07]W:	 [Step 1/2] + echo 'Trying to build an invalid target: bitcoin-bench'
[17:07:07]W:	 [Step 1/2] + exit 2
[17:07:07]W:	 [Step 1/2] ++ print_sanitizers_log
[17:07:07]W:	 [Step 1/2] ++ for log in "${SAN_LOG_DIR}"/*.log.*
[17:07:07]W:	 [Step 1/2] ++ echo '*** Output of /tmp/sanitizer_logs/*.log.* ***'
[17:07:07]W:	 [Step 1/2] ++ cat '/tmp/sanitizer_logs/*.log.*'
[17:07:07]W:	 [Step 1/2] cat: '/tmp/sanitizer_logs/*.log.*': No such file or directory
[17:07:07]W:	 [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[17:07:16]W:	 [Step 1/2] Process exited with code 1
[17:07:16]E:	 [Step 1/2] Process exited with code 1 (Step: Command Line)

Snippet of first build failure:

[17:07:53] :	 [Step 1/2] -- Looking for stddef.h - found
[17:07:53] :	 [Step 1/2] -- Check size of __int128
[17:07:53] :	 [Step 1/2] -- Check size of __int128 - done
[17:07:53] :	 [Step 1/2] -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1d") found components:  Crypto 
[17:07:53] :	 [Step 1/2] -- Boost version: 1.67.0
[17:07:53] :	 [Step 1/2] -- Found the following Boost libraries:
[17:07:53] :	 [Step 1/2] --   chrono
[17:07:53] :	 [Step 1/2] --   filesystem
[17:07:53] :	 [Step 1/2] --   thread
[17:07:53] :	 [Step 1/2] --   system
[17:07:53] :	 [Step 1/2] --   date_time
[17:07:53] :	 [Step 1/2] --   atomic
[17:07:53] :	 [Step 1/2] -- Found Event component event: /usr/lib/x86_64-linux-gnu/libevent.so
[17:07:53] :	 [Step 1/2] -- Found Event: /usr/include (found suitable version "2.1.8-stable", minimum required is "2.0.22") found components:  event 
[17:07:53] :	 [Step 1/2] -- Found Event component pthreads: /usr/lib/x86_64-linux-gnu/libevent_pthreads.so
[17:07:53] :	 [Step 1/2] -- Found Event: /usr/include (found suitable version "2.1.8-stable", minimum required is "2.0.22") found components:  pthreads 
[17:07:53] :	 [Step 1/2] -- Found MiniUPnPc component miniupnpc: /usr/lib/x86_64-linux-gnu/libminiupnpc.so
[17:07:53] :	 [Step 1/2] -- Found MiniUPnPc: /usr/include/miniupnpc (found suitable version "2.1", minimum required is "1.5")  
[17:07:53] :	 [Step 1/2] -- Boost version: 1.67.0
[17:07:53] :	 [Step 1/2] -- Found the following Boost libraries:
[17:07:53] :	 [Step 1/2] --   unit_test_framework
[17:07:53] :	 [Step 1/2] -- Performing Test BOOST_REQUIRES_TEST_DYN_LINK
[17:07:54] :	 [Step 1/2] -- Performing Test BOOST_REQUIRES_TEST_DYN_LINK - Success
[17:07:54] :	 [Step 1/2] -- Found BerkeleyDB component CXX: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
[17:07:54] :	 [Step 1/2] -- Found BerkeleyDB: /usr/include (found suitable version "5.3.28", minimum required is "5.3") found components:  CXX 
[17:07:54] :	 [Step 1/2] -- Found ZeroMQ component zmq: /usr/lib/x86_64-linux-gnu/libzmq.so
[17:07:54] :	 [Step 1/2] -- Found ZeroMQ: /usr/include (found suitable version "4.3.1", minimum required is "4.1.5")  
[17:07:54] :	 [Step 1/2] -- Boost version: 1.67.0
[17:07:54] :	 [Step 1/2] -- Found the following Boost libraries:
[17:07:54] :	 [Step 1/2] --   unit_test_framework
[17:07:54] :	 [Step 1/2] -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread (found version "3.6.1") 
[17:07:54] :	 [Step 1/2] -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1d")  
[17:07:54] :	 [Step 1/2] -- Looking for EVP_MD_CTX_new
[17:07:54] :	 [Step 1/2] -- Looking for EVP_MD_CTX_new - found
[17:07:54] :	 [Step 1/2] -- Found QREncode component qrencode: /usr/lib/x86_64-linux-gnu/libqrencode.so
[17:07:54] :	 [Step 1/2] -- Found QREncode: /usr/include   
[17:07:54] :	 [Step 1/2] -- Configuring native build in /work/build/native
[17:07:54] :	 [Step 1/2] -- Configuring done
[17:07:54] :	 [Step 1/2] -- Generating done
[17:07:54] :	 [Step 1/2] -- Build files have been written to: /work/build
[17:07:54]W:	 [Step 1/2] + '[' 2 -eq 0 ']'
[17:07:54]W:	 [Step 1/2] + mapfile -t VALID_TARGETS
[17:07:54]W:	 [Step 1/2] ++ ninja -t targets
[17:07:54]W:	 [Step 1/2] ++ cut -d : -f 1
[17:07:54]W:	 [Step 1/2] + VALID_TARGETS+=("all")
[17:07:54]W:	 [Step 1/2] + IFS=' '
[17:07:54]W:	 [Step 1/2] + for TARGET in "${TARGETS[@]}"
[17:07:54] :	 [Step 1/2] Trying to build an invalid target: bitcoind
[17:07:54] :	 [Step 1/2] *** Output of /tmp/sanitizer_logs/*.log.* ***
[17:07:54]W:	 [Step 1/2] + [[ !  install/strip install/local list_install_components rebuild_cache package_source check-all check-extended edit_cache check-upgrade-activated install check check-upgrade-activated-extended package src/install/strip src/list_install_components src/rebuild_cache src/edit_cache src/package_source src/package src/install src/libbitcoinconsensus.so.0 src/install/local src/config/install/strip src/config/install/local src/config/package_source src/config/package src/config/install src/config/edit_cache src/config/rebuild_cache src/config/list_install_components src/crypto/install/strip src/crypto/install/local src/crypto/install src/crypto/rebuild_cache src/crypto/edit_cache src/crypto/list_install_components src/crypto/package src/crypto/package_source src/leveldb/install/local src/leveldb/list_install_components src/leveldb/install/strip src/leveldb/rebuild_cache src/leveldb/install src/leveldb/edit_cache src/leveldb/package_source src/leveldb/package src/secp256k1/install/strip src/secp256k1/install/local src/secp256k1/install src/secp256k1/list_install_components src/secp256k1/rebuild_cache src/secp256k1/edit_cache src/secp256k1/package src/secp256k1/package_source src/univalue/install/strip src/univalue/install/local src/univalue/install src/univalue/edit_cache src/univalue/rebuild_cache src/univalue/package src/univalue/package_source src/univalue/list_install_components src/test/install/strip src/test/install/local src/test/rebuild_cache src/test/edit_cache src/test/package_source src/test/install src/test/list_install_components src/test/package src/test/fuzz/install/strip src/test/fuzz/rebuild_cache src/test/fuzz/package src/test/fuzz/install/local src/test/fuzz/install src/test/fuzz/package_source src/test/fuzz/edit_cache src/test/fuzz/list_install_components src/bench/install/strip src/bench/install/local src/bench/install src/bench/list_install_components src/bench/edit_cache src/bench/package src/bench/package_source src/bench/rebuild_cache src/wallet/install/strip src/wallet/install src/wallet/list_install_components src/wallet/install/local src/wallet/edit_cache src/wallet/package src/wallet/package_source src/wallet/rebuild_cache src/zmq/install/strip src/zmq/install/local src/zmq/install src/zmq/package src/zmq/package_source src/zmq/edit_cache src/zmq/rebuild_cache src/zmq/list_install_components src/seeder/install/strip src/seeder/install/local src/seeder/install src/seeder/list_install_components src/seeder/rebuild_cache src/seeder/edit_cache src/seeder/package src/seeder/package_source src/seeder/test/install/local src/seeder/test/rebuild_cache src/seeder/test/edit_cache src/seeder/test/package_source src/seeder/test/install/strip src/seeder/test/package src/seeder/test/list_install_components src/seeder/test/install src/qt/install/strip src/qt/install/local src/qt/install src/qt/list_install_components src/qt/edit_cache src/qt/package_source src/qt/package src/qt/rebuild_cache src/qt/locale/install/strip src/qt/locale/install/local src/qt/locale/install src/qt/locale/package src/qt/locale/package_source src/qt/locale/edit_cache src/qt/locale/rebuild_cache src/qt/locale/list_install_components src/qt/test/install/strip src/qt/test/install src/qt/test/list_install_components src/qt/test/rebuild_cache src/qt/test/install/local src/qt/test/package src/qt/test/package_source src/qt/test/edit_cache test/install/strip test/install/local test/edit_cache test/list_install_components test/package_source test/install test/package test/rebuild_cache contrib/install/strip contrib/install/local contrib/package_source contrib/package contrib/install contrib/edit_cache contrib/rebuild_cache contrib/list_install_components contrib/devtools/install/strip contrib/devtools/install/local contrib/devtools/install contrib/devtools/list_install_components contrib/devtools/rebuild_cache contrib/devtools/package contrib/devtools/package_source contrib/devtools/edit_cache doc/install/strip doc/install/local doc/package_source doc/package doc/install doc/edit_cache doc/rebuild_cache doc/list_install_components doc/man/install/strip doc/man/install/local doc/man/package_source doc/man/package doc/man/install doc/man/edit_cache doc/man/rebuild_cache doc/man/list_install_components address_deserialize addrman_deserialize arena_test autocompact_test banentry_deserialize bench-bitcoin bench-secp256k1 bench-secp256k1-ecmult bench-secp256k1-internal bench-secp256k1-recover bench-secp256k1-sign bench-secp256k1-verify bitcoin-fuzzers bitcoin-qt-base_autogen bitcoin-qt-protobuf_autogen bitcoin-qt_autogen block_deserialize blockheader_deserialize blocklocator_deserialize blockmerkleroot blocktransactions_deserialize blocktransactionsrequest_deserialize blockundo_deserialize bloom_test bloomfilter_deserialize build-native-gen_context build-native-univalue_gen c_test cache_test check-bitcoin check-bitcoin-activation_tests check-bitcoin-addrman_tests check-bitcoin-allocator_tests check-bitcoin-amount_tests check-bitcoin-arith_uint256_tests check-bitcoin-avalanche_tests check-bitcoin-base32_tests check-bitcoin-base58_tests check-bitcoin-base64_tests check-bitcoin-bip32_tests check-bitcoin-bitmanip_tests check-bitcoin-blockchain_tests check-bitcoin-blockcheck_tests check-bitcoin-blockencodings_tests check-bitcoin-blockfilter_index_tests check-bitcoin-blockfilter_tests check-bitcoin-blockindex_tests check-bitcoin-blockstatus_tests check-bitcoin-bloom_tests check-bitcoin-bswap_tests check-bitcoin-cashaddr_tests check-bitcoin-cashaddrenc_tests check-bitcoin-checkdatasig_tests check-bitcoin-checkpoints_tests check-bitcoin-checkqueue_tests check-bitcoin-coins_tests check-bitcoin-coinselector_tests check-bitcoin-compress_tests check-bitcoin-config_tests check-bitcoin-core_io_tests check-bitcoin-crypto_tests check-bitcoin-cuckoocache_tests check-bitcoin-db_tests check-bitcoin-dbwrapper_tests check-bitcoin-denialofservice_tests check-bitcoin-descriptor_tests check-bitcoin-dstencode_tests check-bitcoin-excessiveblock_tests check-bitcoin-feerate_tests check-bitcoin-finalization_tests check-bitcoin-flatfile_tests check-bitcoin-fs_tests check-bitcoin-getarg_tests check-bitcoin-hash_tests check-bitcoin-init_tests check-bitcoin-inv_tests check-bitcoin-key_io_tests check-bitcoin-key_tests check-bitcoin-lcg_tests check-bitcoin-limitedmap_tests check-bitcoin-mempool_policy_tests check-bitcoin-mempool_tests check-bitcoin-merkle_tests check-bitcoin-merkleblock_tests check-bitcoin-miner_tests check-bitcoin-monolith_opcodes_tests check-bitcoin-multisig_tests check-bitcoin-net_tests check-bitcoin-netbase_tests check-bitcoin-op_reversebytes_tests check-bitcoin-pmt_tests check-bitcoin-policyestimator_tests check-bitcoin-pow_tests check-bitcoin-prevector_tests check-bitcoin-psbt_wallet_tests check-bitcoin-qt check-bitcoin-qt-test_bitcoin-qt check-bitcoin-radix_tests check-bitcoin-raii_event_tests check-bitcoin-random_tests check-bitcoin-rcu_tests check-bitcoin-reverselock_tests check-bitcoin-rpc_server_tests check-bitcoin-rpc_tests check-bitcoin-rwcollection_tests check-bitcoin-sanity_tests check-bitcoin-scheduler_tests check-bitcoin-schnorr_tests check-bitcoin-script_bitfield_tests check-bitcoin-script_commitment_tests check-bitcoin-script_p2sh_tests check-bitcoin-script_standard_tests check-bitcoin-script_tests check-bitcoin-scriptnum_tests check-bitcoin-seeder check-bitcoin-seeder-p2p_messaging_tests check-bitcoin-seeder-parse_name_tests check-bitcoin-seeder-write_name_tests check-bitcoin-serialize_tests check-bitcoin-server_tests check-bitcoin-settings_tests check-bitcoin-sigcache_tests check-bitcoin-sigcheckcount_tests check-bitcoin-sigencoding_tests check-bitcoin-sighash_tests check-bitcoin-sighashtype_tests check-bitcoin-skiplist_tests check-bitcoin-streams_tests check-bitcoin-sync_tests check-bitcoin-timedata_tests check-bitcoin-torcontrol_tests check-bitcoin-transaction_tests check-bitcoin-txindex_tests check-bitcoin-txvalidation_tests check-bitcoin-txvalidationcache_tests check-bitcoin-uint256_tests check-bitcoin-undo_tests check-bitcoin-upgrade-activated check-bitcoin-upgrade-activated-activation_tests check-bitcoin-upgrade-activated-addrman_tests check-bitcoin-upgrade-activated-allocator_tests check-bitcoin-upgrade-activated-amount_tests check-bitcoin-upgrade-activated-arith_uint256_tests check-bitcoin-upgrade-activated-avalanche_tests check-bitcoin-upgrade-activated-base32_tests check-bitcoin-upgrade-activated-base58_tests check-bitcoin-upgrade-activated-base64_tests check-bitcoin-upgrade-activated-bip32_tests check-bitcoin-upgrade-activated-bitmanip_tests check-bitcoin-upgrade-activated-blockchain_tests check-bitcoin-upgrade-activated-blockcheck_tests check-bitcoin-upgrade-activated-blockencodings_tests check-bitcoin-upgrade-activated-blockfilter_index_tests check-bitcoin-upgrade-activated-blockfilter_tests check-bitcoin-upgrade-activated-blockindex_tests check-bitcoin-upgrade-activated-blockstatus_tests check-bitcoin-upgrade-activated-bloom_tests check-bitcoin-upgrade-activated-bswap_tests check-bitcoin-upgrade-activated-cashaddr_tests check-bitcoin-upgrade-activated-cashaddrenc_tests check-bitcoin-upgrade-activated-checkdatasig_tests check-bitcoin-upgrade-activated-checkpoints_tests check-bitcoin-upgrade-activated-checkqueue_tests check-bitcoin-upgrade-activated-coins_tests check-bitcoin-upgrade-activated-coinselector_tests check-bitcoin-upgrade-activated-compress_tests check-bitcoin-upgrade-activated-config_tests check-bitcoin-upgrade-activated-core_io_tests check-bitcoin-upgrade-activated-crypto_tests check-bitcoin-upgrade-activated-cuckoocache_tests check-bitcoin-upgrade-activated-db_tests check-bitcoin-upgrade-activated-dbwrapper_tests check-bitcoin-upgrade-activated-denialofservice_tests check-bitcoin-upgrade-activated-descriptor_tests check-bitcoin-upgrade-activated-dstencode_tests check-bitcoin-upgrade-activated-excessiveblock_tests check-bitcoin-upgrade-activated-feerate_tests check-bitcoin-upgrade-activated-finalization_tests check-bitcoin-upgrade-activated-flatfile_tests check-bitcoin-upgrade-activated-fs_tests check-bitcoin-upgrade-activated-getarg_tests check-bitcoin-upgrade-activated-hash_tests check-bitcoin-upgrade-activated-init_tests check-bitcoin-upgrade-activated-inv_tests check-bitcoin-upgrade-activated-key_io_tests check-bitcoin-upgrade-activated-key_tests check-bitcoin-upgrade-activated-lcg_tests check-bitcoin-upgrade-activated-limitedmap_tests check-bitcoin-upgrade-activated-mempool_policy_tests check-bitcoin-upgrade-activated-mempool_tests check-bitcoin-upgrade-activated-merkle_tests check-bitcoin-upgrade-activated-merkleblock_tests check-bitcoin-upgrade-activated-miner_tests check-bitcoin-upgrade-activated-monolith_opcodes_tests check-bitcoin-upgrade-activated-multisig_tests check-bitcoin-upgrade-activated-net_tests check-bitcoin-upgrade-activated-netbase_tests check-bitcoin-upgrade-activated-op_reversebytes_tests check-bitcoin-upgrade-activated-pmt_tests check-bitcoin-upgrade-activated-policyestimator_tests check-bitcoin-upgrade-activated-pow_tests check-bitcoin-upgrade-activated-prevector_tests check-bitcoin-upgrade-activated-psbt_wallet_tests check-bitcoin-upgrade-activated-radix_tests check-bitcoin-upgrade-activated-raii_event_tests check-bitcoin-upgrade-activated-random_tests check-bitcoin-upgrade-activated-rcu_tests check-bitcoin-upgrade-activated-reverselock_tests check-bitcoin-upgrade-activated-rpc_server_tests check-bitcoin-upgrade-activated-rpc_tests check-bitcoin-upgrade-activated-rwcollection_tests check-bitcoin-upgrade-activated-sanity_tests check-bitcoin-upgrade-activated-scheduler_tests check-bitcoin-upgrade-activated-schnorr_tests check-bitcoin-upgrade-activated-script_bitfield_tests check-bitcoin-upgrade-activated-script_commitment_tests check-bitcoin-upgrade-activated-script_p2sh_tests check-bitcoin-upgrade-activated-script_standard_tests check-bitcoin-upgrade-activated-script_tests check-bitcoin-upgrade-activated-scriptnum_tests check-bitcoin-upgrade-activated-serialize_tests check-bitcoin-upgrade-activated-server_tests check-bitcoin-upgrade-activated-settings_tests check-bitcoin-upgrade-activated-sigcache_tests check-bitcoin-upgrade-activated-sigcheckcount_tests check-bitcoin-upgrade-activated-sigencoding_tests check-bitcoin-upgrade-activated-sighash_tests check-bitcoin-upgrade-activated-sighashtype_tests check-bitcoin-upgrade-activated-skiplist_tests check-bitcoin-upgrade-activated-streams_tests check-bitcoin-upgrade-activated-sync_tests check-bitcoin-upgrade-activated-timedata_tests check-bitcoin-upgrade-activated-torcontrol_tests check-bitcoin-upgrade-activated-transaction_tests check-bitcoin-upgrade-activated-txindex_tests check-bitcoin-upgrade-activated-txvalidation_tests check-bitcoin-upgrade-activated-txvalidationcache_tests check-bitcoin-upgrade-activated-uint256_tests check-bitcoin-upgrade-activated-undo_tests check-bitcoin-upgrade-activated-util_tests check-bitcoin-upgrade-activated-util_threadnames_tests check-bitcoin-upgrade-activated-validation_block_tests check-bitcoin-upgrade-activated-validation_tests check-bitcoin-upgrade-activated-versionbits_tests check-bitcoin-upgrade-activated-wallet_crypto_tests check-bitcoin-upgrade-activated-wallet_tests check-bitcoin-upgrade-activated-walletdb_tests check-bitcoin-upgrade-activated-work_comparator_tests check-bitcoin-util check-bitcoin-util_tests check-bitcoin-util_threadnames_tests check-bitcoin-validation_block_tests check-bitcoin-validation_tests check-bitcoin-versionbits_tests check-bitcoin-wallet_crypto_tests check-bitcoin-wallet_tests check-bitcoin-walletdb_tests check-bitcoin-work_comparator_tests check-devtools check-devtools-test_make_chainparams.py check-functional check-functional-extended check-functional-upgrade-activated check-functional-upgrade-activated-extended check-leveldb check-leveldb-arena_test check-leveldb-autocompact_test check-leveldb-bloom_test check-leveldb-c_test check-leveldb-cache_test check-leveldb-coding_test check-leveldb-corruption_test check-leveldb-crc32c_test check-leveldb-db_test check-leveldb-dbformat_test check-leveldb-env_posix_test check-leveldb-env_test check-leveldb-fault_injection_test check-leveldb-filename_test check-leveldb-filter_block_test check-leveldb-hash_test check-leveldb-issue178_test check-leveldb-issue200_test check-leveldb-log_test check-leveldb-memenv_test check-leveldb-recovery_test check-leveldb-skiplist_test check-leveldb-table_test check-leveldb-version_edit_test check-leveldb-version_set_test check-leveldb-write_batch_test check-rpcauth check-secp256k1 check-secp256k1-secp256k1-exhaustive_tests check-secp256k1-secp256k1-tests check-univalue check-univalue-no_nul_test check-univalue-object_test check-univalue-unitester_test coding_test coins_deserialize corruption_test crc32c_test db_test dbformat_test diskblockindex_deserialize env_posix_test env_test fault_injection_test filename_test filter_block_test fuzz-address_deserialize fuzz-addrman_deserialize fuzz-banentry_deserialize fuzz-block_deserialize fuzz-blockheader_deserialize fuzz-blocklocator_deserialize fuzz-blockmerkleroot fuzz-blocktransactions_deserialize fuzz-blocktransactionsrequest_deserialize fuzz-blockundo_deserialize fuzz-bloomfilter_deserialize fuzz-coins_deserialize fuzz-diskblockindex_deserialize fuzz-inv_deserialize fuzz-messageheader_deserialize fuzz-netaddr_deserialize fuzz-script_flags fuzz-service_deserialize fuzz-transaction_deserialize fuzz-txoutcompressor_deserialize fuzz-txundo_deserialize generate_univalue_escapes_h hash_test inv_deserialize issue178_test issue200_test json_test leveldb_test_base libbitcoin-qt-base.a libbitcoinconsensus.a libbitcoinconsensus.so libcommon.a libcrypto.a libcrypto_avx2.a libcrypto_shani.a libcrypto_sse4.1.a libleveldb-sse4.2.a libleveldb.a libleveldb_test_base.a libmemenv.a librpcclient.a libscript.a libsecp256k1.a libseeder.a libserver.a libunivalue.a libutil.a libwallet-tool.a libwallet.a libzmq.a locales log_test memenv_test messageheader_deserialize native-cmake-build netaddr_deserialize no_nul_test object_test recovery_test script_flags secp256k1-exhaustive_tests secp256k1-tests security-check security-check-bitcoin-cli security-check-bitcoin-qt security-check-bitcoin-seeder security-check-bitcoin-tx security-check-bitcoin-wallet security-check-bitcoind service_deserialize skiplist_test symbol-check symbol-check-bitcoin-cli symbol-check-bitcoin-qt symbol-check-bitcoin-seeder symbol-check-bitcoin-tx symbol-check-bitcoin-wallet symbol-check-bitcoind table_test test_bitcoin test_bitcoin-qt test_bitcoin-qt_autogen test_bitcoin-seeder transaction_deserialize translate txoutcompressor_deserialize txundo_deserialize unitester_test version_edit_test version_set_test write_batch_test build.ninja clean help all  =~  bitcoind  ]]
[17:07:54]W:	 [Step 1/2] + echo 'Trying to build an invalid target: bitcoind'
[17:07:54]W:	 [Step 1/2] + exit 2
[17:07:54]W:	 [Step 1/2] ++ print_sanitizers_log
[17:07:54]W:	 [Step 1/2] ++ for log in "${SAN_LOG_DIR}"/*.log.*
[17:07:54]W:	 [Step 1/2] ++ echo '*** Output of /tmp/sanitizer_logs/*.log.* ***'
[17:07:54]W:	 [Step 1/2] ++ cat '/tmp/sanitizer_logs/*.log.*'
[17:07:54]W:	 [Step 1/2] cat: '/tmp/sanitizer_logs/*.log.*': No such file or directory
[17:07:54]W:	 [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[17:07:58]W:	 [Step 1/2] Process exited with code 1
[17:07:58]E:	 [Step 1/2] Process exited with code 1 (Step: Command Line)
contrib/devtools/build_cmake.sh
28 ↗(On Diff #20899)

Oups, this command fails on my machine so I commented it out... fixing

45 ↗(On Diff #20899)

How is that weird ? Usual commands can take options anywhere

55 ↗(On Diff #20899)

It's bash 4 only, but since this is only used in controlled environment it shouldn't be an issue.

contrib/devtools/build_cmake.sh
45 ↗(On Diff #20899)

Can you provide an example command that does it this way? Every command that I've encountered that accepts an arbitrary number of args consumes options and then the list, but never in reverse or any mixed combination.

Use ninja -t targets all for older ninja versions.

Snippet of first build failure:

[21:13:40]i:		 [Bitcoin ABC benchmarks] AES128CBC_EncryptNoPad
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES128CBC_EncryptWithPad
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES128_Decrypt
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES128_Encrypt
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES256CBC_DecryptNoPad
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES256CBC_DecryptWithPad
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES256CBC_EncryptNoPad
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES256CBC_EncryptWithPad
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES256_Decrypt
[21:13:40]i:		 [Bitcoin ABC benchmarks] AES256_Encrypt
[21:13:40]i:		 [Bitcoin ABC benchmarks] AssembleBlock
[21:13:40]i:		 [Bitcoin ABC benchmarks] Base58CheckEncode
[21:13:40]i:		 [Bitcoin ABC benchmarks] Base58Decode
[21:13:40]i:		 [Bitcoin ABC benchmarks] Base58Encode
[21:13:40]i:		 [Bitcoin ABC benchmarks] BenchLockedPool
[21:13:40]i:		 [Bitcoin ABC benchmarks] BenchTimeDeprecated
[21:13:40]i:		 [Bitcoin ABC benchmarks] BenchTimeMillis
[21:13:40]i:		 [Bitcoin ABC benchmarks] BenchTimeMillisSys
[21:13:40]i:		 [Bitcoin ABC benchmarks] BenchTimeMock
[21:13:40]i:		 [Bitcoin ABC benchmarks] BlockToJsonVerbose
[21:13:40]i:		 [Bitcoin ABC benchmarks] BnBExhaustion
[21:13:40]i:		 [Bitcoin ABC benchmarks] CCheckQueueSpeedPrevectorJob
[21:13:40]i:		 [Bitcoin ABC benchmarks] CCoinsCaching
[21:13:40]i:		 [Bitcoin ABC benchmarks] CashAddrDecode
[21:13:40]i:		 [Bitcoin ABC benchmarks] CashAddrEncode
[21:13:40]i:		 [Bitcoin ABC benchmarks] CoinSelection
[21:13:40]i:		 [Bitcoin ABC benchmarks] ConstructGCSFilter
[21:13:40]i:		 [Bitcoin ABC benchmarks] DeserializeAndCheckBlockTest
[21:13:40]i:		 [Bitcoin ABC benchmarks] DeserializeBlockTest
[21:13:40]i:		 [Bitcoin ABC benchmarks] DuplicateInputs
[21:13:40]i:		 [Bitcoin ABC benchmarks] FastRandom_1bit
[21:13:40]i:		 [Bitcoin ABC benchmarks] FastRandom_32bit
[21:13:40]i:		 [Bitcoin ABC benchmarks] MatchGCSFilter
[21:13:40]i:		 [Bitcoin ABC benchmarks] MempoolEviction
[21:13:40]i:		 [Bitcoin ABC benchmarks] MerkleRoot
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorClearNontrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorClearTrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorDeserializeNontrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorDeserializeTrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorDestructorNontrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorDestructorTrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorResizeNontrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] PrevectorResizeTrivial
[21:13:40]i:		 [Bitcoin ABC benchmarks] RIPEMD160
[21:13:40]i:		 [Bitcoin ABC benchmarks] RollingBloom
[21:13:40]i:		 [Bitcoin ABC benchmarks] RpcMempool
[21:13:40]i:		 [Bitcoin ABC benchmarks] SHA1
[21:13:40]i:		 [Bitcoin ABC benchmarks] SHA256
[21:13:40]i:		 [Bitcoin ABC benchmarks] SHA256D64_1024
[21:13:40]i:		 [Bitcoin ABC benchmarks] SHA256_32b
[21:13:40]i:		 [Bitcoin ABC benchmarks] SHA512
[21:13:40]i:		 [Bitcoin ABC benchmarks] SipHash_32b
[21:13:40]i:		 [Bitcoin ABC benchmarks] Sleep100ms
[21:13:40]i:		 [Bitcoin ABC benchmarks] Trig
[21:13:40]i:		 [Bitcoin ABC benchmarks] WalletBalanceClean
[21:13:40]i:		 [Bitcoin ABC benchmarks] WalletBalanceDirty
[21:13:40]i:		 [Bitcoin ABC benchmarks] WalletBalanceMine
[21:13:40]i:		 [Bitcoin ABC benchmarks] WalletBalanceWatch
[21:13:41]W:	 [Step 1/2] Process exited with code 1
[21:13:41]E:	 [Step 1/2] Process exited with code 1 (Step: Command Line)
This revision is now accepted and ready to land.Jun 4 2020, 21:15