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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 12 17:13:50 UTC 2017


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

Comment (by chelseakomlo):

 Replying to [comment:6 chelseakomlo]:
 > It seems there are two changes needed to close this ticket, but let me
 know if these are not what you were thinking:
 >
 > 1. We should update documentation for how to build in offline mode, via
 instructions above.

 I can't reproduce the instructions you have in the ticket description for
 offline builds. Do you mind writing these up (if there is any more detail
 required)? Specifically, I'm having trouble with crate versions- `cargo
 update` wants to pull the latest libc version (0.2.26), rather than 0.2.22
 which we require.

 > 2. We should use `CARGO_HOME` rather than `HOME` when building with Rust
 (see src/rust/tor_util/include.am, for example)

 See `git at github.com:chelseakomlo/tor_patches.git`, branch `bug22830`

 Let me know if anything else is required for offline builds.

 I also specified the libc version, as this is what we require when
 checking for rust dependencies.

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


More information about the tor-bugs mailing list