Page MenuHomePhabricator

[Chronik] Build Bitcoin Core with Chronik attached
DraftPublic

Authored by tobias_ruck on Oct 23 2024, 15:08.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

TBD

Test Plan

python3 ./contrib/altcoins/build_altcoin.py btc -b ./build

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-compile-btc
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31002
Build 61507: Build Diff
Build 61506: arc lint + arc unit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

accept cmake license, link to /usr/bin

@bot altcoin-build-btc-with-chronik

Tail of the build log:

      |          ^~~~~~
compilation terminated.
[55/508] Building CXX object CMakeFiles/leveldb.dir/src/leveldb/util/logging.cc.o
[56/508] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/consensus/tx_check.cpp.o
FAILED: src/CMakeFiles/bitcoin_consensus.dir/consensus/tx_check.cpp.o 
/usr/bin/ccache /usr/bin/c++  -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/secp256k1/include -O2 -g -fPIC -fdebug-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fmacro-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fno-extended-identifiers -fstack-reuse=none -pthread -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -std=c++2a -MD -MT src/CMakeFiles/bitcoin_consensus.dir/consensus/tx_check.cpp.o -MF src/CMakeFiles/bitcoin_consensus.dir/consensus/tx_check.cpp.o.d -o src/CMakeFiles/bitcoin_consensus.dir/consensus/tx_check.cpp.o -c /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/consensus/tx_check.cpp  
In file included from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/serialize.h:13,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/script.h:12,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/primitives/transaction.h:11,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/consensus/tx_check.cpp:8:
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/span.h:10:10: fatal error: span: No such file or directory
   10 | #include <span>
      |          ^~~~~~
compilation terminated.
[57/508] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/consensus/merkle.cpp.o
FAILED: src/CMakeFiles/bitcoin_consensus.dir/consensus/merkle.cpp.o 
/usr/bin/ccache /usr/bin/c++  -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/secp256k1/include -O2 -g -fPIC -fdebug-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fmacro-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fno-extended-identifiers -fstack-reuse=none -pthread -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -std=c++2a -MD -MT src/CMakeFiles/bitcoin_consensus.dir/consensus/merkle.cpp.o -MF src/CMakeFiles/bitcoin_consensus.dir/consensus/merkle.cpp.o.d -o src/CMakeFiles/bitcoin_consensus.dir/consensus/merkle.cpp.o -c /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/consensus/merkle.cpp  
In file included from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/serialize.h:13,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/script.h:12,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/primitives/transaction.h:11,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/primitives/block.h:9,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/consensus/merkle.h:10,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/consensus/merkle.cpp:5:
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/span.h:10:10: fatal error: span: No such file or directory
   10 | #include <span>
      |          ^~~~~~
compilation terminated.
[58/508] Building CXX object CMakeFiles/leveldb.dir/src/leveldb/util/status.cc.o
[59/508] Building CXX object CMakeFiles/leveldb.dir/src/leveldb/db/db_impl.cc.o
[60/508] Building CXX object CMakeFiles/minisketch.dir/src/minisketch/src/minisketch.cpp.o
[61/508] Building CXX object CMakeFiles/leveldb.dir/src/leveldb/db/version_set.cc.o
[62/508] Building CXX object CMakeFiles/leveldb.dir/src/leveldb/util/env_posix.cc.o
[63/508] Building CXX object CMakeFiles/leveldb.dir/src/leveldb/helpers/memenv/memenv.cc.o
[64/508] Building CXX object CMakeFiles/minisketch_clmul.dir/src/minisketch/src/fields/clmul_4bytes.cpp.o
[65/508] Building CXX object CMakeFiles/minisketch.dir/src/minisketch/src/fields/generic_4bytes.cpp.o
ninja: build stopped: subcommand failed.
Copying Chronik over from /work
Copy over chronik
Copy over chronik functional tests
Copy over chronik test framework
Copy CMake modules
Patch chronik
Patch node source
Patch CMake
Patch functional test framework
Patch functional chronik test
Run unittests
Traceback (most recent call last):
  File "/work/contrib/altcoins/build_altcoin.py", line 126, in <module>
    main()
  File "/work/contrib/altcoins/build_altcoin.py", line 105, in main
    run(os.path.join(nodebuilddir, "src", "test", "test_bitcoin"))
  File "/work/contrib/altcoins/build_altcoin.py", line 122, in run
    return subprocess.Popen(args, cwd=cwd, stdout=stdout, stderr=stderr).communicate()
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src/test/test_bitcoin'
Build altcoin-build-btc-with-chronik failed with exit code 1

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

