Closed mhuesch closed 2 years ago
we have an issue with naersk and the [patch.crates-io] added in #13 to fix breakage upstream in Holochain.
naersk
[patch.crates-io]
it seems the patch thingy confuses naersk, resulting in a network error (?? wat ??):
@nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/rhdr8dgzfk62fsc0cgyflw5z72a2sarw-dummy-src source root is dummy-src @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring [naersk] cargo_version (read): 1.55.0 (32da73ab1 2021-08-23) [naersk] cargo_message_format (set): json-diagnostic-rendered-ansi [naersk] cargo_release: --release [naersk] cargo_options: [naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format --package=frontend-tui [naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES" [naersk] RUST_TEST_THREADS: 16 [naersk] cargo_bins_jq_filter: . [naersk] cargo_build_output_json (created): /build/tmp.i27MIAqmuW [naersk] crate_sources: /nix/store/8ccdwc5hkcym65yn92nksk62wiy8909p-crates-io [naersk] RUSTFLAGS: [naersk] CARGO_BUILD_RUSTFLAGS: [naersk] CARGO_BUILD_RUSTFLAGS (updated): --remap-path-prefix /nix/store/8ccdwc5hkcym65yn92nksk62wiy8909p-crates-io=/sources @nix { "action": "setPhase", "phase": "buildPhase" } building cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format --package=frontend-tui [0m[0m[1m[32m Updating[0m git repository `https://github.com/holochain/holochain-wasmer.git` [0m[0m[1m[33mwarning[0m[1m:[0m spurious network error (2 tries remaining): failed to resolve address for github.com: Name or service not known; class=Net (12) [0m[0m[1m[33mwarning[0m[1m:[0m spurious network error (1 tries remaining): failed to resolve address for github.com: Name or service not known; class=Net (12) [0m[0m[1m[31merror[0m[1m:[0m failed to resolve patches for `https://github.com/rust-lang/crates.io-index` Caused by: failed to load source for dependency `holochain_wasmer_common` Caused by: Unable to update https://github.com/holochain/holochain-wasmer.git?branch=debug/v0.0.73-wasmer-build-error#51210d04 Caused by: failed to clone into: /build/dummy-src/.cargo-home/git/db/holochain-wasmer-dcc212de26b4a512 Caused by: network failure seems to have happened if a proxy or similar is necessary `net.git-fetch-with-cli` may help here https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli Caused by: failed to resolve address for github.com: Name or service not known; class=Net (12) [naersk] cargo returned with exit code 101, exiting
this was probably resolved in e2ed57dfe96380ca4d15c34f1a54705811039b84 when I removed the [path.crates-io] stuff.
[path.crates-io]
this should be fixed by #32.
we have an issue with
naersk
and the[patch.crates-io]
added in #13 to fix breakage upstream in Holochain.it seems the patch thingy confuses naersk, resulting in a network error (?? wat ??):