I can't fetch v8 because of error "Error: Command 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s v8/buildtools/linux64/clang-format.sha1' returned non-zero exit status 1 in /root/v8"

195 views
Skip to first unread message

rezaelec...@gmail.com

unread,
Nov 28, 2017, 3:20:39 AM11/28/17
to v8-users
When I try "fetch v8" I get:

Running: gclient root
Running: gclient config --spec 'solutions = [
  {
    "url": "https://chromium.googlesource.com/v8/v8.git",
    "managed": False,
    "name": "v8",
    "deps_file": "DEPS",
    "custom_deps": {},
  },
]
'
Running: gclient sync --with_branch_heads
Error: Command 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s v8/buildtools/linux64/clang-format.sha1' returned non-zero exit status 1 in /root/v8
Traceback (most recent call last):
  File "/home/m/depot_tools/fetch.py", line 299, in <module>
    sys.exit(main())
  File "/home/m/depot_tools/fetch.py", line 294, in main
    return run(options, spec, root)
  File "/home/m/depot_tools/fetch.py", line 288, in run
    return checkout.init()
  File "/home/m/depot_tools/fetch.py", line 131, in init
    self.run_gclient(*sync_cmd)
  File "/home/m/depot_tools/fetch.py", line 78, in run_gclient
    return self.run(cmd_prefix + cmd, **kwargs)
  File "/home/m/depot_tools/fetch.py", line 68, in run
    return subprocess.check_output(cmd, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '('gclient', 'sync', '--with_branch_heads')' returned non-zero exit status 2



What is the problem?

rezaelec...@gmail.com

unread,
Nov 28, 2017, 3:23:20 AM11/28/17
to v8-users
I also should mention I use an ARM-based board(Nanopi-M1) that has Armbian 5.30(Ubuntu-server 16.04) on it(arm7-sun8i).

Pierre Langlois

unread,
Nov 29, 2017, 10:44:18 AM11/29/17
to v8-u...@googlegroups.com, Pierre Langlois
Hi there,

rezaelec...@gmail.com writes:

> I also should mention I use an ARM-based board(Nanopi-M1) that has
> Armbian 5.30(Ubuntu-server 16.04) on it(arm7-sun8i).

That's strange, I tried on a RaspberryPi I had close by and didn't see
an issue. It does take quite a while to finish however (it took ~30 min
for me). I tested this using ArchLinux Arm instead of Armbian but that
should not make any difference AFAIK, apart from the default python
version.

For reference, here are the steps I did. You shouldn't have to do the
virtualenv2 part unless the default python isn't python2.
~~~
mkdir v8; cd v8

virtualenv2 env # depot_tools need python2, you shouldn't have to do
source env/bin/activate # this on Ubuntu I believe.

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="~/v8/depot_tools:$PATH"
fetch v8
~~~

Finally, it mentions `/root/v8` in the error message, are you running
`fetch v8` as root?

Thanks,
Pierre
Reply all
Reply to author
Forward
0 new messages