Fail to installation while running "gclient sync"

1,735 views
Skip to first unread message

Ho Yin Wong

unread,
Mar 3, 2017, 12:38:04 PM3/3/17
to discuss-webrtc

Here is the Error code, any one know the reason?

OSError: [Errno 2] No such file or directory: '/Users/********/_gclient_src_inheW9'

Henrik Kjellander

unread,
Mar 7, 2017, 12:39:48 PM3/7/17
to discuss-webrtc
The directory you're referring to is a temporary directory that's present only until the initial cloning is completed. I don't see why you would get that error so please provide more details like which OS you're running, which exact commands you ran and what the full output was.

On Fri, Mar 3, 2017 at 1:12 PM, Ho Yin Wong <hoyin1...@gmail.com> wrote:

Here is the Error code, any one know the reason?

OSError: [Errno 2] No such file or directory: '/Users/********/_gclient_src_inheW9'

--

---
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/5037af66-4694-42ca-b58f-97c43261b7e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ho Yin Wong

unread,
Mar 8, 2017, 10:21:46 AM3/8/17
to discuss-webrtc
Thank for your help @Henrik Kjellander. I am follow these two websites
to install the Depot tools and Webrtc.
For more details, my current Mac OS is 10.11.6. And I have successfully download the depot tools but the Webrtc code. Here is the terminal.

Wongs-MacBook-Pro-3:~ hoyin1994$ cd $HOME/opensource/webrtc_build/

Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ fetch --nohooks webrtc_ios

Running: gclient root

.gclient file in parent directory /Users/hoyin1994 might not be the file you want to use

Your current directory appears to already contain, or be part of, 

a checkout. "fetch" is used only to get new checkouts. Use 

"gclient sync" to update existing checkouts.


Fetch also does not yet deal with partial checkouts, so if fetch

failed, delete the checkout and start over (crbug.com/230691).

Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ gclient sync

.gclient file in parent directory /Users/hoyin1994 might not be the file you want to use

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_qIrjo6"' in /Users/hoyin1994 failed; will retry after a short nap...

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_qIrjo6"' in /Users/hoyin1994 failed; will retry after a short nap...

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_qIrjo6"' in /Users/hoyin1994 failed; will retry after a short nap...

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_qIrjo6"' in /Users/hoyin1994 failed; will retry after a short nap...

Syncing projects: 100% ( 1/ 1) src


src (ERROR)

----------------------------------------

[0:00:00] Started.

[0:00:00] 


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_qIrjo6' in '/Users/hoyin1994'

[0:00:00] Cloning into '/Users/hoyin1994/_gclient_src_qIrjo6'...

[0:00:00] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_qIrjo6' in '/Users/hoyin1994'

[0:00:01] Cloning into '/Users/hoyin1994/_gclient_src_qIrjo6'...

[0:00:01] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_qIrjo6' in '/Users/hoyin1994'

[0:00:02] Cloning into '/Users/hoyin1994/_gclient_src_qIrjo6'...

[0:00:02] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_qIrjo6' in '/Users/hoyin1994'

[0:00:04] Cloning into '/Users/hoyin1994/_gclient_src_qIrjo6'...

[0:00:04] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found

Traceback (most recent call last):

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 908, in _Clone

    self._Run(clone_cmd, options, cwd=self._root_dir, retry=True)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 1197, in _Run

    gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs)

  File "/Users/hoyin1994/depot_tools/gclient_utils.py", line 303, in CheckCallAndFilterAndHeader

    return CheckCallAndFilter(args, **kwargs)

  File "/Users/hoyin1994/depot_tools/gclient_utils.py", line 549, in CheckCallAndFilter

    rv, args, kwargs.get('cwd', None), None, None)

CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_qIrjo6' returned non-zero exit status 128 in /Users/hoyin1994

----------------------------------------

