Re: [chromium-discuss] Chromium source getting using depot_tools

1,173 views
Skip to first unread message

Rouslan Solomakhin

unread,
Jul 30, 2014, 4:30:02 PM7/30/14
to rdesi...@gmail.com, Chromium-discuss
You may want to run "fetch --nohooks chromium --nosvn=True" outside of c:\depot_tools. Try running it in c:\chrome instead.


On Tue, Jul 29, 2014 at 11:38 PM, Desingraj Rajaram <rdesi...@gmail.com> wrote:
I am using the depot_tools to get the chromium from the Git. I  have followed and installed all the things related to the following article here for my win7 PC.

I have a problem when trying to get the source from Git using the following command fetch chromium --nosvn=True.

I am able to see the console shows 74% receiving the objects but after that it says some error, here it is 

[3 days, 1:48:50] Receiving objects:  74% (2276002/3039311), 1.14 GiB | 78.00 KiB/s
[3 days, 1:48:52] Receiving objects:  74% (2276002/3039311), 1.14 GiB | 91.00 KiB/s
[3 days, 1:48:54] Receiving objects:  74% (2276002/3039311), 1.14 GiB | 78.00 KiB/s
[3 days, 1:48:56] Receiving objects:  74% (2276002/3039311), 1.14 GiB | 111.00 KiB/s
[3 days, 22:48:35] fatal: early EOF
[3 days, 22:48:35] fatal: The remote end hung up unexpectedly
[3 days, 22:48:35] fatal: index-pack failed
[3 days, 22:48:35] error: RPC failed; result=56, HTTP code = 200
Traceback (most recent call last):
  File "c:\depot_tools\gclient_scm.py", line 833, in _Clone self._Run(clone_cmd, options, cwd=self._root_dir, retry=True)
  File "c:\depot_tools\gclient_scm.py", line 1077, in _Run return gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "c:\depot_tools\gclient_utils.py", line 526, in CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None)
CalledProcessError: Command git -c core.deltaBaseCacheLimit=512m clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git c:\depot_tools\_gclient_src_8klkfo returned non-zero exit status 128 in c:\depot_tools
----------------------------------------
Traceback (most recent call last):
  File "c:\depot_tools\gclient.py", line 2064, in <module> sys.exit(Main(sys.argv[1:]))
  File "c:\depot_tools\gclient.py", line 2052, in Main return dispatcher.execute(OptionParser(), argv)
  File "c:\depot_tools\subcommand.py", line 245, in execute return command(parser, args[1:])
  File "c:\depot_tools\gclient.py", line 1830, in CMDsync ret = client.RunOnDeps('update', args)
  File "c:\depot_tools\gclient.py", line 1342, in RunOnDeps work_queue.flush(revision_overrides, command, args, options=self._options)
  File "c:\depot_tools\gclient_utils.py", line 982, in run self.item.run(*self.args, **self.kwargs)
  File "c:\depot_tools\gclient.py", line 744, in run file_list)
  File "c:\depot_tools\gclient_scm.py", line 160, in RunCommand return getattr(self, command)(options, args, file_list)
  File "c:\depot_tools\gclient_scm.py", line 389, in update self._Clone(revision, url, options)
  File "c:\depot_tools\gclient_scm.py", line 841, in _Clone if os.listdir(tmp_dir):
WindowsError: [Error 3] The system cannot find the path specified: u'c:\\depot_tools\\_gclient_src_8klkfo\\*.*'
Traceback (most recent call last):
  File "c:\depot_tools\\fetch.py", line 302, in <module>  sys.exit(main())
  File "c:\depot_tools\\fetch.py", line 298, in main return run(options, spec, root)
  File "c:\depot_tools\\fetch.py", line 292, in run  return checkout.init()
  File "c:\depot_tools\\fetch.py", line 119, in init  self.run_gclient(*sync_cmd)
  File "c:\depot_tools\\fetch.py", line 75, in run_gclient  return self.run(cmd_prefix + cmd, **kwargs)
  File "c:\depot_tools\\fetch.py", line 65, in run return subprocess.check_call(cmd, **kwargs)
  File "c:\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('c:\\depot_tools\\python276_bin\\python.exe', 'c:\\depot_tools\\gclient.py', 'sync')' returned non-zero exit status 1

