Build failure on download_from_google_storage

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.

Build failure on download_from_google_storage

Postby PeterO » Mon Jul 10, 2017 7:48 am

Hello,

I'm trying to build branch 3112 (Chromium version 60) following the steps mentioned here:
https://bitbucket.org/chromiumembedded/ ... ase-branch
(manualy downloading, release branch).

The process failes during this step:
gclient sync --jobs 16

It boils down to this command:
download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-gn -s src/buildtools/win/gn.exe.sha1
which returns:
Failed to fetch file gs://chromium-gn/3b6a35d309aeeba61ba945 ... d65acf3d4f for src/buildtools/win/gn.exe, skipping.

Anyone a clue?

Regards,
Peter
PeterO
Techie
 
Posts: 16
Joined: Tue Dec 10, 2013 1:44 am

Re: Build failure on download_from_google_storage

Postby magreenblatt » Mon Jul 10, 2017 12:30 pm

Maybe try again in case it was a temporary network error?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Build failure on download_from_google_storage

Postby PeterO » Mon Jul 10, 2017 1:22 pm

Hai Marshall

Finally found the culprit by debugging the gsutil.py file.
In check_gsutil it start a subprocess calling gsutil.
It was trying to import a library from the Python library already installed on my machine.
Don't know why because depot_tools is the first in my path.
Temporary renamed the python environmental variabeles (PYTHONHOME, PYTHONPATH) and that did the trick.

Regards,
Peter
PeterO
Techie
 
Posts: 16
Joined: Tue Dec 10, 2013 1:44 am

Re: Build failure on download_from_google_storage

Postby magreenblatt » Mon Jul 10, 2017 1:30 pm

PATH is used by the system for finding executables. PYTHONHOME/PYTHONPATH is used by Python for finding libraries. So it makes sense that it would cause issues if they point to different Python installations.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 54 guests