[tor-bugs] #31390 [Core Tor/Tor]: --enable-rust with pre-downloaded Rust dependencies fails: no .cargo-checksum.json files

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 19 04:00:50 UTC 2019


#31390: --enable-rust with pre-downloaded Rust dependencies fails: no .cargo-
checksum.json files
------------------------------+------------------------------------
 Reporter:  yurivict271       |          Owner:  (none)
     Type:  defect            |         Status:  needs_information
 Priority:  Medium            |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor/Tor      |        Version:  Tor: 0.4.0.5
 Severity:  Normal            |     Resolution:
 Keywords:  rust, 041-should  |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+------------------------------------
Changes (by teor):

 * cc: chelseakomlo (added)


Comment:

 Replying to [comment:7 teor]:
 > Based on
 https://github.com/torproject/tor/blob/master/doc/HACKING/GettingStartedRust.md
 , it looks like you might be missing a "crates" directory in
 TOR_RUST_DEPENDENCIES:
 > > TOR_RUST_DEPENDENCIES=`pwd`/src/ext/rust/crates ./configure --enable-
 rust
 >
 > If that doesn't work, please check that online mode works:
 > > ./configure --enable-rust --enable-cargo-online-mode

 I'm still struggling to work out what's going on here.

 It could be an issue with your environment.

 Or maybe cargo has a new requirement for `.cargo-checksum.json` and we
 need to update the tor rust dependencies repository with the latest
 version of cargo?

 I've cc'd komlo for advice.

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


More information about the tor-bugs mailing list