Tail of the build log:

      |                                                  ^~~~~~~~
      |                                                  bad_cast
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/util/strencodings.h:434:95: error: expected primary-expression before ‘>’ token
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<std::array<uint8_t, str.bytes.size()>>(str.bytes); }
      |                                                                                               ^~
[69/508] Building CXX object CMakeFiles/minisketch_clmul.dir/src/minisketch/src/fields/clmul_4bytes.cpp.o
[70/508] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/script/interpreter.cpp.o
FAILED: src/CMakeFiles/bitcoin_consensus.dir/script/interpreter.cpp.o 
/usr/bin/ccache /usr/bin/c++  -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/secp256k1/include -O2 -g -fPIC -fdebug-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fmacro-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fno-extended-identifiers -fstack-reuse=none -pthread -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -std=c++2a -MD -MT src/CMakeFiles/bitcoin_consensus.dir/script/interpreter.cpp.o -MF src/CMakeFiles/bitcoin_consensus.dir/script/interpreter.cpp.o.d -o src/CMakeFiles/bitcoin_consensus.dir/script/interpreter.cpp.o -c /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/interpreter.cpp  
In file included from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/uint256.h:11,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/hash.h:16,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/interpreter.h:10,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/interpreter.cpp:6:
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/util/strencodings.h: In function ‘constexpr auto util::hex_literals::operator""_hex_u8()’:
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/util/strencodings.h:434:50: error: ‘bit_cast’ is not a member of ‘std’; did you mean ‘bad_cast’?
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<std::array<uint8_t, str.bytes.size()>>(str.bytes); }
      |                                                  ^~~~~~~~
      |                                                  bad_cast
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/util/strencodings.h:434:95: error: expected primary-expression before ‘>’ token
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<std::array<uint8_t, str.bytes.size()>>(str.bytes); }
      |                                                                                               ^~
[71/508] Building CXX object src/CMakeFiles/bitcoin_consensus.dir/script/script.cpp.o
FAILED: src/CMakeFiles/bitcoin_consensus.dir/script/script.cpp.o 
/usr/bin/ccache /usr/bin/c++  -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src -I/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/secp256k1/include -O2 -g -fPIC -fdebug-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fmacro-prefix-map=/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin=. -fno-extended-identifiers -fstack-reuse=none -pthread -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -std=c++2a -MD -MT src/CMakeFiles/bitcoin_consensus.dir/script/script.cpp.o -MF src/CMakeFiles/bitcoin_consensus.dir/script/script.cpp.o.d -o src/CMakeFiles/bitcoin_consensus.dir/script/script.cpp.o -c /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/script.cpp  
In file included from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/uint256.h:11,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/script.h:13,
                 from /work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/script/script.cpp:6:
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/util/strencodings.h: In function ‘constexpr auto util::hex_literals::operator""_hex_u8()’:
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/util/strencodings.h:434:50: error: ‘bit_cast’ is not a member of ‘std’; did you mean ‘bad_cast’?
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<std::array<uint8_t, str.bytes.size()>>(str.bytes); }
      |                                                  ^~~~~~~~
      |                                                  bad_cast
/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin/src/util/strencodings.h:434:95: error: expected primary-expression before ‘>’ token
  434 | constexpr auto operator""_hex_u8() { return std::bit_cast<std::array<uint8_t, str.bytes.size()>>(str.bytes); }
      |                                                                                               ^~