c:\depot_tools>

Any help would be more valuable here, as I am suffering from this for almost 2 weeks.

Thanks in advance

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss


Rouslan Solomakhin

unread,
Aug 1, 2014, 10:56:41 AM8/1/14
to RDesingraj, Chromium-discuss
Your chrome folder will be c:\chrome\src. Do not copy contents of c:\depot_tools. If you're finding that you cannot run "fetch" or "gclient" from c:\chrome, make sure to add c:\depot_tools to your PATH environment variable.


On Fri, Aug 1, 2014 at 4:17 AM, RDesingraj <rdesi...@gmail.com> wrote:
Thanks for your help here.  If I will run the command from outside of  c:\depot_tools, like c:\chrome, what would be the chrome folder?
May I copy the contents from  c:\depot_tools to c:\chrome? Please correct me if anything I am wrong in this.

Thanks again
--
Thank You!
Desingraj


Rouslan Solomakhin

unread,
Aug 7, 2014, 1:29:41 PM8/7/14
to Desingraj Rajaram, Chromium-discuss
Did you run these commands in cmd.exe?

c:\users\me> mkdir \chrome
c:\users\me> cd \chrome
c:\chrome> fetch --nohooks chromium --nosvn=True


On Wed, Aug 6, 2014 at 10:39 PM, Desingraj Rajaram <rdesi...@gmail.com> wrote:
I dont have a folder in  c:/chrome, even the environmental variable path is set well to depot tools. Anything more?

Thanks in advance

Rouslan Solomakhin

unread,
Aug 8, 2014, 4:12:19 PM8/8/14
to RDesingraj, Chromium-discuss
Run this from your cmd command:

set PATH=%PATH%;c:\depot_tools

You have to do this every time you open a new cmd.exe window. If you want this change to be permanent, lookup modifying environment variables on Windows.


On Thu, Aug 7, 2014 at 9:27 PM, RDesingraj <rdesi...@gmail.com> wrote:
This is the cmd window I have got while trying to enter the command.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Panorosys> mkdir \chrome
A subdirectory or file \chrome already exists.

C:\Users\Panorosys>cd \chrome

C:\chrome>fetch --nohooks chromium --nosvn=True
'fetch' is not recognized as an internal or external command,
operable program or batch file.

C:\chrome>

Thanks again.

--
Thank You!
Desingraj


Kipkorir Gilbert

unread,
Aug 11, 2014, 11:44:23 AM8/11/14
to rdesi...@gmail.com, Rouslan Solomakhin, Chromium-discuss
If you are interested in just building the chromium browser then this might be helpful

http://chromium-browser-source.commondatastorage.googleapis.com/chromium_tarball.html

Best,

Gilbert


On Mon, Aug 11, 2014 at 7:27 AM, RDesingraj <rdesi...@gmail.com> wrote:
This is what I am getting again, Is there any other options to get the src from anywhere as a zip?

