[tor-bugs] #31390 [- Select a component]: --enable-rust with pre-downloaded Rust dependencies fails: no .cargo-checksum.json files

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 11 08:01:28 UTC 2019


#31390: --enable-rust with pre-downloaded Rust dependencies fails: no .cargo-
checksum.json files
-------------------------+--------------------------------------
 Reporter:  yurivict271  |          Owner:  (none)
     Type:  defect       |         Status:  new
 Priority:  Medium       |      Component:  - Select a component
  Version:               |       Severity:  Normal
 Keywords:  rust         |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+--------------------------------------
 In the FreeBSD port I am downloading the dependencies and supplying
 digest-0.7.2 libc-0.2.39 directories as they appear on GitHub pointed by
 the TOR_RUST_DEPENDENCIES environment variable.

 The build fails:
 {{{
 error: failed to load source for a dependency on `digest`

 Caused by:
   Unable to update registry `https://github.com/rust-lang/crates.io-index`

 Caused by:
   failed to update replaced source registry `https://github.com/rust-
 lang/crates.io-index`

 Caused by:
   failed to load checksum `.cargo-checksum.json` of libc v0.2.39

 Caused by:
   failed to read `/usr/ports/security/tor/work/tor-0.4.0.5/rs/libc-0.2.39
 /.cargo-checksum.json`

 }}}

 Is some command supposed to be run that would build .cargo-checksum.json ?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31390>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list