Work-around for Cargo download dependency failed

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:
https://github.com/rust-lang/cargo/issues/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
Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com>
Change-Id: I7a01c7cf9e28d1b766d45b2dcc906d44b347b1d7
This commit is contained in:
Frode Nordahl 2023-10-11 11:21:14 +02:00
parent fa21facfe4
commit e64a527e23
No known key found for this signature in database
GPG Key ID: 6A5D59A3BA48373F

View File

@ -20,6 +20,7 @@ parts:
- CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/
- CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/
- MAKEFLAGS: -j$(nproc)
- CARGO_HTTP_MULTIPLEXING: "false"
bases:
- build-on:
- name: ubuntu