[4:02:33] Receiving objects:  80% (2470831/3066805), 1.29 GiB | 117.00 KiB/s
[4:02:34] Receiving objects:  80% (2471059/3066805), 1.29 GiB | 117.00 KiB/s
[4:02:35] Receiving objects:  80% (2471249/3066805), 1.29 GiB | 116.00 KiB/s
[4:02:36] Receiving objects:  80% (2471594/3066805), 1.29 GiB | 116.00 KiB/s
[4:02:37] Receiving objects:  80% (2471815/3066805), 1.29 GiB | 96.00 KiB/s
[4:02:39] Receiving objects:  80% (2471992/3066805), 1.29 GiB | 114.00 KiB/s
[4:02:41] Receiving objects:  80% (2472110/3066805), 1.29 GiB | 95.00 KiB/s
[4:02:44] Receiving objects:  80% (2473138/3066805), 1.29 GiB | 97.00 KiB/s
[4:02:45] Receiving objects:  80% (2473593/3066805), 1.29 GiB | 114.00 KiB/s
[4:02:46] Receiving objects:  80% (2473726/3066805), 1.29 GiB | 114.00 KiB/s
[4:02:48] Receiving objects:  80% (2473872/3066805), 1.29 GiB | 135.00 KiB/s
[4:02:49] Receiving objects:  80% (2473873/3066805), 1.29 GiB | 116.00 KiB/s
[4:04:13] Receiving objects:  80% (2473873/3066805), 1.29 GiB | 6.00 KiB/s
[4:08:15] fatal: early EOF
[4:08:15] fatal: The remote end hung up unexpectedly
[4:08:15] fatal: index-pack failed
[4:08:15] error: RPC failed; result=56, HTTP code = 200
[4:08:16] Cloning into 'c:\chrome\_gclient_src__oeqj_'...
[4:08:28] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': Could not resolve host: chromium.googlesource.com
[4:08:29] Cloning into 'c:\chrome\_gclient_src__oeqj_'...
[4:08:41] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': Could not resolve host: chromium.googlesource.com
[4:08:43] Cloning into 'c:\chrome\_gclient_src__oeqj_'...
[4:08:55] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': Could not resolve host: chromium.googlesource.com
Traceback (most recent call last):
  File "c:\depot_tools\gclient_scm.py", line 852, in _Clone    self._Run(clone_cmd, options, cwd=self._root_dir, retry=True)
  File "c:\depot_tools\gclient_scm.py", line 1098, in _Run    return gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "c:\depot_tools\gclient_utils.py", line 531, in CheckCallAndFilter    rv, args, kwargs.get('cwd', None), None, None)
CalledProcessError: Command git -c core.deltaBaseCacheLimit=512m clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git c:\chrome\_gclient_src__oeqj_ returned non-zero exit status 128 in c:\chrome
----------------------------------------
Traceback (most recent call last):
  File "c:\depot_tools\gclient.py", line 2071, in <module>    sys.exit(Main(sys.argv[1:]))
  File "c:\depot_tools\gclient.py", line 2059, in Main    return dispatcher.execute(OptionParser(), argv)
  File "c:\depot_tools\subcommand.py", line 245, in execute    return command(parser, args[1:])
  File "c:\depot_tools\gclient.py", line 1837, in CMDsync    ret = client.RunOnDeps('update', args)
  File "c:\depot_tools\gclient.py", line 1346, in RunOnDeps    work_queue.flush(revision_overrides, command, args, options=self._options)
  File "c:\depot_tools\gclient_utils.py", line 987, in run    self.item.run(*self.args, **self.kwargs)
  File "c:\depot_tools\gclient.py", line 744, in run    file_list)
  File "c:\depot_tools\gclient_scm.py", line 160, in RunCommand    return getattr(self, command)(options, args, file_list)
  File "c:\depot_tools\gclient_scm.py", line 389, in update    self._Clone(revision, url, options)
  File "c:\depot_tools\gclient_scm.py", line 860, in _Clone    if os.listdir(tmp_dir):
WindowsError: [Error 3] The system cannot find the path specified: u'c:\\chrome\\_gclient_src__oeqj_\\*.*'
Traceback (most recent call last):
  File "c:\depot_tools\\fetch.py", line 317, in <module>    sys.exit(main())
  File "c:\depot_tools\\fetch.py", line 313, in main    return run(options, spec, root)
  File "c:\depot_tools\\fetch.py", line 307, in run    return checkout.init()
  File "c:\depot_tools\\fetch.py", line 122, in init    self.run_gclient(*sync_cmd)
  File "c:\depot_tools\\fetch.py", line 76, in run_gclient    return self.run(cmd_prefix + cmd, **kwargs)
  File "c:\depot_tools\\fetch.py", line 66, in run    return subprocess.check_call(cmd, **kwargs)
  File "c:\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call

    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('c:\\depot_tools\\python276_bin\\python.exe', 'c:\\depot_tools\\gclient.py', 'sync', '--nohooks')' returned non-zero exit status 1