ninja: build stopped: subcommand failed.
Copying Chronik over from /work
Copy over chronik
Copy over chronik functional tests
Copy over chronik test framework
Copy CMake modules
Patch chronik
Patch node source
Patch CMake
Patch functional test framework
Patch functional chronik test
Run unittests
Traceback (most recent call last):
  File "/work/contrib/altcoins/build_altcoin.py", line 126, in <module>
    main()
  File "/work/contrib/altcoins/build_altcoin.py", line 105, in main
    run(os.path.join(nodebuilddir, "src", "test", "test_bitcoin"))
  File "/work/contrib/altcoins/build_altcoin.py", line 122, in run
    return subprocess.Popen(args, cwd=cwd, stdout=stdout, stderr=stderr).communicate()
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src/test/test_bitcoin'
Build altcoin-build-btc-with-chronik failed with exit code 1

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

install both GCC 12 and GCC 9

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

Tail of the build log:

Cloning into '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin'...
Note: switching to 'ffe4261cb0669b1e1a926638e0498ae5b63f3599'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ffe4261cb0 Merge bitcoin/bitcoin#30935: ci: Approximate MAKEJOBS in image build phase
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in

CMake Error: Error executing cmake::LoadCache(). Aborting.

ninja: error: loading 'build.ninja': No such file or directory
Copying Chronik over from /work
Copy over chronik
Copy over chronik functional tests
Copy over chronik test framework
Copy CMake modules
Patch chronik
Patch node source
Patch CMake
Patch functional test framework
Patch functional chronik test
Run unittests
Traceback (most recent call last):
  File "/work/contrib/altcoins/build_altcoin.py", line 133, in <module>
    main()
  File "/work/contrib/altcoins/build_altcoin.py", line 110, in main
    run(os.path.join(nodebuilddir, "src", "test", "test_bitcoin"))
  File "/work/contrib/altcoins/build_altcoin.py", line 127, in run
    return subprocess.Popen(
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src/test/test_bitcoin'
Build altcoin-build-btc-with-chronik failed with exit code 1

install cmake 3.22 to /opt and specify in build, keep old cmake version

@bot altcoin-build-btc-with-chronik

Tail of the build log:

Cloning into '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin'...
Note: switching to 'ffe4261cb0669b1e1a926638e0498ae5b63f3599'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ffe4261cb0 Merge bitcoin/bitcoin#30935: ci: Approximate MAKEJOBS in image build phase
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in

CMake Error: Error executing cmake::LoadCache(). Aborting.

ninja: error: loading 'build.ninja': No such file or directory
Copying Chronik over from /work
Copy over chronik
Copy over chronik functional tests
Copy over chronik test framework
Copy CMake modules
Patch chronik
Patch node source
Patch CMake
Patch functional test framework
Patch functional chronik test
Run unittests
Traceback (most recent call last):
  File "/work/contrib/altcoins/build_altcoin.py", line 137, in <module>
    main()
  File "/work/contrib/altcoins/build_altcoin.py", line 114, in main
    run(os.path.join(nodebuilddir, "src", "test", "test_bitcoin"))
  File "/work/contrib/altcoins/build_altcoin.py", line 131, in run
    return subprocess.Popen(
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src/test/test_bitcoin'
Build altcoin-build-btc-with-chronik failed with exit code 1

hopefully fix cmake by adding it to the path

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

Tail of the build log:

Cloning into '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin'...
Note: switching to 'ffe4261cb0669b1e1a926638e0498ae5b63f3599'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ffe4261cb0 Merge bitcoin/bitcoin#30935: ci: Approximate MAKEJOBS in image build phase
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in

CMake Error: Error executing cmake::LoadCache(). Aborting.

ninja: error: loading 'build.ninja': No such file or directory
Copying Chronik over from /work
Copy over chronik
Copy over chronik functional tests
Copy over chronik test framework
Copy CMake modules
Patch chronik
Patch node source
Patch CMake
Patch functional test framework
Patch functional chronik test
Running cmake with env {}
Running ninja
Run unittests
Traceback (most recent call last):
  File "/work/contrib/altcoins/build_altcoin.py", line 140, in <module>
    main()
  File "/work/contrib/altcoins/build_altcoin.py", line 117, in main
    run(os.path.join(nodebuilddir, "src", "test", "test_bitcoin"))
  File "/work/contrib/altcoins/build_altcoin.py", line 134, in run
    return subprocess.Popen(
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src/test/test_bitcoin'
Build altcoin-build-btc-with-chronik failed with exit code 1

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.

@bot altcoin-build-btc-with-chronik

Tail of the build log:

Cloning into '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin'...
Note: switching to 'ffe4261cb0669b1e1a926638e0498ae5b63f3599'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ffe4261cb0 Merge bitcoin/bitcoin#30935: ci: Approximate MAKEJOBS in image build phase
error: patch failed: chronik/chronik-cpp/chronik.cpp:36
error: chronik/chronik-cpp/chronik.cpp: patch does not apply
error: patch failed: Cargo.lock:580
error: Cargo.lock: patch does not apply
error: patch failed: Cargo.toml:17
error: Cargo.toml: patch does not apply
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in

CMake Error: Error executing cmake::LoadCache(). Aborting.

ninja: error: loading 'build.ninja': No such file or directory
Copying Chronik over from /work
Copy over chronik
Copy over chronik functional tests
Copy over chronik test framework
Copy CMake modules
Patch chronik
Patch node source
Patch CMake
Patch functional test framework
Patch functional chronik test
Running cmake with env {'CC': 'clang', 'CXX': 'clang++'}
Running ninja
Run unittests
Traceback (most recent call last):
  File "/work/contrib/altcoins/build_altcoin.py", line 144, in <module>
    main()
  File "/work/contrib/altcoins/build_altcoin.py", line 121, in main
    run(os.path.join(nodebuilddir, "src", "test", "test_bitcoin"))
  File "/work/contrib/altcoins/build_altcoin.py", line 138, in run
    return subprocess.Popen(
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin-build/src/test/test_bitcoin'
Build altcoin-build-btc-with-chronik failed with exit code 1

@bot altcoin-build-btc-with-chronik

Tail of the build log:

Cloning into '/work/abc-ci-builds/altcoin-build-btc-with-chronik/btc/bitcoin'...
Note: switching to 'ffe4261cb0669b1e1a926638e0498ae5b63f3599'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ffe4261cb0 Merge bitcoin/bitcoin#30935: ci: Approximate MAKEJOBS in image build phase
error: patch failed: chronik/chronik-cpp/chronik.cpp:36
error: chronik/chronik-cpp/chronik.cpp: patch does not apply
error: patch failed: Cargo.lock:580
error: Cargo.lock: patch does not apply
error: patch failed: Cargo.toml:17
error: Cargo.toml: patch does not apply
Copying Chronik over from /work
Copy over chronik
Copy over chronik functional tests
Copy over chronik test framework
Copy CMake modules
Patch chronik
Patch node source
Patch CMake
Patch functional test framework
Patch functional chronik test
Running cmake with env {'CC': 'clang', 'CXX': 'clang++', 'CMAKE_ROOT': '/opt/cmake-3.22/share', 'PATH': '/opt/cmake-3.22/bin:/root/.cargo/bin:/root/.local/bin:/opt/arcanist/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'}
Traceback (most recent call last):
  File "/work/contrib/altcoins/build_altcoin.py", line 144, in <module>
    main()
  File "/work/contrib/altcoins/build_altcoin.py", line 116, in main
    run(cmake, nodedir, "-GNinja", cwd=nodebuilddir, env=cmake_env)
  File "/work/contrib/altcoins/build_altcoin.py", line 138, in run
    return subprocess.Popen(
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/cmake-3.22/bin/cmake'
Build altcoin-build-btc-with-chronik failed with exit code 1

poke install-dependencies-bullseye.sh