[tor-bugs] #28205 [Obfuscation/Snowflake]: linking against other libwebrtc binaries errors out on missing symbols

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 21 12:47:50 UTC 2018


#28205: linking against other libwebrtc binaries errors out on missing symbols
-----------------------------------+------------------------------
 Reporter:  eighthave              |          Owner:  eighthave
     Type:  defect                 |         Status:  needs_review
 Priority:  Medium                 |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Major                  |     Resolution:
 Keywords:  android                |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------

Comment (by eighthave):

 Ok, I figured out the `go get` issue, it seems sometimes that `go get`
 decides that it needs to have `.git` at the end of the path, and other
 times not.  So I used symlinks to provide both options.  Then I only built
 `.../client/lib`, not the whole client.  `gomobile bind` gets pretty far
 before dying with:

 {{{
 /tmp/gomobile-work-032904235/src/gobind/go_libmain.go:1052:17: cannot use
 (*proxylib_SocksConnector)(_param_socks_ref) (type
 *proxylib_SocksConnector) as type lib.SocksConnector in assignment:
         *proxylib_SocksConnector does not implement lib.SocksConnector
 (missing Grant method)
 /tmp/gomobile-work-032904235/src/gobind/go_libmain.go:1061:22: cannot use
 (*proxylib_SnowflakeCollector)(_param_snowflakes_ref) (type
 *proxylib_SnowflakeCollector) as type lib.SnowflakeCollector in
 assignment:
         *proxylib_SnowflakeCollector does not implement
 lib.SnowflakeCollector (missing Melted method)
 }}}
 https://gitlab.com/eighthave/snowflake/-/jobs/123509344

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


More information about the tor-bugs mailing list