• Lv0
    粉丝0

积分0 / 贡献0

提问1答案被采纳0文章0

作者动态

    ERROR at //third_party/openssl/BUILD.gn:273:7: Script returned non-zero exit code

    ss_1 显示全部楼层 发表于 2024-7-16 11:07:55

    [OHOS ERROR] ERROR at //third_party/openssl/BUILD.gn:273:7: Script returned non-zero exit code.

    [OHOS ERROR] print(exec_script(

    [OHOS ERROR] ^----------

    [OHOS ERROR] Current dir: /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/

    [OHOS ERROR] Command: /usr/bin/env /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl/run_command.py /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated linux-aarch64

    [OHOS ERROR] Returned 1 and printed out:

    [OHOS ERROR]

    [OHOS ERROR] cmd ['/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl', '/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-aarch64'] start

    [OHOS ERROR] result.returncode = 2

    [OHOS ERROR] result.stdout = /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568

    [OHOS ERROR] /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated/linux-aarch64 /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568

    [OHOS ERROR] /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl/Configure linux-aarch64 no-shared no-module

    [OHOS ERROR] Configuring OpenSSL version 3.0.9 for target linux-aarch64

    [OHOS ERROR] Using os-specific seed configuration

    [OHOS ERROR] Created configdata.pm

    [OHOS ERROR] Running configdata.pm

    [OHOS ERROR] Created Makefile.in

    [OHOS ERROR] Created Makefile

    [OHOS ERROR] Created include/openssl/configuration.h

    [OHOS ERROR]

    [OHOS ERROR] **

    [OHOS ERROR]

    [OHOS ERROR] OpenSSL has been successfully configured

    [OHOS ERROR]

    [OHOS ERROR] If you encounter a problem while building, please open an

    [OHOS ERROR] issue on GitHub https://github.com/openssl/openssl/issues

    [OHOS ERROR] and include the output from the following command:

    [OHOS ERROR]

    [OHOS ERROR] perl configdata.pm --dump

    [OHOS ERROR]

    [OHOS ERROR] (If you are new to OpenSSL, you might want to consult the

    [OHOS ERROR] 'Troubleshooting' section in the INSTALL.md file first)

    [OHOS ERROR]

    [OHOS ERROR] **

    [OHOS ERROR]

    [OHOS ERROR]

    [OHOS ERROR] stderr:

    [OHOS ERROR]

    [OHOS ERROR] Traceback (most recent call last):

    [OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl/run_command.py", line 33, in <module>

    [OHOS ERROR] sys.exit(main())

    [OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl/run_command.py", line 28, in main

    [OHOS ERROR] raise Exception(f'cmd {cmd} failed')

    [OHOS ERROR] Exception: cmd ['/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl/make_openssl_build_all_generated.sh', '/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/third_party/openssl', '/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/obj/third_party/openssl/build_all_generated', 'linux-aarch64'] failed

    [OHOS ERROR]

    [OHOS ERROR] See //base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/BUILD.gn:50:5: which caused the file to be included.

    [OHOS ERROR] "//third_party/openssl:libcrypto_shared",

    [OHOS ERROR] ^---------------------------------------

    [OHOS ERROR] cups_action is exec

    [OHOS ERROR] histreamer plugin: ffmpeg_adapter = true

    [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(*args, **kwargs) [OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/gn.py", line 197, in _execute_gn_gen_cmd [OHOS ERROR] SystemUtil.exec_command(gn_gen_cmd, self.config.log_path) [OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/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 "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 191, in get_failed_log [OHOS ERROR] LogUtil.get_gn_failed_log(log_path) [OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 137, in get_gn_failed_log [OHOS ERROR] raise OHOSException( [OHOS ERROR] exceptions.ohos_exception.OHOSException: GN Failed! Please check error in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log [OHOS ERROR]

    [OHOS ERROR] Code: 3000 [OHOS ERROR] [OHOS ERROR] Reason: GN Failed! Please check error in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log [OHOS ERROR] [OHOS ERROR] Error Type: UNKNOWN [OHOS ERROR] [OHOS ERROR] Description: An unknown error occurred while executing 'gn gen'. [OHOS ERROR] [OHOS ERROR] Solution: There is no solution available. You can check the 'gn_error.log' in the output directory for more information [OHOS ERROR]

    您尚未登录,无法参与评论,登录后可以:
    参与开源共建问题交流
    认同或收藏高质量问答
    获取积分成为开源共建先驱

    精彩评论1

    fengyunrenwu

    沙发 发表于 2024-8-7 16:43:20
    根据报错信息,我查看了对应的报错行数,并没有发现有对应的代码哦~

    Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

    返回顶部