c:\chrome>


On Mon, Aug 11, 2014 at 12:51 PM, RDesingraj <rdesi...@gmail.com> wrote:
Thanks for the assistance, I will update the reflections later, Now I can run the cmd from c:/chrome.



--
Thank You!
Desingraj

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.



--
GK

PhistucK

unread,
Aug 11, 2014, 11:51:09 AM8/11/14
to kipkori...@gmail.com, Anthony LaForge, Desingraj Rajaram, Rouslan Solomakhin, Chromium-discuss
Please, do not suggest that tarball link anymore - it leads to a very old revision - 197479 (from a year and a half ago), that is probably filled with many known security issues that were fixed over the years. Chromium is now at 288719.

Anthony, can you make sure this page is removed?


PhistucK

Rouslan Solomakhin

unread,
Aug 11, 2014, 12:30:01 PM8/11/14
to RDesingraj, Chromium-discuss
On Mon, Aug 11, 2014 at 5:27 AM, RDesingraj <rdesi...@gmail.com> wrote:
[4:08:28] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': Could not resolve host: chromium.googlesource.com

Looks like you lost internet connection. Keep trying :-) 

Yuta Kitamura

unread,
Aug 13, 2014, 1:21:03 AM8/13/14
to rdesi...@gmail.com, Rouslan Solomakhin, Chromium-discuss
Apparently your Internet connections are too slow (it takes ~25h to download 10GiB with 126 KiB/s connection; I think you need to download more) and too flaky (get disconnected intermittently) for downloading the entire source. There's not much we can help in this regard. Sorry.

Yuta


On Wed, Aug 13, 2014 at 1:55 PM, RDesingraj <rdesi...@gmail.com> wrote:
Meanwhile I am getting this warning, can you suggest, is this caused the problem?
[15:35:31] Still working on:
[15:35:31]   src

[15:35:41] Still working on:
[15:35:41]   src

[15:35:51] Still working on:
[15:35:51]   src

[15:36:01] Still working on:
[15:36:01]   src
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=512m" "clone" "--no-checkout" "--progress" "https://chromium.googlesource.com/chromium/src.git" "--depth=1" "c:\chrome\_gclient_src_3i8tav"' in c:\chrome failed; will retry after a short nap...

[15:36:11] Still working on:
[15:36:11]   src

[15:36:21] Still working on:
[15:36:21]   src
--
Thank You!
Desingraj

RDesingraj

unread,
Aug 13, 2014, 1:49:02 AM8/13/14
to Siva P Thumma, yu...@chromium.org, Rouslan Solomakhin, Chromium-discuss
I wanna do some DRM patch updated chromium to deliver my encrypted videos, I am using Marlin DRM technology for this and the patch used for this called "Wasabi". I need to build chromium along with Wasabi patch applied so that encrypted video will be played by decryption using Wasabi patch which applied to this chromium. These encrypted videos won't play in normal web browsers.

Lemme know anything you need to know in this?


On Wed, Aug 13, 2014 at 11:11 AM, Siva P Thumma <siva...@gmail.com> wrote:
I am still trying to understand why Desingraj wants to build the chromeum from scratch.
Any foolproof reason behind this wish Desing ?


-Siva P Thumma






To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.




--
Thank You!
Desingraj

Rouslan Solomakhin

unread,
Aug 19, 2014, 1:30:49 PM8/19/14
to RDesingraj, Daniel Bomar, Siva P Thumma, kipkori...@gmail.com, PhistucK Productions, Chromium-discuss
Please follow these steps from the documentation:
cd src
git checkout master
gclient sync --nohooks
gclient sync
Then you can proceed to use ninja. You can build without the API keys, but Chromium will have limited functionality. For example, you will not be able to sign into Chromium to sync your bookmarks, AFAIK.


