#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):

 If there is a proper library with an API, then my guess is that we will
 not need `client/mobile/` at all.  Perhaps @n8fr8 can weigh in there.

 About the patch, could a more descriptive name be used instead of `package
 lib`?  I'm not sure the rules of Go namespaces, we will need to avoid name
 conflicts since ultimately, we want to bundle as many PTs together into a
 single shared library, which then can be dynamically
 loaded/started/stopped from tor daemon, Orbot, in Android apps, etc.  Here
 are the build attempts:

 * Building a shared library with `gomobile bind`
 https://gitlab.com/eighthave/snowflake/-/jobs/123363079

 * Building an Android app with `gomobile build`, which fails, then
 extracting the shared lib:
 https://gitlab.com/eighthave/snowflake/-/jobs/123362365

 Both of these jobs fail on:

 {{{
 $ go get ./...
 package git.torproject.org/pluggable-transports/snowflake.git/client/lib:
 cannot find package "git.torproject.org/pluggable-
 transports/snowflake.git/client/lib" in any of:
         /usr/local/go/src/git.torproject.org/pluggable-
 transports/snowflake.git/client/lib (from $GOROOT)
         /go/src/git.torproject.org/pluggable-
 transports/snowflake.git/client/lib (from $GOPATH)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28205#comment:44>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to