[tor-bugs] #28205 [Obfuscation/Snowflake]: linking against other libwebrtc binaries errors out on missing symbols
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Nov 13 22:40:08 UTC 2018
#28205: linking against other libwebrtc binaries errors out on missing symbols
-----------------------------------+---------------------------
Reporter: eighthave | Owner: eighthave
Type: defect | Status: accepted
Priority: Medium | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Major | Resolution:
Keywords: android | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------------+---------------------------
Comment (by dcf):
Replying to [comment:16 eighthave]:
> The whole shebang builds and the tests pass, but only for go 1.11:
> https://gitlab.com/eighthave/go-webrtc/-/jobs/118746063
>
> For some bizarre reason, the rest bail out with "go get: no install
location for directory /builds/eighthave/go-webrtc outside GOPATH":
> https://gitlab.com/eighthave/go-webrtc/pipelines/36080763
This error is not really a problem: "no install location for directory
/builds/eighthave/go-webrtc outside GOPATH". You can ignore it. It just
means that your checkout of go-webrtc isn't under GOPATH; i.e., you did
`git clone https://github.com/keroserene/go-webrtc` rather than `go get
github.com/keroserene/go-webrtc` initially. That's actually how I usually
do it too. But to make the error message go away, you can use `go get` to
download the go-webrtc repo.
Go 1.11 took steps away from using a centralized GOPATH and introduced
[https://github.com/golang/go/wiki/Modules modules]. That's probably why
you don't get the error under 1.11.
The rbm Tor Browser build actually doesn't use `go get` at all--we
manually `git clone` the main repo and all its dependencies and put them
in the same place under GOPATH that `go get` would have put them. We do
that because before the new modules system, there wasn't a way to download
a specific commit hash for each dependency.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28205#comment:23>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list