[SOLVED] Build fails: FAILED: gen/v8/snapshot.cc snapshot_..

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.

[SOLVED] Build fails: FAILED: gen/v8/snapshot.cc snapshot_..

Postby Czarek » Mon Jun 18, 2018 6:34 am

*Solved*
I have successfully built branch 3359 on Linux for 64-bit, but when building 32-bit I get this error:

Code: Select all
[14725/36360] touch obj/v8/run_mksnapshot.inputdeps.stamp
[14726/36360] python ../../v8/tools/run.py ./mksnapshot --turbo_instruction_scheduling --startup_src gen/v8/snapshot.cc --random-seed 314159265 --startup_blob snapshot_blob.bin
FAILED: gen/v8/snapshot.cc snapshot_blob.bin
python ../../v8/tools/run.py ./mksnapshot --turbo_instruction_scheduling --startup_src gen/v8/snapshot.cc --random-seed 314159265 --startup_blob snapshot_blob.bin
Traceback (most recent call last):
  File "../../v8/tools/run.py", line 12, in <module>
    sys.exit(subprocess.call(sys.argv[1:]))
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


I am building Release mode only and using sysroot. OS Ubuntu 14.04. Using the same GN variables as on the AutomatedBuildSetup wiki page.

Any suggestions? Thanks!
Last edited by Czarek on Mon Jun 18, 2018 6:48 am, edited 2 times in total.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Build fails: FAILED: gen/v8/snapshot.cc snapshot_blob.bi

Postby Czarek » Mon Jun 18, 2018 6:41 am

I have re-run and it now worked. I have installed pkg dependencies for 32-bit, maybe that was the issue.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: [SOLVED] Build fails: FAILED: gen/v8/snapshot.cc snapsho

Postby magreenblatt » Mon Jun 18, 2018 11:07 am

Yes, it's a problem with missing :i386 packages. See https://groups.google.com/a/chromium.or ... AH1Y2DDAAJ where I asked the same question :)
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 31 guests