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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 29 14:37:29 UTC 2018


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

Comment (by eighthave):

 I understand that all the versions need to be lined up, the question is
 what lines up with what?  `./build.sh` at least specifies what it needs
 with `COMMIT=`, or is that not always current in go-webrtc?  Looking at
 the [https://travis-ci.org/keroserene/snowflake/builds/374223999 last
 successful travis build], the only [https://gitweb.torproject.org
 /pluggable-
 transports/snowflake.git/commit/?id=6077141f4affdab9b7ce97a9b1c6859825eaaa29
 change to code in snowflake.git] is:

 {{{
 +       } else {
 +               log.SetOutput(ioutil.Discard)
 }}}

 So I forced `./build.sh` to use c279861207c5b15fc51069e96595782350e0ac12.
 Building with go-webrtc at c279861207c5b15fc51069e96595782350e0ac12 fails in
 a new and "interesting" way:
 https://gitlab.com/eighthave/snowflake/-/jobs/113223099
 {{{
 $ go get ./...
 # github.com/keroserene/go-webrtc
 ctestenums.cc:2:41: fatal error: api/peerconnectioninterface.h: No such
 file or directory
  #include "api/peerconnectioninterface.h"
                                          ^
 compilation terminated.
 }}}

 Sorry I'm not more useful troubleshooting this, I know zero Go.  I do know
 building C up and down, but the C parts seem totally opaque and hidden
 behind the Go tricks here.

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


More information about the tor-bugs mailing list