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 commandfetch 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 = 200Traceback (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_callraise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '('c:\\depot_tools\\python276_bin\\python.exe', 'c:\\depot_tools\\gclient.py', 'sync')' returned non-zero exit status 1c:\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
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
I dont have a folder in c:/chrome, even the environmental variable path is set well to depot tools. Anything more?Thanks in advance
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 \chromeA subdirectory or file \chrome already exists.C:\Users\Panorosys>cd \chromeC:\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
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_callraise 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 1c:\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.
[4:08:28] fatal: unable to access 'https://chromium.googlesource.com/chromium/src.git/': Could not resolve host: chromium.googlesource.com
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] srcWARNING: 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
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.
cd src git checkout master gclient sync --nohooks gclient sync
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=TrueI 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 saysBuilding Chromium
- Get the Chromium depot_tools.
- 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.
- Install API keys.
Any help would be gratefulOn 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
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 chromeninja: Entering directory `out\Debug'[14/14689] ACTION base_nacl: build new... plib_7dd3546178aa4d7356e0696cbda83576FAILED: 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_7dd3546178aa4d7356e0696cbda83576FAILED: 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_7dd3546178aa4d7356e0696cbda83576FAILED: 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_7dd3546178aa4d7356e0696cbda83576FAILED: 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_7dd3546178aa4d7356e0696cbda83576FAILED: 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_7dd3546178aa4d7356e0696cbda83576FAILED: 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 rangeninja: build stopped: subcommand failed.C:\chrome\src>
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?ThanksDesing
I am getting a warning while run the "ninja -C out\Debug chrome".
C:\chrome\src>ninja -C out\Debug chromeninja: Entering directory `out\Debug'
[1569/18238] ACTION remoting_resources...urces_cd2d05d573bb6fd7bbc6bb65a4b93011C:\chrome\src\remoting/..\out\Debug/remoting_resources_verified.stamp:0: warning: STOP_RECORDING is defined but not usedTo remove this warning, either remove the unused tags from resource files, add the files that use the tags listed above toremoting.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 runhookssrc (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!
DesingrajThank You!
DesingrajThank You!
Desingraj