[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28205 [Obfuscation/Snowflake]: linking against other libwebrtc binaries errors out on missing symbols
#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 arlolra):
Replying to [comment:17 eighthave]:
>
>
> Anyone know anything about **gn**? I guess it is something from ninja
or deploy_tools. This is stumping me:
>
> https://gitlab.com/eighthave/go-webrtc/-/jobs/119428248
> {{{
> + gn gen out/Release '--args=target_os="android" target_cpu="arm"
is_debug=false use_custom_libcxx=false'
> ERROR at //build/config/android/internal_rules.gni:122:23: Can't load
input file.
> deps += [ "${_target_label}__build_config" ]
> ^-------------------------------
> }}}
Maybe the more pressing part of that error is,
{{{
Unable to load:
/builds/eighthave/go-
webrtc/third_party/webrtc/src/third_party/findbugs/BUILD.gn
I also checked in the secondary tree for:
/builds/eighthave/go-
webrtc/third_party/webrtc/src/build/secondary/third_party/findbugs/BUILD.gn
+ exit 1
$ export ANDROID_HOME=$WEBRTC_SRC/third_party/android_tools/sdk
$ ls -lR $ANDROID_HOME
ls: cannot access '/builds/eighthave/go-
webrtc/third_party/webrtc/src/third_party/android_tools/sdk': No such file
or directory
}}}
It looks like you're missing some dependencies. My `.gclient_entries` has
some lines like,
{{{
'src/third_party/android_tools':
'https://chromium.googlesource.com/android_tools.git@9914c5704717424998c69e837be3631914d787cc',
'src/third_party/android_tools/ndk':
'https://chromium.googlesource.com/android_ndk.git@aabf5c8f4b1ce4269be4791b469e27b15d93a3f2',
}}}
I think those are there because my `.gclient` file has `target_os =
['android', 'linux']`. I may have manually edited that and sync'd, I
don't remember, but there should be some command line flag to gclient to
specify that. That should pull them in and unblock. Let me know if you
need help figuring out how that work.
While I'm here, are you doing this? `./build/linux/sysroot_scripts
/install-sysroot.py --arch=arm`
From https://github.com/keroserene/go-webrtc/blob/master/build.sh#L74-L79
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28205#comment:26>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs