tq566 发表于 2024-10-25 16:41:36

openharmony 4.0编译报错

(为了高效,请按如下格式提问)

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

COPY clang_x64/thirdparty/openssl/libssl_openssl.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libssl_openssl.so
COPY clang_x64/thirdparty/openssl/libcrypto_openssl.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libcrypto_openssl.so
COPY clang_x64/hiviewdfx/hilog/libhilog_linux.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libhilog_linux.so
COPY clang_x64/arkui/ace_engine/libace.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libace.so
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
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
COPY clang_x64/thirdparty/skia/libskia_canvaskit.so clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/libskia_canvaskit.so
LINK clang_x64/ide/previewer/Previewer
COPY ../../base/global/system_resources/fonts clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/previewer/common/bin/fonts
STAMP clang_x64/obj/foundation/arkui/ace_engine/adapter/preview/sdk/copy_preview_shared_library.stamp
ACTION //out/sdk/gen/build/ohos/sdk:previewer_linux(//build/toolchain/ohos:ohos_clang_arm64)
STAMP obj/out/sdk/gen/build/ohos/sdk/previewer_linux.stamp
STAMP obj/out/sdk/gen/build/ohos/sdk/previewer.stamp
STAMP obj/out/sdk/gen/build/ohos/sdk/generated_ohos_sdk.stamp
ACTION //build/ohos/sdk:generate_sdk_notice(//build/toolchain/ohos:ohos_clang_arm64)
STAMP obj/build/ohos/sdk/generate_sdk_notice.stamp
ACTION //build/ohos/sdk:verify_sdk_notice_file(//build/toolchain/ohos:ohos_clang_arm64)
STAMP obj/build/ohos/sdk/verify_sdk_notice_file.stamp
STAMP obj/build/ohos/sdk/ohos_sdk_pre.stamp
ACTION //build/ohos/sdk:add_notice_file(//build/toolchain/ohos:ohos_clang_arm64)
STAMP obj/build/ohos/sdk/add_notice_file.stamp
STAMP obj/build/ohos/sdk/ohos_sdk.stamp
ACTION //build/ohos/sdk:check_sdk_completeness(//build/toolchain/ohos:ohos_clang_arm64)
STAMP obj/build/ohos/sdk/check_sdk_completeness.stamp
STAMP obj/build/ohos/sdk/ohos_sdk_verify.stamp
STAMP obj/build/core/gn/build_ohos_sdk.stamp
ohos-sdk build success
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!
Set cache size limit to 100.0 GB
generated build prop info to /home/openharmony/out/preloader/dayu210/build.prop
generated build config info to /home/openharmony/out/preloader/dayu210/build_config.json
generated product parts info to /home/openharmony/out/preloader/dayu210/parts.json
generated parts config info to /home/openharmony/out/preloader/dayu210/parts_config.json
generated build gnargs prop info to /home/openharmony/out/preloader/dayu210/build_gnargs.prop
generated features info to /home/openharmony/out/preloader/dayu210/features.json
generated syscap info to /home/openharmony/out/preloader/dayu210/syscap.json
generated exclusion modules info to /home/openharmony/out/preloader/dayu210/exclusion_modules.json
generated platforms build info to /home/openharmony/out/preloader/dayu210/platforms.build
generated subsystem config info to /home/openharmony/out/preloader/dayu210/subsystem_config.json
generated system capability info to /home/openharmony/out/preloader/dayu210/systemcapability.json
generated compile_standard_whitelist info to /home/openharmony/out/preloader/dayu210/compile_standard_whitelist.json
Checking all build args...
subsytem config scan completed
subsytem config scan completed
generate all parts of platforms info to '/home/openharmony/out/rk3588/build_configs/platforms_info/all_parts.json'
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.
Traceback (most recent call last):
   File "/home/openharmony/build/hb/containers/status.py", line 47, in wrapper
   return func(*args, **kwargs)
   File "/home/openharmony/build/hb/modules/ohos_build_module.py", line 67, in run
   raise exception
   File "/home/openharmony/build/hb/modules/ohos_build_module.py", line 65, in run
   super().run()
   File "/home/openharmony/build/hb/modules/interface/build_module_interface.py", line 72, in run
   raise exception
   File "/home/openharmony/build/hb/modules/interface/build_module_interface.py", line 65, in run
   self._load()
   File "/home/openharmony/build/hb/modules/ohos_build_module.py", line 84, in _load
   self.loader.run()
   File "/home/openharmony/build/hb/services/interface/load_interface.py", line 45, in run
   self.__post_init__()
   File "/home/openharmony/build/hb/services/loader.py", line 120, in __post_init__
   self.parts_config_info = load_ohos_build.get_parts_info(
   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 834, in get_parts_info
   _parts_variants = build_loader.parts_variants()
   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 520, in parts_variants
   self.parse()
   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 511, in parse
   subsystem_config, parts_path_dict = self._merge_build_config()
   File "/home/openharmony/build/hb/util/loader/load_ohos_build.py", line 482, in _merge_build_config
   raise OHOSException("subsystem name config incorrect in '{}', build file subsystem name is {},"
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.

Code:      2014

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.

Solution:UNKNOWN REASON

=====builderror=====
问题描述及复现步骤:

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


谁知道如何解决吗?谢谢了
页: [1]
查看完整版本: openharmony 4.0编译报错