common-tater / wkwebview-webrtc-shim

RTCPeerConnection and RTCDataChannel shims for iOS
49 stars 5 forks source link

OSError: [Errno 2] No such file or directory #3

Open noamtcohen opened 7 years ago

noamtcohen commented 7 years ago

I'm trying to build the project with this command:

bin/build-libwebrtc

getting this error:

OSError: [Errno 2] No such file or directory: '/Users/******/wkwebview-webrtc-shim-master/build/src/third_party/_gclient_junit-jar_E6JT6C'

looking a bit back I see that this repo doesn't exist: https://chromium.googlesource.com/external/webrtc/deps/third_party/junit fatal: remote error: Git repository not found

jessetane commented 7 years ago

not possible that somehow you are missing depot_tools, right? or maybe try running gclient sync to make sure dependencies are up to date? I don't have time to look at this today but I'll follow up soon.

noamtcohen commented 7 years ago

depot_tools are installed but when I run gclient sync I get: Error: client not configured; see 'gclient config' I'm not sure how use gclient config in this case.

noamtcohen commented 7 years ago

junit repo seems to have been move to here: https://chromium.googlesource.com/external/junit git clone https://chromium.googlesource.com/external/junit and place the repo in: wkwebview-webrtc-shim-master/build/src/third_party and the build script continues... and fails again next time I try with the same error...

noamtcohen commented 7 years ago

Maybe you can give me a link to a pre built WKWebViewWebRTCShim ?

jessetane commented 7 years ago

Sorry for the delay getting back to you, I know building chromium can be a pain and I've also run into weird issues where my checkout for whatever reason just can't seem to be updated. Starting again from scratch and doing a fresh checkout generally seems to work though (if you have the time).

noamtcohen commented 7 years ago

Thank you for getting back to me, so I'll checkout wkwebview-webrtc-shim again and run bin/build-libwebrtc and I'll tell you how it goes (went?).

jessetane commented 7 years ago

Oh, I think you just have to blow away the chromium checkout, not the whole library - should just be a directory called build

On Wed, Jan 4, 2017 at 5:26 PM, noamtcohen notifications@github.com wrote:

Thank you for getting back to me, so I'll checkout wkwebview-webrtc-shim again and run bin/build-libwebrtc and I'll tell you how it goes (went?).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/common-tater/wkwebview-webrtc-shim/issues/3#issuecomment-270505205, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbnLGIm5QQeasr-aezPjE09E1idy0Qeks5rPByZgaJpZM4LSvGZ .

jessetane commented 7 years ago

You know, it might be that the branch used in the build script is just no longer compatible with the latest depot_tools. The patches mentioned in the comments have probably already landed... I don't have time to dig into it right now but it might be easy to enough to fix, see this bit: https://github.com/common-tater/wkwebview-webrtc-shim/blob/master/bin/build-libwebrtc#L91-L107

On Wed, Jan 4, 2017 at 5:30 PM, Jesse Tane jesse.tane@gmail.com wrote:

Oh, I think you just have to blow away the chromium checkout, not the whole library - should just be a directory called build

On Wed, Jan 4, 2017 at 5:26 PM, noamtcohen notifications@github.com wrote:

Thank you for getting back to me, so I'll checkout wkwebview-webrtc-shim again and run bin/build-libwebrtc and I'll tell you how it goes (went?).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/common-tater/wkwebview-webrtc-shim/issues/3#issuecomment-270505205, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbnLGIm5QQeasr-aezPjE09E1idy0Qeks5rPByZgaJpZM4LSvGZ .

noamtcohen commented 7 years ago

Ok, I've tried to checkout again but same issue. I'll take a look at link you've sent me.

jessetane commented 7 years ago

Yeah, try building from release 55 without the cherry picking, might work.