shugacoin-project / shugacoin

The world's fastest PoW blockchain
https://shugacoin.org
MIT License
3 stars 0 forks source link

Error Building in ubuntiu #1

Open dedetuga opened 1 month ago

dedetuga commented 1 month ago

make Making all in src make[1]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[2]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[3]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin" make[3]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin" CXX libbitcoin_server_a-httpserver.o httpserver.cpp:74:10: error: ‘deque’ in namespace ‘std’ does not name a template type 74 | std::deque<std::unique_ptr> queue; | ^~~~~ httpserver.cpp:33:1: note: ‘std::deque’ is defined in header ‘’; did you forget to ‘#include ’? 32 | #include <support/events.h> +++ |+#include 33 | httpserver.cpp: In member function ‘bool WorkQueue::Enqueue(WorkItem*)’: httpserver.cpp:92:13: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’? 92 | if (queue.size() >= maxDepth) { | ^~~~~ | Enqueue httpserver.cpp:95:9: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’? 95 | queue.emplace_back(std::unique_ptr(item)); | ^~~~~ | Enqueue httpserver.cpp: In member function ‘void WorkQueue::Run()’: httpserver.cpp:106:35: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’? 106 | while (running && queue.empty()) | ^~~~~ | Enqueue httpserver.cpp:110:31: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’? 110 | i = std::move(queue.front()); | ^~~~~ | Enqueue make[2]: [Makefile:6087: libbitcoin_server_a-httpserver.o] Erro 1 make[2]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[1]: [Makefile:9972: all-recursive] Erro 1 make[1]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make: *** [Makefile:750: all-recursive] Erro 1

dedetuga commented 1 month ago

....and multiples files not running because : Permission denied like, autogen, db4.8, genbuild.sh....

dedetuga commented 1 month ago

make check -j$(nproc)

make check -j$(nproc) Making check in src make[1]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[2]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[3]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin" make[3]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin" make[3]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src/secp256k1" make[3]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src/secp256k1" make check-TESTS check-local make[3]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" Running test/util/bitcoin-util-test.py... /usr/bin/python3 ../test/util/bitcoin-util-test.py /home/filipe/Transferências/Shugacoin/shugacoin/src/../test/util/bitcoin-util-test.py:31: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead. config.readfp(open(os.path.join(os.path.dirname(file), "../config.ini"))) 2024-06-13 22:10:50,077 - ERROR - Output data mismatch for txcreate1.hex (format hex) 2024-06-13 22:10:50,077 - ERROR - Output formatting mismatch for txcreate1.hex: *** txcreate1.hex --- returned


* 1 **

2024-06-13 22:10:50,085 - ERROR - Error parsing command output as json: Expecting value: line 1 column 1 (char 0) make[4]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" 2024-06-13 22:10:50,166 - ERROR - Output data mismatch for txcreatescript3.json (format json) 2024-06-13 22:10:50,166 - ERROR - Output formatting mismatch for txcreatescript3.json: *** txcreatescript3.json --- returned


* 17,23 ** "reqSigs": 1, "type": "witness_v0_scripthash", "addresses": [ ! "shuga1qp0lfxhnscvsu0j36l36uurgv5tuck4pzuqytkvwqp3kh78cupttqun49la" ] } } --- 17,23 ---- "reqSigs": 1, "type": "witness_v0_scripthash", "addresses": [ ! "shuga1qp0lfxhnscvsu0j36l36uurgv5tuck4pzuqytkvwqp3kh78cupttqkdhkjc" ] } }

make[5]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin" make[5]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin" 2024-06-13 22:10:50,198 - ERROR - Output data mismatch for txcreatesignv1.hex (format hex) 2024-06-13 22:10:50,198 - ERROR - Output formatting mismatch for txcreatesignv1.hex: *** txcreatesignv1.hex --- returned


* 1 **

2024-06-13 22:10:50,213 - ERROR - Error parsing command output as json: Expecting value: line 1 column 1 (char 0) 2024-06-13 22:10:50,228 - ERROR - Output data mismatch for txcreatesignv2.hex (format hex) 2024-06-13 22:10:50,229 - ERROR - Output formatting mismatch for txcreatesignv2.hex: *** txcreatesignv2.hex --- returned


* 1 **

make[5]: a entrar na pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src/secp256k1" make[5]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src/secp256k1" 2024-06-13 22:10:50,288 - ERROR - Output data mismatch for txcreateoutpubkey2.json (format json) 2024-06-13 22:10:50,288 - ERROR - Output formatting mismatch for txcreateoutpubkey2.json: *** txcreateoutpubkey2.json --- returned