On Tue, Aug 19, 2014 at 4:08 AM, RDesingraj <rdesi...@gmail.com> wrote:
I have completed the initial checkout and found a folder named "src" under c:/chrome. I have used the following line in cmd prompt.
fetch --no-history chromium --nosvn=True

I just want to build a chromium browser only and not to make any change in directory. Can I jump to use ninja tools now? or I need to proceed further in this link. There are more things after made the initial checkout like "Contribute, update, etc.," in that link.

Also, building Chromium looks like to install API key. Is this must for my case to get only chromium browser? I am not sure about that. It says 

Building Chromium

  1. Get the Chromium depot_tools.
  2. Check out the source code using a direct svn or git checkout. Do not use a tarball since it is not compatible with Windows' svn client.
  3. Install API keys.
Any help would be grateful




On Wed, Aug 13, 2014 at 3:01 PM, RDesingraj <rdesi...@gmail.com> wrote:
Thanks, I am trying the same now.. Is it having any problem in future if we used in this form?


On Wed, Aug 13, 2014 at 3:00 PM, Daniel Bomar <dbdan...@gmail.com> wrote:

Pass --no-history to cut the size of that download to ~1.5GB




--
Thank You!
Desingraj




--
Thank You!
Desingraj


Primiano Tucci

unread,
Aug 22, 2014, 6:24:52 AM8/22/14
to rdesi...@gmail.com, Rouslan Solomakhin, Daniel Bomar, Siva P Thumma, Kipkorir Gilbert, PhistucK Productions, Chromium-discuss
your out folder got probably corrupted. Delete it, run gclient runhooks, and then run ninja again.


On Fri, Aug 22, 2014 at 6:57 AM, RDesingraj <rdesi...@gmail.com> wrote:
I used ninja -C out\Debug chrome to get the chrome.exe. All were went well for the 10 minutes after put that command. 

My system got blue screen error after that 10 minutes. It happened twice since I got the src and tried ninja build. 

After I restart my PC to continue the build, I again used the ninja -C out\Debug chrome cmd. But I got the following error.

C:\chrome\src>ninja -C out\Debug chrome

