Open divyamML opened 9 years ago
can you attach the build output? not sure where it is failing
now I see below error for all architectures
____ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-luci -d src/tools/luci-go/mac64' in '/Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/src/chromium' Error: Command 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-luci -d src/tools/luci-go/mac64' returned non-zero exit status 1 in /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/src/chromium /Users/divyam/pristineio/webrtc-build-scripts/ios/depot_tools/external_bin/gsutil/gsutil_4.7/gsutil/third_party/boto/boto/pyami/config.py:72: UserWarning: Unable to load AWS_CREDENTIAL_FILE () warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path) Copying gs://chromium-luci/e3a5852f682eeb31cef1c887c2a84777d7fae53d... OSError: Permission denied.
0> Downloading src/tools/luci-go/mac64/isolate... 0> /Users/divyam/pristineio/webrtc-build-scripts/ios/depot_tools/external_bin/gsutil/gsutil_4.7/gsutil/third_party/boto/boto/pyami/config.py:72: UserWarning: Unable to load AWS_CREDENTIAL_FILE () warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path) Copying gs://chromium-luci/e3a5852f682eeb31cef1c887c2a84777d7fae53d... OSError: Permission denied.
Error: Command '/usr/bin/python -u src/sync_chromium.py --target-revision f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d' returned non-zero exit status 2 in /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc Hook '/usr/bin/python -u src/sync_chromium.py --target-revision f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d' took 15.59 secs Running ninja ninja: Entering directory `out_ios_arm64_v8a/Release-iphoneos/' ninja: fatal: chdir to 'out_ios_arm64_v8a/Release-iphoneos/' - No such file or directory Running libtool error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Release-iphoneos/*.a (No such file or directory) Running strip error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/libjingle_peerconnection_builds/libWebRTC-9716-ios-arm64_v8a-Release.a (No such file or directory) .gclient file in parent directory /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc might not be the file you want to use
It seem to be some permission error. I recommend you completely remove your current directory of WebRTC, update the scripts and try again.
it's same as https://groups.google.com/forum/#!topic/discuss-webrtc/PZZsXDXBpNM it might not be at my end, anyways will clean and retry
That's a very old issue, I'll be surprised if it is still relevant
I'm getting the same error although I think I have a slightly different log. Completely removing the WebRTC directory and running dance again did not help.
This is what I get when running build_apprtc.
___ running '/usr/bin/python -c import os,sys;script = os.path.join("trunk","check_rootdir.py"); = os.system("%s %s" % (sys.executable,script)) if os.path.exists(script) else 0' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
____ running '/usr/bin/python -u src/sync_chromium.py --target-revision f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc' Chromium already up to date: f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d
____ running '/usr/bin/python src/setup_links.py' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
____ running '/usr/bin/python src/third_party/instrumented_libraries/scripts/download_binaries.py' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
____ running 'download_from_google_storage --directory --recursive --num_threads=10 --no_auth --bucket chromium-webrtc-resources src/resources' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
____ running '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc' Updating projects from gyp files... Hook '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' took 17.57 secs Running ninja ninja: Entering directory `out_ios_armeabi_v7a/Debug-iphoneos/' ninja: error: unknown target 'libWebRTC_objc' Running libtool error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc/src/out_ios_armeabi_v7a/Debug-iphoneos/*.a (No such file or directory)
@mark-jimenez-outsourced can you try using the 2 step instructions (calling get_webrtc and build_webrtc)?
That doesn't work either. Can you try a clean build and see if it works for you ?
Ditto with @divyamML , get_webrtc and build_webrtc doesn't work either. I'm on OSX 10.10.4 if that helps.
Can you let me know what are the reproduction steps? It's working for me
start a fresh new checkout and you will see the error when you'd try to build
if you use an existing (working) checkout then probably because of no absolute clean you don't see it
Any update on how to fix this? I am too getting this error.
I got this error today!
same here
The string FIND can not be found in $WEBRTC/src/webrtc/webrtc_examples.gyp
See pull requests for detail.
Again with revision 11025. I found the following lines in webrtc_examples.gyp:
['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { 'targets': [ { 'target_name': 'apprtc_common', 'type': 'static_library', 'dependencies': [ '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_default', '../talk/libjingle.gyp:libjingle_peerconnection_objc', ],
That looks like the strings in FIND except for the target_name. Does that mean the file 'insert_two_lines_after_text.py' is not required anymore?
same error here, anyone can help on this issue. thanks
getting this during dance