1.1K Star 6.2K Fork 5.1K

OpenHarmony / docs

 / 详情

[Bug]: 4.1release编译64位RK3568标准版失败

待办的
创建于  
2024-04-14 16:23

发生了什么问题?

全量代码包: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]

版本或分支信息

  • master
  • Release 4.1
  • Release 4.0
  • Release 3.2

评论 (3)

avalon-hw 创建了任务
avalon-hw 添加了
 
bug
标签
展开全部操作日志

感谢提交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_ci 添加了
 
waiting_for_assign
标签
Mei 负责人设置为liyan
openharmony_ci 移除了
 
waiting_for_assign
标签
openharmony_ci 添加了
 
waiting_for_fix
标签

您好, @liyan ,issue已经分配给您,请及时处理。

@liyan , the issue has been assigned to you. Please handle it in time.

开发者您好,感谢您对OpenHarmony的关注和支持。
为了更好的支撑开发者问题共享、互助,凝结社区力量。您的问题建议优先前往OpenHarmony官方论坛提问,将有社区团队答复:
https://forums.openharmony.cn/

docs仓建议提交文档相关问题及需求,我们也将优先处理相关issue。
感谢您的理解,给您带来不便深表歉意。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
7387629 openharmony ci 1656582662 10252095 li yan339 1645606417
其他
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs

搜索帮助

53164aa7 5694891 3bd8fe86 5694891