crosswalk-project/crosswalk

failed to build android xwalk23 on Ubuntu 16.04

Opened this issue · 0 comments

Basic Info
crosswalk23
$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
wwcheng@WWCHENG-CN:/mnt/d/xwalk/src$ uname -a
Linux WWCHENG-CN 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

Error Info
$ ninja -C out/Default xwalk
ninja: Entering directory `out/Default'
[26/14529] ACTION //content/public/android:common_aidl(//build/toolchain/android:arm)
FAILED: gen/content/public/android/common_aidl.d gen/content/public/android/common_aidl.srcjar
python ../../build/android/gyp/aidl.py --depfile gen/content/public/android/common_aidl.d --aidl-path ../../third_party/android_tools/sdk/build-tools/23.0.1/aidl --imports=["../../third_party/android_tools/sdk/platforms/android-23/framework.aidl",\ "../../content/public/android/java/src/org/chromium/content/common/common.aidl"] --srcjar gen/content/public/android/common_aidl.srcjar --includes=["../../content/public/android/java/src"] ../../content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl ../../content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl
Traceback (most recent call last):
File "../../build/android/gyp/aidl.py", line 62, in
sys.exit(main(sys.argv))
File "../../build/android/gyp/aidl.py", line 45, in main
build_utils.CheckOutput(aidl_cmd)
File "/mnt/d/xwalk/src/build/android/gyp/util/build_utils.py", line 164, in CheckOutput
stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd, env=env)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
[31/14529] CXX obj/crypto/crypto/aead.o
ninja: build stopped: subcommand failed.