[tor-bugs] #24608 [Core Tor/Tor]: Update our Cargo.lock file to remove the deprecated and removed [root] section

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 12 23:50:49 UTC 2017


#24608: Update our Cargo.lock file to remove the deprecated and removed [root]
section
------------------------------+--------------------------------
     Reporter:  isis          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  High          |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.3.2.6-alpha
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:  Sponsor8-can  |
------------------------------+--------------------------------
 This is [https://travis-ci.org/tlyu/tor/jobs/315398995 causing build
 errors on Travis], which picked up the newest cargo nightly a week ago. As
 pointed out by Sebastian, the error appears to be due to
 [https://github.com/rust-lang/cargo/issues/4563 cargo issue #4563], which
 completely removed the `[root]` section of Cargo.lock files. Often,
 historically, the `[root]` section was used with an arbitrary non-existent
 crate, before cargo workspaces were implemented. However, our Cargo.lock
 file contains not only a `[root]`, but one which points to a non-arbitrary
 crate, `tor_util`. IIUC, we'll just need to remove that section.

 (While we're at it, we may want to update to the newest libc dependency.)

 I think we'll need to backport this to 0.3.0.x, since no newer cargos will
 build something with a `[root]` section.

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


More information about the tor-bugs mailing list