Discussion:
[chromium-dev] autoninja -C out/Default chrome_public_apk is failing
Sagar Heroorkar
2018-11-13 14:53:02 UTC
Permalink
From last few days i am trying to build this and it is failing..i am not
able to fix the errors..this is straight out of the chromium instructions
on how to build ..please help me

***@Wolverine:~/chromium/src$ autoninja -C out/Default
chrome_public_apk
/home/sheroorkar/depot_tools/ninja -C out/Default chrome_public_apk
ninja: Entering directory `out/Default'
[11/34561] ACTION
//base:android_runtime_jni_headers__jni_Runtime(//build/toolchain/android:android_clang_arm)
FAILED: gen/base/android_runtime_jni_headers/base/jni/Runtime_jni.h
python ../../base/android/jni_generator/jni_generator.py --jar_file
../../third_party/android_tools/sdk/platforms/android-28/android.jar
--input_file java/lang/Runtime.class --ptr_type=long --output_dir
gen/base/android_runtime_jni_headers/base/jni --includes
../../../../../../../base/android/jni_generator/jni_generator_helper.h
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1532, in
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1528, in
main
GenerateJNIHeader(input_file, output_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 1430, in
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 803, in
CreateFromClass
jni_from_javap = JNIFromJavaP(stdout.split('\n'), options)
File "../../base/android/jni_generator/jni_generator.py", line 728, in
__init__
self.fully_qualified_class = self.fully_qualified_class.replace('.',
'/')
AttributeError: 'JNIFromJavaP' object has no attribute
'fully_qualified_class'
[12/34561] ACTION
//base:android_runtime_jni_headers__jni_Runnable(//build/toolchain/android:android_clang_arm)
FAILED: gen/base/android_runtime_jni_headers/base/jni/Runnable_jni.h
python ../../base/android/jni_generator/jni_generator.py --jar_file
../../third_party/android_tools/sdk/platforms/android-28/android.jar
--input_file java/lang/Runnable.class --ptr_type=long --output_dir
gen/base/android_runtime_jni_headers/base/jni --includes
../../../../../../../base/android/jni_generator/jni_generator_helper.h
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1532, in
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1528, in
main
GenerateJNIHeader(input_file, output_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 1430, in
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 803, in
CreateFromClass
jni_from_javap = JNIFromJavaP(stdout.split('\n'), options)
File "../../base/android/jni_generator/jni_generator.py", line 728, in
__init__
self.fully_qualified_class = self.fully_qualified_class.replace('.',
'/')
AttributeError: 'JNIFromJavaP' object has no attribute
'fully_qualified_class'
[24/34561] CXX obj/third_party/harfbuzz-ng/harfbuzz_source/hb-ot-layout.o
ninja: build stopped: subcommand failed.
***@Wolverine:~/chromium/src$
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/8af39051-b2bd-43e0-96ce-348a75d88c09%40chromium.org.
Dan Willoughby
2018-11-14 05:03:37 UTC
Permalink
I had a similar error. It started building after I ran
`build/install-build-deps-android.sh`
Post by Sagar Heroorkar
From last few days i am trying to build this and it is failing..i am not
able to fix the errors..this is straight out of the chromium instructions
on how to build ..please help me
chrome_public_apk
/home/sheroorkar/depot_tools/ninja -C out/Default chrome_public_apk
ninja: Entering directory `out/Default'
[11/34561] ACTION
//base:android_runtime_jni_headers__jni_Runtime(//build/toolchain/android:android_clang_arm)
FAILED: gen/base/android_runtime_jni_headers/base/jni/Runtime_jni.h
python ../../base/android/jni_generator/jni_generator.py --jar_file
../../third_party/android_tools/sdk/platforms/android-28/android.jar
--input_file java/lang/Runtime.class --ptr_type=long --output_dir
gen/base/android_runtime_jni_headers/base/jni --includes
../../../../../../../base/android/jni_generator/jni_generator_helper.h
File "../../base/android/jni_generator/jni_generator.py", line 1532, in
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1528, in
main
GenerateJNIHeader(input_file, output_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 1430, in
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 803, in
CreateFromClass
jni_from_javap = JNIFromJavaP(stdout.split('\n'), options)
File "../../base/android/jni_generator/jni_generator.py", line 728, in
__init__
self.fully_qualified_class = self.fully_qualified_class.replace('.',
'/')
AttributeError: 'JNIFromJavaP' object has no attribute
'fully_qualified_class'
[12/34561] ACTION
//base:android_runtime_jni_headers__jni_Runnable(//build/toolchain/android:android_clang_arm)
FAILED: gen/base/android_runtime_jni_headers/base/jni/Runnable_jni.h
python ../../base/android/jni_generator/jni_generator.py --jar_file
../../third_party/android_tools/sdk/platforms/android-28/android.jar
--input_file java/lang/Runnable.class --ptr_type=long --output_dir
gen/base/android_runtime_jni_headers/base/jni --includes
../../../../../../../base/android/jni_generator/jni_generator_helper.h
File "../../base/android/jni_generator/jni_generator.py", line 1532, in
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1528, in
main
GenerateJNIHeader(input_file, output_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 1430, in
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 803, in
CreateFromClass
jni_from_javap = JNIFromJavaP(stdout.split('\n'), options)
File "../../base/android/jni_generator/jni_generator.py", line 728, in
__init__
self.fully_qualified_class = self.fully_qualified_class.replace('.',
'/')
AttributeError: 'JNIFromJavaP' object has no attribute
'fully_qualified_class'
[24/34561] CXX obj/third_party/harfbuzz-ng/harfbuzz_source/hb-ot-layout.o
ninja: build stopped: subcommand failed.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e7b39e1a-619c-4579-8176-b5022d870692%40chromium.org.
Loading...