ninja: Entering directory `out\Debug'
[14/14689] ACTION base_nacl: build new... plib_7dd3546178aa4d7356e0696cbda83576
FAILED: c:\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 base_nacl_target_build_newlib_plib_7dd3546178aa4d7356e0696cbda83576..rsp ..\..\base

Traceback (most recent call last):
  File "../native_client/build/build_nexe.py", line 1087, in <module>    sys.exit(Main(sys.argv))
  File "../native_client/build/build_nexe.py", line 1069, in Main    out = build.Compile(filename)
  File "../native_client/build/build_nexe.py", line 625, in Compile    if not self.NeedsRebuild(outd, out, src):
  File "../native_client/build/build_nexe.py", line 582, in NeedsRebuild    deps = deps[1]

IndexError: list index out of range
[14/14689] ACTION base_nacl: build irt... nlib_7dd3546178aa4d7356e0696cbda83576
FAILED: c:\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 base_nacl_target_build_irt_x86_64_nlib_7dd3546178aa4d7356e0696cbda83576..rsp ..\..\base

Traceback (most recent call last):
  File "../native_client/build/build_nexe.py", line 1087, in <module>    sys.exit(Main(sys.argv))
  File "../native_client/build/build_nexe.py", line 1069, in Main    out = build.Compile(filename)
  File "../native_client/build/build_nexe.py", line 625, in Compile    if not self.NeedsRebuild(outd, out, src):
  File "../native_client/build/build_nexe.py", line 582, in NeedsRebuild    deps = deps[1]

IndexError: list index out of range
[14/14689] ACTION base_nacl: build new... nlib_7dd3546178aa4d7356e0696cbda83576
FAILED: c:\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 base_nacl_target_build_newlib_x86_32_nlib_7dd3546178aa4d7356e0696cbda83576..rsp ..\..\base

Traceback (most recent call last):
  File "../native_client/build/build_nexe.py", line 1087, in <module>    sys.exit(Main(sys.argv))
  File "../native_client/build/build_nexe.py", line 1069, in Main    out = build.Compile(filename)
  File "../native_client/build/build_nexe.py", line 625, in Compile    if not self.NeedsRebuild(outd, out, src):
  File "../native_client/build/build_nexe.py", line 582, in NeedsRebuild    deps = deps[1]

IndexError: list index out of range
[14/14689] ACTION base_nacl: build IRT... nlib_7dd3546178aa4d7356e0696cbda83576
FAILED: c:\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 base_nacl_target_build_IRT_x86_32_nlib_7dd3546178aa4d7356e0696cbda83576..rsp ..\..\base

Traceback (most recent call last):
  File "../native_client/build/build_nexe.py", line 1087, in <module>    sys.exit(Main(sys.argv))
  File "../native_client/build/build_nexe.py", line 1069, in Main    out = build.Compile(filename)
  File "../native_client/build/build_nexe.py", line 625, in Compile    if not self.NeedsRebuild(outd, out, src):
  File "../native_client/build/build_nexe.py", line 582, in NeedsRebuild    deps = deps[1]

IndexError: list index out of range
[14/14689] ACTION base_nacl: build new... nlib_7dd3546178aa4d7356e0696cbda83576
FAILED: c:\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 base_nacl_target_build_newlib_x86_64_nlib_7dd3546178aa4d7356e0696cbda83576..rsp ..\..\base

Traceback (most recent call last):
  File "../native_client/build/build_nexe.py", line 1087, in <module>    sys.exit(Main(sys.argv))
  File "../native_client/build/build_nexe.py", line 1069, in Main    out = build.Compile(filename)
  File "../native_client/build/build_nexe.py", line 625, in Compile    if not self.NeedsRebuild(outd, out, src):
  File "../native_client/build/build_nexe.py", line 582, in NeedsRebuild    deps = deps[1]

IndexError: list index out of range
[14/14689] ACTION base_nacl: build gli... nlib_7dd3546178aa4d7356e0696cbda83576
FAILED: c:\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 base_nacl_target_build_glibc_x86_64_nlib_7dd3546178aa4d7356e0696cbda83576..rsp ..\..\base

Traceback (most recent call last):
  File "../native_client/build/build_nexe.py", line 1087, in <module>    sys.exit(Main(sys.argv))
  File "../native_client/build/build_nexe.py", line 1069, in Main    out = build.Compile(filename)
  File "../native_client/build/build_nexe.py", line 625, in Compile    if not self.NeedsRebuild(outd, out, src):
  File "../native_client/build/build_nexe.py", line 582, in NeedsRebuild    deps = deps[1]

IndexError: list index out of range
ninja: build stopped: subcommand failed.

C:\chrome\src>




--
Primiano Tucci
Software Engineer
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ

Primiano Tucci

unread,
Aug 22, 2014, 9:22:44 AM8/22/14
to RDesingraj, Rouslan Solomakhin, Daniel Bomar, Siva P Thumma, Kipkorir Gilbert, PhistucK Productions, Chromium-discuss
definitely your blue screen is due to some HW/driver issue, not directly related with ninja.
Probably your CPU overheats and something becomes unstable (try ninja -j1 in this case). Or probably is due to the large amount of memory required, and some kernel driver in your machine doesn't handle OOM conditions probably. Or probably your ram is defective. Or probably your HDD/sata controller is defective, who knows.

I am afraid that, at this point, there is very little help you can get from this ML.
Try building on another machine or try building form a VM inside your machine.



On Fri, Aug 22, 2014 at 12:52 PM, RDesingraj <rdesi...@gmail.com> wrote:
Thank you for the help Primiano Tucci. 

I am able to run the ninja after followed your advises.
But again I got the blue screen error while executing the ninja. It is not occurred if I don't use ninja cmd. It happens since I started to used ninja -C out\Debug chrome and not before that.

Is there anything I left out in this flow?

Thanks
Desing

Primiano Tucci

unread,
Aug 25, 2014, 7:02:04 AM8/25/14
to RDesingraj, Rouslan Solomakhin, Daniel Bomar, Siva P Thumma, Kipkorir Gilbert, PhistucK Productions, Chromium-discuss
> 'custom_deps': '.DEPS.git',
This line is wrong. custom_deps is meant to be a dictionary of overrides. Remove it or set to {}.
Did you see that somewhere or did you just made up yourself?

> C:\chrome\src\remoting/..\out\Debug/remoting_resources_verified.stamp:0: warning
: STOP_RECORDING is defined but not used
This seems another unrelated problem. Try to sync again (git pull --rebase && gclient sync) and see if it goes away.


On Mon, Aug 25, 2014 at 6:40 AM, RDesingraj <rdesi...@gmail.com> wrote:
I am getting a warning while run the "ninja -C out\Debug chrome".

C:\chrome\src>ninja -C out\Debug chrome

ninja: Entering directory `out\Debug'
[1569/18238] ACTION remoting_resources...urces_cd2d05d573bb6fd7bbc6bb65a4b93011

