Error running gclient sync --revision

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: Error running gclient sync --revision

Postby magreenblatt » Fri Sep 05, 2014 11:36 am

ianafa wrote:d:\chromium\chromium\src\third_party\webkit\source\wtf\functional.h(442) : fatal
error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1443)

Looks like your compiler is crashing. Have you installed all of the Visual Studio updates?

ianafa wrote:LINK : fatal error LNK1104: cannot open file 'atlthunk.lib'

The express version of Visual Studio does not include ATL. You need to get that from the WDK. See https://groups.google.com/a/chromium.or ... UTDQSJgv0J.

You're most likely to succeed using Visual Studio 2013 Professional. Again, make sure you've installed all of the updates.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Error running gclient sync --revision

Postby ianafa » Fri Sep 05, 2014 5:55 pm

Marshal

Thank you for the response. I will try to download vs 2013 professional trial version and see if that works for me and i will update? can i use ninja instead?
ianafa
Techie
 
Posts: 12
Joined: Thu Aug 28, 2014 7:02 pm

Re: Error running gclient sync --revision

Postby magreenblatt » Fri Sep 05, 2014 6:37 pm

Ninja builds using the VS toolchain. Make sure to install VS2013 update 2.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Error running gclient sync --revision

Postby ianafa » Tue Sep 09, 2014 7:32 pm

Thanks you marshal

you said i should use update 2. right now MS has put update 3 which has everything in update 2 and more. is there a reason for not using update 3 instead of 2?
ianafa
Techie
 
Posts: 12
Joined: Thu Aug 28, 2014 7:02 pm

Re: Error running gclient sync --revision

Postby magreenblatt » Tue Sep 09, 2014 8:59 pm

Update 3 should be fine too.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Error running gclient sync --revision

Postby ianafa » Wed Sep 10, 2014 11:20 am

Hello again Marshal

This is the result of vs 2013 pro update 3
:

________ running 'D:\CHROMIUM\depot_tools\python276_bin\python.exe ../build/gyp_
chromium cef.gyp -I cef.gypi' in 'D:\chromium\chromium\src\cef'
Enabled Psyco JIT.
Updating projects from gyp files...
--> Writing file: D:\chromium\chromium\src\out\cef.branch
-------- Running "ninja -C out\Debug cefclient" in "D:\chromium\chromium\src"...

ninja: Entering directory `out\Debug'
[1427/12043] RULE Generating Mojo bind...terfaces\application/application.mojom
FAILED: D:\CHROMIUM\depot_tools\python276_bin\python.exe gyp-win-tool action-wra
pper environment.x86 mojo_application_bindings_target_mojo_application_bindings_
mojom_bindings_generator_73adb15d774a51e5a00dbc06265928af.ae90548a6f750036568701
6e9b8cf15c.rsp ..\..\mojo
Traceback (most recent call last):
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 192, in
<module>
sys.exit(main())
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 186, in
main
ProcessFile(args, remaining_args, generator_modules, filename)
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 134, in
ProcessFile
_imported_filename_stack=_imported_filename_stack + [filename])
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 151, in
ProcessFile
generator.GenerateFiles(filtered_args)
File "D:\chromium\chromium\src\mojo\public\tools\bindings\generators\mojom_cpp
_generator.py", line 332, in GenerateFiles
"%s-internal.h" % self.module.name)
File "D:\chromium\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate
\generator.py", line 73, in Write
with open(os.path.join(self.output_dir, filename), "w+") as f:
IOError: [Errno 22] invalid mode ('w+') or filename: '..\\out\\Debug/gen/mojo/pu
blic\\interfaces\\application\\service_provider.mojom-internal.h'
[1427/12043] RULE Generating Mojo bind...lic\interfaces\application/shell.mojom
FAILED: D:\CHROMIUM\depot_tools\python276_bin\python.exe gyp-win-tool action-wra
pper environment.x86 mojo_application_bindings_target_mojo_application_bindings_
mojom_bindings_generator_73adb15d774a51e5a00dbc06265928af.b5ea7991883fd342f00ccf
d9421fb660.rsp ..\..\mojo
Traceback (most recent call last):
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 192, in
<module>
sys.exit(main())
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 186, in
main
ProcessFile(args, remaining_args, generator_modules, filename)
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 134, in
ProcessFile
_imported_filename_stack=_imported_filename_stack + [filename])
File "../mojo/public/tools/bindings/mojom_bindings_generator.py", line 151, in
ProcessFile
generator.GenerateFiles(filtered_args)
File "D:\chromium\chromium\src\mojo\public\tools\bindings\generators\mojom_jav
a_generator.py", line 404, in GenerateFiles
"%s.java" % GetNameForElement(interface))
File "D:\chromium\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate
\generator.py", line 73, in Write
with open(os.path.join(self.output_dir, filename), "w+") as f:
IOError: [Errno 22] invalid mode ('w+') or filename: '..\\out\\Debug/java_mojo/m
ojo_application_bindings/src\\org/chromium/mojom/mojo\\ServiceProvider.java'
[1427/12043] CXX obj\build\base_static.precompile.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "D:\automate\automate-git.py", line 891, in <module>
if options.buildlogfile else None)
File "D:\automate\automate-git.py", line 73, in run
shell=(sys.platform == 'win32'))
File "D:\CHROMIUM\depot_tools\python276_bin\lib\subprocess.py", line 540, in c
heck_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug', 'cefclient
']' returned non-zero exit status 1

This is the sequence of commands i use:

set GYP_GENERATORS=ninja,msvs-ninja
set GYP_MSVS_VERSION=2013

python D:\automate\automate-git.py --download-dir=D:\chromium


Is there any other way to do it? i want to test and see if i can actually enable my cef based browser to play mp4 videos.

Thank you again for the help.
ianafa
Techie
 
Posts: 12
Joined: Thu Aug 28, 2014 7:02 pm

Re: Error running gclient sync --revision

Postby magreenblatt » Wed Sep 10, 2014 11:39 am

IOError: [Errno 22] invalid mode ('w+') or filename: '..\\out\\Debug/gen/mojo/pu
blic\\interfaces\\application\\service_provider.mojom-internal.h'

It seems like python can't write to this file. What are the permissions on this directory? What user are you running automate-git.py as? Do you have sufficient available disk space on drive D?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Error running gclient sync --revision

Postby ianafa » Wed Sep 10, 2014 12:00 pm

My user is a member of administrator group and i have full control over the parent folder. and as for the capacity i have over 300 GB free on my D drive.

Should i be running command prompt as administrator too?
ianafa
Techie
 
Posts: 12
Joined: Thu Aug 28, 2014 7:02 pm

Re: Error running gclient sync --revision

Postby magreenblatt » Wed Sep 10, 2014 12:39 pm

ianafa wrote:Should i be running command prompt as administrator too?

That shouldn't be necessary. Are you performing incremental builds in the same directory that you used previously? You might try deleting the out directory to force a clean build.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Error running gclient sync --revision

Postby ianafa » Wed Sep 10, 2014 1:25 pm

Well the directory is the same. what i have done is deleting the previously downloaded material and running the automate-git.py again. (I ran it again this morning after getting the error to see if i get the same error again or not I will update on that too).

Lets say if i get stuck at some point again is there a way to retract to a certain point of the process and do the rest manually?

Thank you
ianafa
Techie
 
Posts: 12
Joined: Thu Aug 28, 2014 7:02 pm

PreviousNext

Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 47 guests