Cannot run gclient sync. Complains about IOError('Invalid revision file - revision hash check failed') from src/build/download_nacl_toolchains.py

44 views
Skip to first unread message

James Hartig

unread,
Apr 23, 2014, 1:25:03 AM4/23/14
to chromi...@chromium.org
First of all, first time trying to build Chromium. Here's the output of gclient sync:

________ running '/usr/local/bin/python src/build/download_nacl_toolchains.py --exclude arm_trusted' in '/home/james.hartig/chromium'
Traceback (most recent call last):
  File "src/build/download_nacl_toolchains.py", line 59, in <module>
    sys.exit(Main(sys.argv[1:]))
  File "src/build/download_nacl_toolchains.py", line 54, in Main
    package_version.main(args)
  File "/home/james.hartig/chromium/src/native_client/build/package_version/package_version.py", line 987, in main
    return COMMANDS[arguments.command].do_cmd_func(arguments)
  File "/home/james.hartig/chromium/src/native_client/build/package_version/package_version.py", line 695, in _DoSyncCmd
    revision_file)
  File "/home/james.hartig/chromium/src/native_client/build/package_version/revision_info.py", line 43, in __init__
    self.LoadRevisionFile(revision_file)
  File "/home/james.hartig/chromium/src/native_client/build/package_version/revision_info.py", line 113, in LoadRevisionFile
    raise IOError('Invalid revision file - revision hash check failed')
IOError: Invalid revision file - revision hash check failed
Error: Command /usr/local/bin/python src/build/download_nacl_toolchains.py --exclude arm_trusted returned non-zero exit status 1 in /home/james.hartig/chromium

It looks like this is a problem with the json files in src/native_client/toolchain_revisions/. The "revision_hash" key doesn't match the sha1 of the revision information in the hash.

Am I doing something wrong? Is there a workaround for this?

Thanks!
James Hartig

ARBANI kawtar

unread,
Apr 24, 2014, 6:11:35 AM4/24/14
to chromi...@chromium.org
Hello, Im having almost the same error. Didi you solve your problem?
Cheers
Reply all
Reply to author
Forward
0 new messages