Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #31390
Closed (moved) (moved)
Open
Issue created Aug 11, 2019 by yurivict271@yurivict271

--enable-rust with pre-downloaded Rust dependencies fails: no .cargo-checksum.json files

In the FreeBSD port I am downloading the dependencies and supplying digest-0.7.2 libc-0.2.39 directories as they appear on GitHub pointed by the TOR_RUST_DEPENDENCIES environment variable.

The build fails:

error: failed to load source for a dependency on `digest`

Caused by:
  Unable to update registry `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to update replaced source registry `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to load checksum `.cargo-checksum.json` of libc v0.2.39

Caused by:
  failed to read `/usr/ports/security/tor/work/tor-0.4.0.5/rs/libc-0.2.39/.cargo-checksum.json`

Is some command supposed to be run that would build .cargo-checksum.json ?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking