查看: 85|回复: 0

openharmony 4.0编译报错

[复制链接]

1

主题

0

回帖

211

积分

中级会员

Rank: 3Rank: 3

积分
211
发表于 5 天前 | 显示全部楼层 |阅读模式
(为了高效,请按如下格式提问)

硬件主板型号:rk3588
固件名称/系统版本:openharmony 4.0
自编的或固件下载地址:
Log日志: (可以导出,用TXT附件上传)

[OHOS INFO] [20628/20653] COPY clang_x64/thirdparty/openssl/libssl_openssl.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libssl_openssl.so
[OHOS INFO] [20629/20653] COPY clang_x64/thirdparty/openssl/libcrypto_openssl.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libcrypto_openssl.so
[OHOS INFO] [20630/20653] COPY clang_x64/hiviewdfx/hilog/libhilog_linux.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libhilog_linux.so
[OHOS INFO] [20631/20653] COPY clang_x64/arkui/ace_engine/libace.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libace.so
[OHOS INFO] [20632/20653] COPY clang_x64/arkui/ace_engine/libdrawable_descriptor.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libdrawable_descriptor.so
[OHOS INFO] [20633/20653] COPY clang_x64/arkui/ace_engine/libace_uicontent.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libace_uicontent.so
[OHOS INFO] [20634/20653] COPY clang_x64/thirdparty/skia/libskia_canvaskit.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libskia_canvaskit.so
[OHOS INFO] [20635/20653] LINK clang_x64/ide/previewer/Previewer
[OHOS INFO] [20636/20653] COPY ../../base/global/system_resources/fonts clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/fonts
[OHOS INFO] [20637/20653] STAMP clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/copy_preview_shared_library.stamp
[OHOS INFO] [20638/20653] ACTION //out/sdk/gen/build/ohos/sdk:previewer_linux(//build/toolchain/ohoshos_clang_arm64)
[OHOS INFO] [20639/20653] STAMP obj/out/sdk/gen/build/ohos/sdk/previewer_linux.stamp
[OHOS INFO] [20640/20653] STAMP obj/out/sdk/gen/build/ohos/sdk/previewer.stamp
[OHOS INFO] [20641/20653] STAMP obj/out/sdk/gen/build/ohos/sdk/generated_ohos_sdk.stamp
[OHOS INFO] [20642/20653] ACTION //build/ohos/sdk:generate_sdk_notice(//build/toolchain/ohoshos_clang_arm64)
[OHOS INFO] [20643/20653] STAMP obj/build/ohos/sdk/generate_sdk_notice.stamp
[OHOS INFO] [20644/20653] ACTION //build/ohos/sdk:verify_sdk_notice_file(//build/toolchain/ohoshos_clang_arm64)
[OHOS INFO] [20645/20653] STAMP obj/build/ohos/sdk/verify_sdk_notice_file.stamp
[OHOS INFO] [20646/20653] STAMP obj/build/ohos/sdk/ohos_sdk_pre.stamp
[OHOS INFO] [20647/20653] ACTION //build/ohos/sdk:add_notice_file(//build/toolchain/ohoshos_clang_arm64)
[OHOS INFO] [20648/20653] STAMP obj/build/ohos/sdk/add_notice_file.stamp
[OHOS INFO] [20649/20653] STAMP obj/build/ohos/sdk/ohos_sdk.stamp
[OHOS INFO] [20650/20653] ACTION //build/ohos/sdk:check_sdk_completeness(//build/toolchain/ohoshos_clang_arm64)
[OHOS INFO] [20651/20653] STAMP obj/build/ohos/sdk/check_sdk_completeness.stamp
[OHOS INFO] [20652/20653] STAMP obj/build/ohos/sdk/ohos_sdk_verify.stamp
[OHOS INFO] [20653/20653] STAMP obj/build/core/gn/build_ohos_sdk.stamp
[OHOS INFO] ohos-sdk build success
[OHOS INFO] Cost time:  0:17:55
/home/openharmony/out/sdk/packages/ohos-sdk/linux /home/openharmony /home/openharmony
extracting ohos-sdk package...
/home/openharmony /home/openharmony
/home/openharmony
gcc-arm-linux-gnueabi is not installed. please install it.
Missing dependencies, please check!
[OHOS INFO] Set cache size limit to 100.0 GB
[OHOS INFO] generated build prop info to /home/openharmony/out/preloader/dayu210/build.prop
[OHOS INFO] generated build config info to /home/openharmony/out/preloader/dayu210/build_config.json
[OHOS INFO] generated product parts info to /home/openharmony/out/preloader/dayu210/parts.json
[OHOS INFO] generated parts config info to /home/openharmony/out/preloader/dayu210/parts_config.json
[OHOS INFO] generated build gnargs prop info to /home/openharmony/out/preloader/dayu210/build_gnargs.prop
[OHOS INFO] generated features info to /home/openharmony/out/preloader/dayu210/features.json
[OHOS INFO] generated syscap info to /home/openharmony/out/preloader/dayu210/syscap.json
[OHOS INFO] generated exclusion modules info to /home/openharmony/out/preloader/dayu210/exclusion_modules.json
[OHOS INFO] generated platforms build info to /home/openharmony/out/preloader/dayu210/platforms.build
[OHOS INFO] generated subsystem config info to /home/openharmony/out/preloader/dayu210/subsystem_config.json
[OHOS INFO] generated system capability info to /home/openharmony/out/preloader/dayu210/systemcapability.json
[OHOS INFO] generated compile_standard_whitelist info to /home/openharmony/out/preloader/dayu210/compile_standard_whitelist.json
[OHOS INFO] Checking all build args...
[OHOS INFO] subsytem config scan completed
[OHOS INFO] subsytem config scan completed
[OHOS INFO] generate all parts of platforms info to '/home/openharmony/out/rk3588/build_configs/platforms_info/all_parts.json'
[OHOS INFO] generate toolchain to variant of platforms info to '/home/openharmony/out/rk3588/build_configs/platforms_info/toolchain_to_variant.json'
warning: subsystem name config incorrect in '/home/openharmony/third_party/flutter/glfw/bundle.json', build file subsystem name is ,configured subsystem name is thirdparty.
warning: subsystem name config incorrect in '/home/openharmony/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/bundle.json', build file subsystem name is wpa_supplicant-2.9,configured subsystem name is thirdparty.
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR]   File "/home/openharmony/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR]     return func(*args, **kwargs)
[OHOS ERROR]   File "/home/openharmony/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR]     raise exception
[OHOS ERROR]   File "/home/openharmony/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR]     super().run()
[OHOS ERROR]   File "/home/openharmony/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR]     raise exception
[OHOS ERROR]   File "/home/openharmony/build/hb/modules/interface/build_module_interface.py", line 65, in run
[OHOS ERROR]     self._load()
[OHOS ERROR]   File "/home/openharmony/build/hb/modules/ohos_build_module.py", line 84, in _load
[OHOS ERROR]     self.loader.run()
[OHOS ERROR]   File "/home/openharmony/build/hb/services/interface/load_interface.py", line 45, in run
[OHOS ERROR]     self.__post_init__()
[OHOS ERROR]   File "/home/openharmony/build/hb/services/loader.py", line 120, in __post_init__
[OHOS ERROR]     self.parts_config_info = load_ohos_build.get_parts_info(
[OHOS ERROR]   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 834, in get_parts_info
[OHOS ERROR]     _parts_variants = build_loader.parts_variants()
[OHOS ERROR]   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 520, in parts_variants
[OHOS ERROR]     self.parse()
[OHOS ERROR]   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 511, in parse
[OHOS ERROR]     subsystem_config, parts_path_dict = self._merge_build_config()
[OHOS ERROR]   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 482, in _merge_build_config
[OHOS ERROR]     raise OHOSException("subsystem name config incorrect in '{}', build file subsystem name is {},"
[OHOS ERROR] exceptions.ohos_exception.OHOSException: subsystem name config incorrect in '/home/openharmony/vendor/hihope/dayu210/ohos.build', build file subsystem name is product_hihope,configured subsystem name is product_dayu210.
[OHOS ERROR]
[OHOS ERROR] Code:      2014
[OHOS ERROR]
[OHOS ERROR] Reason:    subsystem name config incorrect in '/home/openharmony/vendor/hihope/dayu210/ohos.build', build file subsystem name is product_hihope,configured subsystem name is product_dayu210.
[OHOS ERROR]
[OHOS ERROR] Solution:  UNKNOWN REASON
[OHOS ERROR]
=====build  error=====
问题描述及复现步骤:

build/prebuilts_download.sh
./build.sh --product-name dayu210 --ccache


谁知道如何解决吗?谢谢了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-10-30 11:27 , Processed in 0.054092 second(s), 19 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn