Skip to content

Commit

Permalink
Work-around for Cargo download dependency failed
Browse files Browse the repository at this point in the history
This is a work-around for charm build failures resulting in:
"Cargo download dependency failed "send: no filter connected".

This is documented in the following upstream issue:
rust-lang/cargo#12202

This affects lunar builds where the curl version is 7.88.1.

Thanks to Colin Watson for help with figuring this out.

Closes-Bug: #2037589
Change-Id: I8d48de1e7f7c9f517f6759139610b2451c131c80
  • Loading branch information
Corey Bryant committed Sep 29, 2023
1 parent 6816c55 commit bbd0e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ parts:
build-environment:
- CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/
- CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/
- CARGO_HTTP_MULTIPLEXING: "false"
bases:
- build-on:
- name: ubuntu
Expand Down

0 comments on commit bbd0e0e

Please sign in to comment.