<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->
<!-- Describe the issue -->
Expected behavior To run bitcoin-core in Ubuntu 22.04 after following all the steps in build-unix.md
Actual behavior
Even after carefully following all the steps the build is failing in Ubuntu 22.04 version but by following the same steps again in Ubuntu 20.04 and 18.04 I am able to successfully run bitcoin-core.
To reproduce
To verify this first follow all the instructions in the build-unix.md in Ubuntu 22.04 and then try to run the following command:
python3 test/functional/feature_taproot.py
You will be met with the following error of some sort:
2022-06-11T19:04:12.075000Z TestFramework (INFO): Initializing test directory /tmp/bitcoin_func_test_2wz38651
2022-06-11T19:04:16.476000Z TestFramework (INFO): Post-activation tests...
2022-06-11T19:04:16.832000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
File "/usr/lib/python3.10/hashlib.py", line 160, in __hash_new
return _hashlib.new(name, data, **kwargs)
ValueError: [digital envelope routines] unsupported
This error is not in particular for running tests but shows a problem with the installation of bitcoin-core in general.
I searched for the issues and came across a few articles and conversations regarding this particular issue in Ubuntu 22.04. Will be providing links to them.