fixme;Bump the guix time-machine to a recent commit to have a more recent rust (1.73)
```Pass the --network option and add nss-certs to the manifest to download corrosion and various crates.
running 'cmake' with arguments ("../source" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/gnu/store/0clxfyaibffyj10fp9j78y4j954i4nrg-corrosion-0.3.0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/0clxfyaibffyj10fp9j78y4j954i4nrg-corrosion-0.3.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON")Build Chronik
fixme:
-- The CXX compiler identification is GNU 11.3.0```
-- Detecting CXX compiler ABI info Compiling either v1.9.0
-- Detecting CXX compiler ABI info - done Compiling futures-io v0.3.28 ] 0/269: itoa, futures-task(build.rs), futures-util(build.rs), syn(build.rs), either, once_cell, unicode-ident, version_check, serde(...
-- Check for working CXX compiler: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ - skipped Compiling anyhow v1.0.75 ] 1/269: itoa, futures-task(build.rs), futures-util(build.rs), syn(build.rs), either, once_cell, futures-io, unicode-ident, version_c...
-- Detecting CXX compile features Compiling pin-utils v0.1.0 ] 2/269: itoa, futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either, once_cell, futures-io, unicod...
-- Detecting CXX compile features - done Compiling log v0.4.20 ] 3/269: itoa, futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either, once_cell, futures-io, unicod...
-- Rust Target: x86_64-unknown-linux-gnu Compiling prettyplease v0.2.12 ] 4/269: itoa, futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either, once_cell, futures-io, log, v...
-- Found Rust: /gnu/store/p3di3cy0y8ivpjbnbs5arccg5wxf7jv1-rust-1.73.0/bin/rustc (found version "1.73.0")
-- Using Corrosion as a subdirectory Compiling thiserror v1.0.47 ] 5/269: prettyplease(build.rs), futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either, once_cell, ...
Compiling cpufeatures v0.2.9 ] 6/269: prettyplease(build.rs), futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either, Updating crates.io indexonce_cell, ...
warning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io) Compiling scratch v1.0.7 ] 7/269: cpufeatures, prettyplease(build.rs), futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either...
warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io) Compiling minimal-lexical v0.2.1 ] 8/269: cpufeatures, prettyplease(build.rs), futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either...
warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io) Compiling abc-rust-lint v0.1.0 (/bitcoin/chronik/abc-rust-lint)ttyplease(build.rs), futures-task(build.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either...
error: failed to get `cargo_metadata` as a dependency of package `corrosion-generator v0.1.0 (/tmp/guix-build-corrosion-0.3.0.drv-0/source/generator)`
Caused by:run custom build command for `futures-task v0.3.28`.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either, once_cell, futures-io, log, version...
failed to query replaced source registry `crates-io`
Caused by:
download of config.json failed
Caused by:process didn't exit successfully: `/bitcoin/distsrc-580f61ff5826-x86_64-linux-gnu/./cargo/build/release/build/futures-task-c1aa92f62953a69f/build-script-build` (exit status: 127)
failed to download from `https://index.crates.io/config.json`
Caused by:--- stderr
[6] Couldn't resolve host name (Could not resolve host: index.crates.io)/bitcoin/distsrc-580f61ff5826-x86_64-linux-gnu/./cargo/build/release/build/futures-task-c1aa92f62953a69f/build-script-build: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
CMake Error at cmake/CorrosionGenerator.cmake:10 (execute_process):warning: build failed, waiting for other jobs to finish...
execute_process failed command indexes:
1: "Child return code: 101"
Call Stack (most recent call first)error: failed to run custom build command for `futures-core v0.3.28`.rs), futures-util(build.rs), syn(build.rs), anyhow(build.rs), either, once_cell, futures-io, log, version...
Caused by:
cmake/CorrosionGenerator.cmake:171 (_cargo_metadataprocess didn't exit successfully: `/bitcoin/distsrc-580f61ff5826-x86_64-linux-gnu/./cargo/build/release/build/futures-core-1f1e9b08c8653a70/build-script-build` (exit status: 127)
cmake/Corrosion.cmake:1111 (_generator_add_cargo_targets)--- stderr
CMakeLists.txt:90 (corrosion_import_crate)
-- Configuring incomplete, errors occurred!/bitcoin/distsrc-580f61ff5826-x86_64-linux-gnu/./cargo/build/release/build/futures-core-1f1e9b08c8653a70/build-script-build: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
See also "/tmp/guix-build-corrosion-0.3.0.drv-0/build/CMakeFiles/CMakeOutput.log".FAILED: chronik/CMakeFiles/_cargo-build_chronik-lib /bitcoin/distsrc-580f61ff5826-x86_64-linux-gnu/chronik/CMakeFiles/_cargo-build_chronik-lib
```