Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,066
    • Issues 1,066
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #31188

Closed
Open
Opened Jul 17, 2019 by Trac@tracbot

make[1]: don't know how to make ./src/rust/target/release/libtor_rust.a

Hi,

I'm trying to add the option to build tor with Rust to pkgsrc. On NetBSD 9 (8.99.48) amd64, this fails at the moment:

...

CC src/trunnel/libor_trunnel_a-socks5.oCC src/trunnel/libor_trunnel_a-netinfo.oCC src/trunnel/libor_trunnel_a-circpad_negotiation.oAR src/trunnel/libor-trunnel.aCC src/lib/trace/trace.oAR src/lib/libtor-trace.a

make[1]: don't know how to make ./src/rust/target/release/libtor_rust.a. Stop

make[1]: stopped in /usr/work/pkgsrc-ng0/tor/work/tor-0.4.0.5 *** Error code 2

Stop. make: stopped in /usr/work/pkgsrc-ng0/tor/work/tor-0.4.0.5 *** Error code 1

Stop. make[1]: stopped in /usr/pkgsrc/pkgsrc-ng0/tor *** Error code 1

Stop. make: stopped in /usr/pkgsrc/pkgsrc-ng0/tor

rust and cargo are available in the build environment, and the crates are made available ahead of time and TOR_RUST_DEPENDENCIES points to the directory they are in.

Questions: to verify if I hit an error on tor's side or Rust specifics wrt NetBSD, and not on my side, do you support verbose builds? If you have seen this kind of error before in to on other platforms, was there a resolution (I have seen 3 vaguely similar tickets).

Disclaimer: I'm a contributor to pkgsrc, but I'm not the pkgsrc maintainer for tor, so this is more of a personal exploration to see if I can propose it.

Thanks.

Trac:
Username: ng0

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: tpo/core/tor#31188