Hi
When running the command
gclient sync --force
The command will run for a while with masses of output, then I get this error:
Hook 'download_from_google_storage --directory --recursive --num_threads=10 --no_auth --bucket chromium-webrtc-resources trunk/resources' took 49.55 secs
________ running '/usr/bin/python trunk/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' in '/home/xxx'
ERROR at //build/config/linux/pkg_config.gni:31:17: Script returned non-zero exit code.
pkgresult = exec_script("//build/config/linux/pkg-config.py",
^----------
Current dir: /home/xxx/trunk/out/gn_build.Release/
Command: python /home/xxx/trunk/build/config/linux/pkg-config.py -s /home/xxx/trunk/third_party/android_tools/ndk/platforms/android-14/arch-arm -a arm libudev
Returned 1.
Generating gyp files from GN...
Error: Command /usr/bin/python trunk/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0 returned non-zero exit status 1 in /home/xxx
It seems to be having a problem with the command at the bottom. When I try to run that command I get this output:
xxx@h88-150-232-106:~/trunk/third_party/android_tools/ndk/platforms/android-14/arch-arm/usr/include$ python /home/xxx/trunk/build/config/linux/pkg-config.py -s /home/xxx/trunk/third_party/android_tools/ndk/platforms/android-14/arch-arm -a arm libudev
Traceback (most recent call last):
File "/home/xxx/trunk/build/config/linux/pkg-config.py", line 117, in <module>
prefix = GetPkgConfigPrefixToStrip(args)
File "/home/xxx/trunk/build/config/linux/pkg-config.py", line 77, in GetPkgConfigPrefixToStrip
env=os.environ)
File "/usr/lib/python2.7/subprocess.py", line 575, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['pkg-config', '--variable=prefix', 'libudev']' returned non-zero exit status 1
Has anyone else had this issue, or have any idea how to put it right? I've checked the path of all the libraries(java, sdk, ndk), seems to be good.
Any help would be appreciated
Thanks