Traceback (most recent call last):

  File "/Users/hoyin1994/depot_tools/gclient.py", line 2129, in <module>

    sys.exit(main(sys.argv[1:]))

  File "/Users/hoyin1994/depot_tools/gclient.py", line 2115, in main

    return dispatcher.execute(OptionParser(), argv)

  File "/Users/hoyin1994/depot_tools/subcommand.py", line 252, in execute

    return command(parser, args[1:])

  File "/Users/hoyin1994/depot_tools/gclient.py", line 1877, in CMDsync

    ret = client.RunOnDeps('update', args)

  File "/Users/hoyin1994/depot_tools/gclient.py", line 1364, in RunOnDeps

    work_queue.flush(revision_overrides, command, args, options=self._options)

  File "/Users/hoyin1994/depot_tools/gclient_utils.py", line 1048, in run

    self.item.run(*self.args, **self.kwargs)

  File "/Users/hoyin1994/depot_tools/gclient.py", line 773, in run

    file_list)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 156, in RunCommand

    return getattr(self, command)(options, args, file_list)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 438, in update

    self._Clone(revision, url, options)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 916, in _Clone

    if os.listdir(tmp_dir):

OSError: [Errno 2] No such file or directory: '/Users/hoyin1994/_gclient_src_qIrjo6'

I hope these information could help.


Henrik Kjellander於 2017年3月8日星期三 UTC+8上午1時39分48秒寫道:
The directory you're referring to is a temporary directory that's present only until the initial cloning is completed. I don't see why you would get that error so please provide more details like which OS you're running, which exact commands you ran and what the full output was.
On Fri, Mar 3, 2017 at 1:12 PM, Ho Yin Wong <hoyin1...@gmail.com> wrote:

Here is the Error code, any one know the reason?

OSError: [Errno 2] No such file or directory: '/Users/********/_gclient_src_inheW9'

--

---
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.

Alexandre GOUAILLARD

unread,
Mar 8, 2017, 11:07:35 AM3/8/17
to discuss...@googlegroups.com
you have a partial checkout, 
you need to delete all the content (including the two .gclient* files) and start again from scratch (fetch webrtc)

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/397b026a-9f07-4342-99e9-fa518d9f1cd5%40googlegroups.com.

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



--
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------

Ho Yin Wong

unread,
Mar 15, 2017, 4:25:06 AM3/15/17
to discuss-webrtc
Sorry Alexandre, I am quite new to terminal and app development. For delete file on through terminal, I need to have the file path but I cant find it, could you show it to me?

Alexandre GOUAILLARD於 2017年3月9日星期四 UTC+8上午12時07分35秒寫道:

Alexandre GOUAILLARD

unread,
Mar 15, 2017, 5:38:12 AM3/15/17
to discuss...@googlegroups.com
Wongs-MacBook-Pro-3:~ hoyin1994$ cd $HOME/opensource/webrtc_build/
Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ fetch --nohooks webrtc_ios

Sure no problem.

from within webrtc_build/ please run
rm -fR *

check that the .gclient* files (there are 2) are not there by running:
ls -la

the expected result is "." and ".." only.

once this is done, you can try to fetch again.




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/00a681fc-3ebd-4b83-9d01-3f0319aad114%40googlegroups.com.

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

Ho Yin Wong

unread,
Mar 22, 2017, 11:56:27 AM3/22/17
to discuss-webrtc
Seem that is not the reason of the problem. Any possible reasons cause that? Thanks.


Wongs-MacBook-Pro-3:~ hoyin1994$ cd $HOME/opensource/webrtc_build/

Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ rm -fR *

Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ ls -la

total 0

drwxr-xr-x  2 hoyin1994  staff   68  3  3 18:15 .

drwxr-xr-x  3 hoyin1994  staff  102  3  3 18:15 ..

Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ fetch --nohooks webrtc_ios

Running: gclient root

.gclient file in parent directory /Users/hoyin1994 might not be the file you want to use

Your current directory appears to already contain, or be part of, 

a checkout. "fetch" is used only to get new checkouts. Use 

"gclient sync" to update existing checkouts.


Fetch also does not yet deal with partial checkouts, so if fetch

failed, delete the checkout and start over (crbug.com/230691).

Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ gclient sync

.gclient file in parent directory /Users/hoyin1994 might not be the file you want to use

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_a5sRBY"' in /Users/hoyin1994 failed; will retry after a short nap...

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_a5sRBY"' in /Users/hoyin1994 failed; will retry after a short nap...

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_a5sRBY"' in /Users/hoyin1994 failed; will retry after a short nap...

WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://webrtc.googlecode.com/svn/trunk" "/Users/hoyin1994/_gclient_src_a5sRBY"' in /Users/hoyin1994 failed; will retry after a short nap...

Syncing projects: 100% ( 1/ 1) src


src (ERROR)

----------------------------------------

[0:00:00] Started.

[0:00:00] 


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_a5sRBY' in '/Users/hoyin1994'

[0:00:00] Cloning into '/Users/hoyin1994/_gclient_src_a5sRBY'...

[0:00:00] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_a5sRBY' in '/Users/hoyin1994'

[0:00:01] Cloning into '/Users/hoyin1994/_gclient_src_a5sRBY'...

[0:00:01] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_a5sRBY' in '/Users/hoyin1994'

[0:00:02] Cloning into '/Users/hoyin1994/_gclient_src_a5sRBY'...

[0:00:02] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found


________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_a5sRBY' in '/Users/hoyin1994'

[0:00:04] Cloning into '/Users/hoyin1994/_gclient_src_a5sRBY'...

[0:00:05] fatal: repository 'http://webrtc.googlecode.com/svn/trunk/' not found

Traceback (most recent call last):

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 908, in _Clone

    self._Run(clone_cmd, options, cwd=self._root_dir, retry=True)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 1197, in _Run

    gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs)

  File "/Users/hoyin1994/depot_tools/gclient_utils.py", line 303, in CheckCallAndFilterAndHeader

    return CheckCallAndFilter(args, **kwargs)

  File "/Users/hoyin1994/depot_tools/gclient_utils.py", line 549, in CheckCallAndFilter

    rv, args, kwargs.get('cwd', None), None, None)

CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://webrtc.googlecode.com/svn/trunk /Users/hoyin1994/_gclient_src_a5sRBY' returned non-zero exit status 128 in /Users/hoyin1994

----------------------------------------

Traceback (most recent call last):

  File "/Users/hoyin1994/depot_tools/gclient.py", line 2129, in <module>

    sys.exit(main(sys.argv[1:]))

  File "/Users/hoyin1994/depot_tools/gclient.py", line 2115, in main

    return dispatcher.execute(OptionParser(), argv)

  File "/Users/hoyin1994/depot_tools/subcommand.py", line 252, in execute

    return command(parser, args[1:])

  File "/Users/hoyin1994/depot_tools/gclient.py", line 1877, in CMDsync

    ret = client.RunOnDeps('update', args)

  File "/Users/hoyin1994/depot_tools/gclient.py", line 1364, in RunOnDeps

    work_queue.flush(revision_overrides, command, args, options=self._options)

  File "/Users/hoyin1994/depot_tools/gclient_utils.py", line 1048, in run

    self.item.run(*self.args, **self.kwargs)

  File "/Users/hoyin1994/depot_tools/gclient.py", line 773, in run

    file_list)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 156, in RunCommand

    return getattr(self, command)(options, args, file_list)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 438, in update

    self._Clone(revision, url, options)

  File "/Users/hoyin1994/depot_tools/gclient_scm.py", line 916, in _Clone

    if os.listdir(tmp_dir):

OSError: [Errno 2] No such file or directory: '/Users/hoyin1994/_gclient_src_a5sRBY'

Wongs-MacBook-Pro-3:webrtc_build hoyin1994$ 


Alexandre GOUAILLARD於 2017年3月15日星期三 UTC+8下午5時38分12秒寫道:

Henrik Kjellander

unread,
Mar 24, 2017, 2:15:47 AM3/24/17
to discuss-webrtc
You're trying to update a really old checkout, that was based on Subversion. 
Please create a new checkout from scratch according to the instructions on webrtc.org (in another directory).

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/4da43b64-c7f5-4a2e-89ad-ab9009aa90a6%40googlegroups.com.

Saïd BENAISSA

unread,
Oct 23, 2020, 6:39:59 PM10/23/20
to discuss-webrtc
I have the same problem. but where can i find the new repository
Can some share the link of that has trunk directory.

--------

Reply all
Reply to author
Forward
0 new messages