[tor-bugs] #24795 [Core Tor/Tor]: test_rust fails on osx with "can't find crate for `libc`"

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 20 20:34:25 UTC 2018


#24795: test_rust fails on osx with "can't find crate for `libc`"
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:  isis
     Type:  defect                               |         Status:
                                                 |  accepted
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, osx, tests, 032-backport,      |  Actual Points:
  033-triage-20180320                            |
Parent ID:                                       |         Points:  1
 Reviewer:                                       |        Sponsor:
                                                 |  SponsorM-can
-------------------------------------------------+-------------------------
Changes (by isis):

 * owner:  (none) => isis
 * keywords:
     rust, osx, tests, 032-backport, 033-triage-20180320,
     033-removed-20180320
     => rust, osx, tests, 032-backport, 033-triage-20180320
 * points:   => 1
 * status:  new => accepted
 * sponsor:   => SponsorM-can


Comment:

 It might be something glitchy/weird with your local cargo setup on the
 Mac? Maybe try doing `cargo clean` in the protover directory and running
 `make test-rust` again? Also, possibly your lockfile has something weird
 going on, so maybe if that doesn't fix it, try `rm src/rust/Cargo.lock`
 and running again?

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


More information about the tor-bugs mailing list