|
(为了高效,请按如下格式提问)
硬件主板型号:DAYU210
固件名称/系统版本:
自编的或固件下载地址:
Log日志: (可以导出,用TXT附件上传)
./build.sh --product-name dayu210
++++++++++++++++++++++++++++++++++++++++
The system shell is bash 5.1.16(1)-release
++++++++++++++++++++++++++++++++++++++++
2023-09-28 10:45:52
--product-name dayu210
Current Node.js version is v14.21.1
Node.js version check passed
lockfile=false
start set ohpm
init ohpm
npm WARN @ohos/ohpm@1.1.2 No description
npm WARN @ohos/ohpm@1.1.2 No repository field.
up to date in 0.491s
10 packages are looking for funding
run `npm fund` for details
ohpm version is 1.1.2
ohpm DEBUG: config set "registry" "https://repo.harmonyos.com/ohpm/"
ohpm DEBUG: config set "strict_ssl" "false"
ohpm DEBUG: config set "log_level" "debug"
remove /home/zcwx/.hvigor
~/.hvigor/wrapper/tools /sdb1/work-source/openharmony-4.0
install pnpm
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN tools No description
npm WARN tools No repository field.
npm WARN tools No license field.
added 1 package in 0.371s
1 package is looking for funding
run `npm fund` for details
/sdb1/work-source/openharmony-4.0
[OHOS INFO] Set cache size limit to 100.0 GB
[OHOS INFO] generated build prop info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/build.prop
[OHOS INFO] generated build config info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/build_config.json
[OHOS INFO] generated product parts info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/parts.json
[OHOS INFO] generated parts config info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/parts_config.json
[OHOS INFO] generated build gnargs prop info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/build_gnargs.prop
[OHOS INFO] generated features info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/features.json
[OHOS INFO] generated syscap info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/syscap.json
[OHOS INFO] generated exclusion modules info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/exclusion_modules.json
[OHOS INFO] generated platforms build info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/platforms.build
[OHOS INFO] generated subsystem config info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/subsystem_config.json
[OHOS INFO] generated system capability info to /sdb1/work-source/openharmony-4.0/out/preloader/dayu210/systemcapability.json
[OHOS INFO] generated compile_standard_whitelist info to /sdb1/work-source/openharmony-4.0/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 '/sdb1/work-source/openharmony-4.0/out/rk3588/build_configs/platforms_info/all_parts.json'
[OHOS INFO] generate toolchain to variant of platforms info to '/sdb1/work-source/openharmony-4.0/out/rk3588/build_configs/platforms_info/toolchain_to_variant.json'
warning: subsystem name config incorrect in '/sdb1/work-source/openharmony-4.0/third_party/flutter/glfw/bundle.json', build file subsystem name is ,configured subsystem name is thirdparty.
warning: subsystem name config incorrect in '/sdb1/work-source/openharmony-4.0/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 "/sdb1/work-source/openharmony-4.0/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR] return func(*args, **kwargs)
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR] super().run()
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR] raise exception
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/build/hb/modules/interface/build_module_interface.py", line 65, in run
[OHOS ERROR] self._load()
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/build/hb/modules/ohos_build_module.py", line 84, in _load
[OHOS ERROR] self.loader.run()
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/build/hb/services/interface/load_interface.py", line 45, in run
[OHOS ERROR] self.__post_init__()
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/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 "/sdb1/work-source/openharmony-4.0/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 "/sdb1/work-source/openharmony-4.0/build/hb/util/loader/load_ohos_build.py", line 520, in parts_variants
[OHOS ERROR] self.parse()
[OHOS ERROR] File "/sdb1/work-source/openharmony-4.0/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 "/sdb1/work-source/openharmony-4.0/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 '/sdb1/work-source/openharmony-4.0/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 '/sdb1/work-source/openharmony-4.0/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=====
问题描述及复现步骤:
1、编译210的镜像就有上述config配置文件错误,无法生成镜像
./build.sh --product-name dayu210
2、编译200的镜像就正常生成img
./build.sh --product-name rk3568
3、参考的编译指南
https://gitee.com/openharmony/de ... 4.0-Release/dayu210
|
|