C:\chrome\src\remoting/..\out\Debug/remoting_resources_verified.stamp:0: warning
: STOP_RECORDING is defined but not used

To remove this warning, either remove the unused tags from resource files, add the files that use the tags listed above to
remoting.gyp, or annotate existing uses of those tags with the prefix /*i18n-content*/




On Mon, Aug 25, 2014 at 11:08 AM, RDesingraj <rdesi...@gmail.com> wrote:
This was rectified after modified the .gclient file to the previous contents. 

New .gclient file content.

solutions = [{
  'managed': False,
  'name': 'src',
  'custom_deps': '.DEPS.git',
  'safesync_url': '',
  'deps_file': '.DEPS.git'
}]

Old .gclient file content.( Now .gclient)

solutions = [{u'managed': False, u'name': u'src', u'url': u'https://chromium.googlesource.com/chromium/src.git', u'custom_deps': {}, u'deps_file': u'.DEPS.git', u'safesync_url': u''}]






On Mon, Aug 25, 2014 at 10:51 AM, RDesingraj <rdesi...@gmail.com> wrote:
I deleted out folder and ran gclient runhooks. It was working before few times. But from yesterday I cant run  gclient runhooks. This is what I am getting now, while  running  gclient runhooks.

C:\chrome\src>gclient runhooks

src (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
Traceback (most recent call last):  File "c:\depot_tools\\gclient.py", line 2204, in <module>    sys.exit(Main(sys.argv[1:]))
  File "c:\depot_tools\\gclient.py", line 2192, in Main    return dispatcher.execute(OptionParser(), argv)
  File "c:\depot_tools\subcommand.py", line 245, in execute    return command(parser, args[1:])
  File "c:\depot_tools\\gclient.py", line 2049, in CMDrunhooks    return client.RunOnDeps('runhooks', args)
  File "c:\depot_tools\\gclient.py", line 1481, in RunOnDeps    work_queue.flush(revision_overrides, command, args, options=self._options)
  File "c:\depot_tools\gclient_utils.py", line 994, in run    self.item.run(*self.args, **self.kwargs)
  File "c:\depot_tools\\gclient.py", line 774, in run    parsed_url = self.LateOverride(self.url)
  File "c:\depot_tools\\gclient.py", line 477, in LateOverride    parsed_url = self.get_custom_deps(self.name, url)
  File "c:\depot_tools\\gclient.py", line 324, in get_custom_deps    return self.custom_deps.get(name, url)
  File "c:\depot_tools\\gclient.py", line 302, in custom_deps    return self._custom_deps.copy()
AttributeError: 'str' object has no attribute 'copy'

C:\chrome\src>
































































































































On Sat, Aug 23, 2014 at 11:00 AM, RDesingraj <rdesi...@gmail.com> wrote:
Thanks for clearing the things and sure about  that ninja doesn't have problem. I will follow the steps as you advised and let update soon.

Thanks again





--
Thank You!
Desingraj




--
Thank You!
Desingraj




--
Thank You!
Desingraj

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages