[tor-bugs] #22830 [Core Tor/Tor]: Problems with building with --enable-rust with RUST_DEPENDENCIES

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 6 20:26:26 UTC 2017


#22830: Problems with building with --enable-rust with RUST_DEPENDENCIES
-----------------------------+--------------------------
 Reporter:  isis             |          Owner:
     Type:  defect           |         Status:  new
 Priority:  High             |      Milestone:
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  rust, tor-build  |  Actual Points:
Parent ID:                   |         Points:  1
 Reviewer:                   |        Sponsor:  SponsorZ
-----------------------------+--------------------------

Comment (by isis):

 Replying to [comment:3 gk]:
 > Replying to [comment:2 isis]:
 > > After reading [https://github.com/rust-
 lang/cargo/issues/1614#issuecomment-124608090 a discussion around similar
 issues on the cargo issue tracker], I'm more convinced that the "let cargo
 run once and then let it run in offline mode" solution is the better
 option to go with.
 >
 > If I understand it correctly this means we could let run cargo during
 the phase in the Gitian build where all the dependencies are fetched and
 would copy over the result to the build VM (along with the tor source
 code) and could do the building itself offline then, right? If so, sounds
 good to me.

 Yes, this appears to be the case. That's a good point that this model
 already works well with Gitian.

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


More information about the tor-bugs mailing list