mgdm / htmlq

Like jq, but for HTML.
MIT License
7k stars 107 forks source link

CAn'tinstall using cargo od Debian10 #38

Open RoksanyNet opened 2 years ago

RoksanyNet commented 2 years ago

Hi I try to install using cargo on Debian 10.11

cargo install htmlq Updating crates.io index Naruszenie ochrony pamięci

dmesg: [675470.217399] cargo[32433]: segfault at c800010009 ip 000055900cf03a54 sp 00007ffd83d21eb0 error 4 in cargo[55900c83f000+768000] [675470.217412] Code: 41 f6 04 2c df 0f 94 c2 5b 89 d0 5d 41 5c c3 0f 1f 80 00 00 00 00 41 55 49 89 d5 41 54 49 89 f4 55 53 48 83 ec 08 48 8b 47 18 <48> 8b 58 08 8b 83 70 02 01 00 83 f8 02 74 4d 83 e0 fd 48 8d ab 28

Any hint? Thanks!

iMartyn commented 2 years ago

cargo is broken on deb10 by libgit that rust is using - simple answer use

CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install htmlq

which is broken by getrandom but at least now you know how to get cargo working on deb10