line / line/stellite

stellite androd build error

Open
#56 1 comment 0 reactions 1 assignee View on GitHub

@haru398801 is already working on this.

Since Jun 19, 2018.

enhancement
Dominant language
C++
Stars
475
Forks
78
PR merge metrics
No merged PRs in 30d

Description

lz@lz:~/work/code/stellite$ ./tools/build.py --target-platform=android --target stellite_http_client build
chromium is already exists: /home/lz/work/code/stellite/third_party/chromium_android
check chromium ...
check chromium tag ...
copy .gclient ...
copy modified_files ...
copy chromium/src/.gn ...
copy node_binder files ...
Running: ln -s /home/lz/work/code/stellite/node_binder
copy stellite files...
Running: ln -s /home/lz/work/code/stellite/stellite
copya stellite build fakefiles ...
Running: ln -s /home/lz/work/code/stellite/build_android/src/tools/vim/chromium.ycm_extra_conf.py /home/lz/work/code/stellite/.ycm_extra_conf.py
generate ninja script ...
Running: /home/lz/work/code/stellite/third_party/depot_tools/gn gen /home/lz/work/code/stellite/build_android/src/out_android_armv6/obj
Done. Made 1223 targets from 133 files in 748ms
Running: ninja -C /home/lz/work/code/stellite/build_android/src/out_android_armv6/obj stellite_http_client
ninja: Entering directory `/home/lz/work/code/stellite/build_android/src/out_android_armv6/obj'
[5/1778] ACTION //base:android_runtime_jni_headers__jni_Runtime(//build/toolchain/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-23/android.jar --input_file java/lang/Runtime.class --optimize_generation=1 --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 1387, in
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1380, in main
GenerateJNIHeader(input_file, output_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 1285, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 645, in CreateFromClass
stderr=subprocess.PIPE)
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 2] No such file or directory
[10/1778] CXX obj/base/base_paths/base_paths_android.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "./tools/build.py", line 2037, in
sys.exit(main(sys.argv[1:]))
File "./tools/build.py", line 2026, in main
build.build()
File "./tools/build.py", line 1384, in build
build.build_target(self.target)
File "./tools/build.py", line 1007, in build_target
self.execute(command)
File "./tools/build.py", line 723, in execute
raise Exception('command execution are failed')
Exception: command execution are failed

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.