Skip to content

Instantly share code, notes, and snippets.

@dchmelik
Created March 19, 2025 05:17
Show Gist options
  • Save dchmelik/2c7002a25862b39d9ab57e363987baef to your computer and use it in GitHub Desktop.
Save dchmelik/2c7002a25862b39d9ab57e363987baef to your computer and use it in GitHub Desktop.
feathercoin make error log
Making all in src
make[1]: Entering directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2/src'
make[2]: Entering directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2/src'
make[3]: Entering directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2'
make[3]: Leaving directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2'
CXX libbitcoin_server_a-net_processing.o
CXX node/libbitcoin_server_a-coin.o
CXX node/libbitcoin_server_a-coinstats.o
CXX node/libbitcoin_server_a-psbt.o
CXX node/libbitcoin_server_a-transaction.o
CXX libbitcoin_server_a-noui.o
CXX policy/libbitcoin_server_a-fees.o
CXX policy/libbitcoin_server_a-rbf.o
CXX policy/libbitcoin_server_a-settings.o
CXX libbitcoin_server_a-pow.o
CXX libbitcoin_server_a-rest.o
CXX rpc/libbitcoin_server_a-blockchain.o
CXX rpc/libbitcoin_server_a-mining.o
CXX rpc/libbitcoin_server_a-misc.o
CXX rpc/libbitcoin_server_a-net.o
CXX rpc/libbitcoin_server_a-rawtransaction.o
CXX rpc/libbitcoin_server_a-server.o
CXX script/libbitcoin_server_a-sigcache.o
CXX libbitcoin_server_a-shutdown.o
CXX libbitcoin_server_a-timedata.o
CXX libbitcoin_server_a-torcontrol.o
CXX libbitcoin_server_a-txdb.o
CXX libbitcoin_server_a-txmempool.o
CXX libbitcoin_server_a-ui_interface.o
CXX libbitcoin_server_a-validation.o
CXX libbitcoin_server_a-validationinterface.o
CXX libbitcoin_server_a-versionbits.o
CXX wallet/libbitcoin_server_a-init.o
CXX interfaces/libbitcoin_wallet_a-wallet.o
CXX wallet/libbitcoin_wallet_a-coincontrol.o
CXX wallet/libbitcoin_wallet_a-crypter.o
CXX wallet/libbitcoin_wallet_a-db.o
CXX wallet/libbitcoin_wallet_a-feebumper.o
CXX wallet/libbitcoin_wallet_a-fees.o
CXX wallet/libbitcoin_wallet_a-ismine.o
CXX wallet/libbitcoin_wallet_a-load.o
CXX wallet/libbitcoin_wallet_a-psbtwallet.o
CXX wallet/libbitcoin_wallet_a-rpcdump.o
CXX wallet/libbitcoin_wallet_a-rpcwallet.o
CXX wallet/libbitcoin_wallet_a-walletdb.o
CXX wallet/libbitcoin_wallet_a-wallet.o
CXX wallet/libbitcoin_wallet_a-walletutil.o
CXX wallet/libbitcoin_wallet_a-coinselection.o
CXX libbitcoin_common_a-base58.o
CXX libbitcoin_common_a-bech32.o
CXX libbitcoin_common_a-bloom.o
CXX libbitcoin_common_a-chainparams.o
CXX libbitcoin_common_a-coins.o
CXX libbitcoin_common_a-compressor.o
CXX libbitcoin_common_a-core_read.o
CXX libbitcoin_common_a-core_write.o
CXX libbitcoin_common_a-key.o
CXX libbitcoin_common_a-key_io.o
CXX libbitcoin_common_a-merkleblock.o
CXX libbitcoin_common_a-netaddress.o
CXX libbitcoin_common_a-netbase.o
CXX libbitcoin_common_a-net_permissions.o
CXX libbitcoin_common_a-outputtype.o
CXX policy/libbitcoin_common_a-feerate.o
CXX policy/libbitcoin_common_a-policy.o
CXX libbitcoin_common_a-protocol.o
CXX libbitcoin_common_a-psbt.o
CXX rpc/libbitcoin_common_a-rawtransaction_util.o
CXX rpc/libbitcoin_common_a-util.o
CXX libbitcoin_common_a-scheduler.o
CXX script/libbitcoin_common_a-descriptor.o
CXX script/libbitcoin_common_a-sign.o
CXX script/libbitcoin_common_a-signingprovider.o
CXX script/libbitcoin_common_a-standard.o
CXX libbitcoin_common_a-versionbitsinfo.o
CXX libbitcoin_common_a-warnings.o
make[3]: Entering directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2/src/univalue'
CXX lib/libunivalue_la-univalue.lo
CXX support/libbitcoin_util_a-lockedpool.o
CXX lib/libunivalue_la-univalue_get.lo
psbt.cpp: In function ‘TransactionError CombinePSBTs(PartiallySignedTransaction&, const std::vector<PartiallySignedTransaction>&)’:
psbt.cpp:341:19: warning: implicitly-declared ‘PartiallySignedTransaction& PartiallySignedTransaction::operator=(const PartiallySignedTransaction&)’ is deprecated [-Wdeprecated-copy]
341 | out = psbtxs[0]; // Copy the first one
| ^
In file included from psbt.cpp:5:
./psbt.h:398:5: note: because ‘PartiallySignedTransaction’ has user-provided ‘PartiallySignedTransaction::PartiallySignedTransaction(const PartiallySignedTransaction&)’
398 | PartiallySignedTransaction(const PartiallySignedTransaction& psbt_in) : tx(psbt_in.tx), inputs(psbt_in.inputs), outputs(psbt_in.outputs), unknown(psbt_in.unknown) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
CXX lib/libunivalue_la-univalue_read.lo
CXX libbitcoin_util_a-chainparamsbase.o
CXX compat/libbitcoin_util_a-glibc_sanity_fdelt.o
protocol.cpp: In constructor ‘CMessageHeader::CMessageHeader(const unsigned char (&)[4], const char*, unsigned int)’:
protocol.cpp:93:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 12 equals destination size [-Wstringop-truncation]
93 | strncpy(pchCommand, pszCommand, COMMAND_SIZE);
| ^
CXX compat/libbitcoin_util_a-glibc_sanity.o
CXX compat/libbitcoin_util_a-glibcxx_sanity.o
CXX lib/libunivalue_la-univalue_write.lo
CXX compat/libbitcoin_util_a-strnlen.o
rpc/rawtransaction_util.cpp: In function ‘CMutableTransaction ConstructTransaction(const UniValue&, const UniValue&, const UniValue&, bool)’:
rpc/rawtransaction_util.cpp:46:25: warning: possibly dangling reference to a temporary [-Wdangling-reference]
46 | const UniValue& vout_v = find_value(o, "vout");
| ^~~~~~
rpc/rawtransaction_util.cpp:46:44: note: the temporary was destroyed at the end of the full expression ‘find_value((* & o), std::__cxx11::basic_string<char>(((const char*)"vout"), std::allocator<char>()))’
46 | const UniValue& vout_v = find_value(o, "vout");
| ~~~~~~~~~~^~~~~~~~~~~
rpc/rawtransaction_util.cpp:63:25: warning: possibly dangling reference to a temporary [-Wdangling-reference]
63 | const UniValue& sequenceObj = find_value(o, "sequence");
| ^~~~~~~~~~~
rpc/rawtransaction_util.cpp:63:49: note: the temporary was destroyed at the end of the full expression ‘find_value((* & o), std::__cxx11::basic_string<char>(((const char*)"sequence"), std::allocator<char>()))’
63 | const UniValue& sequenceObj = find_value(o, "sequence");
| ~~~~~~~~~~^~~~~~~~~~~~~~~
CXX interfaces/libbitcoin_util_a-handler.o
CXX libbitcoin_util_a-fs.o
CXX libbitcoin_util_a-logging.o
CXX libbitcoin_util_a-random.o
CXX rpc/libbitcoin_util_a-request.o
CXX support/libbitcoin_util_a-cleanse.o
CXX libbitcoin_util_a-sync.o
CXX util/libbitcoin_util_a-bip32.o
CXX libbitcoin_util_a-threadinterrupt.o
CXX util/libbitcoin_util_a-bytevectorhash.o
CXX util/libbitcoin_util_a-error.o
CXX util/libbitcoin_util_a-fees.o
CXX util/libbitcoin_util_a-system.o
CXX util/libbitcoin_util_a-moneystr.o
CXX util/libbitcoin_util_a-rbf.o
CXX util/libbitcoin_util_a-threadnames.o
CXX util/libbitcoin_util_a-strencodings.o
CXX util/libbitcoin_util_a-string.o
CXX util/libbitcoin_util_a-time.o
CXX util/libbitcoin_util_a-url.o
CXX util/libbitcoin_util_a-validation.o
CXX libbitcoin_consensus_a-arith_uint256.o
CXX consensus/libbitcoin_consensus_a-merkle.o
CXX consensus/libbitcoin_consensus_a-tx_check.o
CXX libbitcoin_consensus_a-hash.o
CXX primitives/libbitcoin_consensus_a-block.o
CXX primitives/libbitcoin_consensus_a-transaction.o
CXX libbitcoin_consensus_a-pubkey.o
CXX script/libbitcoin_consensus_a-bitcoinconsensus.o
CXX script/libbitcoin_consensus_a-interpreter.o
wallet/walletutil.cpp: In function ‘std::vector<boost::filesystem::path> ListWalletDir()’:
wallet/walletutil.cpp:77:23: error: ‘class boost::filesystem::recursive_directory_iterator’ has no member named ‘level’
77 | } else if (it.level() == 0 && it->symlink_status().type() == fs::regular_file && IsBerkeleyBtree(it->path())) {
| ^~~~~
CXX script/libbitcoin_consensus_a-script.o
CXX script/libbitcoin_consensus_a-script_error.o
CXX libbitcoin_consensus_a-uint256.o
CXX util/libbitcoin_consensus_a-strencodings.o
CXX crypto/libbitcoin_crypto_base_a-aes.o
CXX crypto/libbitcoin_crypto_base_a-chacha_poly_aead.o
CXX crypto/libbitcoin_crypto_base_a-chacha20.o
CXX crypto/libbitcoin_crypto_base_a-hkdf_sha256_32.o
CXX crypto/libbitcoin_crypto_base_a-hmac_sha256.o
CXX crypto/libbitcoin_crypto_base_a-hmac_sha512.o
CC crypto/libbitcoin_crypto_base_a-neoscrypt.o
wallet/db.cpp: In member function ‘bool BerkeleyDatabase::Backup(const std::string&)’:
wallet/db.cpp:883:58: error: ‘fs::copy_option’ has not been declared
883 | fs::copy_file(pathSrc, pathDest, fs::copy_option::overwrite_if_exists);
| ^~~~~~~~~~~
rpc/mining.cpp: In function ‘UniValue getblocktemplate(const JSONRPCRequest&)’:
rpc/mining.cpp:372:25: warning: possibly dangling reference to a temporary [-Wdangling-reference]
372 | const UniValue& modeval = find_value(oparam, "mode");
| ^~~~~~~
rpc/mining.cpp:372:45: note: the temporary was destroyed at the end of the full expression ‘find_value((* & oparam), std::__cxx11::basic_string<char>(((const char*)"mode"), std::allocator<char>()))’
372 | const UniValue& modeval = find_value(oparam, "mode");
| ~~~~~~~~~~^~~~~~~~~~~~~~~~
rpc/mining.cpp:385:29: warning: possibly dangling reference to a temporary [-Wdangling-reference]
385 | const UniValue& dataval = find_value(oparam, "data");
| ^~~~~~~
rpc/mining.cpp:385:49: note: the temporary was destroyed at the end of the full expression ‘find_value((* & oparam), std::__cxx11::basic_string<char>(((const char*)"data"), std::allocator<char>()))’
385 | const UniValue& dataval = find_value(oparam, "data");
| ~~~~~~~~~~^~~~~~~~~~~~~~~~
rpc/mining.cpp:412:25: warning: possibly dangling reference to a temporary [-Wdangling-reference]
412 | const UniValue& aClientRules = find_value(oparam, "rules");
| ^~~~~~~~~~~~
rpc/mining.cpp:412:50: note: the temporary was destroyed at the end of the full expression ‘find_value((* & oparam), std::__cxx11::basic_string<char>(((const char*)"rules"), std::allocator<char>()))’
412 | const UniValue& aClientRules = find_value(oparam, "rules");
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
rpc/mining.cpp:420:29: warning: possibly dangling reference to a temporary [-Wdangling-reference]
420 | const UniValue& uvMaxVersion = find_value(oparam, "maxversion");
| ^~~~~~~~~~~~
rpc/mining.cpp:420:54: note: the temporary was destroyed at the end of the full expression ‘find_value((* & oparam), std::__cxx11::basic_string<char>(((const char*)"maxversion"), std::allocator<char>()))’
420 | const UniValue& uvMaxVersion = find_value(oparam, "maxversion");
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CXX crypto/libbitcoin_crypto_base_a-poly1305.o
CXX crypto/libbitcoin_crypto_base_a-ripemd160.o
CXX crypto/libbitcoin_crypto_base_a-sha1.o
CXX crypto/libbitcoin_crypto_base_a-sha256.o
CXX crypto/libbitcoin_crypto_base_a-sha512.o
CXX crypto/libbitcoin_crypto_base_a-siphash.o
CXX crypto/libbitcoin_crypto_base_a-sha256_sse4.o
CXX crypto/libbitcoin_crypto_sse41_a-sha256_sse41.o
CXX crypto/libbitcoin_crypto_avx2_a-sha256_avx2.o
make[2]: *** [Makefile:9206: wallet/libbitcoin_wallet_a-walletutil.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CXXLD libunivalue.la
make[3]: Leaving directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2/src/univalue'
make[2]: *** [Makefile:9066: wallet/libbitcoin_wallet_a-db.o] Error 1
net_processing.cpp: In function ‘void RelayAddress(const CAddress&, bool, CConnman*)’:
net_processing.cpp:1335:47: error: variable ‘std::array<std::pair<long unsigned int, CNode*>, 2> best’ has initializer but incomplete type
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
net_processing.cpp:32:1: note: ‘std::array’ is defined in header ‘<array>’; this is probably fixable by adding ‘#include <array>’
31 | #include <util/validation.h>
+++ |+#include <array>
32 |
net_processing.cpp: In lambda function:
net_processing.cpp:1342:32: error: ‘best’ is not captured
1342 | if (hashKey > best[i].first) {
| ^~~~
net_processing.cpp:1338:49: note: the lambda has no capture-default
1338 | auto sortfunc = [&best, &hasher, nRelayNodes](CNode* pnode) {
| ^
net_processing.cpp:1335:47: note: ‘<typeprefixerror>best’ declared here
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
net_processing.cpp:1343:32: error: ‘best’ is not captured
1343 | std::copy(best.begin() + i, best.begin() + nRelayNodes - 1, best.begin() + i + 1);
| ^~~~
net_processing.cpp:1338:49: note: the lambda has no capture-default
1338 | auto sortfunc = [&best, &hasher, nRelayNodes](CNode* pnode) {
| ^
net_processing.cpp:1335:47: note: ‘<typeprefixerror>best’ declared here
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
net_processing.cpp:1343:50: error: ‘best’ is not captured
1343 | std::copy(best.begin() + i, best.begin() + nRelayNodes - 1, best.begin() + i + 1);
| ^~~~
net_processing.cpp:1338:49: note: the lambda has no capture-default
1338 | auto sortfunc = [&best, &hasher, nRelayNodes](CNode* pnode) {
| ^
net_processing.cpp:1335:47: note: ‘<typeprefixerror>best’ declared here
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
net_processing.cpp:1343:82: error: ‘best’ is not captured
1343 | std::copy(best.begin() + i, best.begin() + nRelayNodes - 1, best.begin() + i + 1);
| ^~~~
net_processing.cpp:1338:49: note: the lambda has no capture-default
1338 | auto sortfunc = [&best, &hasher, nRelayNodes](CNode* pnode) {
| ^
net_processing.cpp:1335:47: note: ‘<typeprefixerror>best’ declared here
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
net_processing.cpp:1344:22: error: ‘best’ is not captured
1344 | best[i] = std::make_pair(hashKey, pnode);
| ^~~~
net_processing.cpp:1338:49: note: the lambda has no capture-default
1338 | auto sortfunc = [&best, &hasher, nRelayNodes](CNode* pnode) {
| ^
net_processing.cpp:1335:47: note: ‘<typeprefixerror>best’ declared here
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
net_processing.cpp: In lambda function:
net_processing.cpp:1352:53: error: ‘best’ is not captured
1352 | for (unsigned int i = 0; i < nRelayNodes && best[i].first != 0; i++) {
| ^~~~
net_processing.cpp:1351:63: note: the lambda has no capture-default
1351 | auto pushfunc = [&addr, &best, nRelayNodes, &insecure_rand] {
| ^
net_processing.cpp:1335:47: note: ‘<typeprefixerror>best’ declared here
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
net_processing.cpp:1353:13: error: ‘best’ is not captured
1353 | best[i].second->PushAddress(addr, insecure_rand);
| ^~~~
net_processing.cpp:1351:63: note: the lambda has no capture-default
1351 | auto pushfunc = [&addr, &best, nRelayNodes, &insecure_rand] {
| ^
net_processing.cpp:1335:47: note: ‘<typeprefixerror>best’ declared here
1335 | std::array<std::pair<uint64_t, CNode*>,2> best{{{0, nullptr}, {0, nullptr}}};
| ^~~~
make[2]: *** [Makefile:8212: libbitcoin_server_a-net_processing.o] Error 1
make[2]: Leaving directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2/src'
make[1]: *** [Makefile:13877: all-recursive] Error 1
make[1]: Leaving directory '/home/d/math/src/network/cryptocurrency/Feathercoin-0.19.2/src'
make: *** [Makefile:783: all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment