| 6 Oct 2023 |
Marie | i tried it 2 times got 2 different errors | 20:09:04 |
Marie | looking good | 20:09:07 |
Marie | Error: unknown error
Caused by:
[55] Failed sending data to the peer
Error: unknown error
Caused by:
[18] Transferred a partial file
| 20:09:36 |
Lily Foster | In reply to @lily:lily.flowers I wonder if all that is needed is bumping curl-sys (If all that is needed to fix this issue of the past several weeks is to bump the crate deps on the fetcher, I'm gonna be hella embarrassed) | 20:09:47 |
Lily Foster | In reply to @marie:marie.cologne
Error: unknown error
Caused by:
[55] Failed sending data to the peer
Error: unknown error
Caused by:
[18] Transferred a partial file
Hmmmm those should be network errors, not unknown errors | 20:10:04 |
Lily Foster | So the curl crate is still busted | 20:10:14 |
Lily Foster | I'll look more later | 20:10:18 |
Marie | i thought i might have a clue by commenting stuff out, but turns out it's just that when i run prefetch-npm-deps via cargo run (--release) it works fine, only the one built with nix fails | 20:35:46 |
Lily Foster | In reply to @marie:marie.cologne i thought i might have a clue by commenting stuff out, but turns out it's just that when i run prefetch-npm-deps via cargo run (--release) it works fine, only the one built with nix fails That makes even less sense... What curl are you linking against? Are you on nixos | 20:38:18 |
Lily Foster | In reply to @marie:marie.cologne i thought i might have a clue by commenting stuff out, but turns out it's just that when i run prefetch-npm-deps via cargo run (--release) it works fine, only the one built with nix fails * That makes even less sense... What curl are you linking against? Are you on nixos? | 20:38:21 |
Marie | i'm on debian in wsl | 20:38:51 |
Marie | but probably my system's curl | 20:38:58 |
Lily Foster | I wonder if this is some problem with curl 8.3.0 | 20:39:17 |
Lily Foster | That would line up with when the problems started | 20:39:22 |
Marie | my curl is 7.88.1 | 20:39:33 |
Lily Foster | oh oof, ancient version | 20:39:40 |
Marie | debian moment | 20:39:45 |
Lily Foster | Okay apparently not that ancient. It was admittedly just feb of this year | 20:40:14 |
Lily Foster | Regardless, it seems likelier to be a curl 8.3.0 problem maybe | 20:40:26 |
Marie | any idea on how i could force cargo to link against nix's curl | 20:40:38 |
Marie | * any idea on how i could force cargo to link against nixpkgs curl | 20:41:01 |
Lily Foster | nix-shell -p pkg-config curl | 20:41:28 |
Lily Foster | And build in that shell | 20:41:34 |
Marie | thats what i did, but it's still working | 20:41:47 |
Marie | i'm not sure if it actually uses the right curl | 20:42:01 |
Marie | i could also just uninstall curl | 20:42:17 |
Lily Foster | ldd target/release/prefetch-npm-deps? | 20:42:18 |
Lily Foster | In reply to @marie:marie.cologne i could also just uninstall curl I doubt debian would allow that 😅 | 20:42:28 |
Lily Foster | Actually. It's probably not even using system curl | 20:42:35 |
Lily Foster | It's possibly building it's own vendored curl | 20:42:43 |