全量代码包:https://gitee.com/link?target=https%3A%2F%2Frepo.huaweicloud.com%2Fopenharmony%2Fos%2F4.1-Release%2Fcode-v4.1-Release.tar.gz
编译RK3568标准版64位失败。
编译成功
hb build --target-cpu arm64 -f
[OHOS ERROR] [27021/58894] ACTION //third_party/typescript:build_typescript(//build/toolchain/ohos:ohos_clang_arm64)
[OHOS ERROR] FAILED: obj/third_party/typescript/build_typescript.stamp
[OHOS ERROR] /usr/bin/env ../../third_party/typescript/compile_typescript.py /ohos/OpenHarmony-v4.1-Release/OpenHarmony/third_party/typescript/
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "../../third_party/typescript/compile_typescript.py", line 44, in
[OHOS ERROR] main(sys.argv[1:])
[OHOS ERROR] File "../../third_party/typescript/compile_typescript.py", line 40, in main
[OHOS ERROR] run_pack(source_path)
[OHOS ERROR] File "../../third_party/typescript/compile_typescript.py", line 35, in run_pack
[OHOS ERROR] run_cmd(["npm", "pack"], execution_path)
[OHOS ERROR] File "../../third_party/typescript/compile_typescript.py", line 23, in run_cmd
[OHOS ERROR] proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
[OHOS ERROR] File "/usr/lib/python3.8/subprocess.py", line 858, in init
[OHOS ERROR] self._execute_child(args, executable, preexec_fn, close_fds,
[OHOS ERROR] File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
[OHOS ERROR] raise child_exception_type(errno_num, err_msg, err_filename)
[OHOS ERROR] FileNotFoundError: [Errno 2] No such file or directory: 'npm'
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR] return func(*args, **kwargs)
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR] super().run()
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/interface/build_module_interface.py", line 70, in run
[OHOS ERROR] self._target_compilation()
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation
[OHOS ERROR] self.target_compiler.run()
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 38, in run
[OHOS ERROR] self._execute_ninja_cmd()
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/ninja.py", line 69, in _execute_ninja_cmd
[OHOS ERROR] SystemUtil.exec_command(
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/system_util.py", line 64, in exec_command
[OHOS ERROR] LogUtil.get_failed_log(log_path)
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 193, in get_failed_log
[OHOS ERROR] LogUtil.get_compiler_failed_log(log_path)
[OHOS ERROR] File "/ohos/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 180, in get_compiler_failed_log
[OHOS ERROR] raise OHOSException(
[OHOS ERROR] exceptions.ohos_exception.OHOSException: COMPILE Failed! Please check error in /ohos/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /ohos/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Code: 4000
[OHOS ERROR]
[OHOS ERROR] Reason: COMPILE Failed! Please check error in /ohos/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /ohos/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Error Type: Ninja build error
[OHOS ERROR]
[OHOS ERROR] Description: An unknown error occurred while executing 'ninja -C'.
[OHOS ERROR]
[OHOS ERROR] Solution: no solution
[OHOS ERROR]
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @NEEN @zengyawen @时睿 @Peter_1988 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @NEEN @zengyawen @时睿 @Peter_1988 for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
开发者您好,感谢您对OpenHarmony的关注和支持。
为了更好的支撑开发者问题共享、互助,凝结社区力量。您的问题建议优先前往OpenHarmony官方论坛提问,将有社区团队答复:
https://forums.openharmony.cn/
docs仓建议提交文档相关问题及需求,我们也将优先处理相关issue。
感谢您的理解,给您带来不便深表歉意。
登录 后才可以发表评论