* 17,23 ** "reqSigs": 1, "type": "witness_v0_keyhash", "addresses": [ ! "shuga1q5fgkuac9s2ry56jka5s6zqsyfcugcchr6pwfks" ] } } --- 17,23 ---- "reqSigs": 1, "type": "witness_v0_keyhash", "addresses": [ ! "shuga1q5fgkuac9s2ry56jka5s6zqsyfcugcchrt7v23p" ] } }

2024-06-13 22:10:50,355 - ERROR - Output data mismatch for txcreatedata1.hex (format hex) 2024-06-13 22:10:50,355 - ERROR - Output formatting mismatch for txcreatedata1.hex: *** txcreatedata1.hex --- returned


* 1 **

2024-06-13 22:10:50,363 - ERROR - Error parsing command output as json: Expecting value: line 1 column 1 (char 0) 2024-06-13 22:10:50,371 - ERROR - Output data mismatch for txcreatedata2.hex (format hex) 2024-06-13 22:10:50,371 - ERROR - Output formatting mismatch for txcreatedata2.hex: *** txcreatedata2.hex --- returned


* 1 **

2024-06-13 22:10:50,379 - ERROR - Error parsing command output as json: Expecting value: line 1 column 1 (char 0) 2024-06-13 22:10:50,387 - ERROR - Output data mismatch for txcreatedata_seq0.hex (format hex) 2024-06-13 22:10:50,387 - ERROR - Output formatting mismatch for txcreatedata_seq0.hex: *** txcreatedata_seq0.hex --- returned


* 1 **

2024-06-13 22:10:50,396 - ERROR - Error parsing command output as json: Expecting value: line 1 column 1 (char 0) 2024-06-13 22:10:50,497 - ERROR - Output data mismatch for txcreatemultisig3.json (format json) 2024-06-13 22:10:50,497 - ERROR - Output formatting mismatch for txcreatemultisig3.json: *** txcreatemultisig3.json --- returned


* 17,23 ** "reqSigs": 1, "type": "witness_v0_scripthash", "addresses": [ ! "shuga1qu9dgdg330r6r84g5mw7wqshg04exv2uttmw2elfwx74h5tgntuzsd0rwze" ] } } --- 17,23 ---- "reqSigs": 1, "type": "witness_v0_scripthash", "addresses": [ ! "shuga1qu9dgdg330r6r84g5mw7wqshg04exv2uttmw2elfwx74h5tgntuzs83pa0u" ] } }

2024-06-13 22:10:50,553 - ERROR - FAILED_TESTCASES: ['Creates a new transaction with three inputs and two outputs', 'Creates a new transaction with three inputs and two outputs (output in json)', 'Create a new transaction with a single output script (OP_DROP) in a P2WSH (output as json)', 'Creates a new v1 transaction with a single input and a single output, and then signs the transaction', 'Creates a new v1 transaction with a single input and a single output, and then signs the transaction (output in json)', 'Creates a new transaction with a single input and a single output, and then signs the transaction', 'Creates a new transaction with a single pay-to-witness-pubkey output (output as json)', 'Creates a new transaction with one input, one address output and one data output', 'Creates a new v1 transaction with one input, one address output and one data output (output in json)', 'Creates a new transaction with one input, one address output and one data (zero value) output', 'Creates a new transaction with one input, one address output and one data (zero value) output (output in json)', 'Creates a new transaction with one input with sequence number and one address output', 'Creates a new transaction with one input with sequence number and one address output (output in json)', 'Creates a new transaction with a single 2-of-3 multisig in a P2WSH output (output in json)'] make[3]: [Makefile:11284: check-local] Erro 1 make[3]: A aguardar por trabalhos não terminados.... FAIL: test/test_shugacoin

Testsuite summary for Shugacoin Azula 1.0.0

TOTAL: 1

PASS: 0

SKIP: 0

XFAIL: 0

FAIL: 1

XPASS: 0

ERROR: 0

============================================================================ See src/test-suite.log Please report to https://github.com/shugacoin-project/shugacoin/issues

make[4]: [Makefile:10080: test-suite.log] Erro 1 make[4]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[3]: [Makefile:10188: check-TESTS] Erro 2 make[3]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[2]: [Makefile:10293: check-am] Erro 2 make[2]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make[1]: [Makefile:9972: check-recursive] Erro 1 make[1]: a sair da pasta "/home/filipe/Transferências/Shugacoin/shugacoin/src" make: *** [Makefile:750: check-recursive] Erro 1