Build chromium android failed with OSError: [Errno 2] No such file or directory.
Reported by
nchxm...@hotmail.com,
Jul 6 2017
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Steps to reproduce the problem: 1. compile the chromium android according to https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md#Build-WebView 2. All the steps are ok but running "ninja -C out/Default chrome_public_apk" 3. Then compile failed with os error 2. What is the expected behavior? "ninja -C out/Default chrome_public_apk" will success, and the android project will be compiled success. What went wrong? xxxx@xxxx-VirtualBox:~/chromium/src$ ninja -C out/Default chrome_public_apk ninja: Entering directory `out/Default' [2/30589] ACTION //base:android_runtim...d/toolchain/android:android_clang_arm) FAILED: gen/android_runtime_jni_headers/base/jni/Runtime_jni.h python ../../base/android/jni_generator/jni_generator.py --depfile gen/base/android_runtime_jni_headers__jni_Runtime.d --jar_file ../../third_party/android_tools/sdk/platforms/android-26/android.jar --input_file java/lang/Runtime.class --ptr_type=long --output_dir gen/android_runtime_jni_headers/base/jni --includes ../../../../../../base/android/jni_generator/jni_generator_helper.h --native_exports_optional Traceback (most recent call last): File "../../base/android/jni_generator/jni_generator.py", line 1428, in <module> sys.exit(main(sys.argv)) File "../../base/android/jni_generator/jni_generator.py", line 1421, in main GenerateJNIHeader(input_file, output_file, options) File "../../base/android/jni_generator/jni_generator.py", line 1326, in GenerateJNIHeader jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options) File "../../base/android/jni_generator/jni_generator.py", line 662, in CreateFromClass stderr=subprocess.PIPE) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory [3/30589] ACTION //base:base_jni_heade...d/toolchain/android:android_clang_arm) ninja: build stopped: subcommand failed. Did this work before? N/A Chrome version: 58.0.3029.110 Channel: n/a OS Version: Ubuntu.x64.14.04.3 Flash Version:
,
Jul 10 2017
,
Dec 4 2017
Moving Infra>Client>Android -> Infra>Client>Chrome+OS=Android
,
Dec 4 2017
,
Jan 10
This bug had an unsupported status. Updating to Untriaged so someone will reevaluate.
,
Jan 10
,
Jan 10
Likely needs build deps installed. See https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md#install-additional-build-dependencies Regardless, old bug so archiving. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by krajshree@chromium.org
, Jul 10 2017