Errors with gclient sync with Android webrtc today

1,109 views
Skip to first unread message

tech74

unread,
Jan 6, 2017, 12:07:08 PM1/6/17
to discuss-webrtc
Hi, 

Downloaded fresh install today of Android webrtc

fetch --nohooks webrtc_android

This works fine, then when I run 

gclient sync

I get the following error

Syncing projects: 100% (43/43) src/third_party/android_tools/ndk         

src/third_party/android_tools/ndk (ERROR)
----------------------------------------
[0:11:33] Started.
----------------------------------------
Error: 43> 
43> ____ src/third_party/android_tools/ndk at 26d93ec07f3ce2ec2cdfeae1b21ee6f12ff868d8
43> You have unstaged changes.
43> Please commit, stash, or reset.


Anyone know how to get past this

Thanks




Raj

unread,
Jan 10, 2017, 12:17:36 PM1/10/17
to discuss-webrtc
Hello There,
                 I am stuck with same error. Can anyone help? I am running these commands on Windows command prompt with admin rights.

Christoffer Jansson

unread,
Jan 11, 2017, 3:23:00 AM1/11/17
to discuss...@googlegroups.com
On Tue, Jan 10, 2017 at 6:17 PM Raj <giriraj....@gmail.com> wrote:
Hello There,
                 I am stuck with same error. Can anyone help? I am running these commands on Windows command prompt with admin rights.

Fetching webrtc_android will only work on Linux. 

On Friday, January 6, 2017 at 9:07:08 AM UTC-8, tech74 wrote:
Hi, 

Downloaded fresh install today of Android webrtc

fetch --nohooks webrtc_android

This works fine, then when I run 

gclient sync

I get the following error

Syncing projects: 100% (43/43) src/third_party/android_tools/ndk         

src/third_party/android_tools/ndk (ERROR)
----------------------------------------
[0:11:33] Started.
----------------------------------------
Error: 43> 
43> ____ src/third_party/android_tools/ndk at 26d93ec07f3ce2ec2cdfeae1b21ee6f12ff868d8
43> You have unstaged changes.
43> Please commit, stash, or reset.


Anyone know how to get past this
Maybe your depot tools has not been updated properly? It should do it automatically when you run gclient sync. 

Before you do gclient sync, what do you see when you do git status

/Chris

Thanks




--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/69f82a08-6db0-4b04-955c-b0016472f338%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
/Chris

tech74

unread,
Jan 12, 2017, 11:28:55 AM1/12/17
to discuss-webrtc
OK, I deleted everything tried again

fetch --nohooks webrtc_android
gclient sync


These 2 steps work fine now. I have also downloaded openjdk 7 on Ubuntu 12.04
and installed the depot tools and included in PATH.

When I run 

gn gen out/Debug --args='target_os="android" target_cpu="arm"'

in the src directory I get an exception thrown in /usr/lib/python2.7/subprocess.py called from
line 33 of gn.py

tech74

unread,
Jan 12, 2017, 12:05:54 PM1/12/17
to discuss-webrtc

Problem starts with this call

return subprocess.call([gn_path] + args[1:])

mbon...@webrtc.org

unread,
Jan 12, 2017, 3:00:50 PM1/12/17
to discuss-webrtc
Hi,

can you provide more information? Do you see a stack trace?

Mirko

Christoffer Jansson

unread,
Jan 13, 2017, 3:17:57 AM1/13/17
to discuss-webrtc
Hi,

Have you done the install-build-deps.sh step in https://webrtc.org/native-code/development/prerequisite-sw/ as part of the first step on https://webrtc.org/native-code/android/?

/Chris

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
/Chris

Puneet Mann

unread,
Feb 22, 2017, 2:53:31 AM2/22/17
to discuss-webrtc
Hi,

Was anyone able to get through this.I am facing the same issue and git status says nothing to commit and tree clean.
git stash also says no local changes to save

Regards,
Puneet 

Sami Kalliomäki

unread,
Feb 22, 2017, 3:12:26 AM2/22/17
to discuss-webrtc
If you don't have any important changes in these folders, you can force the update with `gclient sync -R`. This will do a hard reset in all the dependency directories.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/82620978-836f-4206-83a9-486b28f4b967%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages