Spagett1 / pineflash

A tool to flash ironos to the pinecil soldering iron and possibly other pine64 devices in the future
Other
213 stars 12 forks source link

Build failing because a dependency isn't downloadable. #51

Closed Janik-Haag closed 1 year ago

Janik-Haag commented 1 year ago

I'm trying to build PineFlash but it failes because some dep can't be verified anymore:

error: failed to sync

Caused by:
  failed to download packages

Caused by:
  failed to download replaced source registry `crates-io`

Caused by:
  failed to verify the checksum of `ndk-sys v0.4.0`
Elara6331 commented 1 year ago

This seems to be caused by rust-lang/cargo#11412. Alacritty fixed this by updating ndk-sys.

Spagett1 commented 1 year ago

Interesting, ill try adding the same thing alacritty did. as long as it compiles properly ill push the change and hopefully that solves the error. ndk-sys is being pulled in by a dependancy so fingers crossed nothing breaks cause of it.

MarijnS95 commented 1 year ago

Updating/regenerating the lock file with ndk-sys 0.4.1 should solve this, sorry again for the noise :disappointed:.

Spagett1 commented 1 year ago

Great, glad it's fixed! I'll close up the issue now