openharmony 4.0 beta2 dayu210编译不过
编译命令:./build.sh --product-name dayu210 --ccache 提示说构建的子系统名字和配置的不一样,这个要如何修改。 报错log如下: Set cache size limit to 100.0 GB ^[[91m[OHOS ERROR]^[[0m Traceback (most recent call last): ^[[91m[OHOS ERROR]^[[0m
编译命令:./build.sh --product-name dayu210 --ccache
提示说构建的子系统名字和配置的不一样,这个要如何修改。
报错log如下:
Set cache size limit to 100.0 GB
^[[91m[OHOS ERROR]^[[0m Traceback (most recent call last):
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/containers/status.py", line 47, in wrapper
^[[91m[OHOS ERROR]^[[0m return func(*args, **kwargs)
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/modules/ohos_build_module.py", line 67, in run
^[[91m[OHOS ERROR]^[[0m raise exception
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/modules/ohos_build_module.py", line 65, in run
^[[91m[OHOS ERROR]^[[0m super().run()
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/modules/interface/build_module_interface.py", line 72, in run
^[[91m[OHOS ERROR]^[[0m raise exception
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/modules/interface/build_module_interface.py", line 65, in run
^[[91m[OHOS ERROR]^[[0m self._load()
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/modules/ohos_build_module.py", line 84, in _load
^[[91m[OHOS ERROR]^[[0m self.loader.run()
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/services/interface/load_interface.py", line 45, in run
^[[91m[OHOS ERROR]^[[0m self.__post_init__()
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/services/loader.py", line 118, in __post_init__
^[[91m[OHOS ERROR]^[[0m self.parts_config_info = load_ohos_build.get_parts_info(
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/util/loader/load_ohos_build.py", line 835, in get_parts_info
^[[91m[OHOS ERROR]^[[0m _parts_variants = build_loader.parts_variants()
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/util/loader/load_ohos_build.py", line 520, in parts_variants
^[[91m[OHOS ERROR]^[[0m self.parse()
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/util/loader/load_ohos_build.py", line 511, in parse
^[[91m[OHOS ERROR]^[[0m subsystem_config, parts_path_dict = self._merge_build_config()
^[[91m[OHOS ERROR]^[[0m File "/home/chentao/project/4.0-Beta2/build/hb/util/loader/load_ohos_build.py", line 482, in _merge_build_config
^[[91m[OHOS ERROR]^[[0m raise OHOSException("subsystem name config incorrect in '{}', build file subsystem name is {},"
^[[91m[OHOS ERROR]^[[0m exceptions.ohos_exception.OHOSException: subsystem name config incorrect in '/home/chentao/project/4.0-Beta2/vendor/hihope/dayu210/ohos.build', build file subsystem name is product_hihope,configured subsystem name is product_dayu210.
^[[91m[OHOS ERROR]^[[0m
^[[91m[OHOS ERROR]^[[0m Code: 2014
^[[91m[OHOS ERROR]^[[0m
^[[91m[OHOS ERROR]^[[0m Reason: subsystem name config incorrect in '/home/chentao/project/4.0-Beta2/vendor/hihope/dayu210/ohos.build', build file subsystem name is product_hihope,configured subsystem name is product_dayu210.
^[[91m[OHOS ERROR]^[[0m
^[[91m[OHOS ERROR]^[[0m Solution: UNKNOWN REASON
^[[91m[OHOS ERROR]^[[0m
更多推荐
所有评论(0)