Unable to do gclient runhooks on loongson(mips64el)
Reported by
wangqing...@loongson.cn,
Aug 7
|
||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Steps to reproduce the problem:
1. fetch chromium
What is the expected behavior?
What went wrong?
$ gclient runhooks
Running hooks: 5% ( 4/75) nacltools
________ running '/usr/bin/python src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' in '/home/loongson/chromium-mips64'
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 55, in Main
return package_version.main(args)
File "/home/loongson/chromium-mips64/src/native_client/build/package_version/package_version.py", line 1288, in main
arguments = ParseArgs(args)
File "/home/loongson/chromium-mips64/src/native_client/build/package_version/package_version.py", line 1116, in ParseArgs
host_arch = pynacl.platform.GetArch3264()
File "/home/loongson/chromium-mips64/src/native_client/pynacl/platform.py", line 133, in GetArch3264
assert machine in ARCH3264_DICT, "Unrecognized arch machine: %s" % machine
AssertionError: Unrecognized arch machine: mips64
Error: Command '/usr/bin/python src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' returned non-zero exit status 1 in /home/loongson/chromium-mips64
Did this work before? N/A
Chrome version: 67.0.3396.99 Channel: n/a
OS Version: OS X 10.13.2
Flash Version:
,
Aug 8
Tentatively adding Infra>SDK for someone from the respective team to have a look into this.
,
Aug 8
,
Aug 21
I would suggest you try using the "checkout_nacl=false" flag as a workaround for this. This option was added to Chromium's DEPS file a while ago. I am not sure how you pass this option to gclient, though. I think it might need to be part of the arguments to GN.
,
Aug 21
I don't think this is an infra issue at all? Also, I wouldn't hold my breath for mips64 support, so +1 to #4.
,
Aug 22
OK, thanks to #4 I would use "gclient setdep --var checkout_nacl=False" before gclient runhooks. |
||||
►
Sign in to add a comment |
||||
Comment 1 by viswa.karala@chromium.org
, Aug 7